Lines Matching refs:ctx
132 auto ctx = mAccess->getCallingContext(); in tryGetService() local
140 uid_t appid = multiuser_get_app_id(ctx.uid); in tryGetService()
150 if (!mAccess->canFind(ctx, name)) { in tryGetService()
183 auto ctx = mAccess->getCallingContext(); in addService() local
186 if (multiuser_get_app_id(ctx.uid) >= AID_APP) { in addService()
190 if (!mAccess->canAdd(ctx, name)) { in addService()
221 .debugPid = ctx.debugPid, in addService()
264 auto ctx = mAccess->getCallingContext(); in registerForNotifications() local
266 if (!mAccess->canFind(ctx, name)) { in registerForNotifications()
298 auto ctx = mAccess->getCallingContext(); in unregisterForNotifications() local
300 if (!mAccess->canFind(ctx, name)) { in unregisterForNotifications()
320 auto ctx = mAccess->getCallingContext(); in isDeclared() local
322 if (!mAccess->canFind(ctx, name)) { in isDeclared()
388 auto ctx = mAccess->getCallingContext(); in registerClientCallback() local
389 if (!mAccess->canAdd(ctx, name)) { in registerClientCallback()
522 auto ctx = mAccess->getCallingContext(); in tryUnregisterService() local
523 if (!mAccess->canAdd(ctx, name)) { in tryUnregisterService()