Home
last modified time | relevance | path

Searched refs:serviceContext (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestBase.java122 final DpmMockContext serviceContext = mMockContext; in runAsCaller() local
128 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()
DDevicePolicyManagerTest.java6192 final DpmMockContext serviceContext = mContext; in verifyCanGetOwnerInstalledCaCerts() local
6193 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCanGetOwnerInstalledCaCerts()
6228 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCanGetOwnerInstalledCaCerts()
6265 final DpmMockContext serviceContext = mContext; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval() local
6266 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
6289 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java2094 JobServiceContext serviceContext = mActiveServices.get(i);
2095 final JobStatus running = serviceContext.getRunningJobLocked();
2105 serviceContext.cancelExecutingJobLocked(
2110 serviceContext.cancelExecutingJobLocked(
2119 serviceContext.cancelExecutingJobLocked(restriction.getReason(),