/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_ability_utils.cpp | 39 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 D | input_method_ability.cpp | 87 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 D | usb_serial_reader.cpp | 20 UsbSerialReader::UsbSerialReader(SystemAbility *systemAbility, UsbRightManager *rightManager, std::string serialNumber) in UsbSerialReader() argument 22 systemAbility_ = systemAbility; in UsbSerialReader()
|
H A D | usb_host_manager.cpp | 71 UsbHostManager::UsbHostManager(SystemAbility *systemAbility) in UsbHostManager() argument 73 systemAbility_ = systemAbility; in UsbHostManager()
|
/base/theme/screenlock_mgr/frameworks/native/src/ |
H A D | screenlock_manager.cpp | 147 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 D | screenlock_app_manager.cpp | 172 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 D | application_state_observer.cpp | 57 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 D | network.cpp | 144 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 D | usb_serial_reader.h | 27 UsbSerialReader(SystemAbility *systemAbility, UsbRightManager *rightManager, std::string serialNumber);
|
H A D | usb_host_manager.h | 41 explicit UsbHostManager(SystemAbility *systemAbility);
|
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/ |
H A D | ime_system_channel.cpp | 68 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 D | input_method_controller.cpp | 150 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 D | request_manager_impl.cpp | 463 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 D | subability_common.h | 58 void ReportLocationInfo(const std::string& systemAbility, const std::shared_ptr<Location> location);
|
/base/location/services/location_locator/locator/source/ |
H A D | subability_common.cpp | 215 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 D | locator_skeleton.cpp | 950 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 D | scan_manager_client.cpp | 53 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 D | time_service_client.cpp | 129 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 D | input_method_controller_test.cpp | 340 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 D | print_manager_client.cpp | 64 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 D | time_system_ability.cpp | 909 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()
|