/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/ |
D | bundle_manager_internal.cpp | 54 std::vector<int> ids; in GetCallerAppIdFromBms() local 55 ErrCode result = OsAccountManager::QueryActiveOsAccountIds(ids); in GetCallerAppIdFromBms() 56 if (result != ERR_OK || ids.empty()) { in GetCallerAppIdFromBms() 59 appId = bundleMgr->GetAppIdByBundleName(bundleName, ids[0]); in GetCallerAppIdFromBms() 95 std::vector<int32_t> ids; in QueryAbilityInfo() local 96 int32_t ret = OsAccountManager::QueryActiveOsAccountIds(ids); in QueryAbilityInfo() 97 if (ret != ERR_OK || ids.empty()) { in QueryAbilityInfo() 106 | AppExecFwk::AbilityInfoFlag::GET_ABILITY_INFO_WITH_PERMISSION, ids[0], abilityInfo); in QueryAbilityInfo() 117 std::vector<int32_t> ids; in QueryExtensionAbilityInfo() local 118 int32_t ret = OsAccountManager::QueryActiveOsAccountIds(ids); in QueryExtensionAbilityInfo() [all …]
|
/foundation/distributeddatamgr/pasteboard/framework/uri/ |
D | copy_uri_handler.cpp | 33 std::vector<int32_t> ids; in ToUri() local 34 auto ret = AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in ToUri() 35 if (ret != ERR_OK || ids.empty()) { in ToUri() 39 PASTEBOARD_HILOGI(PASTEBOARD_MODULE_SERVICE, "fd: %{public}d, user:%{public}d", fd, ids[0]); in ToUri() 40 ret = RemoteFileShare::CreateSharePath(fd, uri_, ids[0]); in ToUri()
|
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/multipleuser/ |
D | multiple_user_connector.cpp | 39 std::vector<int> ids; in GetCurrentAccountUserID() 40 ErrCode ret = OsAccountManager::QueryActiveOsAccountIds(ids); in GetCurrentAccountUserID() 41 if (ret != 0 || ids.empty()) { in GetCurrentAccountUserID() 44 return ids[0]; in GetCurrentAccountUserID()
|
/foundation/window/window_manager/test/demo/ |
D | demo_freeze_display.cpp | 25 std::vector<DisplayId> ids; in main() local 26 ids.push_back(displayId); in main() 32 if (DisplayManager::GetInstance().Freeze(ids)) { in main() 37 if (DisplayManager::GetInstance().Unfreeze(ids)) { in main()
|
D | demo_mirror_screen_listener.cpp | 35 std::cout << "ids.size=" << std::to_string(info.ids.size()) << ", "; in main() 36 for (size_t i = 0; i < info.ids.size(); i++) { in main() 37 std::cout << "ids[" << std::to_string(i) << "]=" << std::to_string(info.ids[i]); in main()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/test/syntax/for_each/ |
D | for_each_syntax_test_ng.cpp | 107 std::list<std::string> ids = FOR_EACH_IDS; variable 108 forEach.SetNewIds(std::move(ids)); 130 std::list<std::string> ids = FOR_EACH_IDS; variable 131 forEach.SetNewIds(std::move(ids)); 169 std::list<std::string> ids = FOR_EACH_ARRAY; variable 170 forEach.SetNewIds(std::move(ids));
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
D | for_each_node.cpp | 28 void MakeNodeMapById(const std::list<RefPtr<UINode>>& nodes, const std::list<std::string>& ids, in MakeNodeMapById() argument 31 ACE_DCHECK(ids.size() == nodes.size()); in MakeNodeMapById() 32 auto idsIter = ids.begin(); in MakeNodeMapById() 34 while (idsIter != ids.end() && nodeIter != nodes.end()) { in MakeNodeMapById()
|
D | lazy_layout_wrapper_builder.h | 39 …eIndexRange(int32_t startIndex, int32_t endIndex, const std::list<std::optional<std::string>>& ids) in UpdateIndexRange() argument 41 auto size = static_cast<int32_t>(ids.size()); in UpdateIndexRange() 50 preNodeIds_ = ids; in UpdateIndexRange()
|
D | for_each_node.h | 55 void SetIds(std::list<std::string>&& ids) in SetIds() argument 57 ids_ = std::move(ids); in SetIds()
|
/foundation/communication/dsoftbus/core/adapter/bus_center/src/ |
D | lnn_ohos_account.cpp | 45 std::vector<int32_t> ids; in LnnGetOhosAccountInfo() local 46 OHOS::ErrCode ret = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in LnnGetOhosAccountInfo() 47 if (ret != OHOS::ERR_OK || ids.size() == 0) { in LnnGetOhosAccountInfo() 53 = OHOS::AccountSA::OhosAccountKits::GetInstance().QueryOhosAccountInfoByUserId(ids[0]); in LnnGetOhosAccountInfo()
|
/foundation/ability/ability_runtime/interfaces/inner_api/deps_wrapper/src/ |
D | os_account_manager_wrapper.cpp | 33 ErrCode OsAccountManagerWrapper::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() argument 37 ids.emplace_back(DEFAULT_OS_ACCOUNT_ID); in QueryActiveOsAccountIds() 41 return AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in QueryActiveOsAccountIds()
|
/foundation/communication/bluetooth/services/bluetooth/service/src/map_mse/ |
D | map_mse_resource.cpp | 129 IDataStatement &ids, const MapMseParams &appParameter, const std::string &convoId) in SetParticipantParam() argument 131 ids.ClearParams(); in SetParticipantParam() 133 ids.SetParamString(index++, convoId); in SetParticipantParam() 136 ids.SetParamString(index++, appParameter.filterRecipient_); in SetParticipantParam() 137 ids.SetParamString(index++, appParameter.filterRecipient_); in SetParticipantParam() 144 ids.SetParamString(index++, left); in SetParticipantParam() 145 ids.SetParamString(index++, left); in SetParticipantParam() 147 ids.SetParamString(index++, right); in SetParticipantParam() 148 ids.SetParamString(index++, right); in SetParticipantParam() 154 void MapMseResource::SetCvslistParam(IDataStatement &ids, const MapMseParams &appParameter) in SetCvslistParam() argument [all …]
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/ |
D | rs_interfaces_system_test.cpp | 112 auto ids = RSInterfaces::GetInstance().GetAllScreenIds(); variable 113 ScreenId rsId = ids.front(); 156 auto ids = RSInterfaces::GetInstance().GetAllScreenIds(); variable 157 ScreenId rsId = ids.front(); 195 auto ids = RSInterfaces::GetInstance().GetAllScreenIds(); variable 196 ScreenId rsId = ids.front();
|
/foundation/window/window_manager/test/systemtest/dms/ |
D | display_minimal_test.cpp | 77 std::vector<DisplayId> ids = DisplayManager::GetInstance().GetAllDisplayIds(); variable 78 for (DisplayId id : ids) {
|
/foundation/barrierfree/accessibility/services/test/mock/ |
D | mock_os_account_manager.cpp | 23 ErrCode OsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() argument 25 ids.push_back(accountId); in QueryActiveOsAccountIds()
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
D | mock_os_account_manager.cpp | 23 ErrCode OsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds() argument 25 ids.push_back(accountId); in QueryActiveOsAccountIds()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
D | drag_recognizer.cpp | 256 std::set<size_t> ids; in Accept() local 257 ids.insert(touchId); in Accept() 258 BatchAdjudicate(ids, Claim(this), GestureDisposal::ACCEPT); in Accept() 263 std::set<size_t> ids; in Reject() local 264 ids.insert(touchId); in Reject() 265 BatchAdjudicate(ids, Claim(this), GestureDisposal::REJECT); in Reject()
|
/foundation/multimodalinput/input/frameworks/proxy/events/test/ |
D | input_manager_manual_test.cpp | 122 const std::vector<int32_t> ids = pointer->GetPointerIds(); in AddInputEventFilter() local 123 if (ids.empty()) { in AddInputEventFilter() 128 const int32_t firstPointerId = ids[0]; in AddInputEventFilter()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
D | mock_wifi_chip_hal_interface.h | 31 virtual WifiErrorNo GetChipIds(std::vector<int> &ids) = 0; 48 MOCK_METHOD1(GetChipIds, WifiErrorNo(std::vector<int> &ids));
|
/foundation/arkui/ace_engine/frameworks/core/components_part_upd/foreach/ |
D | foreach_element.cpp | 38 …ent::MakeElementByIdMap(const std::list<RefPtr<Element>>& elmts, const std::list<std::string>& ids, in MakeElementByIdMap() argument 43 ACE_DCHECK(ids.size() == elmts.size()); in MakeElementByIdMap() 54 auto idsIter = ids.begin(); in MakeElementByIdMap() 56 while (idsIter != ids.end()) { in MakeElementByIdMap()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/idl_client/idl_interface/ |
D | i_wifi.h | 43 WifiErrorNo GetWifiChipIds(uint8_t *ids, int32_t *size);
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/idl_client/ |
D | wifi_chip_hal_interface.cpp | 46 WifiErrorNo WifiChipHalInterface::GetChipIds(std::vector<int> &ids) in GetChipIds() argument 49 return mIdlClient->GetChipIds(ids); in GetChipIds()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
D | wifi_hal_chip_interface_test.cpp | 34 uint8_t ids[32] = {0}; variable 36 EXPECT_TRUE(GetWifiChipIds(ids, &size) == WIFI_HAL_SUCCESS);
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
D | input_device_impl.h | 44 FunInputDevIds ids; member 57 void OnInputDeviceIds(int32_t userData, std::vector<int32_t> &ids);
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
D | input_device_impl.cpp | 120 data.ids = callback; in GetInputDeviceIdsAsync() 193 void InputDeviceImpl::OnInputDeviceIds(int32_t userData, std::vector<int32_t> &ids) in OnInputDeviceIds() argument 204 (*devIds)(ids); in OnInputDeviceIds() 206 userData, IdsListToString(ids).c_str()); in OnInputDeviceIds() 253 return &iter->second.ids; in GetDeviceIds()
|