Home
last modified time | relevance | path

Searched refs:getDeviceOwnerOrganizationName (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSSecurityFooterTest.java167 when(mSecurityController.getDeviceOwnerOrganizationName()).thenReturn(null); in testManagedNoOwnerName()
179 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedOwnerName()
193 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedFinancedDeviceWithOwnerName()
212 when(mSecurityController.getDeviceOwnerOrganizationName()).thenReturn(null); in testManagedDemoMode()
265 when(mSecurityController.getDeviceOwnerOrganizationName()) in testNetworkLoggingEnabled_deviceOwner()
322 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedOneVpnEnabled()
346 when(mSecurityController.getDeviceOwnerOrganizationName()) in testManagedTwoVpnsEnabled()
704 when(mSecurityController.getDeviceOwnerOrganizationName()) in testCreateDialogViewForFinancedDevice()
728 when(mSecurityController.getDeviceOwnerOrganizationName()) in testFinancedDeviceUsesSettingsButtonText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityController.java37 CharSequence getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName() method
DSecurityControllerImpl.java219 public CharSequence getDeviceOwnerOrganizationName() { in getDeviceOwnerOrganizationName() method in SecurityControllerImpl
220 return mDevicePolicyManager.getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeSecurityController.java67 public CharSequence getDeviceOwnerOrganizationName() { in getDeviceOwnerOrganizationName() method in FakeSecurityController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSecurityControllerTest.java141 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn("organization"); in testGetDeviceOwnerOrganizationName()
142 assertEquals("organization", mSecurityController.getDeviceOwnerOrganizationName()); in testGetDeviceOwnerOrganizationName()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/
DFakeSecurityController.kt61 override fun getDeviceOwnerOrganizationName(): String? = fakeState.deviceOwnerOrganizationName in isDeviceManaged() method in com.android.systemui.statusbar.policy.FakeSecurityController
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java215 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(null); in disclosure_deviceOwner_noOrganizationName()
244 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(ORGANIZATION_NAME); in disclosure_deviceOwner_withOrganizationName()
274 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(null); in disclosure_updateOnTheFly()
282 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(ORGANIZATION_NAME); in disclosure_updateOnTheFly()
302 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(ORGANIZATION_NAME); in disclosure_deviceOwner_financedDeviceWithOrganizationName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSSecurityFooterUtils.java216 final CharSequence organizationName = securityModel.getDeviceOwnerOrganizationName(); in getButtonConfig()
489 mSecurityController.getDeviceOwnerOrganizationName(); in createOrganizationDialogView()
/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl427 CharSequence getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName() method
DDevicePolicyManager.java14658 (query) -> getService().getDeviceOwnerOrganizationName());
14671 public @Nullable CharSequence getDeviceOwnerOrganizationName() { in getDeviceOwnerOrganizationName() method in DevicePolicyManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java805 return mDevicePolicyManager.getDeviceOwnerOrganizationName(); in getOrganizationOwnedDeviceOrganizationName()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4978 assertThat(dpm.getDeviceOwnerOrganizationName()).isEqualTo("organization"); in testDeviceOwnerOrganizationName()
4983 assertThat(dpm.getDeviceOwnerOrganizationName()).isEqualTo("organization"); in testDeviceOwnerOrganizationName()
4988 assertThat(dpm.getDeviceOwnerOrganizationName()).isEqualTo("organization"); in testDeviceOwnerOrganizationName()
4992 assertThat(dpm.getDeviceOwnerOrganizationName()).isNull(); in testDeviceOwnerOrganizationName()
7946 assertThat(dpm.getDeviceOwnerOrganizationName()).isEqualTo(organizationName); in testSetOrganizationName_financeDo_success()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java17676 public CharSequence getDeviceOwnerOrganizationName() {
/frameworks/base/core/api/
Dsystem-current.txt1316 method @Nullable public CharSequence getDeviceOwnerOrganizationName();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt2657 Landroid/app/admin/IDevicePolicyManager$Stub$Proxy;->getDeviceOwnerOrganizationName()Ljava/lang/Cha…
3185 Landroid/app/admin/IDevicePolicyManager;->getDeviceOwnerOrganizationName()Ljava/lang/CharSequence;