/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSyncDetailsPreferenceControllerTest.java | 45 import com.android.car.settings.testutils.ShadowContentResolver; 66 @Config(shadows = {ShadowContentResolver.class, ShadowApplicationPackageManager.class, 82 ShadowContentResolver.SyncListener mMockSyncListener; 91 ShadowContentResolver.setSyncListener(mMockSyncListener); in setUp() 108 ShadowContentResolver.reset(); in tearDown() 117 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterDoesNotHaveSameAccountType_shouldNotBeShown() 130 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotVisible_shouldNotBeShown() 143 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown() 145 ShadowContentResolver.setIsSyncable(mAccount, AUTHORITY, /* syncable= */ NOT_SYNCABLE); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown() 158 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterDoesNotHaveProviderInfo_shouldNotBeShown() [all …]
|
D | AccountSyncPreferenceControllerTest.java | 36 import com.android.car.settings.testutils.ShadowContentResolver; 51 @Config(shadows = {ShadowContentResolver.class}) 82 ShadowContentResolver.reset(); in tearDown() 94 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSameAccountType_shouldNotCount() 114 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_adapterInvisible_shouldNotCount() 134 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSyncable_shouldNotCount() 152 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount() 173 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncUsed_shouldCount() 192 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_automaticSyncEnabled_shouldCount() 223 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_someEnabled_shouldSetSummary()
|
D | AccountTypesHelperTest.java | 30 import com.android.car.settings.testutils.ShadowContentResolver; 47 @Config(shadows = {ShadowContentResolver.class, ShadowAccountManager.class}) 73 ShadowContentResolver.reset(); in tearDown() 118 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in forceUpdate_doesNotHaveAuthoritiesInFilter_notAuthorized() 137 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_hasAuthoritiesInFilter_notAuthorized()
|
D | AccountAutoSyncPreferenceControllerTest.java | 37 import com.android.car.settings.testutils.ShadowContentResolver; 49 @Config(shadows = {ShadowContentResolver.class})
|
D | AccountDetailsSettingControllerTest.java | 40 import com.android.car.settings.testutils.ShadowContentResolver; 59 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountSyncPreferenceControllerTest.java | 38 import com.android.settings.testutils.shadow.ShadowContentResolver; 52 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class}) 81 ShadowContentResolver.reset(); in tearDown() 101 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_adapterInvisible_shouldNotCount() 114 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_notSameAccountType_shouldNotCount() 127 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_notSyncable_shouldNotCount() 128 ShadowContentResolver.setSyncable("authority", 0); in updateSummary_notSyncable_shouldNotCount() 141 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_syncDisabled_shouldNotCount() 142 ShadowContentResolver.setSyncAutomatically("authority", false); in updateSummary_syncDisabled_shouldNotCount() 143 ShadowContentResolver.setMasterSyncAutomatically(3, true); in updateSummary_syncDisabled_shouldNotCount() [all …]
|
D | ChooseAccountPreferenceControllerTest.java | 42 import com.android.settings.testutils.shadow.ShadowContentResolver; 56 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class, 78 ShadowContentResolver.reset(); in tearDown() 116 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneProvider_shouldNotAddPreference() 141 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference() 166 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_noProvider_shouldNotAddPreference() 195 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
|
D | AccountSyncSettingsTest.java | 32 import com.android.settings.testutils.shadow.ShadowContentResolver; 44 @Config(shadows = {ShadowContentResolver.class}) 57 ShadowContentResolver.reset(); in tearDown()
|
D | RemoveAccountPreferenceControllerTest.java | 55 import com.android.settings.testutils.shadow.ShadowContentResolver; 124 ShadowContentResolver.reset(); in tearDown() 174 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class, 207 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
|
D | AccountTypePreferenceLoaderTest.java | 40 import com.android.settings.testutils.shadow.ShadowContentResolver; 87 ShadowContentResolver.reset(); in tearDown() 91 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
|
D | EmergencyInfoPreferenceControllerTest.java | 40 import com.android.settings.testutils.shadow.ShadowContentResolver; 83 ShadowContentResolver.reset(); in tearDown() 138 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
|
D | AvatarViewMixinTest.java | 59 import org.robolectric.shadows.ShadowContentResolver; 155 ShadowContentResolver.registerProviderInternal(FAKE_AUTHORITY, mockContentProvider); in callWithGetAccountAvatarMethod_useFakeData_shouldReturnAccountNameAndAvatar()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/util/ |
D | TvProviderUtilsTest.java | 35 import org.robolectric.shadows.ShadowContentResolver; 43 shadows = {ShadowContentResolver.class}) 53 ShadowContentResolver.registerProviderInternal(TvContract.AUTHORITY, provider); in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowContentResolver.java | 45 public class ShadowContentResolver extends org.robolectric.shadows.ShadowContentResolver { class 153 org.robolectric.shadows.ShadowContentResolver.reset(); in reset()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/robo/ |
D | ContentProviders.java | 22 import org.robolectric.shadows.ShadowContentResolver; 35 ShadowContentResolver.registerProviderInternal(authority, provider); in register()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/ |
D | AssistConfigBasePreferenceControllerTest.java | 51 import org.robolectric.shadows.ShadowContentResolver; 174 private ShadowContentResolver getShadowContentResolver() { in getShadowContentResolver() 175 return (ShadowContentResolver) Shadows.shadowOf(mContext.getContentResolver()); in getShadowContentResolver()
|
D | DefaultVoiceInputPickerEntryPreferenceControllerTest.java | 57 import org.robolectric.shadows.ShadowContentResolver; 238 private ShadowContentResolver getShadowContentResolver() { in getShadowContentResolver() 239 return (ShadowContentResolver) Shadows.shadowOf(mContext.getContentResolver()); in getShadowContentResolver()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 56 import org.robolectric.shadows.ShadowContentResolver; 112 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in onStart_shouldRegisterObserver() 126 ShadowContentResolver shadowContentResolver = Shadow.extract(mContext.getContentResolver()); in onStop_shouldUnregisterObserver()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | RoamingPreferenceControllerTest.java | 55 import org.robolectric.shadows.ShadowContentResolver; 216 private ShadowContentResolver getShadowContentResolver() { in getShadowContentResolver() 217 return (ShadowContentResolver) Shadows.shadowOf(mContext.getContentResolver()); in getShadowContentResolver()
|
D | MobileDataTogglePreferenceControllerTest.java | 54 import org.robolectric.shadows.ShadowContentResolver; 339 private ShadowContentResolver getShadowContentResolver() { in getShadowContentResolver() 340 return (ShadowContentResolver) Shadows.shadowOf(mContext.getContentResolver()); in getShadowContentResolver()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | UserDictionaryCursorLoaderTest.java | 34 import org.robolectric.shadows.ShadowContentResolver; 47 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
|
D | UserDictionaryListControllerTest.java | 42 import org.robolectric.shadows.ShadowContentResolver; 59 ShadowContentResolver.registerProviderInternal(UserDictionary.AUTHORITY, mContentProvider); in setUp()
|
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/tvinput/datamanager/ |
D | ChannelDataManagerTest.java | 39 import org.robolectric.shadows.ShadowContentResolver; 59 ShadowContentResolver.registerProviderInternal(TvContract.AUTHORITY, provider); in setup()
|
/packages/services/Mms/tests/robotests/src/com/android/mms/service/ |
D | ApnSettingsTest.java | 40 import org.robolectric.shadows.ShadowContentResolver; 93 ShadowContentResolver.registerProviderInternal( in createApnSettingsCursor()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | PreviewDataManagerTest.java | 46 import org.robolectric.shadows.ShadowContentResolver; 123 ShadowContentResolver.registerProviderInternal(TvContractCompat.AUTHORITY, provider); in queryPreviewData_sqlexception()
|