Home
last modified time | relevance | path

Searched refs:hasWorkPolicyInfo (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceControllerTest.java59 when(mEnterpriseProvider.hasWorkPolicyInfo()).thenReturn(false); in getAvailabilityStatus_noWorkPolicyInfo_shouldReturnUnsupported()
68 when(mEnterpriseProvider.hasWorkPolicyInfo()).thenReturn(true); in getAvailabilityStatus_haveWorkPolicyInfo_shouldReturnAvailableUnsearchable()
77 when(mEnterpriseProvider.hasWorkPolicyInfo()).thenReturn(true); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()
88 when(mEnterpriseProvider.hasWorkPolicyInfo()).thenReturn(true); in handlePreferenceTreeClick_matchingKey_shouldShowWorkPolicyInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java366 assertThat(mProvider.hasWorkPolicyInfo()).isFalse(); in workPolicyInfo_unmanagedDevice_shouldDoNothing()
376 assertThat(mProvider.hasWorkPolicyInfo()).isFalse(); in workPolicyInfo_deviceOwner_shouldResolveIntent()
381 assertThat(mProvider.hasWorkPolicyInfo()).isTrue(); in workPolicyInfo_deviceOwner_shouldResolveIntent()
393 assertThat(mProvider.hasWorkPolicyInfo()).isFalse(); in workPolicyInfo_profileOwner_shouldResolveIntent()
398 assertThat(mProvider.hasWorkPolicyInfo()).isTrue(); in workPolicyInfo_profileOwner_shouldResolveIntent()
413 assertThat(mProvider.hasWorkPolicyInfo()).isFalse(); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
418 assertThat(mProvider.hasWorkPolicyInfo()).isTrue(); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProvider.java133 boolean hasWorkPolicyInfo(); in hasWorkPolicyInfo() method
DEnterprisePrivacyFeatureProviderImpl.java227 public boolean hasWorkPolicyInfo() { in hasWorkPolicyInfo() method in EnterprisePrivacyFeatureProviderImpl
/packages/apps/Settings/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceController.java40 return mEnterpriseProvider.hasWorkPolicyInfo() in getAvailabilityStatus()