Searched refs:showWorkPolicyInfo (Results 1 – 7 of 7) sorted by relevance
359 assertThat(mProvider.showWorkPolicyInfo(mContext)).isFalse(); in workPolicyInfo_unmanagedDevice_shouldDoNothing()368 assertThat(mProvider.showWorkPolicyInfo(mContext)).isFalse(); in workPolicyInfo_deviceOwner_shouldResolveIntent()373 assertThat(mProvider.showWorkPolicyInfo(mContext)).isTrue(); in workPolicyInfo_deviceOwner_shouldResolveIntent()385 assertThat(mProvider.showWorkPolicyInfo(mContext)).isFalse(); in workPolicyInfo_profileOwner_shouldResolveIntent()390 assertThat(mProvider.showWorkPolicyInfo(mContext)).isTrue(); in workPolicyInfo_profileOwner_shouldResolveIntent()405 assertThat(mProvider.showWorkPolicyInfo(mContext)).isFalse(); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()410 assertThat(mProvider.showWorkPolicyInfo(mContext)).isTrue(); in workPolicyInfo_comp_shouldUseDeviceOwnerIntent()
83 verify(mEnterpriseProvider, never()).showWorkPolicyInfo(mContext); in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing()95 verify(mEnterpriseProvider).showWorkPolicyInfo(mContext); in handlePreferenceTreeClick_matchingKey_shouldShowWorkPolicyInfo()
134 boolean showWorkPolicyInfo(); in showWorkPolicyInfo() method
230 public boolean showWorkPolicyInfo() { in showWorkPolicyInfo() method in EnterprisePrivacyFeatureProviderImpl
136 boolean showWorkPolicyInfo(Context activityContext); in showWorkPolicyInfo() method
230 public boolean showWorkPolicyInfo(Context activityContext) { in showWorkPolicyInfo() method in EnterprisePrivacyFeatureProviderImpl
48 mEnterpriseProvider.showWorkPolicyInfo(preference.getContext()); in handlePreferenceTreeClick()