| /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 | 44 import com.android.settings.testutils.shadow.ShadowContentResolver; 60 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class, 85 ShadowContentResolver.reset(); in tearDown() 123 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneProvider_shouldNotAddPreference() 148 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference() 173 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_noProvider_shouldNotAddPreference() 202 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
|
| D | AccountSyncSettingsTest.java | 32 import com.android.settings.testutils.shadow.ShadowContentResolver; 45 ShadowContentResolver.class, 60 ShadowContentResolver.reset(); in tearDown()
|
| D | RemoveAccountPreferenceControllerTest.java | 52 import com.android.settings.testutils.shadow.ShadowContentResolver; 121 ShadowContentResolver.reset(); in tearDown() 146 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class, 179 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class,
|
| D | EmergencyInfoPreferenceControllerTest.java | 42 import com.android.settings.testutils.shadow.ShadowContentResolver; 87 ShadowContentResolver.reset(); in tearDown() 142 @Config(shadows = {ShadowAccountManager.class, ShadowContentResolver.class})
|
| D | AccountTypePreferenceLoaderTest.java | 48 import com.android.settings.testutils.shadow.ShadowContentResolver; 68 ShadowContentResolver.class, 104 ShadowContentResolver.reset(); in tearDown()
|
| /packages/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/accounts/ |
| D | AccountSyncDetailsPreferenceControllerTest.java | 45 import com.android.car.settings.testutils.ShadowContentResolver; 76 ShadowContentResolver.SyncListener mMockSyncListener; 85 ShadowContentResolver.setSyncListener(mMockSyncListener); in setUp() 102 ShadowContentResolver.reset(); in tearDown() 111 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterDoesNotHaveSameAccountType_shouldNotBeShown() 124 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotVisible_shouldNotBeShown() 137 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown() 139 ShadowContentResolver.setIsSyncable(mAccount, AUTHORITY, /* syncable= */ NOT_SYNCABLE); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown() 152 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterDoesNotHaveProviderInfo_shouldNotBeShown() 154 ShadowContentResolver.setIsSyncable(mAccount, AUTHORITY, /* syncable= */ SYNCABLE); in refreshUi_syncAdapterDoesNotHaveProviderInfo_shouldNotBeShown() [all …]
|
| D | AccountSyncPreferenceControllerTest.java | 37 import com.android.car.settings.testutils.ShadowContentResolver; 80 ShadowContentResolver.reset(); in tearDown() 92 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSameAccountType_shouldNotCount() 112 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_adapterInvisible_shouldNotCount() 132 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSyncable_shouldNotCount() 150 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount() 171 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncUsed_shouldCount() 190 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_automaticSyncEnabled_shouldCount() 221 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_someEnabled_shouldSetSummary()
|
| D | AccountTypesHelperTest.java | 32 import com.android.car.settings.testutils.ShadowContentResolver; 72 ShadowContentResolver.reset(); in tearDown() 117 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in forceUpdate_doesNotHaveAuthoritiesInFilter_notAuthorized() 136 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_hasAuthoritiesInFilter_notAuthorized()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
| D | AccessibilitySettingsContentObserverTest.java | 38 import org.robolectric.shadows.ShadowContentResolver; 64 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in register_shouldRegisterContentObserverForDefaultKeys() 77 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in unregister_shouldUnregisterContentObserver() 89 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in register_addSpecificKeys_shouldRegisterContentObserverForSpecificAndDefaultKeys() 142 private void assertNotObserverToUri(ShadowContentResolver resolver, String key) { in assertNotObserverToUri() 146 private void assertObserverToUri(ShadowContentResolver resolver, in assertObserverToUri()
|
| D | ToggleAutoclickMainSwitchPreferenceControllerTest.java | 44 import org.robolectric.shadows.ShadowContentResolver; 54 private ShadowContentResolver mShadowContentResolver;
|
| D | MagnificationAlwaysOnPreferenceControllerTest.java | 43 import org.robolectric.shadows.ShadowContentResolver; 52 private ShadowContentResolver mShadowContentResolver;
|
| /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/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/helpers/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/Settings/tests/robotests/src/com/android/settings/display/colors/ |
| D | ColorModePreferenceControllerTest.kt | 39 import org.robolectric.shadows.ShadowContentResolver 42 @Config(shadows = [ShadowColorDisplayManager::class, ShadowContentResolver::class]) 48 private lateinit var shadowContentResolver: ShadowContentResolver
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
| D | AutoSyncDataPreferenceControllerTest.java | 34 import com.android.settings.testutils.shadow.ShadowContentResolver; 52 @Config(shadows = {ShadowContentResolver.class}) 83 ShadowContentResolver.reset(); in tearDown()
|
| /packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/module/ |
| D | DefaultCreativeHelperTest.kt | 45 import org.robolectric.shadows.ShadowContentResolver 48 @Config(shadows = [ShadowWallpaperInfo::class, ShadowContentResolver::class]) 59 ShadowContentResolver.registerProviderInternal( in setUp()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
| D | BrightnessLevelPreferenceControllerTest.java | 57 import org.robolectric.shadows.ShadowContentResolver; 104 ShadowContentResolver shadowContentResolver = Shadow.extract(mContentResolver); in onStart_shouldRegisterObserver() 116 ShadowContentResolver shadowContentResolver = Shadow.extract(mContext.getContentResolver()); in onStop_shouldUnregisterObserver()
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
| D | ShadowContentResolver.java | 32 public class ShadowContentResolver extends org.robolectric.shadows.ShadowContentResolver { class
|
| /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/apps/Settings/tests/robotests/src/com/android/settings/dream/ |
| D | DreamHomeControlsPreferenceControllerTest.java | 45 import org.robolectric.shadows.ShadowContentResolver; 58 private ShadowContentResolver mShadowContentResolver;
|
| D | DreamMainSwitchPreferenceControllerTest.java | 42 import org.robolectric.shadows.ShadowContentResolver; 55 private ShadowContentResolver mShadowContentResolver;
|