/foundation/deviceprofile/device_info_manager/services/core/test/unittest/ |
H A D | switch_adapter_test.cpp | 102 uint32_t switchLength = 0; in HWTEST_F() local 104 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength); in HWTEST_F() 118 uint32_t switchLength = 0; in HWTEST_F() local 120 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength); in HWTEST_F() 134 uint32_t switchLength = 0; in HWTEST_F() local 136 SwitchAdapter::GetInstance().GetSwitch(appId, networkId, value, switchLength); in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/services/core/src/contentsensormanager/ |
H A D | switch_status_collector.cpp | 143 uint32_t switchLength; in AddSwitchStatusToDB() local 144 int32_t ret = SwitchProfileManager::GetInstance().GetLocalSwitchFromDB(switchFromDB, switchLength); in AddSwitchStatusToDB() 145 if (switchLength > SWITCH_LENGTH_MAX) { in AddSwitchStatusToDB() 146 HILOGE("switchLength is invalid"); in AddSwitchStatusToDB() 149 if (ret == DP_SUCCESS && charProfileList.size() == switchLength) { in AddSwitchStatusToDB() 155 for (uint32_t i = 0; i < switchLength; ++i) { in AddSwitchStatusToDB()
|
/foundation/communication/dsoftbus/core/common/include/ |
H A D | data_level_inner.h | 29 uint16_t switchLength; member
|
/foundation/communication/dsoftbus/interfaces/inner_kits/lnn/ |
H A D | data_level.h | 49 uint16_t switchLength; /**< switch data length, max 24 switchs */ member
|
/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/ |
H A D | switch_adapter.cpp | 62 uint32_t& value, uint32_t& switchLength) in GetSwitch() 78 switchLength = res.second.length; in GetSwitch() 61 GetSwitch(const std::string& appId, const std::string& networkId, uint32_t& value, uint32_t& switchLength) GetSwitch() argument
|
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/ |
H A D | switch_profile_manager.cpp | 124 int32_t SwitchProfileManager::GetLocalSwitchFromDB(uint32_t& localSwitch, uint32_t& switchLength) in GetLocalSwitchFromDB() argument 128 return SwitchAdapter::GetInstance().GetSwitch(APP_ID, netId, localSwitch, switchLength); in GetLocalSwitchFromDB()
|
/foundation/deviceprofile/device_info_manager/services/core/include/persistenceadapter/kvadapter/ |
H A D | switch_adapter.h | 37 int32_t GetSwitch(const std::string& appId, const std::string& networkId, uint32_t& value, uint32_t& switchLength);
|
/foundation/deviceprofile/device_info_manager/services/core/include/deviceprofilemanager/ |
H A D | switch_profile_manager.h | 41 int32_t GetLocalSwitchFromDB(uint32_t& localSwitch, uint32_t& switchLength);
|
/foundation/deviceprofile/device_info_manager/services/core/src/utils/ |
H A D | profile_control_utils.cpp | 342 uint32_t switchLength = 0; in RefreshLocalSwitchProfile() local 343 int32_t res = SwitchAdapter::GetInstance().GetSwitch(appId, localNetwork, newSwitch, switchLength); in RefreshLocalSwitchProfile() 394 uint32_t switchLength; in GetSwitchCharacteristicProfile() local 395 res = SwitchAdapter::GetInstance().GetSwitch(appId, netWorkId, switchValue, switchLength); in GetSwitchCharacteristicProfile()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/include/ |
H A D | lnn_heartbeat_utils.h | 125 uint16_t switchLength; member
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_net_ledger.c | 436 dataLevel->switchLevel, dataLevel->switchLength); in LnnSetDataLevel() 457 uint16_t switchLength = dataLevel->switchLength; in LnnSetDataLevel() local 458 if (LnnSetLocalNumU16Info(NUM_KEY_DATA_SWITCH_LENGTH, switchLength) != SOFTBUS_OK) { in LnnSetDataLevel()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | softbus_adapter_standard.cpp | 80 .switchesLen = dataLevel.switchLength, in OnDataLevelChanged() 458 .switchLength = levelInfo.switchesLen, in Broadcast()
|
/foundation/communication/dsoftbus/sdk/bus_center/service/src/ |
H A D | client_bus_center.c | 345 dataLevel->switchLevel, dataLevel->switchLength); in SetDataLevel()
|
/foundation/communication/dsoftbus/sdk/bus_center/manager/src/ |
H A D | client_bus_center_manager.c | 1410 .switchLength = dataLevelInfo->switchLength in LnnOnDataLevelChanged()
|