Home
last modified time | relevance | path

Searched refs:systemAbilityId (Results 1 – 25 of 118) sorted by relevance

12345

/base/startup/init/device_info/
Ddevice_info_load.cpp27 void DeviceInfoLoad::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, in OnLoadSystemAbilitySuccess() argument
30 DINFO_CHECK(systemAbilityId == SYSPARAM_DEVICE_SERVICE_ID, return, in OnLoadSystemAbilitySuccess()
31 "start systemabilityId is not deviceinfo! %d", systemAbilityId); in OnLoadSystemAbilitySuccess()
34 DINFO_LOGI("OnLoadSystemAbilitySuccess start systemAbilityId: %d success!", systemAbilityId); in OnLoadSystemAbilitySuccess()
38 void DeviceInfoLoad::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
40 DINFO_CHECK(systemAbilityId == SYSPARAM_DEVICE_SERVICE_ID, return, in OnLoadSystemAbilityFail()
41 "start systemabilityId is not deviceinfo! %d", systemAbilityId); in OnLoadSystemAbilityFail()
43 DINFO_LOGI("OnLoadSystemAbilityFail systemAbilityId: %d failed.", systemAbilityId); in OnLoadSystemAbilityFail()
Ddevice_info_load.h28 … void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject);
29 void OnLoadSystemAbilityFail(int32_t systemAbilityId);
/base/customization/enterprise_device_management/test/unittest/mock/src/
Dedm_sys_manager_mock.cpp25 sptr<IRemoteObject> EdmSysManager::GetRemoteObjectOfSystemAbility(int32_t systemAbilityId) in GetRemoteObjectOfSystemAbility() argument
29 (remoteServiceMap_[systemAbilityId] == nullptr); in GetRemoteObjectOfSystemAbility()
30 if (remoteServiceMap_[systemAbilityId] == nullptr) { in GetRemoteObjectOfSystemAbility()
37 auto object = sysAbilityMgr->GetSystemAbility(systemAbilityId); in GetRemoteObjectOfSystemAbility()
42 remoteServiceMap_[systemAbilityId] = object; in GetRemoteObjectOfSystemAbility()
44 return remoteServiceMap_[systemAbilityId]; in GetRemoteObjectOfSystemAbility()
47 void EdmSysManager::RegisterSystemAbilityOfRemoteObject(int32_t systemAbilityId, sptr<IRemoteObject… in RegisterSystemAbilityOfRemoteObject() argument
50 remoteServiceMap_[systemAbilityId] = object; in RegisterSystemAbilityOfRemoteObject()
53 void EdmSysManager::UnregisterSystemAbilityOfRemoteObject(int32_t systemAbilityId) in UnregisterSystemAbilityOfRemoteObject() argument
56 remoteServiceMap_.erase(systemAbilityId); in UnregisterSystemAbilityOfRemoteObject()
/base/security/access_token/services/test/mock/aafwk/
Dmock_service_registry.cpp62 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility() argument
65 GTEST_LOG_(INFO) << "GetSystemAbility(" << systemAbilityId << "): return nullptr"; in GetSystemAbility()
69 switch (systemAbilityId) { in GetSystemAbility()
72 … GTEST_LOG_(INFO) << "GetSystemAbility(" << systemAbilityId << "): return MockAppMgrService"; in GetSystemAbility()
78 GTEST_LOG_(INFO) << "This service is not dummy!!!!" << systemAbilityId; in GetSystemAbility()
84 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId, in GetSystemAbility() argument
87 return GetSystemAbility(systemAbilityId); in GetSystemAbility()
95 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId) in CheckSystemAbility() argument
100 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, const st… in CheckSystemAbility() argument
105 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& is… in CheckSystemAbility() argument
[all …]
/base/account/os_account/services/accountmgr/test/mock/src/
Dmock_service_registry.cpp35 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility() argument
37 GTEST_LOG_(INFO) << "GetSystemAbility(" << systemAbilityId << "): return nullptr"; in GetSystemAbility()
41 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId, in GetSystemAbility() argument
44 return GetSystemAbility(systemAbilityId); in GetSystemAbility()
52 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId) in CheckSystemAbility() argument
57 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, const st… in CheckSystemAbility() argument
62 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& is… in CheckSystemAbility() argument
67 int32_t SystemAbilityManagerProxy::AddOnDemandSystemAbilityInfo(int32_t systemAbilityId, in AddOnDemandSystemAbilityInfo() argument
78 int32_t SystemAbilityManagerProxy::RemoveSystemAbility(int32_t systemAbilityId) in RemoveSystemAbility() argument
90 int32_t SystemAbilityManagerProxy::SubscribeSystemAbility(int32_t systemAbilityId, in SubscribeSystemAbility() argument
[all …]
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
Dsys_installer_load_callback.cpp25 void SysInstallerLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, in OnLoadSystemAbilitySuccess() argument
28 …LOG(INFO) << "OnLoadSystemAbilitySuccess systemAbilityId: " << systemAbilityId << " IRmoteObject r… in OnLoadSystemAbilitySuccess()
30 if (systemAbilityId != SYS_INSTALLER_DISTRIBUTED_SERVICE_ID) { in OnLoadSystemAbilitySuccess()
41 void SysInstallerLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
43 LOG(INFO) << "OnLoadSystemAbilityFail systemAbilityId:" << systemAbilityId; in OnLoadSystemAbilityFail()
44 if (systemAbilityId != SYS_INSTALLER_DISTRIBUTED_SERVICE_ID) { in OnLoadSystemAbilityFail()
/base/security/access_token/interfaces/innerkits/tokensync/src/
Dtoken_sync_load_callback.cpp34 void TokenSyncLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, in OnLoadSystemAbilitySuccess() argument
37 if (systemAbilityId != ITokenSyncManager::SA_ID_TOKENSYNC_MANAGER_SERVICE) { in OnLoadSystemAbilitySuccess()
48 systemAbilityId); in OnLoadSystemAbilitySuccess()
53 void TokenSyncLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
55 if (systemAbilityId != ITokenSyncManager::SA_ID_TOKENSYNC_MANAGER_SERVICE) { in OnLoadSystemAbilityFail()
60 …N_LOG_DEBUG(LABEL, "OnLoadSystemAbilityFail systemAbilityId: %{public}d failed.", systemAbilityId); in OnLoadSystemAbilityFail()
Dtoken_sync_load_callback.h30 … void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject);
31 void OnLoadSystemAbilityFail(int32_t systemAbilityId);
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_ability_test.cpp42 int32_t systemAbilityId = 1; variable
44 AdvancedNotificationServiceAbility(systemAbilityId, runOnCreate);
55 int32_t systemAbilityId = 1; variable
57 AdvancedNotificationServiceAbility test(systemAbilityId, runOnCreate);
69 int32_t systemAbilityId = 1; variable
71 AdvancedNotificationServiceAbility test(systemAbilityId, runOnCreate);
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_sync_load_callback.cpp24 void DownloadSyncLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, in OnLoadSystemAbilitySuccess() argument
27 if (systemAbilityId != DOWNLOAD_SERVICE_ID) { in OnLoadSystemAbilitySuccess()
34 void DownloadSyncLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
36 if (systemAbilityId != DOWNLOAD_SERVICE_ID) { in OnLoadSystemAbilityFail()
/base/startup/init/test/exec_test/
Dsa_service_ondemand_test.cpp29 …void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) …
30 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
33 void OnDemandLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, in OnLoadSystemAbilitySuccess() argument
36 …cout << "OnLoadSystemAbilitySuccess systemAbilityId:" << systemAbilityId << " IRemoteObject result… in OnLoadSystemAbilitySuccess()
40 void OnDemandLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
42 cout << "OnLoadSystemAbilityFail systemAbilityId:" << systemAbilityId << endl; in OnLoadSystemAbilityFail()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_on_demand_load.cpp29 void OnDemandLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteOb… in OnLoadSystemAbilitySuccess() argument
32 …dSystemAbilitySuccess systemAbilityId:%{public}d IRemoteObject result:%{public}s", systemAbilityId, in OnLoadSystemAbilitySuccess()
37 void OnDemandLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
39 …HILOGD(MODULE_CLIENT, "debug|OnLoadSystemAbilityFail systemAbilityId:%{public}d", systemAbilityId); in OnLoadSystemAbilityFail()
/base/useriam/user_auth_framework/common/executors/src/listener/
Dauth_executor_mgr_status_listener.cpp38 void AuthExecutorMgrStatusListener::OnAddSystemAbility(int32_t systemAbilityId, const std::string &… in OnAddSystemAbility() argument
40 if (systemAbilityId != SUBSYS_USERIAM_SYS_ABILITY_AUTHEXECUTORMGR) { in OnAddSystemAbility()
47 void AuthExecutorMgrStatusListener::OnRemoveSystemAbility(int32_t systemAbilityId, const std::strin… in OnRemoveSystemAbility() argument
49 if (systemAbilityId != SUBSYS_USERIAM_SYS_ABILITY_AUTHEXECUTORMGR) { in OnRemoveSystemAbility()
Ddriver_manager_status_listener.cpp36 void DriverManagerStatusListener::OnAddSystemAbility(int32_t systemAbilityId, const std::string &de… in OnAddSystemAbility() argument
38 if (systemAbilityId != DEVICE_SERVICE_MANAGER_SA_ID) { in OnAddSystemAbility()
46 void DriverManagerStatusListener::OnRemoveSystemAbility(int32_t systemAbilityId, const std::string … in OnRemoveSystemAbility() argument
48 if (systemAbilityId != DEVICE_SERVICE_MANAGER_SA_ID) { in OnRemoveSystemAbility()
/base/security/access_token/interfaces/innerkits/tokensync/test/unittest/src/
Dtoken_sync_kit_test.cpp50 int32_t systemAbilityId = 0; variable
58 …callback->OnLoadSystemAbilitySuccess(systemAbilityId, nullptr); // start aystemabilityId is not To…
65 systemAbilityId = ITokenSyncManager::SA_ID_TOKENSYNC_MANAGER_SERVICE;
67 callback->OnLoadSystemAbilitySuccess(systemAbilityId, nullptr); // remoteObject is null
71 callback->OnLoadSystemAbilityFail(systemAbilityId); // systemAbilityId = 3504
/base/telephony/core_service/services/ims_service_interaction/src/
Dims_core_service_client.cpp192 void ImsCoreServiceClient::SystemAbilityListener::OnAddSystemAbility(int32_t systemAbilityId, in OnAddSystemAbility() argument
195 TELEPHONY_LOGI("SA:%{public}d is added!", systemAbilityId); in OnAddSystemAbility()
196 if (!CheckInputSysAbilityId(systemAbilityId)) { in OnAddSystemAbility()
197 TELEPHONY_LOGE("add SA:%{public}d is invalid!", systemAbilityId); in OnAddSystemAbility()
203 TELEPHONY_LOGI("SA:%{public}d already connected!", systemAbilityId); in OnAddSystemAbility()
210 TELEPHONY_LOGE("SA:%{public}d reconnect service failed!", systemAbilityId); in OnAddSystemAbility()
213 TELEPHONY_LOGI("SA:%{public}d reconnect service successfully!", systemAbilityId); in OnAddSystemAbility()
216 void ImsCoreServiceClient::SystemAbilityListener::OnRemoveSystemAbility(int32_t systemAbilityId, in OnRemoveSystemAbility() argument
219 TELEPHONY_LOGI("SA:%{public}d is removed!", systemAbilityId); in OnRemoveSystemAbility()
/base/telephony/sms_mms/services/ims_service_interaction/src/
Dims_sms_client.cpp215 void ImsSmsClient::SystemAbilityListener::OnAddSystemAbility(int32_t systemAbilityId, in OnAddSystemAbility() argument
218 TELEPHONY_LOGI("SA:%{public}d is added!", systemAbilityId); in OnAddSystemAbility()
219 if (!CheckInputSysAbilityId(systemAbilityId)) { in OnAddSystemAbility()
220 TELEPHONY_LOGE("add SA:%{public}d is invalid!", systemAbilityId); in OnAddSystemAbility()
226 TELEPHONY_LOGI("SA:%{public}d already connected!", systemAbilityId); in OnAddSystemAbility()
233 TELEPHONY_LOGE("SA:%{public}d reconnect service failed!", systemAbilityId); in OnAddSystemAbility()
236 TELEPHONY_LOGI("SA:%{public}d reconnect service successfully!", systemAbilityId); in OnAddSystemAbility()
239 void ImsSmsClient::SystemAbilityListener::OnRemoveSystemAbility(int32_t systemAbilityId, in OnRemoveSystemAbility() argument
242 TELEPHONY_LOGI("SA:%{public}d is removed!", systemAbilityId); in OnRemoveSystemAbility()
/base/customization/enterprise_device_management/test/unittest/mock/include/
Dedm_sys_manager_mock.h27 static sptr<IRemoteObject> GetRemoteObjectOfSystemAbility(int32_t systemAbilityId);
28 void RegisterSystemAbilityOfRemoteObject(int32_t systemAbilityId, sptr<IRemoteObject> object);
29 void UnregisterSystemAbilityOfRemoteObject(int32_t systemAbilityId);
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_ondemand.cpp39 void UpdateServiceOnDemand::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteO… in OnLoadSystemAbilitySuccess() argument
42 systemAbilityId, (remoteObject != nullptr) ? "succeed" : "failed"); in OnLoadSystemAbilitySuccess()
46 void UpdateServiceOnDemand::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
48 ENGINE_LOGE("OnLoadSystemAbilityFail systemAbilityId: %{public}d", systemAbilityId); in OnLoadSystemAbilityFail()
/base/customization/enterprise_device_management/common/native/src/
Dedm_sys_manager.cpp22 sptr<IRemoteObject> EdmSysManager::GetRemoteObjectOfSystemAbility(int32_t systemAbilityId) in GetRemoteObjectOfSystemAbility() argument
31 return sysAbilityMgr->GetSystemAbility(systemAbilityId); in GetRemoteObjectOfSystemAbility()
/base/request/request/download/interfaces/kits/js/napi/download_single/include/
Ddownload_sync_load_callback.h24 …void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) …
25 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
/base/update/sys_installer/interfaces/innerkits/ipc_client/include/
Dsys_installer_load_callback.h24 …void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) …
25 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
/base/hiviewdfx/hidumper/services/native/include/
Ddump_on_demand_load.h24 …void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) …
25 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/include/
Dcm_load_sa.h27 …void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const OHOS::sptr<IRemoteObject>& remoteOb…
28 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override;
/base/telephony/core_service/services/sim/src/
Dsim_state_tracker.cpp106 int32_t systemAbilityId, const std::string &deviceId) in OnAddSystemAbility() argument
108 if (systemAbilityId == ACCESSIBILITY_MANAGER_SERVICE_ID && configLoader_ != nullptr) { in OnAddSystemAbility()
115 int32_t systemAbilityId, const std::string &deviceId) in OnRemoveSystemAbility() argument
117 if (systemAbilityId == ACCESSIBILITY_MANAGER_SERVICE_ID) { in OnRemoveSystemAbility()

12345