Home
last modified time | relevance | path

Searched refs:systemAbilityId (Results 1 - 13 of 13) sorted by relevance

/test/xts/device_attest/services/devattest_ability/src/
H A Ddevattest_system_ability_listener.cpp28 void DevAttestSystemAbilityListener::OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId) in OnAddSystemAbility() argument
30 if (systemAbilityId == COMM_NET_CONN_MANAGER_SA_ID) { in OnAddSystemAbility()
36 if (RemoveDevAttestSystemAbilityListener(systemAbilityId)) { in OnAddSystemAbility()
42 void DevAttestSystemAbilityListener::OnRemoveSystemAbility(int32_t systemAbilityId, const std::string& deviceId) in OnRemoveSystemAbility() argument
44 HILOGD("[OnRemoveSystemAbility] SA:%{public}d removed", systemAbilityId); in OnRemoveSystemAbility()
47 bool DevAttestSystemAbilityListener::AddDevAttestSystemAbilityListener(int32_t systemAbilityId) in AddDevAttestSystemAbilityListener() argument
50 if (!CheckInputSysAbilityId(systemAbilityId)) { in AddDevAttestSystemAbilityListener()
51 HILOGE("[AddDevAttestSystemAbilityListener] systemAbilityId invalid %{public}d", systemAbilityId); in AddDevAttestSystemAbilityListener()
59 int32_t ret = samgrProxy->SubscribeSystemAbility(systemAbilityId, thi in AddDevAttestSystemAbilityListener()
67 RemoveDevAttestSystemAbilityListener(int32_t systemAbilityId) RemoveDevAttestSystemAbilityListener() argument
86 CheckInputSysAbilityId(int32_t systemAbilityId) CheckInputSysAbilityId() argument
[all...]
H A Ddevattest_service.cpp37 DevAttestService::DevAttestService(int32_t systemAbilityId, bool runOnCreate) in DevAttestService() argument
38 : SystemAbility(systemAbilityId, runOnCreate) in DevAttestService()
/test/testfwk/arkxtest/testserver/src/client/
H A Dtest_server_client.cpp40 explicit TestServerLoadCallback(int32_t systemAbilityId) : systemAbilityId_(systemAbilityId){}; in TestServerLoadCallback() argument
48 bool WaitLoadStateChange(int32_t systemAbilityId) in WaitLoadStateChange() argument
56 __func__, systemAbilityId); in WaitLoadStateChange()
68 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override
70 HiLog::Info(LABEL, "%{public}s. Load SystemAbility success, systemAbilityId = [%{public}d]",
71 __func__, systemAbilityId);
72 if (systemAbilityId == systemAbilityId_) {
80 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override
82 HiLog::Info(LABEL, "%{public}s. Load SystemAbility failed, systemAbilityId
98 const int32_t systemAbilityId = TEST_SERVER_SA_ID; LoadTestServer() local
[all...]
H A Dtest_server_client.h37 bool WaitLoadStateChange(int32_t systemAbilityId);
/test/testfwk/arkxtest/testserver/test/unittest/
H A Dstart_test_server.cpp36 explicit TestServerLoadCallback(int32_t systemAbilityId) : systemAbilityId_(systemAbilityId){}; in TestServerLoadCallback() argument
44 bool WaitLoadStateChange(int32_t systemAbilityId) in WaitLoadStateChange() argument
62 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override
64 if (systemAbilityId == systemAbilityId_) {
72 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override
88 const int32_t systemAbilityId = TEST_SERVER_SA_ID; in LoadTestServer() local
93 auto object = samgr->CheckSystemAbility(systemAbilityId); in LoadTestServer()
97 auto testServerLoadCallback = sptr<TestServerLoadCallback>(new TestServerLoadCallback(systemAbilityId)); in LoadTestServer()
99 int32_t ret = samgr->LoadSystemAbility(systemAbilityId, testServerLoadCallbac in LoadTestServer()
[all...]
H A Dstart_test_server.h33 bool WaitLoadStateChange(int32_t systemAbilityId);
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/
H A Ddevattest_profile_load_callback.cpp25 int32_t systemAbilityId, const sptr<OHOS::IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
27 HILOGI("OnLoadSystemAbilitySuccess systemAbilityId: %{public}d IRmoteObject result:%{public}s", systemAbilityId,\ in OnLoadSystemAbilitySuccess()
29 if (systemAbilityId != DevAttestInterface::SA_ID_DEVICE_ATTEST_SERVICE) { in OnLoadSystemAbilitySuccess()
40 void DevAttestProfileLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
42 if (systemAbilityId != DevAttestInterface::SA_ID_DEVICE_ATTEST_SERVICE) { in OnLoadSystemAbilityFail()
24 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<OHOS::IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
/test/xts/device_attest/services/devattest_ability/include/
H A Ddevattest_system_ability_listener.h25 void OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId) override;
26 void OnRemoveSystemAbility(int32_t systemAbilityId, const std::string& deviceId) override;
27 bool AddDevAttestSystemAbilityListener(int32_t systemAbilityId);
29 bool RemoveDevAttestSystemAbilityListener(int32_t systemAbilityId);
30 static bool CheckInputSysAbilityId(int32_t systemAbilityId);
H A Ddevattest_service.h38 DevAttestService(int32_t systemAbilityId, bool runOnCreate = true);
/test/xts/hats/hdf/external_device_manager/driver_extension_manager_client_test/
H A Ddriver_extension_manager_client_test.cpp48 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
49 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
134 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
136 std::cout << "load success: systemAbilityId:" << systemAbilityId in OnLoadSystemAbilitySuccess()
142 void DrvExtMgrClientTest::LoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
144 std::cout << "load failed: systemAbilityId:" << systemAbilityId << std::endl; in OnLoadSystemAbilityFail()
133 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
/test/xts/hats/hdf/external_device_manager/drivers_pkg_manager_test/
H A Ddriver_pkg_manager_test.cpp44 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
45 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
109 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
112 std::cout << "load success: systemAbilityId:" << systemAbilityId in OnLoadSystemAbilitySuccess()
118 void DriverPkgManagerTest::LoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
121 std::cout << "load failed: systemAbilityId:" << systemAbilityId << std::endl; in OnLoadSystemAbilityFail()
108 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
H A Dpkg_db_helper_test.cpp50 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
51 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
169 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
172 std::cout << "load success: systemAbilityId:" << systemAbilityId in OnLoadSystemAbilitySuccess()
178 void PkgDbHelperTest::LoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
181 std::cout << "load failed: systemAbilityId:" << systemAbilityId << std::endl; in OnLoadSystemAbilityFail()
168 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
/test/xts/device_attest/interfaces/innerkits/native_cpp/include/
H A Ddevattest_profile_load_callback.h26 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId,
28 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;

Completed in 6 milliseconds