• Home
  • Raw
  • Download

Lines Matching refs:service

37     sp<IActivityManager> service = mService;  in getService()  local
38 while (service == nullptr || !IInterface::asBinder(service)->isBinderAlive()) { in getService()
47 service = nullptr; in getService()
52 service = interface_cast<IActivityManager>(binder); in getService()
53 mService = service; in getService()
56 return service; in getService()
61 sp<IActivityManager> service = getService(); in openContentUri() local
62 return service != nullptr ? service->openContentUri(stringUri) : -1; in openContentUri()
70 sp<IActivityManager> service = getService(); in registerUidObserver() local
71 if (service != nullptr) { in registerUidObserver()
72 return service->registerUidObserver(observer, event, cutpoint, callingPackage); in registerUidObserver()
80 sp<IActivityManager> service = getService(); in unregisterUidObserver() local
81 if (service != nullptr) { in unregisterUidObserver()
82 return service->unregisterUidObserver(observer); in unregisterUidObserver()
90 sp<IActivityManager> service = getService(); in isUidActive() local
91 if (service != nullptr) { in isUidActive()
92 return service->isUidActive(uid, callingPackage); in isUidActive()
99 sp<IActivityManager> service = getService(); in getUidProcessState() local
100 if (service != nullptr) { in getUidProcessState()
101 return service->getUidProcessState(uid, callingPackage); in getUidProcessState()
110 sp<IActivityManager> service = getService(); in checkPermission() local
111 if (service != nullptr) { in checkPermission()
112 return service->checkPermission(permission, pid, uid, outResult); in checkPermission()
119 sp<IActivityManager> service = getService(); in linkToDeath() local
120 if (service != nullptr) { in linkToDeath()
121 return IInterface::asBinder(service)->linkToDeath(recipient); in linkToDeath()
127 sp<IActivityManager> service = getService(); in unlinkToDeath() local
128 if (service != nullptr) { in unlinkToDeath()
129 return IInterface::asBinder(service)->unlinkToDeath(recipient); in unlinkToDeath()