Home
last modified time | relevance | path

Searched refs:systemAbility (Results 1 - 21 of 21) sorted by relevance

/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability_utils.cpp39 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in GetImsaProxy() local
40 if (systemAbility == nullptr) { in GetImsaProxy()
41 IMSA_HILOGE("ImaUtils systemAbility is nullptr!"); in GetImsaProxy()
44 return iface_cast<IInputMethodSystemAbility>(systemAbility); in GetImsaProxy()
H A Dinput_method_ability.cpp87 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in GetImsaProxy() local
88 if (systemAbility == nullptr) { in GetImsaProxy()
89 IMSA_HILOGE("systemAbility is nullptr!"); in GetImsaProxy()
100 if ((systemAbility->IsProxyObject()) && (!systemAbility->AddDeathRecipient(deathRecipient_))) { in GetImsaProxy()
104 abilityManager_ = iface_cast<IInputMethodSystemAbility>(systemAbility); in GetImsaProxy()
/base/usb/usb_manager/services/native/src/
H A Dusb_serial_reader.cpp20 UsbSerialReader::UsbSerialReader(SystemAbility *systemAbility, UsbRightManager *rightManager, std::string serialNumber) in UsbSerialReader() argument
22 systemAbility_ = systemAbility; in UsbSerialReader()
H A Dusb_host_manager.cpp71 UsbHostManager::UsbHostManager(SystemAbility *systemAbility) in UsbHostManager() argument
73 systemAbility_ = systemAbility; in UsbHostManager()
/base/theme/screenlock_mgr/frameworks/native/src/
H A Dscreenlock_manager.cpp147 auto systemAbility = systemAbilityManager->GetSystemAbility(SCREENLOCK_SERVICE_ID, ""); in GetScreenLockManagerProxy() local
148 if (systemAbility == nullptr) { in GetScreenLockManagerProxy()
153 systemAbility->AddDeathRecipient(deathRecipient_); in GetScreenLockManagerProxy()
154 sptr<ScreenLockManagerInterface> screenlockServiceProxy = iface_cast<ScreenLockManagerInterface>(systemAbility); in GetScreenLockManagerProxy()
H A Dscreenlock_app_manager.cpp172 auto systemAbility = systemAbilityManager->GetSystemAbility(SCREENLOCK_SERVICE_ID, ""); in GetScreenLockManagerProxy() local
173 if (systemAbility == nullptr) { in GetScreenLockManagerProxy()
178 systemAbility->AddDeathRecipient(deathRecipient_); in GetScreenLockManagerProxy()
179 sptr<ScreenLockManagerInterface> screenlockServiceProxy = iface_cast<ScreenLockManagerInterface>(systemAbility); in GetScreenLockManagerProxy()
220 SCLOCK_HILOGE("ScreenLockAppDeathRecipient on remote systemAbility died."); in OnRemoteDied()
/base/request/request/services/src/cxx/
H A Dapplication_state_observer.cpp57 auto systemAbility = systemAbilityManager->GetSystemAbility(APP_MGR_SERVICE_ID); in RegisterAppStateChanged() local
58 if (systemAbility == nullptr) { in RegisterAppStateChanged()
62 sptr<AppExecFwk::IAppMgr> appObject = iface_cast<AppExecFwk::IAppMgr>(systemAbility); in RegisterAppStateChanged()
H A Dnetwork.cpp144 auto systemAbility = sm->CheckSystemAbility(TELEPHONY_CORE_SERVICE_SYS_ABILITY_ID); in IsRoaming() local
145 if (systemAbility == nullptr) { in IsRoaming()
/base/usb/usb_manager/services/native/include/
H A Dusb_serial_reader.h27 UsbSerialReader(SystemAbility *systemAbility, UsbRightManager *rightManager, std::string serialNumber);
H A Dusb_host_manager.h41 explicit UsbHostManager(SystemAbility *systemAbility);
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dime_system_channel.cpp68 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in GetSystemAbilityProxy() local
69 if (systemAbility == nullptr) { in GetSystemAbilityProxy()
81 if ((systemAbility->IsProxyObject()) && (!systemAbility->AddDeathRecipient(deathRecipient_))) { in GetSystemAbilityProxy()
85 systemAbility_ = iface_cast<IInputMethodSystemAbility>(systemAbility); in GetSystemAbilityProxy()
H A Dinput_method_controller.cpp150 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in GetSystemAbilityProxy() local
151 if (systemAbility == nullptr) { in GetSystemAbilityProxy()
163 if ((systemAbility->IsProxyObject()) && (!systemAbility->AddDeathRecipient(deathRecipient_))) { in GetSystemAbilityProxy()
167 abilityManager_ = iface_cast<IInputMethodSystemAbility>(systemAbility); in GetSystemAbilityProxy()
/base/request/request/frameworks/native/src/
H A Drequest_manager_impl.cpp463 auto systemAbility = systemAbilityManager->GetSystemAbility(DOWNLOAD_SERVICE_ID, ""); in GetRequestServiceProxy() local
464 if (systemAbility == nullptr) { in GetRequestServiceProxy()
469 systemAbility->AddDeathRecipient(deathRecipient_); in GetRequestServiceProxy()
470 requestServiceProxy_ = iface_cast<RequestServiceInterface>(systemAbility); in GetRequestServiceProxy()
592 REQUEST_HILOGI("RequestSaDeathRecipient on remote systemAbility died."); in OnRemoteDied()
614 auto systemAbility = sm->CheckSystemAbility(DOWNLOAD_SERVICE_ID); in LoadRequestServer() local
615 if (systemAbility != nullptr) { in LoadRequestServer()
/base/location/services/location_locator/locator/include/
H A Dsubability_common.h58 void ReportLocationInfo(const std::string& systemAbility, const std::shared_ptr<Location> location);
/base/location/services/location_locator/locator/source/
H A Dsubability_common.cpp215 const std::string& systemAbility, const std::shared_ptr<Location> location) in ReportLocationInfo()
221 data.WriteString(systemAbility); in ReportLocationInfo()
214 ReportLocationInfo( const std::string& systemAbility, const std::shared_ptr<Location> location) ReportLocationInfo() argument
H A Dlocator_skeleton.cpp950 std::string systemAbility = data.ReadString(); in PreReportLocation() local
952 locatorAbility->ReportLocation(location, systemAbility, identity); in PreReportLocation()
954 if (systemAbility == NETWORK_ABILITY) { in PreReportLocation()
/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/src/
H A Dscan_manager_client.cpp53 auto systemAbility = systemAbilityManager->GetSystemAbility(SCAN_SERVICE_ID, ""); in GetScanServiceProxy() local
54 if (systemAbility == nullptr) { in GetScanServiceProxy()
61 systemAbility->AddDeathRecipient(deathRecipient_); in GetScanServiceProxy()
62 sptr<IScanService> serviceProxy = iface_cast<IScanService>(systemAbility); in GetScanServiceProxy()
/base/time/time_service/interfaces/inner_api/src/
H A Dtime_service_client.cpp129 auto systemAbility = systemAbilityManager->GetSystemAbility(TIME_SERVICE_ID); in ConnectService() local
130 if (systemAbility == nullptr) { in ConnectService()
140 systemAbility->AddDeathRecipient(deathRecipient_); in ConnectService()
141 sptr<ITimeService> proxy = iface_cast<ITimeService>(systemAbility); in ConnectService()
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_controller_test.cpp340 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in SetInputDeathRecipient() local
341 if (systemAbility == nullptr) { in SetInputDeathRecipient()
351 if ((systemAbility->IsProxyObject()) && (!systemAbility->AddDeathRecipient(deathRecipient_))) { in SetInputDeathRecipient()
380 auto systemAbility = systemAbilityManager->CheckSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID); in CheckProxyObject() local
381 if (systemAbility != nullptr) { in CheckProxyObject()
590 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in HWTEST_F() local
591 EXPECT_TRUE(systemAbility != nullptr); in HWTEST_F()
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
H A Dprint_manager_client.cpp64 auto systemAbility = systemAbilityManager->GetSystemAbility(PRINT_SERVICE_ID, ""); in GetPrintServiceProxy() local
65 if (systemAbility != nullptr) { in GetPrintServiceProxy()
68 systemAbility->AddDeathRecipient(deathRecipient_); in GetPrintServiceProxy()
69 printServiceProxy_ = iface_cast<IPrintService>(systemAbility); in GetPrintServiceProxy()
/base/time/time_service/services/
H A Dtime_system_ability.cpp909 auto systemAbility = systemAbilityManager->GetSystemAbility(DEVICE_STANDBY_SERVICE_SYSTEM_ABILITY_ID); in RegisterRSSDeathCallback() local
910 if (systemAbility == nullptr) { in RegisterRSSDeathCallback()
919 systemAbility->AddDeathRecipient(deathRecipient_); in RegisterRSSDeathCallback()

Completed in 21 milliseconds