Searched refs:serviceContext (Results 1 – 3 of 3) sorted by relevance
122 final DpmMockContext serviceContext = mMockContext; in runAsCaller() local128 final long origId = serviceContext.binder.clearCallingIdentity(); in runAsCaller()130 serviceContext.binder.callingUid = callingUid; in runAsCaller()131 serviceContext.binder.callingPid = callingPid; in runAsCaller()132 serviceContext.binder.callingPermissions.put(callingUid, caller.permissions); in runAsCaller()137 serviceContext.binder.restoreCallingIdentity(origId); in runAsCaller()
6192 final DpmMockContext serviceContext = mContext; in verifyCanGetOwnerInstalledCaCerts() local6193 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCanGetOwnerInstalledCaCerts()6228 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCanGetOwnerInstalledCaCerts()6265 final DpmMockContext serviceContext = mContext; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval() local6266 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()6289 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
2094 JobServiceContext serviceContext = mActiveServices.get(i);2095 final JobStatus running = serviceContext.getRunningJobLocked();2105 serviceContext.cancelExecutingJobLocked(2110 serviceContext.cancelExecutingJobLocked(2119 serviceContext.cancelExecutingJobLocked(restriction.getReason(),