Searched refs:isProfileOwnerApp (Results 1 – 10 of 10) sorted by relevance
934 doReturn(true).when(mDevicePolicyManager).isProfileOwnerApp(PACKAGE_NAME); in testDownloadSubscription_profileOwner_usingSwitchAfterDownload_fails()963 doReturn(true).when(mDevicePolicyManager).isProfileOwnerApp(PACKAGE_NAME); in testDownloadSubscription_orgOwnedProfileOwner_usingSwitchAfterDownload_success()989 doReturn(false).when(mDevicePolicyManager).isProfileOwnerApp(PACKAGE_NAME); in testDownloadSubscription_deviceOwner_usingSwitchAfterDownload_success()
2199 devicePolicyManager != null && (devicePolicyManager.isProfileOwnerApp( in callerCanManageDevicePolicyManagedSubscriptions()2210 || (devicePolicyManager.isProfileOwnerApp(callingPackage) in shouldAllowSwitchAfterDownload()
1023 return devicePolicyManager.isProfileOwnerApp(packageName); in isProfileOwner()
1581 assertThat(dpm.isProfileOwnerApp(admin1.getPackageName())).isTrue(); in testClearProfileOwner()1596 assertThat(dpm.isProfileOwnerApp(admin1.getPackageName())).isFalse(); in testClearProfileOwner()8710 assertThat(dpm.isProfileOwnerApp(admin1.getPackageName())).isTrue();8712 assertThat(dpm.isProfileOwnerApp(adminAnotherPackage.getPackageName())).isFalse();
9939 public boolean isProfileOwnerApp(String packageName) { in isProfileOwnerApp() method in DevicePolicyManager
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
2924 HSPLandroid/app/admin/DevicePolicyManager;->isProfileOwnerApp(Ljava/lang/String;)Z
5349 method public boolean isProfileOwnerApp(java.lang.String);
8127 method public boolean isProfileOwnerApp(String);