Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 76) sorted by relevance

1234

/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
Dbundle_manager_internal.cpp54 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/
Dcopy_uri_handler.cpp33 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/
Dmultiple_user_connector.cpp39 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/
Ddemo_freeze_display.cpp25 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()
Ddemo_mirror_screen_listener.cpp35 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/
Dfor_each_syntax_test_ng.cpp107 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/
Dfor_each_node.cpp28 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()
Dlazy_layout_wrapper_builder.h39 …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()
Dfor_each_node.h55 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/
Dlnn_ohos_account.cpp45 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/
Dos_account_manager_wrapper.cpp33 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/
Dmap_mse_resource.cpp129 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/
Drs_interfaces_system_test.cpp112 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/
Ddisplay_minimal_test.cpp77 std::vector<DisplayId> ids = DisplayManager::GetInstance().GetAllDisplayIds(); variable
78 for (DisplayId id : ids) {
/foundation/barrierfree/accessibility/services/test/mock/
Dmock_os_account_manager.cpp23 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/
Dmock_os_account_manager.cpp23 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/
Ddrag_recognizer.cpp256 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/
Dinput_manager_manual_test.cpp122 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/
Dmock_wifi_chip_hal_interface.h31 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/
Dforeach_element.cpp38 …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/
Di_wifi.h43 WifiErrorNo GetWifiChipIds(uint8_t *ids, int32_t *size);
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/idl_client/
Dwifi_chip_hal_interface.cpp46 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/
Dwifi_hal_chip_interface_test.cpp34 uint8_t ids[32] = {0}; variable
36 EXPECT_TRUE(GetWifiChipIds(ids, &size) == WIFI_HAL_SUCCESS);
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
Dinput_device_impl.h44 FunInputDevIds ids; member
57 void OnInputDeviceIds(int32_t userData, std::vector<int32_t> &ids);
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
Dinput_device_impl.cpp120 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()

1234