Lines Matching refs:ctx
196 auto ctx = mAccess->getCallingContext(); in tryGetService() local
204 uid_t appid = multiuser_get_app_id(ctx.uid); in tryGetService()
214 if (!mAccess->canFind(ctx, name)) { in tryGetService()
247 auto ctx = mAccess->getCallingContext(); in addService() local
250 if (multiuser_get_app_id(ctx.uid) >= AID_APP) { in addService()
254 if (!mAccess->canAdd(ctx, name)) { in addService()
286 .debugPid = ctx.debugPid, in addService()
329 auto ctx = mAccess->getCallingContext(); in registerForNotifications() local
331 if (!mAccess->canFind(ctx, name)) { in registerForNotifications()
365 auto ctx = mAccess->getCallingContext(); in unregisterForNotifications() local
367 if (!mAccess->canFind(ctx, name)) { in unregisterForNotifications()
387 auto ctx = mAccess->getCallingContext(); in isDeclared() local
389 if (!mAccess->canFind(ctx, name)) { in isDeclared()
402 auto ctx = mAccess->getCallingContext(); in getDeclaredInstances() local
412 if (mAccess->canFind(ctx, interface + "/" + instance)) { in getDeclaredInstances()
426 auto ctx = mAccess->getCallingContext(); in updatableViaApex() local
428 if (!mAccess->canFind(ctx, name)) { in updatableViaApex()
499 auto ctx = mAccess->getCallingContext(); in registerClientCallback() local
500 if (!mAccess->canAdd(ctx, name)) { in registerClientCallback()
634 auto ctx = mAccess->getCallingContext(); in tryUnregisterService() local
635 if (!mAccess->canAdd(ctx, name)) { in tryUnregisterService()