Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DTestAppHelper.java53 IntentFilter filter, boolean forDeviceOwner) { in registerTestCaseReceiver() argument
54 if (forDeviceOwner && isCurrentUserOnHeadlessSystemUser(context) in registerTestCaseReceiver()
79 boolean forDeviceOwner) { in unregisterTestCaseReceiver() argument
80 if (forDeviceOwner && isCurrentUserOnHeadlessSystemUser(context)) { in unregisterTestCaseReceiver()
DTestAppSystemServiceFactory.java86 Class<? extends BroadcastReceiver> receiverClass, boolean forDeviceOwner, in getDevicePolicyManager() argument
88 return getSystemService(context, DevicePolicyManager.class, receiverClass, forDeviceOwner, in getDevicePolicyManager()
96 Class<? extends BroadcastReceiver> receiverClass, boolean forDeviceOwner) { in getDevicePolicyManager() argument
97 return getDevicePolicyManager(context, receiverClass, forDeviceOwner, in getDevicePolicyManager()
204 Class<? extends BroadcastReceiver> receiverClass, boolean forDeviceOwner, in getSystemService() argument
262 if (!forDeviceOwner) return manager; in getSystemService()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DOperationSafetyChangedCallback.java78 private OperationSafetyChangedCallback(boolean forDeviceOwner) { in OperationSafetyChangedCallback() argument
79 mForDeviceOwner = forDeviceOwner; in OperationSafetyChangedCallback()
85 public static OperationSafetyChangedCallback register(Context context, boolean forDeviceOwner) { in register() argument
88 forDeviceOwner); in register()
90 new IntentFilter(ACTION_STATE_CHANGED), forDeviceOwner); in register()
DDevicePolicySafetyCheckerIntegrationTester.java81 public DevicePolicySafetyCheckerIntegrationTester(boolean forDeviceOwner) { in DevicePolicySafetyCheckerIntegrationTester() argument
82 mForDeviceOwner = forDeviceOwner; in DevicePolicySafetyCheckerIntegrationTester()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java213 boolean forDeviceOwner = !intent.getBooleanExtra(EXTRA_USE_CURRENT_USER_DPM, false); in onCreate()
215 DeviceAdminTestReceiver.class, forDeviceOwner, in onCreate()
222 Log.i(TAG, "Command: " + command + " forDeviceOwner: " + forDeviceOwner); in onCreate()
229 + (forDeviceOwner ? UserHandle.SYSTEM : UserHandle.myUserId())); in onCreate()