/base/startup/init/device_info/ |
D | device_info_load.cpp | 27 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()
|
/base/location/test/mock/include/ |
D | mock_if_system_ability_manager.h | 29 MOCK_METHOD(sptr<IRemoteObject>, GetSystemAbility, (int32_t systemAbilityId)); 30 MOCK_METHOD(sptr<IRemoteObject>, CheckSystemAbility, (int32_t systemAbilityId)); 31 MOCK_METHOD(int32_t, RemoveSystemAbility, (int32_t systemAbilityId)); 32 MOCK_METHOD(int32_t, SubscribeSystemAbility, (int32_t systemAbilityId, 34 MOCK_METHOD(int32_t, UnSubscribeSystemAbility, (int32_t systemAbilityId, 36 …MOCK_METHOD(sptr<IRemoteObject>, GetSystemAbility, (int32_t systemAbilityId, const std::string& de… 37 …MOCK_METHOD(sptr<IRemoteObject>, CheckSystemAbility, (int32_t systemAbilityId, const std::string& … 38 MOCK_METHOD(int32_t, AddOnDemandSystemAbilityInfo, (int32_t systemAbilityId, 41 MOCK_METHOD(sptr<IRemoteObject>, CheckSystemAbility, (int32_t systemAbilityId, bool& isExist)); 42 …MOCK_METHOD(int32_t, AddSystemAbility, (int32_t systemAbilityId, const sptr<IRemoteObject>& abilit… [all …]
|
/base/location/frameworks/location_common/common/source/ |
D | location_sa_load_manager.cpp | 35 LocationErrCode LocationSaLoadManager::LoadLocationSa(int32_t systemAbilityId) in LoadLocationSa() argument 37 …GI(LOCATOR, "%{public}s enter, systemAbilityId = [%{public}d] loading", __func__, systemAbilityId); in LoadLocationSa() 47 int32_t ret = samgr->LoadSystemAbility(systemAbilityId, locationSaLoadCallback); in LoadLocationSa() 50 __func__, systemAbilityId, ret); in LoadLocationSa() 53 return WaitLoadStateChange(systemAbilityId); in LoadLocationSa() 62 LocationErrCode LocationSaLoadManager::WaitLoadStateChange(int32_t systemAbilityId) in WaitLoadStateChange() argument 69 LBSLOGE(LOCATOR_STANDARD, "locator sa [%{public}d] start time out.", systemAbilityId); in WaitLoadStateChange() 75 LocationErrCode LocationSaLoadManager::UnloadLocationSa(int32_t systemAbilityId) in UnloadLocationSa() argument 77 …(LOCATOR, "%{public}s enter, systemAbilityId = [%{public}d] unloading", __func__, systemAbilityId); in UnloadLocationSa() 84 int32_t ret = samgr->UnloadSystemAbility(systemAbilityId); in UnloadLocationSa() [all …]
|
/base/customization/enterprise_device_management/test/unittest/mock/src/ |
D | edm_sys_manager_mock.cpp | 25 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/ |
D | mock_service_registry.cpp | 62 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/ |
D | mock_service_registry.cpp | 35 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/location/test/mock/src/ |
D | mock_service_registry.cpp | 38 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility() argument 44 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId, in GetSystemAbility() argument 48 return GetSystemAbility(systemAbilityId); in GetSystemAbility() 57 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId) in CheckSystemAbility() argument 60 return GetSystemAbility(systemAbilityId); in CheckSystemAbility() 63 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, const st… in CheckSystemAbility() argument 66 return GetSystemAbility(systemAbilityId); in CheckSystemAbility() 69 sptr<IRemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& is… in CheckSystemAbility() argument 72 return GetSystemAbility(systemAbilityId); in CheckSystemAbility() 75 int32_t SystemAbilityManagerProxy::AddOnDemandSystemAbilityInfo(int32_t systemAbilityId, in AddOnDemandSystemAbilityInfo() argument [all …]
|
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/ |
D | sys_installer_load_callback.cpp | 25 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/security_component_manager/interfaces/inner_api/security_component/src/ |
D | sec_comp_load_callback.cpp | 30 int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) in OnLoadSystemAbilitySuccess() argument 32 if (systemAbilityId != SA_ID_SECURITY_COMPONENT_SERVICE) { in OnLoadSystemAbilitySuccess() 43 SC_LOG_INFO(LABEL, "Start systemAbilityId: %{public}d success!", systemAbilityId); in OnLoadSystemAbilitySuccess() 48 void SecCompLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument 50 if (systemAbilityId != SA_ID_SECURITY_COMPONENT_SERVICE) { in OnLoadSystemAbilityFail() 55 SC_LOG_ERROR(LABEL, "Start systemAbilityId: %{public}d failed.", systemAbilityId); in OnLoadSystemAbilityFail()
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/ |
D | dlp_permission_load_callback.cpp | 30 int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) in OnLoadSystemAbilitySuccess() argument 32 if (systemAbilityId != SA_ID_DLP_PERMISSION_SERVICE) { in OnLoadSystemAbilitySuccess() 43 DLP_LOG_INFO(LABEL, "Start systemAbilityId: %{public}d success!", systemAbilityId); in OnLoadSystemAbilitySuccess() 48 void DlpPermissionLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument 50 if (systemAbilityId != SA_ID_DLP_PERMISSION_SERVICE) { in OnLoadSystemAbilityFail() 55 DLP_LOG_ERROR(LABEL, "Start systemAbilityId: %{public}d failed.", systemAbilityId); in OnLoadSystemAbilityFail()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | advanced_notification_service_ability_test.cpp | 42 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/security/code_signature/interfaces/innerkits/local_code_sign/src/ |
D | local_code_sign_load_callback.cpp | 31 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() argument 34 systemAbilityId, (remoteObject != nullptr) ? "true" : "false"); in OnLoadSystemAbilitySuccess() 35 if (systemAbilityId != LOCAL_CODE_SIGN_SA_ID) { in OnLoadSystemAbilitySuccess() 46 void LocalCodeSignLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument 48 … LOG_ERROR(LABEL, "load local code sign SA failed, systemAbilityId: %{public}d", systemAbilityId); in OnLoadSystemAbilityFail()
|
/base/customization/enterprise_device_management/interfaces/inner_api/common/src/ |
D | edm_load_callback.cpp | 23 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() argument 25 EDMLOGI("EdmLoadManager Load SA success, systemAbilityId = [%{public}d]", systemAbilityId); in OnLoadSystemAbilitySuccess() 29 void EdmLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument 31 EDMLOGI("EdmLoadManager Load SA failed, systemAbilityId = [%{public}d]", systemAbilityId); in OnLoadSystemAbilityFail()
|
/base/location/interfaces/inner_api/include/ |
D | location_sa_load_manager.h | 29 …void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) … 30 void OnLoadSystemAbilityFail(int32_t systemAbilityId) override; 37 LocationErrCode LoadLocationSa(int32_t systemAbilityId); 38 LocationErrCode UnloadLocationSa(int32_t systemAbilityId); 43 LocationErrCode WaitLoadStateChange(int32_t systemAbilityId);
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_sync_load_callback.cpp | 25 void PrintSyncLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteO… in OnLoadSystemAbilitySuccess() argument 27 if (systemAbilityId != PRINT_SERVICE_ID) { in OnLoadSystemAbilitySuccess() 34 void PrintSyncLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument 36 if (systemAbilityId != PRINT_SERVICE_ID) { in OnLoadSystemAbilityFail()
|
/base/request/request/frameworks/native/src/ |
D | request_sync_load_callback.cpp | 25 void RequestSyncLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, in OnLoadSystemAbilitySuccess() argument 28 if (systemAbilityId != DOWNLOAD_SERVICE_ID) { in OnLoadSystemAbilitySuccess() 35 void RequestSyncLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument 37 if (systemAbilityId != DOWNLOAD_SERVICE_ID) { in OnLoadSystemAbilityFail()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_on_demand_load.cpp | 27 void OnDemandLoadCallback::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteOb… in OnLoadSystemAbilitySuccess() argument 30 …dSystemAbilitySuccess systemAbilityId:%{public}d IRemoteObject result:%{public}s", systemAbilityId, in OnLoadSystemAbilitySuccess() 35 void OnDemandLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument 37 …HILOGD(MODULE_CLIENT, "debug|OnLoadSystemAbilityFail systemAbilityId:%{public}d", systemAbilityId); in OnLoadSystemAbilityFail()
|
/base/update/sys_installer/services/module_update/service/src/ |
D | sys_event_service_listener.cpp | 26 void SysEventServiceListener::OnAddSystemAbility(int32_t systemAbilityId, const std::string &device… in OnAddSystemAbility() argument 28 if (systemAbilityId == DFX_SYS_EVENT_SERVICE_ABILITY_ID) { in OnAddSystemAbility() 34 void SysEventServiceListener::OnRemoveSystemAbility(int32_t systemAbilityId, const std::string &dev… in OnRemoveSystemAbility() argument 36 if (systemAbilityId == DFX_SYS_EVENT_SERVICE_ABILITY_ID) { in OnRemoveSystemAbility()
|
/base/startup/init/test/exec_test/ |
D | sa_service_ondemand_test.cpp | 29 …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/notification/common_event_service/services/test/unittest/common_event_manager_service_ability_test/ |
D | common_event_manager_service_ability_test.cpp | 61 int32_t systemAbilityId = 1; in HWTEST_F() local 64 std::make_shared<CommonEventManagerServiceAbility>(systemAbilityId, runOnCreate); in HWTEST_F() 79 int32_t systemAbilityId = 1; in HWTEST_F() local 82 std::make_shared<CommonEventManagerServiceAbility>(systemAbilityId, runOnCreate); in HWTEST_F() 98 int32_t systemAbilityId = 1; in HWTEST_F() local 101 std::make_shared<CommonEventManagerServiceAbility>(systemAbilityId, runOnCreate); in HWTEST_F()
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/listener/ |
D | auth_executor_mgr_status_listener.cpp | 38 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()
|
D | driver_manager_status_listener.cpp | 36 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/telephony/core_service/services/ims_service_interaction/src/ |
D | ims_core_service_client.cpp | 192 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/customization/enterprise_device_management/test/unittest/mock/include/ |
D | edm_sys_manager_mock.h | 27 static sptr<IRemoteObject> GetRemoteObjectOfSystemAbility(int32_t systemAbilityId); 28 void RegisterSystemAbilityOfRemoteObject(int32_t systemAbilityId, sptr<IRemoteObject> object); 29 void UnregisterSystemAbilityOfRemoteObject(int32_t systemAbilityId);
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_sync_load_callback_test.cpp | 53 int32_t systemAbilityId = 0; variable 55 printSyncLoadCallback.OnLoadSystemAbilitySuccess(systemAbilityId, remoteObject); 56 printSyncLoadCallback.OnLoadSystemAbilityFail(systemAbilityId);
|