Searched refs:isDeviceOwnerApp (Results 1 – 10 of 10) sorted by relevance
183 if (!dpm.isDeviceOwnerApp(callingPackage) in enforceHardwarePropertiesRetrievalAllowed()
936 doReturn(false).when(mDevicePolicyManager).isDeviceOwnerApp(PACKAGE_NAME); in testDownloadSubscription_profileOwner_usingSwitchAfterDownload_fails()965 doReturn(false).when(mDevicePolicyManager).isDeviceOwnerApp(PACKAGE_NAME); in testDownloadSubscription_orgOwnedProfileOwner_usingSwitchAfterDownload_success()991 doReturn(true).when(mDevicePolicyManager).isDeviceOwnerApp(PACKAGE_NAME); in testDownloadSubscription_deviceOwner_usingSwitchAfterDownload_success()
1224 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isTrue(); in checkGetDeviceOwnerInfoApi()1232 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isFalse(); in checkGetDeviceOwnerInfoApi()1243 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isTrue(); in checkGetDeviceOwnerInfoApi()1251 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isFalse(); in checkGetDeviceOwnerInfoApi()1262 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isFalse(); in checkGetDeviceOwnerInfoApi()1280 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isTrue(); in checkGetDeviceOwnerInfoApi()1288 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isFalse(); in checkGetDeviceOwnerInfoApi()1300 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isTrue(); in checkGetDeviceOwnerInfoApi()1304 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isFalse(); in checkGetDeviceOwnerInfoApi()1320 assertThat(dpm.isDeviceOwnerApp(admin1.getPackageName())).isFalse(); in checkGetDeviceOwnerInfoApi()[all …]
2201 || devicePolicyManager.isDeviceOwnerApp(callingPackage)); in callerCanManageDevicePolicyManagedSubscriptions()2209 return devicePolicyManager != null && (devicePolicyManager.isDeviceOwnerApp(callingPackage) in shouldAllowSwitchAfterDownload()
9438 public boolean isDeviceOwnerApp(String packageName) { in isDeviceOwnerApp() method in DevicePolicyManager
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
2920 HSPLandroid/app/admin/DevicePolicyManager;->isDeviceOwnerApp(Ljava/lang/String;)Z
5346 method public boolean isDeviceOwnerApp(java.lang.String);
8114 method public boolean isDeviceOwnerApp(String);