/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OwnersTest.java | 113 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType() 119 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType() 125 assertThat(owners.getDeviceOwnerType(TESTDPC_PACKAGE)) in testDeviceOwnerType()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityController.java | 47 int getDeviceOwnerType(ComponentName admin); in getDeviceOwnerType() method
|
D | SecurityControllerImpl.java | 285 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in SecurityControllerImpl 286 return mDevicePolicyManager.getDeviceOwnerType(admin); in getDeviceOwnerType()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeSecurityController.java | 82 public int getDeviceOwnerType(ComponentName admin) { in getDeviceOwnerType() method in FakeSecurityController
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
D | ActionDisabledByAdminControllerFactory.java | 92 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSSecurityFooterTest.java | 133 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp() 197 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testManagedFinancedDeviceWithOwnerName() 510 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementTitleForFinancedDevice() 541 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementMessage_deviceOwner_asFinancedDevice() 708 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testCreateDialogViewForFinancedDevice() 732 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testFinancedDeviceUsesSettingsButtonText()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/ |
D | FakeSecurityController.kt | 68 override fun getDeviceOwnerType(admin: ComponentName?): Int = 0 in isDeviceManaged() method in com.android.systemui.statusbar.policy.FakeSecurityController
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 487 && getDeviceOwnerType(getDeviceOwnerPackageName()) == DEVICE_OWNER_TYPE_DEFAULT; in isDefaultDeviceOwnerUserId() 495 && getDeviceOwnerType(getDeviceOwnerPackageName()) in isFinancedDeviceOwnerUserId() 550 int getDeviceOwnerType(String packageName) { in getDeviceOwnerType() method in Owners
|
D | DevicePolicyManagerService.java | 2342 mOwners.getDeviceOwnerType(mOwners.getDeviceOwnerPackageName())); in loadOwners() 2842 if (mOwners.getDeviceOwnerType(doComponent.getPackageName()) == DEFAULT_DEVICE_OWNER) { in getDefaultDeviceOwnerLocked() 22298 public int getDeviceOwnerType(@NonNull ComponentName admin) { 22307 return mOwners.getDeviceOwnerType(packageName);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 157 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testIsFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerBaseTest.java | 239 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
|
D | KeyguardIndicationControllerTest.java | 305 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in disclosure_deviceOwner_financedDeviceWithOrganizationName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooterUtils.java | 804 && mSecurityController.getDeviceOwnerType( in isFinancedDevice()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 569 int getDeviceOwnerType(in ComponentName admin); in getDeviceOwnerType() method
|
D | DevicePolicyManager.java | 17062 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in DevicePolicyManager 17066 return mService.getDeviceOwnerType(admin); in getDeviceOwnerType() 17084 && getDeviceOwnerType(getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 552 && mDevicePolicyManager.getDeviceOwnerType( in getDisclosureText()
|
/frameworks/base/core/api/ |
D | test-current.txt | 598 method @Deprecated public int getDeviceOwnerType(@NonNull android.content.ComponentName);
|