Searched refs:serviceContext (Results 1 – 3 of 3) sorted by relevance
96 final DpmMockContext serviceContext = mMockContext; in runAsCaller() local102 final long origId = serviceContext.binder.clearCallingIdentity(); in runAsCaller()104 serviceContext.binder.callingUid = callingUid; in runAsCaller()105 serviceContext.binder.callingPid = callingPid; in runAsCaller()106 serviceContext.binder.callingPermissions.put(callingUid, caller.permissions); in runAsCaller()111 serviceContext.binder.restoreCallingIdentity(origId); in runAsCaller()
4806 final DpmMockContext serviceContext = mContext; in verifyCanGetOwnerInstalledCaCerts() local4807 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCanGetOwnerInstalledCaCerts()4840 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCanGetOwnerInstalledCaCerts()4876 final DpmMockContext serviceContext = mContext; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval() local4877 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()4899 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
1535 JobServiceContext serviceContext = mActiveServices.get(i); in isCurrentlyActiveLocked() local1536 final JobStatus running = serviceContext.getRunningJobLocked(); in isCurrentlyActiveLocked()1946 JobServiceContext serviceContext = mActiveServices.get(i); in stopNonReadyActiveJobsLocked() local1947 final JobStatus running = serviceContext.getRunningJobLocked(); in stopNonReadyActiveJobsLocked()1952 serviceContext.cancelExecutingJobLocked( in stopNonReadyActiveJobsLocked()1956 serviceContext.cancelExecutingJobLocked( in stopNonReadyActiveJobsLocked()