/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityController.java | 47 int getDeviceOwnerType(ComponentName admin); in getDeviceOwnerType() method
|
H A D | SecurityControllerImpl.java | 260 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in SecurityControllerImpl 261 return mDevicePolicyManager.getDeviceOwnerType(admin); in getDeviceOwnerType()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
H A D | FakeSecurityController.java | 82 public int getDeviceOwnerType(ComponentName admin) { in getDeviceOwnerType() method in FakeSecurityController
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | QSSecurityFooterTest.java | 132 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp() 196 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testManagedFinancedDeviceWithOwnerName() 509 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementTitleForFinancedDevice() 540 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testGetManagementMessage_deviceOwner_asFinancedDevice() 707 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testCreateDialogViewForFinancedDevice() 731 when(mSecurityController.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testFinancedDeviceUsesSettingsButtonText()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
H A D | ActionDisabledByAdminControllerFactory.java | 92 return dpm.isDeviceManaged() && dpm.getDeviceOwnerType( in isFinancedDevice()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/ |
H A D | FakeSecurityController.kt | 68 override fun getDeviceOwnerType(admin: ComponentName?): Int = 0
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A 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
|
H A D | DevicePolicyManagerService.java | 2323 mOwners.getDeviceOwnerType(mOwners.getDeviceOwnerPackageName())); in loadOwners() 2854 if (mOwners.getDeviceOwnerType(doComponent.getPackageName()) == DEFAULT_DEVICE_OWNER) { in getDefaultDeviceOwnerLocked() 22421 public int getDeviceOwnerType(@NonNull ComponentName admin) { 22430 return mOwners.getDeviceOwnerType(packageName);
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | SecurityControllerTest.java | 155 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in testIsFinancedDevice()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationControllerBaseTest.java | 219 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in setUp()
|
H A D | KeyguardIndicationControllerTest.java | 300 when(mDevicePolicyManager.getDeviceOwnerType(DEVICE_OWNER_COMPONENT)) in disclosure_deviceOwner_financedDeviceWithOrganizationName()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSSecurityFooterUtils.java | 804 && mSecurityController.getDeviceOwnerType( in isFinancedDevice()
|
/aosp14/frameworks/base/core/java/android/app/admin/ |
H A D | IDevicePolicyManager.aidl | 563 int getDeviceOwnerType(in ComponentName admin); in getDeviceOwnerType() method
|
H A D | DevicePolicyManager.java | 16584 public int getDeviceOwnerType(@NonNull ComponentName admin) { in getDeviceOwnerType() method in DevicePolicyManager 16588 return mService.getDeviceOwnerType(admin); in getDeviceOwnerType() 16606 && getDeviceOwnerType(getDeviceOwnerComponentOnAnyUser()) in isFinancedDevice()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationController.java | 495 && mDevicePolicyManager.getDeviceOwnerType( in getDisclosureText()
|
/aosp14/frameworks/base/core/api/ |
H A D | test-current.txt | 555 method @Deprecated public int getDeviceOwnerType(@NonNull android.content.ComponentName);
|