Lines Matching refs:service
34 sp<IPermissionController> service = mService; in getService() local
35 while (service == nullptr || !IInterface::asBinder(service)->isBinderAlive()) { in getService()
44 service = nullptr; in getService()
49 service = interface_cast<IPermissionController>(binder); in getService()
50 mService = service; in getService()
53 return service; in getService()
58 sp<IPermissionController> service = getService(); in checkPermission() local
59 return service != nullptr ? service->checkPermission(permission, pid, uid) : false; in checkPermission()
64 sp<IPermissionController> service = getService(); in noteOp() local
65 return service != nullptr ? service->noteOp(op, uid, packageName) : MODE_ERRORED; in noteOp()
70 sp<IPermissionController> service = getService(); in getPackagesForUid() local
71 if (service != nullptr) { in getPackagesForUid()
72 service->getPackagesForUid(uid, packages); in getPackagesForUid()
78 sp<IPermissionController> service = getService(); in isRuntimePermission() local
79 return service != nullptr ? service->isRuntimePermission(permission) : false; in isRuntimePermission()
84 sp<IPermissionController> service = getService(); in getPackageUid() local
85 return service != nullptr ? service->getPackageUid(package, flags) : -1; in getPackageUid()