Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java6449 final ComponentName caller, final DpmMockContext callerContext) throws Exception { in verifyCanGetOwnerInstalledCaCerts() argument
6455 if (admin1.getPackageName().equals(callerContext.getPackageName())) { in verifyCanGetOwnerInstalledCaCerts()
6456 admin1Context = callerContext; in verifyCanGetOwnerInstalledCaCerts()
6461 callerContext.applicationInfo = new ApplicationInfo(); in verifyCanGetOwnerInstalledCaCerts()
6462 final UserHandle callerUser = callerContext.binder.getCallingUserHandle(); in verifyCanGetOwnerInstalledCaCerts()
6468 getServices().addPackageContext(callerUser, callerContext); in verifyCanGetOwnerInstalledCaCerts()
6471 runAsCaller(callerContext, dpms, (dpm) -> { in verifyCanGetOwnerInstalledCaCerts()
6522 final ComponentName callerName, final DpmMockContext callerContext) throws Exception { in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval() argument
6528 if (admin1.getPackageName().equals(callerContext.getPackageName())) { in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
6529 admin1Context = callerContext; in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()
[all …]