Home
last modified time | relevance | path

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

12345678910>>...31

/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/
H A Dsystem_ability_manager.cpp110 if (systemAbilityId == SOFTBUS_SERVER_SA_ID) { in RegisterDistribute()
304 int32_t systemAbilityId = 0; in AddSamgrToAbilityMap() local
522 return CheckSystemAbility(systemAbilityId); in GetSystemAbility()
699 HILOGI("StopSA:%{public}d", systemAbilityId); in StopOnDemandAbilityInner()
832 SendSystemAbilityRemovedMsg(systemAbilityId); in RemoveSystemAbility()
892 ReportSaCrash(systemAbilityId); in RemoveDiedSystemAbility()
895 SendSystemAbilityRemovedMsg(systemAbilityId); in RemoveDiedSystemAbility()
1089 RefreshListenerState(systemAbilityId); in AddSystemAbility()
1107 RemoveCheckLoadedMsg(systemAbilityId); in AddSystemAbility()
1304 FindSystemAbilityNotify(systemAbilityId, in SendSystemAbilityAddedMsg()
[all …]
H A Dsystem_ability_manager_stub.cpp249 int32_t systemAbilityId = -1; in SubsSystemAbilityInner() local
282 int32_t systemAbilityId = -1; in UnSubsSystemAbilityInner() local
318 int32_t systemAbilityId = -1; in CheckRemtSystemAbilityInner() local
361 int32_t systemAbilityId = -1; in AddOndemandSystemAbilityInner() local
397 int32_t systemAbilityId = -1; in CheckSystemAbilityImmeInner() local
471 int32_t systemAbilityId = -1; in AddSystemAbilityInner() local
509 int32_t systemAbilityId = -1; in GetSystemAbilityInner() local
539 int32_t systemAbilityId = -1; in CheckSystemAbilityInner() local
573 int32_t systemAbilityId = -1; in RemoveSystemAbilityInner() local
628 int32_t systemAbilityId = -1; in LoadSystemAbilityInner() local
[all …]
H A Drpc_callback_imp.cpp22 sptr<IRemoteObject> RpcCallbackImp::GetSystemAbilityFromRemote(int32_t systemAbilityId) in GetSystemAbilityFromRemote() argument
24 return SystemAbilityManager::GetInstance()->GetSystemAbilityFromRemote(systemAbilityId); in GetSystemAbilityFromRemote()
27 bool RpcCallbackImp::IsDistributedSystemAbility(int32_t systemAbilityId) in IsDistributedSystemAbility() argument
29 return SystemAbilityManager::GetInstance()->IsDistributedSystemAbility(systemAbilityId); in IsDistributedSystemAbility()
32 …cCallbackImp::LoadSystemAbilityFromRemote(const std::string& srcNetworkId, int32_t systemAbilityId) in LoadSystemAbilityFromRemote() argument
35 AnonymizeDeviceId(srcNetworkId).c_str(), systemAbilityId); in LoadSystemAbilityFromRemote()
38 systemAbilityId, loadCallback); in LoadSystemAbilityFromRemote()
41 void RpcCallbackImp::LoadCallbackImp::OnLoadSystemAbilitySuccess(int32_t systemAbilityId, in OnLoadSystemAbilitySuccess() argument
45 AnonymizeDeviceId(srcNetWorkId_).c_str(), systemAbilityId); in OnLoadSystemAbilitySuccess()
49 void RpcCallbackImp::LoadCallbackImp::OnLoadSystemAbilityFail(int32_t systemAbilityId) in OnLoadSystemAbilityFail() argument
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/frameworks/native/source/
H A Dsystem_ability_load_callback_stub.cpp56 int32_t systemAbilityId = -1; in OnLoadSystemAbilitySuccessInner() local
57 bool ret = data.ReadInt32(systemAbilityId); in OnLoadSystemAbilitySuccessInner()
63 if (!CheckInputSystemAbilityId(systemAbilityId)) { in OnLoadSystemAbilitySuccessInner()
79 int32_t systemAbilityId = -1; in OnLoadSystemAbilityFailInner() local
80 bool ret = data.ReadInt32(systemAbilityId); in OnLoadSystemAbilityFailInner()
86 if (!CheckInputSystemAbilityId(systemAbilityId)) { in OnLoadSystemAbilityFailInner()
91 OnLoadSystemAbilityFail(systemAbilityId); in OnLoadSystemAbilityFailInner()
99 int32_t systemAbilityId = -1; in OnLoadSACompleteForRemoteInner() local
100 bool ret = data.ReadInt32(systemAbilityId); in OnLoadSACompleteForRemoteInner()
111 systemAbilityId, ret ? "succeed" : "failed"); in OnLoadSACompleteForRemoteInner()
[all …]
H A Dsystem_ability_manager_proxy.cpp113 if (IsOnDemandSystemAbility(systemAbilityId)) { in GetSystemAbility()
257 bool ret = data.WriteInt32(systemAbilityId); in CheckSystemAbilityTransaction()
292 bool ret = data.WriteInt32(systemAbilityId); in CheckSystemAbility()
337 bool ret = data.WriteInt32(systemAbilityId); in CheckSystemAbility()
392 bool ret = data.WriteInt32(systemAbilityId); in AddOnDemandSystemAbilityInfo()
460 bool ret = data.WriteInt32(systemAbilityId); in RemoveSystemAbility()
810 systemAbilityId, err); in CancelUnloadSystemAbility()
884 if (!data.WriteInt32(systemAbilityId)) { in AddSystemAbility()
969 if (!data.WriteInt32(systemAbilityId)) { in GetSystemProcessInfo()
1226 if (!data.WriteInt32(systemAbilityId)) { in GetOnDemandPolicy()
[all …]
/ohos5.0/foundation/barrierfree/accessibility/frameworks/acfwk/test/mock/src/
H A Dmock_service_registry.cpp47 return GetSystemAbility(systemAbilityId); in GetSystemAbility()
53 switch (systemAbilityId) { in GetSystemAbility()
76 (void)systemAbilityId; in CheckSystemAbility()
82 (void)systemAbilityId; in CheckSystemAbility()
89 (void)systemAbilityId; in CheckSystemAbility()
97 (void)systemAbilityId; in AddOnDemandSystemAbilityInfo()
111 (void)systemAbilityId; in RemoveSystemAbility()
125 (void)systemAbilityId; in SubscribeSystemAbility()
133 (void)systemAbilityId; in UnSubscribeSystemAbility()
141 (void)systemAbilityId; in LoadSystemAbility()
[all …]
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/src/aafwk/
H A Dsystem_ability_manager.cpp66 (void)systemAbilityId; in GetSystemAbility()
73 (void)systemAbilityId; in CheckSystemAbility()
84 (void)systemAbilityId; in CheckSystemAbility()
91 (void)systemAbilityId; in FindSystemAbilityNotify()
99 (void)systemAbilityId; in FindSystemAbilityNotify()
114 (void)systemAbilityId; in AddOnDemandSystemAbilityInfo()
121 (void)systemAbilityId; in StartOnDemandAbility()
127 (void)systemAbilityId; in CheckSystemAbility()
135 (void)systemAbilityId; in LoadSystemAbility()
150 (void)systemAbilityId; in RemoveSystemAbility()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dondemand_helper.cpp140 << " systemAbilityId:" << systemAbilityId << endl; in LoadSystemAbility()
153 int32_t result = sm->UnloadSystemAbility(systemAbilityId); in UnloadSystemAbility()
234 << " systemAbilityId:" << systemAbilityId << endl; in LoadRemoteAbility()
240 std::thread thread1([systemAbilityId, deviceId, this]() { in LoadRemoteAbilityMuti()
244 std::thread thread2([systemAbilityId, deviceId, this]() { in LoadRemoteAbilityMuti()
539 int32_t systemAbilityId = 0; in TestSystemAbility() local
542 cin >> systemAbilityId; in TestSystemAbility()
544 ondemandHelper.GetSystemAbility(systemAbilityId); in TestSystemAbility()
546 ondemandHelper.OnDemandAbility(systemAbilityId); in TestSystemAbility()
657 int32_t systemAbilityId = 0; in TestOnDemandPolicy() local
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/
H A Dsystem_ability_manager.h92 int32_t RemoveSystemAbility(int32_t systemAbilityId) override;
95 int32_t UnSubscribeSystemAbility(int32_t systemAbilityId,
108 int32_t RemoveDiedSystemAbility(int32_t systemAbilityId);
170 bool CheckSaIsImmediatelyRecycle(int32_t systemAbilityId);
171 bool IsDistributedSystemAbility(int32_t systemAbilityId);
179 bool IsModuleUpdate(int32_t systemAbilityId);
202 void RefreshListenerState(int32_t systemAbilityId);
218 void SendSystemAbilityRemovedMsg(int32_t systemAbilityId);
237 bool IsCacheCommonEvent(int32_t systemAbilityId);
240 void RemoveCheckLoadedMsg(int32_t systemAbilityId);
[all …]
/ohos5.0/base/location/frameworks/base_module/source/
H A Dlocation_sa_load_manager.cpp43 LocationErrCode LocationSaLoadManager::LoadLocationSa(int32_t systemAbilityId) in LoadLocationSa() argument
58 __func__, systemAbilityId, ret); in LoadLocationSa()
61 return WaitLoadStateChange(systemAbilityId); in LoadLocationSa()
83 LocationErrCode LocationSaLoadManager::UnloadLocationSa(int32_t systemAbilityId) in UnloadLocationSa() argument
92 int32_t ret = samgr->UnloadSystemAbility(systemAbilityId); in UnloadLocationSa()
95 __func__, systemAbilityId, ret); in UnloadLocationSa()
124 return (samgr->CheckSystemAbility(systemAbilityId) != nullptr); in CheckIfSystemAbilityAvailable()
127 bool LocationSaLoadManager::InitLocationSa(int32_t systemAbilityId) in InitLocationSa() argument
141 bool LocationSaLoadManager::UnInitLocationSa(int32_t systemAbilityId) in UnInitLocationSa() argument
156 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() argument
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/
H A DREADME_zh.md50 abilityMap_[systemAbilityId] = std::move(saInfo);
53 RemoveCheckLoadedMsg(systemAbilityId);
58 u16string strName = Str8ToStr16(to_string(systemAbilityId));
70 SendSystemAbilityAddedMsg(systemAbilityId, ability);
80 if (!CheckInputSysAbilityId(systemAbilityId)) {
86 auto iter = abilityMap_.find(systemAbilityId);
91 HILOGI("NOT found service : %{public}d", systemAbilityId);
109 …cout << "OnLoadSystemAbilitySuccess systemAbilityId:" << systemAbilityId << " IRemoteObject result…
113 …void OnDemandLoadCallback::OnLoadSystemAbilityFail(int32_t systemAbilityId) // systemAbilityId为指定加…
115 cout << "OnLoadSystemAbilityFail systemAbilityId:" << systemAbilityId << endl;
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/sa_mgr/src/
H A Dsa_mgr_client_mock.cpp30 sptr<IRemoteObject> SaMgrClient::GetSystemAbility(const int32_t systemAbilityId) in GetSystemAbility() argument
32 TAG_LOGI(AAFwkTag::TEST, "Test GetSystemAbility id : %{public}d", systemAbilityId); in GetSystemAbility()
33 if (servicesMap_[systemAbilityId] == nullptr) { in GetSystemAbility()
41 servicesMap_[systemAbilityId] = object; in GetSystemAbility()
43 return servicesMap_[systemAbilityId]; in GetSystemAbility()
46 sptr<IRemoteObject> SaMgrClient::CheckSystemAbility(const int32_t systemAbilityId) in CheckSystemAbility() argument
48 TAG_LOGI(AAFwkTag::TEST, "Test CheckSystemAbility id : %{public}d", systemAbilityId); in CheckSystemAbility()
49 if (servicesMap_[systemAbilityId] == nullptr) { in CheckSystemAbility()
57 servicesMap_[systemAbilityId] = object; in CheckSystemAbility()
59 return servicesMap_[systemAbilityId]; in CheckSystemAbility()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_system_ability_listerner.cpp47 void WifiSystemAbilityListener::SubscribeSystemAbility(int systemAbilityId) in SubscribeSystemAbility() argument
51 std::unordered_set<int32_t>::iterator pos = allListenerIds.find(systemAbilityId); in SubscribeSystemAbility()
62 WIFI_LOGI("SubscribeSystemAbility %{public}d result:%{public}d", systemAbilityId, ret); in SubscribeSystemAbility()
64 allListenerIds.emplace(systemAbilityId); in SubscribeSystemAbility()
69 void WifiSystemAbilityListener::UnSubscribeSystemAbility(int systemAbilityId) in UnSubscribeSystemAbility() argument
73 std::unordered_set<int32_t>::iterator pos = allListenerIds.find(systemAbilityId); in UnSubscribeSystemAbility()
75 WIFI_LOGE("SubscribeSystemAbility %{public}d not onlistener.", systemAbilityId); in UnSubscribeSystemAbility()
97 WIFI_LOGI("OnAddSystemAbility() systemAbilityId:%{public}d", systemAbilityId); in OnAddSystemAbility()
98 abilityListener->OnSystemAbilityChanged(systemAbilityId, true); in OnAddSystemAbility()
108 WIFI_LOGI("OnRemoveSystemAbility() systemAbilityId:%{public}d", systemAbilityId); in OnRemoveSystemAbility()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/include/
H A Dondemand_helper.h29 int32_t OnDemandAbility(int32_t systemAbilityId);
31 int32_t UnloadSystemAbility(int32_t systemAbilityId);
34 int32_t LoadRemoteAbility(int32_t systemAbilityId, const std::string& deviceId,
36 void LoadRemoteAbilityMuti(int32_t systemAbilityId, const std::string& deviceId);
37 void LoadRemoteAbilityMutiSA(int32_t systemAbilityId, const std::string& deviceId);
41 sptr<IRemoteObject> GetSystemAbility(int32_t systemAbilityId);
42 sptr<IRemoteObject> CheckSystemAbility(int32_t systemAbilityId);
44 void OnLoadSystemAbility(int32_t systemAbilityId);
49 void GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type);
50 void UpdateOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type,
[all …]
/ohos5.0/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_service_registry.cpp49 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility() argument
51 GTEST_LOG_(INFO) << "MOCK SystemAbility GetSystemAbility " << systemAbilityId; in GetSystemAbility()
53 switch (systemAbilityId) { in GetSystemAbility()
67 GTEST_LOG_(INFO) << "This service is not dummy!!!!" << systemAbilityId; in GetSystemAbility()
75 return GetSystemAbility(systemAbilityId); in GetSystemAbility()
99 int32_t systemAbilityId, const std::u16string& localAbilityManagerName) in AddOnDemandSystemAbilityInfo() argument
109 int32_t SystemAbilityManagerProxy::RemoveSystemAbility(int32_t systemAbilityId) in RemoveSystemAbility() argument
122 int32_t systemAbilityId, const sptr<ISystemAbilityStatusChange>& listener) in SubscribeSystemAbility() argument
128 int32_t systemAbilityId, const sptr<ISystemAbilityStatusChange>& listener) in UnSubscribeSystemAbility() argument
139 int32_t systemAbilityId, const sptr<ISystemAbilityLoadCallback>& callback) in LoadSystemAbility() argument
[all …]
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dlocal_ability_manager.cpp264 if (systemAbilityId <= 0) { in RemoveAbility()
269 (void)abilityMap_.erase(systemAbilityId); in RemoveAbility()
277 systemAbilityId, listenerSaId); in AddSystemAbilityListener()
313 systemAbilityId, listenerSaId); in RemoveSystemAbilityListener()
377 auto ability = GetAbility(systemAbilityId); in OnStartAbility()
388 auto ability = GetAbility(systemAbilityId); in OnStopAbility()
410 auto ability = GetAbility(systemAbilityId); in GetRunningStatus()
445 if (!OnStartAbility(systemAbilityId)) { in StartOndemandSystemAbility()
458 auto task = [this, systemAbilityId] {this->StartOndemandSystemAbility(systemAbilityId);}; in StartAbility()
467 if (!OnStopAbility(systemAbilityId)) { in StopOndemandSystemAbility()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dsystem_ability_helper.cpp29 sptr<IRemoteObject> SystemAbilityHelper::GetSystemAbility(const int32_t systemAbilityId) in GetSystemAbility() argument
31 APP_LOGD("mock system ability helper get %{public}d system ability", systemAbilityId); in GetSystemAbility()
32 auto iter = g_abilities.find(systemAbilityId); in GetSystemAbility()
41 if (g_abilities.erase(systemAbilityId) > 0) { in AddSystemAbility()
44 APP_LOGD("mock system ability helper emplace %{public}d system ability", systemAbilityId); in AddSystemAbility()
45 g_abilities.emplace(systemAbilityId, systemAbility); in AddSystemAbility()
50 bool SystemAbilityHelper::RemoveSystemAbility(const int32_t systemAbilityId) in RemoveSystemAbility() argument
53 if (g_abilities.erase(systemAbilityId) > 0) { in RemoveSystemAbility()
54 …GD("mock system ability helper remove %{public}d system ability erase exist key", systemAbilityId); in RemoveSystemAbility()
70 bool SystemAbilityHelper::UnloadSystemAbility(const int32_t systemAbilityId) in UnloadSystemAbility() argument
[all …]
/ohos5.0/foundation/systemabilitymgr/safwk/test/fuzztest/systemabilityfwk_fuzzer/
H A Dsystemabilityfwk_fuzzer.cpp81 int32_t systemAbilityId = GetData<int32_t>(); in FuzzLocalAbilityManager() local
88 SaProfile saProfile = {Str8ToStr16(procName), systemAbilityId}; in FuzzLocalAbilityManager()
91 MockSaRealize *ability = new MockSaRealize(systemAbilityId, false); in FuzzLocalAbilityManager()
95 LocalAbilityManager::GetInstance().InitializeSaProfiles(systemAbilityId); in FuzzLocalAbilityManager()
97 LocalAbilityManager::GetInstance().RemoveAbility(systemAbilityId); in FuzzLocalAbilityManager()
98 LocalAbilityManager::GetInstance().GetRunningStatus(systemAbilityId); in FuzzLocalAbilityManager()
110 LocalAbilityManager::GetInstance().GetStartReason(systemAbilityId); in FuzzLocalAbilityManager()
111 LocalAbilityManager::GetInstance().GetStopReason(systemAbilityId); in FuzzLocalAbilityManager()
115 LocalAbilityManager::GetInstance().OnStartAbility(systemAbilityId); in FuzzLocalAbilityManager()
116 LocalAbilityManager::GetInstance().OnStopAbility(systemAbilityId); in FuzzLocalAbilityManager()
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/include/
H A Dsystem_ability_manager_proxy.h47 sptr<IRemoteObject> GetSystemAbility(int32_t systemAbilityId) override;
55 sptr<IRemoteObject> CheckSystemAbility(int32_t systemAbilityId) override;
63 int32_t RemoveSystemAbility(int32_t systemAbilityId) override;
81 int32_t UnSubscribeSystemAbility(int32_t systemAbilityId,
109 int32_t AddOnDemandSystemAbilityInfo(int32_t systemAbilityId,
168 int32_t LoadSystemAbility(int32_t systemAbilityId, const std::string& deviceId,
177 int32_t UnloadSystemAbility(int32_t systemAbilityId) override;
185 int32_t CancelUnloadSystemAbility(int32_t systemAbilityId) override;
262 int32_t GetOnDemandPolicy(int32_t systemAbilityId, OnDemandPolicyType type,
279 sptr<IRemoteObject> CheckSystemAbilityTransaction(int32_t systemAbilityId);
[all …]
/ohos5.0/base/security/access_token/services/test/mock/aafwk/
H A Dmock_service_registry.cpp62 sptr<IRemoteObject> SystemAbilityManagerProxy::GetSystemAbility(int32_t systemAbilityId) in GetSystemAbility() argument
69 switch (systemAbilityId) { 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()
121 int32_t SystemAbilityManagerProxy::RemoveSystemAbility(int32_t systemAbilityId) in RemoveSystemAbility() argument
133 int32_t SystemAbilityManagerProxy::SubscribeSystemAbility(int32_t systemAbilityId, in SubscribeSystemAbility() argument
139 int32_t SystemAbilityManagerProxy::UnSubscribeSystemAbility(int32_t systemAbilityId, in UnSubscribeSystemAbility() argument
145 int32_t SystemAbilityManagerProxy::LoadSystemAbility(int32_t systemAbilityId, in LoadSystemAbility() argument
157 int32_t SystemAbilityManagerProxy::UnloadSystemAbility(int32_t systemAbilityId) in UnloadSystemAbility() argument
[all …]
/ohos5.0/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_sa_manager.cpp33 ErrCode DhcpSaLoadManager::LoadWifiSa(int32_t systemAbilityId) __attribute__((no_sanitize("cfi"))) in LoadWifiSa() argument
42 auto object = samgr->CheckSystemAbility(systemAbilityId); in LoadWifiSa()
52 int32_t ret = samgr->LoadSystemAbility(systemAbilityId, loadCallback); in LoadWifiSa()
55 __func__, systemAbilityId, ret); in LoadWifiSa()
59 return WaitLoadStateChange(systemAbilityId); in LoadWifiSa()
68 ErrCode DhcpSaLoadManager::WaitLoadStateChange(int32_t systemAbilityId) in WaitLoadStateChange() argument
76 DHCP_LOGE("locator sa [%{public}d] start time out.", systemAbilityId); in WaitLoadStateChange()
83 ErrCode DhcpSaLoadManager::UnloadWifiSa(int32_t systemAbilityId) in UnloadWifiSa() argument
91 int32_t ret = samgr->UnloadSystemAbility(systemAbilityId); in UnloadWifiSa()
94 __func__, systemAbilityId, ret); in UnloadWifiSa()
[all …]
/ohos5.0/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_sa_manager.cpp35 ErrCode WifiSaLoadManager::LoadWifiSa(int32_t systemAbilityId) in LoadWifiSa() argument
44 auto object = samgr->CheckSystemAbility(systemAbilityId); in LoadWifiSa()
54 int32_t ret = samgr->LoadSystemAbility(systemAbilityId, loadCallback); in LoadWifiSa()
57 __func__, systemAbilityId, ret); in LoadWifiSa()
60 return WaitLoadStateChange(systemAbilityId); in LoadWifiSa()
69 ErrCode WifiSaLoadManager::WaitLoadStateChange(int32_t systemAbilityId) in WaitLoadStateChange() argument
82 ErrCode WifiSaLoadManager::UnloadWifiSa(int32_t systemAbilityId) in UnloadWifiSa() argument
91 int32_t ret = samgr->UnloadSystemAbility(systemAbilityId); in UnloadWifiSa()
94 __func__, systemAbilityId, ret); in UnloadWifiSa()
115 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() argument
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/src/
H A 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()
78 int32_t SystemAbilityManagerProxy::RemoveSystemAbility(int32_t systemAbilityId) in RemoveSystemAbility() argument
90 int32_t SystemAbilityManagerProxy::SubscribeSystemAbility(int32_t systemAbilityId, in SubscribeSystemAbility() argument
96 int32_t SystemAbilityManagerProxy::UnSubscribeSystemAbility(int32_t systemAbilityId, in UnSubscribeSystemAbility() argument
107 int32_t SystemAbilityManagerProxy::LoadSystemAbility(int32_t systemAbilityId, in LoadSystemAbility() argument
113 int32_t SystemAbilityManagerProxy::UnloadSystemAbility(int32_t systemAbilityId) in UnloadSystemAbility() argument
134 int32_t SystemAbilityManagerProxy::CancelUnloadSystemAbility(int32_t systemAbilityId) in CancelUnloadSystemAbility() argument
[all …]
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/include/
H A Dlocal_ability_manager.h44 bool RemoveAbility(int32_t systemAbilityId);
45 SystemAbility* GetAbility(int32_t systemAbilityId);
46 bool GetRunningStatus(int32_t systemAbilityId);
54 void StartOndemandSystemAbility(int32_t systemAbilityId);
55 void StopOndemandSystemAbility(int32_t systemAbilityId);
57 bool ActiveAbility(int32_t systemAbilityId,
64 void SetStopReason(int32_t systemAbilityId, const nlohmann::json& event);
65 nlohmann::json GetStartReason(int32_t systemAbilityId);
66 nlohmann::json GetStopReason(int32_t systemAbilityId);
104 bool OnStartAbility(int32_t systemAbilityId);
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/
H A Ddms_sa_client.cpp75 TAG_LOGI(AAFwkTag::MISSION, "called, systemAbilityId: %{public}d", systemAbilityId); in OnAddSystemAbility()
77 if (systemAbilityId == DISTRIBUTED_SCHED_SA_ID) { in OnAddSystemAbility()
84 systemAbilityId); in OnAddSystemAbility()
92 if (systemAbilityId == DISTRIBUTED_SCHED_SA_ID) { in OnRemoveSystemAbility()
98 systemAbilityId); in OnRemoveSystemAbility()
114 TAG_LOGI(AAFwkTag::MISSION, "called, systemAbilityId: %d", systemAbilityId); in OnAddSystemAbility()
115 if (systemAbilityId != DISTRIBUTED_SCHED_SA_ID) { in OnAddSystemAbility()
120 DmsSaClient::GetInstance().OnAddSystemAbility(systemAbilityId, deviceId); in OnAddSystemAbility()
121 TAG_LOGI(AAFwkTag::MISSION, "called end, systemAbilityId: %d", systemAbilityId); in OnAddSystemAbility()
126 TAG_LOGI(AAFwkTag::MISSION, "called, systemAbilityId: %d", systemAbilityId); in OnRemoveSystemAbility()
[all …]

12345678910>>...31