Searched refs:newSwitch (Results 1 – 3 of 3) sorted by relevance
139 uint32_t newSwitch = curSwitch; in PutSwitchCharacteristicProfile() local145 HILOGD("PutSwitchCharacteristicProfile newSwitch:%{public}d", newSwitch); in PutSwitchCharacteristicProfile()146 res = SwitchAdapter::GetInstance().PutSwitch(appId, newSwitch, CUR_SWITCH_LEN); in PutSwitchCharacteristicProfile()151 ProfileCache::GetInstance().SetCurSwitch(newSwitch); in PutSwitchCharacteristicProfile()167 uint32_t newSwitch = curSwitch; in PutSwitchCharacteristicProfileBatch() local183 HILOGD("newSwitch:%{public}d", newSwitch); in PutSwitchCharacteristicProfileBatch()189 ProfileCache::GetInstance().SetCurSwitch(newSwitch); in PutSwitchCharacteristicProfileBatch()328 uint32_t newSwitch = 0; in RefreshLocalSwitchProfile() local335 HILOGI("GetSwitch, newSwitch: %{public}d", newSwitch); in RefreshLocalSwitchProfile()339 std::string itemSwitchValue = std::to_string((newSwitch >> i) & NUM_1); in RefreshLocalSwitchProfile()[all …]
633 void ProfileCache::SetCurSwitch(uint32_t newSwitch) in SetCurSwitch() argument636 curLocalSwitch_ = newSwitch; in SetCurSwitch()
84 void SetCurSwitch(uint32_t newSwitch);