Searched refs:hasWorkPolicyInfo (Results 1 – 5 of 5) sorted by relevance
59 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()
366 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()
133 boolean hasWorkPolicyInfo(); in hasWorkPolicyInfo() method
227 public boolean hasWorkPolicyInfo() { in hasWorkPolicyInfo() method in EnterprisePrivacyFeatureProviderImpl
40 return mEnterpriseProvider.hasWorkPolicyInfo() in getAvailabilityStatus()