Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/ui/
DManagedDeviceTextViewTest.java83 when(mMockDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn("My org"); in deviceManagedByOrg()
98 when(mMockDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(null); in deviceManaged_orgNameAbsent_genericMessage()
113 when(mMockDevicePolicyManager.getDeviceOwnerOrganizationName()) in deviceManaged_dpmFailure_genericMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java139 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(null); in testGetDeviceOwnerOrganizationName()
140 assertThat(mProvider.getDeviceOwnerOrganizationName()).isNull(); in testGetDeviceOwnerOrganizationName()
142 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(OWNER_ORGANIZATION); in testGetDeviceOwnerOrganizationName()
143 assertThat(mProvider.getDeviceOwnerOrganizationName()).isEqualTo(OWNER_ORGANIZATION); in testGetDeviceOwnerOrganizationName()
155 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(null); in testGetDeviceOwnerDisclosure()
161 when(mDevicePolicyManager.getDeviceOwnerOrganizationName()).thenReturn(OWNER_ORGANIZATION); in testGetDeviceOwnerDisclosure()
DPrivacyPreferenceControllerHelperTest.java82 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getDeviceOwnerOrganizationName()) in testUpdateState_noDeviceOwnerName_useGenericPreferenceSummary()
97 when(mFeatureFactory.enterprisePrivacyFeatureProvider.getDeviceOwnerOrganizationName()) in testUpdateState_deviceOwnerName_usePreferenceSummaryWithDeviceOwnerName()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java85 public String getDeviceOwnerOrganizationName() { in getDeviceOwnerOrganizationName() method in EnterprisePrivacyFeatureProviderImpl
86 final CharSequence organizationName = mDpm.getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName()
101 final CharSequence organizationName = mDpm.getDeviceOwnerOrganizationName(); in getDeviceOwnerDisclosure()
DEnterprisePrivacyFeatureProvider.java41 String getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName() method
DPrivacyPreferenceControllerHelper.java53 final String organizationName = mFeatureProvider.getDeviceOwnerOrganizationName(); in updateState()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DDevicePolicyManagerCompat.java115 CharSequence getDeviceOwnerOrganizationName() { in getDeviceOwnerOrganizationName() method in DevicePolicyManagerCompat
116 return this.mManager.getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java78 public String getDeviceOwnerOrganizationName() { in getDeviceOwnerOrganizationName() method in EnterprisePrivacyFeatureProviderImpl
79 final CharSequence organizationName = mDpm.getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName()
94 final CharSequence organizationName = mDpm.getDeviceOwnerOrganizationName(); in getDeviceOwnerDisclosure()
DEnterprisePrivacyFeatureProvider.java39 String getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName() method
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/
DEnterprisePrivacyFeatureProviderImpl.java78 public String getDeviceOwnerOrganizationName() { in getDeviceOwnerOrganizationName() method in EnterprisePrivacyFeatureProviderImpl
79 final CharSequence organizationName = mDpm.getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName()
94 final CharSequence organizationName = mDpm.getDeviceOwnerOrganizationName(); in getDeviceOwnerDisclosure()
DEnterprisePrivacyFeatureProvider.java39 String getDeviceOwnerOrganizationName(); in getDeviceOwnerOrganizationName() method
/packages/services/Car/libs/car-admin-ui-lib/src/main/java/com/android/car/admin/ui/
DManagedDeviceTextView.java66 CharSequence orgName = dpm.getDeviceOwnerOrganizationName(); in getManagedDeviceText()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systemdialogs/
DSystemDialogsViewController.java84 CharSequence deviceOwnerOrganization = mSecurityController.getDeviceOwnerOrganizationName(); in createDialogView()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DBaseEnterpriseTestCase.java175 when(mDpm.getDeviceOwnerOrganizationName()).thenReturn(orgName); in mockOrganizationName()