Home
last modified time | relevance | path

Searched refs:serviceIds (Results 1 - 8 of 8) sorted by relevance

/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Devent_subscribe_test.cpp121 const std::list<std::string>& serviceIds, const std::string& deviceId) in MockSubscribeEvents()
126 eventCb->SetSubServiceIds(serviceIds); in MockSubscribeEvents()
129 extraInfo["serviceIds"] = serviceIds; in MockSubscribeEvents()
160 const std::list<std::string>& serviceIds, const std::string& deviceId) in MockSubscribeEvent()
165 eventCb->SetSubServiceIds(serviceIds); in MockSubscribeEvent()
168 extraInfo["serviceIds"] = serviceIds; in MockSubscribeEvent()
229 std::list<std::string> serviceIds = {"fakeStorage", "fakeSystem"}; in HWTEST_F() local
230 if (MockSubscribeEvents(callback, serviceIds, "") ! in HWTEST_F()
120 MockSubscribeEvents(const std::shared_ptr<ProfileEventCallback>& eventCb, const std::list<std::string>& serviceIds, const std::string& deviceId) MockSubscribeEvents() argument
159 MockSubscribeEvent(const std::shared_ptr<ProfileEventCallback>& eventCb, const std::list<std::string>& serviceIds, const std::string& deviceId) MockSubscribeEvent() argument
252 std::list<std::string> serviceIds = {"fakeStorage", "fakeSystem"}; HWTEST_F() local
278 std::list<std::string> serviceIds = {"fakeStorage", "fakeSystem"}; HWTEST_F() local
371 std::list<std::string> serviceIds = {"fakeStorage", "fakeSystem"}; HWTEST_F() local
427 std::list<std::string> serviceIds = {"fakeStorage", "fakeSystem"}; HWTEST_F() local
[all...]
H A Dsubscribe_info_checker_test.cpp69 {"serviceIds", "1111"} in HWTEST_F()
88 {"serviceIds", "1111"} in HWTEST_F()
107 {"serviceIds", "1111"} in HWTEST_F()
126 {"serviceIds", "1111"} in HWTEST_F()
164 std::list<std::string> serviceIds = {"fakeStorage", "fakeSystem"}; in HWTEST_F() local
165 subInfo.extraInfo["serviceIds"] = serviceIds; in HWTEST_F()
181 subInfo.extraInfo["serviceIds"] = nullptr; in HWTEST_F()
230 std::list<std::string> serviceIds = {"fakeStorage", "fakeSystem"}; in HWTEST_F() local
249 std::list<std::string> serviceIds in HWTEST_F() local
[all...]
H A Dprofile_crud_test.cpp403 std::list<std::string> serviceIds; in HWTEST_F() local
404 serviceIds.emplace_back("appInfo"); in HWTEST_F()
408 extraInfo["serviceIds"] = serviceIds; in HWTEST_F()
477 std::list<std::string> serviceIds; in HWTEST_F() local
478 serviceIds.emplace_back("appInfo"); in HWTEST_F()
482 extraInfo["serviceIds"] = serviceIds; in HWTEST_F()
516 std::list<std::string> serviceIds; in HWTEST_F() local
517 serviceIds in HWTEST_F()
843 std::list<std::string> serviceIds; HWTEST_F() local
1000 std::list<std::string> serviceIds; HWTEST_F() local
1034 std::list<std::string> serviceIds; HWTEST_F() local
[all...]
/foundation/deviceprofile/device_info_manager/old/services/core/src/authority/
H A Dauthority_manager.cpp207 const std::vector<std::string>& serviceIds) in CheckServicesAuthority()
209 bool hasEmpty = std::any_of(serviceIds.begin(), serviceIds.end(), in CheckServicesAuthority()
227 if (!CheckServicesAuth(servicesJson, authVal, serviceIds)) { in CheckServicesAuthority()
234 AuthValue authVal, const std::vector<std::string>& serviceIds) in CheckServicesAuth()
237 if (serviceIds.empty()) { in CheckServicesAuth()
238 // in case where no serviceIds provided, which means all services; but in CheckServicesAuth()
255 for (const auto& serviceId : serviceIds) { in CheckServicesAuth()
206 CheckServicesAuthority(AuthValue authVal, const std::vector<std::string>& serviceIds) CheckServicesAuthority() argument
233 CheckServicesAuth(const nlohmann::json& servicesJson, AuthValue authVal, const std::vector<std::string>& serviceIds) CheckServicesAuth() argument
/foundation/deviceprofile/device_info_manager/old/services/core/include/authority/
H A Dauthority_manager.h46 bool CheckServicesAuthority(AuthValue authVal, const std::vector<std::string>& serviceIds);
60 const std::vector<std::string>& serviceIds);
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp298 std::list<std::string> serviceIds; in SubscribeCommand() local
310 result = HandleSubscribeOption(option, deviceId, serviceIds); in SubscribeCommand()
318 extraInfo["serviceIds"] = serviceIds; in SubscribeCommand()
436 std::list<std::string>& serviceIds) in HandleSubscribeOption()
457 serviceIds.push_back(temp); in HandleSubscribeOption()
435 HandleSubscribeOption(int option, std::string& deviceId, std::list<std::string>& serviceIds) HandleSubscribeOption() argument
/foundation/deviceprofile/device_info_manager/old/tools/dp/include/
H A Ddp_command.h54 std::list<std::string>& serviceIds);
/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_change_handler.cpp236 const auto& serviceIdsJson = extraInfo["serviceIds"]; in FilterChangedProfileLocked()
268 const auto& serviceIdsJson = extraInfo["serviceIds"]; in Subscribe()
269 std::vector<std::string> serviceIds; in Subscribe() local
273 serviceIds.emplace_back(std::move(serviceId)); in Subscribe()
277 serviceIds)) { in Subscribe()

Completed in 6 milliseconds