/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/ |
D | ActionDisabledByAdminControllerFactory.java | 48 } else if (isFinancedDevice(context)) { in createInstance() 84 private static boolean isFinancedDevice(Context context) { in isFinancedDevice() method in ActionDisabledByAdminControllerFactory 90 return dpm.isFinancedDevice(); in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityController.java | 40 boolean isFinancedDevice(); in isFinancedDevice() method
|
D | SecurityControllerImpl.java | 290 public boolean isFinancedDevice() { in isFinancedDevice() method in SecurityControllerImpl 291 return mDevicePolicyManager.isFinancedDevice(); in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeSecurityController.java | 87 public boolean isFinancedDevice() { in isFinancedDevice() method in FakeSecurityController
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSSecurityFooterTest.java | 131 when(mSecurityController.isFinancedDevice()).thenReturn(false); in setUp() 195 when(mSecurityController.isFinancedDevice()).thenReturn(true); in testManagedFinancedDeviceWithOwnerName() 508 when(mSecurityController.isFinancedDevice()).thenReturn(true); in testGetManagementTitleForFinancedDevice() 539 when(mSecurityController.isFinancedDevice()).thenReturn(true); in testGetManagementMessage_deviceOwner_asFinancedDevice() 706 when(mSecurityController.isFinancedDevice()).thenReturn(true); in testCreateDialogViewForFinancedDevice() 730 when(mSecurityController.isFinancedDevice()).thenReturn(true); in testFinancedDeviceUsesSettingsButtonText()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 155 when(mDevicePolicyManager.isFinancedDevice()).thenReturn(true); in testIsFinancedDevice() 159 assertEquals(mSecurityController.isFinancedDevice(), true); in testIsFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/ |
D | FakeSecurityController.kt | 70 override fun isFinancedDevice(): Boolean = false in isDeviceManaged() method in com.android.systemui.statusbar.policy.FakeSecurityController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSSecurityFooterUtils.java | 348 if (isFinancedDevice()) { in getMangedDeviceGeneralText() 661 if (isFinancedDevice()) { in getManagementMessage() 765 if (deviceOwnerOrganization != null && isFinancedDevice()) { in getManagementTitle() 797 private boolean isFinancedDevice() { in isFinancedDevice() method in QSSecurityFooterUtils 801 return mSecurityController.isFinancedDevice(); in isFinancedDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerBaseTest.java | 237 when(mDevicePolicyManager.isFinancedDevice()).thenReturn(false); in setUp()
|
D | KeyguardIndicationControllerTest.java | 303 when(mDevicePolicyManager.isFinancedDevice()).thenReturn(true); in disclosure_deviceOwner_financedDeviceWithOrganizationName()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 549 isFinanced = mDevicePolicyManager.isFinancedDevice(); in getDisclosureText()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerTest.java | 7779 assertThat(dpm.isFinancedDevice()).isTrue(); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 7781 assertThat(dpm.isFinancedDevice()).isTrue(); in testSetDeviceOwnerType_asDeviceOwner_toFinancedDevice() 7792 assertThat(dpm.isFinancedDevice()).isTrue(); in testSetDeviceOwnerType_asDeviceOwner_setDeviceOwnerTypeTwice_success() 7797 assertThrows(SecurityException.class, () -> dpm.isFinancedDevice()); in testIsFinancedDevice_throwsExceptionWhenThereIsNoDeviceOwner()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 17082 public boolean isFinancedDevice() { in isFinancedDevice() method in DevicePolicyManager
|