/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 82 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade01() 98 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade01() 109 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade01() 151 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade02() 175 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade02() 217 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade03() 249 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade03() 305 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade04() 341 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade04() 371 assertThat(owners.getDeviceOwnerType(owners.getDeviceOwnerPackageName())).isEqualTo( in testUpgrade04() [all …]
|
D | DevicePolicyManagerTest.java | 7481 int returnedDeviceOwnerType = dpm.getDeviceOwnerType(admin1); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 7487 returnedDeviceOwnerType = dpm.getDeviceOwnerType(admin1); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 7499 int returnedDeviceOwnerType = dpm.getDeviceOwnerType(admin1); in testSetDeviceOwnerType_asDeviceOwner_throwsExceptionWhenSetDeviceOwnerTypeAgain() 7509 assertThrows(IllegalStateException.class, () -> dpm.getDeviceOwnerType(admin1)); in testGetDeviceOwnerType_throwsExceptionWhenThereIsNoDeviceOwner() 7516 assertThrows(IllegalStateException.class, () -> dpm.getDeviceOwnerType(admin2)); in testGetDeviceOwnerType_throwsExceptionWhenNotAsDeviceOwnerAdmin()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityController.java | 42 int getDeviceOwnerType(ComponentName admin); in getDeviceOwnerType() method
|
D | SecurityControllerImpl.java | 243 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in SecurityControllerImpl 244 return mDevicePolicyManager.getDeviceOwnerType(admin); in getDeviceOwnerType()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
D | ActionDisabledByAdminControllerFactory.java | 73 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeSecurityController.java | 82 public int getDeviceOwnerType(ComponentName admin) { in getDeviceOwnerType() method in FakeSecurityController
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 144 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetDeviceOwnerType() 146 assertEquals(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT), in testGetDeviceOwnerType()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | BaseIDevicePolicyManager.java | 145 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in BaseIDevicePolicyManager
|
D | Owners.java | 658 int getDeviceOwnerType(String packageName) { in getDeviceOwnerType() method in Owners
|
D | DevicePolicyManagerService.java | 17516 public int getDeviceOwnerType(@NonNull ComponentName admin) { 17519 return mOwners.getDeviceOwnerType(admin.getPackageName());
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSSecurityFooterTest.java | 114 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp() 163 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testManagedFinancedDeviceWithOwnerName() 502 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementTitleForFinancedDevice() 531 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementMessage_deviceOwner_asFinancedDevice() 707 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testCreateDialogViewForFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 201 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp() 403 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in disclosure_deviceOwner_financedDeviceWithOrganizationName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooter.java | 594 && mSecurityController.getDeviceOwnerType( in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 316 && mDevicePolicyManager.getDeviceOwnerType( in getDisclosureText()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 521 int getDeviceOwnerType(in ComponentName admin); in getDeviceOwnerType() method
|
D | DevicePolicyManager.java | 13890 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in DevicePolicyManager 13894 return mService.getDeviceOwnerType(admin); in getDeviceOwnerType()
|
/frameworks/base/services/ |
D | art-profile | 16763 HPLcom/android/server/devicepolicy/DevicePolicyManagerService;->getDeviceOwnerType(Landroid/content… 17261 HPLcom/android/server/devicepolicy/Owners;->getDeviceOwnerType(Ljava/lang/String;)I+]Lcom/android/s…
|