/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 121 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testHasDeviceOwner() 124 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in testHasDeviceOwner() 130 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in testIsInCompMode() 149 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testGetDeviceOwnerDisclosure() 154 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in testGetDeviceOwnerDisclosure() 361 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_unmanagedDevice_shouldDoNothing() 372 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in workPolicyInfo_deviceOwner_shouldResolveIntent() 386 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in workPolicyInfo_profileOwner_shouldResolveIntent() 417 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(mOwner); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
|
D | PrivacyPreferenceControllerHelperTest.java | 70 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in setUp()
|
D | EnterprisePrivacySettingsTest.java | 194 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in setupPrivacyPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationInjectedServicesPreferenceControllerTest.java | 145 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() 206 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in privateProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() 278 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(componentName); in withUserRestriction_shouldDisableLocationAccuracy()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | EnterpriseUtilsTest.java | 164 when(mDpm.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in testHasDeviceOwner_managedDevice_noDeviceOwnerComponent() 172 when(mDpm.getDeviceOwnerComponentOnAnyUser()) in testHasDeviceOwner()
|
D | BaseEnterpriseTestCase.java | 162 when(mDpm.getDeviceOwnerComponentOnAnyUser()).thenReturn(mDefaultAdmin); in mockDeviceOwner() 167 when(mDpm.getDeviceOwnerComponentOnAnyUser()).thenReturn(null); in mockNoDeviceOwner()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | PrivacySettingsPreferenceFactory.java | 52 dpm.getDeviceOwnerComponentOnAnyUser()) == DEVICE_OWNER_TYPE_FINANCED; in isFinancedDevice()
|
D | PrivacyPreferenceControllerHelper.java | 75 mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
|
D | EnterprisePrivacyFeatureProviderImpl.java | 285 return mDpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 885 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName() 894 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName() 902 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName() 910 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByPackageName() 936 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid() 945 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid() 952 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid() 961 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid() 969 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()) in testIsDeviceOwnerByUid()
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | DeviceAdminAddWarningPreferenceController.java | 76 .getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
|
D | EnterpriseUtils.java | 212 return getDevicePolicyManager(context).getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/ |
D | WifiHelper.java | 58 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ui/ |
D | UserAvatarViewTest.java | 126 verify(mMockDevicePolicyManager).getDeviceOwnerComponentOnAnyUser(); in setDrawableWithBadge_success()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | RestrictedLockUtils.java | 65 adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getProfileOrDeviceOwner()
|
D | RestrictedLockUtilsInternal.java | 450 return new EnforcedAdmin(dpm.getDeviceOwnerComponentOnAnyUser(), deviceOwnerUser); in checkIfPasswordQualityIsSet() 574 ComponentName adminComponent = dpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcPermissions.java | 132 deviceOwnerComponent = devicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDevicePolicyManager.java | 98 protected ComponentName getDeviceOwnerComponentOnAnyUser() { in getDeviceOwnerComponentOnAnyUser() method in ShadowDevicePolicyManager
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigHelper.java | 213 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiUtils.java | 116 final ComponentName deviceOwner = dpm.getDeviceOwnerComponentOnAnyUser(); in isNetworkLockedDown()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systemdialogs/ |
D | SystemDialogsViewController.java | 220 mSecurityController.getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | OtaController.java | 138 ComponentName deviceOwner = mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in addDeviceOwnerTasks()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/ |
D | OtaControllerTest.java | 232 when(mDevicePolicyManager.getDeviceOwnerComponentOnAnyUser()).thenReturn(admin); in setDeviceOwner()
|
/packages/modules/Bluetooth/service/src/com/android/server/bluetooth/ |
D | BtPermissionUtils.java | 215 deviceOwnerComponent = devicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in isDeviceOwner()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 276 return mDpm.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwnerComponent()
|