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.java96 final DpmMockContext serviceContext = mMockContext; in runAsCaller() local
102 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()
DDevicePolicyManagerTest.java4806 final DpmMockContext serviceContext = mContext; in verifyCanGetOwnerInstalledCaCerts() local
4807 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCanGetOwnerInstalledCaCerts()
4840 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCanGetOwnerInstalledCaCerts()
4876 final DpmMockContext serviceContext = mContext; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval() local
4877 serviceContext.binder.callingUid = DpmMockContext.SYSTEM_UID; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
4899 runAsCaller(serviceContext, dpms, (dpm) -> { in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java1535 JobServiceContext serviceContext = mActiveServices.get(i); in isCurrentlyActiveLocked() local
1536 final JobStatus running = serviceContext.getRunningJobLocked(); in isCurrentlyActiveLocked()
1946 JobServiceContext serviceContext = mActiveServices.get(i); in stopNonReadyActiveJobsLocked() local
1947 final JobStatus running = serviceContext.getRunningJobLocked(); in stopNonReadyActiveJobsLocked()
1952 serviceContext.cancelExecutingJobLocked( in stopNonReadyActiveJobsLocked()
1956 serviceContext.cancelExecutingJobLocked( in stopNonReadyActiveJobsLocked()