Home
last modified time | relevance | path

Searched refs:switchLength (Results 1 - 14 of 14) sorted by relevance

/foundation/deviceprofile/device_info_manager/services/core/test/unittest/
H A Dswitch_adapter_test.cpp102 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 Dswitch_status_collector.cpp143 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 Ddata_level_inner.h29 uint16_t switchLength; member
/foundation/communication/dsoftbus/interfaces/inner_kits/lnn/
H A Ddata_level.h49 uint16_t switchLength; /**< switch data length, max 24 switchs */ member
/foundation/deviceprofile/device_info_manager/services/core/src/persistenceadapter/kvadapter/
H A Dswitch_adapter.cpp62 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 Dswitch_profile_manager.cpp124 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 Dswitch_adapter.h37 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 Dswitch_profile_manager.h41 int32_t GetLocalSwitchFromDB(uint32_t& localSwitch, uint32_t& switchLength);
/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp342 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 Dlnn_heartbeat_utils.h125 uint16_t switchLength; member
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_net_ledger.c436 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 Dsoftbus_adapter_standard.cpp80 .switchesLen = dataLevel.switchLength, in OnDataLevelChanged()
458 .switchLength = levelInfo.switchesLen, in Broadcast()
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c345 dataLevel->switchLevel, dataLevel->switchLength); in SetDataLevel()
/foundation/communication/dsoftbus/sdk/bus_center/manager/src/
H A Dclient_bus_center_manager.c1410 .switchLength = dataLevelInfo->switchLength in LnnOnDataLevelChanged()

Completed in 11 milliseconds