/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSyncPreferenceControllerTest.java | 93 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_notSameAccountType_shouldNotCount() local 94 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSameAccountType_shouldNotCount() 113 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_adapterInvisible_shouldNotCount() local 114 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_adapterInvisible_shouldNotCount() 133 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_notSyncable_shouldNotCount() local 134 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_notSyncable_shouldNotCount() 151 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount() local 152 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncIgnoredAndAccountSyncDisabled_shouldNotCount() 172 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_masterAutomaticSyncUsed_shouldCount() local 173 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_masterAutomaticSyncUsed_shouldCount() [all …]
|
D | AccountSyncDetailsPreferenceControllerTest.java | 116 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_syncAdapterDoesNotHaveSameAccountType_shouldNotBeShown() local 117 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterDoesNotHaveSameAccountType_shouldNotBeShown() 129 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_syncAdapterIsNotVisible_shouldNotBeShown() local 130 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotVisible_shouldNotBeShown() 142 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown() local 143 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterIsNotSyncable_shouldNotBeShown() 157 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_syncAdapterDoesNotHaveProviderInfo_shouldNotBeShown() local 158 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_syncAdapterDoesNotHaveProviderInfo_shouldNotBeShown() 174 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_providerInfoDoesNotHaveLabel_shouldNotBeShown() local 175 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_providerInfoDoesNotHaveLabel_shouldNotBeShown() [all …]
|
D | AccountTypesHelperTest.java | 117 SyncAdapterType[] syncAdapters = {syncAdapterType}; in forceUpdate_doesNotHaveAuthoritiesInFilter_notAuthorized() local 118 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in forceUpdate_doesNotHaveAuthoritiesInFilter_notAuthorized() 136 SyncAdapterType[] syncAdapters = {syncAdapterType}; in refreshUi_hasAuthoritiesInFilter_notAuthorized() local 137 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in refreshUi_hasAuthoritiesInFilter_notAuthorized()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountSyncPreferenceControllerTest.java | 100 SyncAdapterType[] syncAdapters = {syncAdapterType}; in updateSummary_adapterInvisible_shouldNotCount() local 101 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_adapterInvisible_shouldNotCount() 113 SyncAdapterType[] syncAdapters = {syncAdapterType}; in updateSummary_notSameAccountType_shouldNotCount() local 114 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_notSameAccountType_shouldNotCount() 126 SyncAdapterType[] syncAdapters = {syncAdapterType}; in updateSummary_notSyncable_shouldNotCount() local 127 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_notSyncable_shouldNotCount() 140 SyncAdapterType[] syncAdapters = {syncAdapterType}; in updateSummary_syncDisabled_shouldNotCount() local 141 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_syncDisabled_shouldNotCount() 155 SyncAdapterType[] syncAdapters = {syncAdapterType}; in updateSummary_syncEnabled_shouldCount() local 156 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateSummary_syncEnabled_shouldCount() [all …]
|
D | ChooseAccountPreferenceControllerTest.java | 113 final SyncAdapterType[] syncAdapters = {new SyncAdapterType("authority" /* authority */, in updateAuthDescriptions_oneProvider_shouldNotAddPreference() local 116 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneProvider_shouldNotAddPreference() 138 final SyncAdapterType[] syncAdapters = {new SyncAdapterType("authority" /* authority */, in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference() local 141 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference() 163 final SyncAdapterType[] syncAdapters = {new SyncAdapterType("authority" /* authority */, in updateAuthDescriptions_noProvider_shouldNotAddPreference() local 166 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_noProvider_shouldNotAddPreference() 190 final SyncAdapterType[] syncAdapters = {new SyncAdapterType("authority" /* authority */, in updateAuthDescriptions_twoProvider_shouldAddTwoPreference() local 195 ShadowContentResolver.setSyncAdapterTypes(syncAdapters); in updateAuthDescriptions_twoProvider_shouldAddTwoPreference()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountSyncPreferenceController.java | 98 SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypesAsUser(userId); in getSummary() local 101 if (syncAdapters != null) { in getSummary() 102 for (int i = 0, n = syncAdapters.length; i < n; i++) { in getSummary() 103 SyncAdapterType sa = syncAdapters[i]; in getSummary()
|
D | AccountSyncHelper.java | 63 SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypesAsUser( in getSyncableSyncAdaptersForAccount() local 65 for (int i = 0; i < syncAdapters.length; i++) { in getSyncableSyncAdaptersForAccount() 66 SyncAdapterType syncAdapter = syncAdapters[i]; in getSyncableSyncAdaptersForAccount()
|
D | AccountDetailsWithSyncStatusPreferenceController.java | 95 Set<SyncAdapterType> syncAdapters = AccountSyncHelper.getVisibleSyncAdaptersForAccount( in isSyncFailing() local 97 for (SyncAdapterType syncAdapter : syncAdapters) { in isSyncFailing()
|
D | AccountSyncDetailsPreferenceController.java | 309 Set<SyncAdapterType> syncAdapters = AccountSyncHelper.getVisibleSyncAdaptersForAccount( in getSyncPreferences() local 311 for (SyncAdapterType syncAdapter : syncAdapters) { in getSyncPreferences()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountSyncPreferenceController.java | 108 final SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypesAsUser(userId); in updateSummary() local 111 if (syncAdapters != null) { in updateSummary() 112 for (int i = 0, n = syncAdapters.length; i < n; i++) { in updateSummary() 113 final SyncAdapterType sa = syncAdapters[i]; in updateSummary()
|
D | ChooseAccountPreferenceController.java | 208 final SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypesAsUser( in getAuthoritiesForAccountType() local 210 for (int i = 0, n = syncAdapters.length; i < n; i++) { in getAuthoritiesForAccountType() 211 final SyncAdapterType sa = syncAdapters[i]; in getAuthoritiesForAccountType()
|
D | AccountSyncSettings.java | 511 SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypesAsUser( in updateAccountSwitches() local 514 for (int i = 0, n = syncAdapters.length; i < n; i++) { in updateAccountSwitches() 515 final SyncAdapterType sa = syncAdapters[i]; in updateAccountSwitches()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
D | AccountSyncFragment.java | 362 SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypesAsUser( in updateAccountSwitches() local 364 ArrayList<String> authorities = new ArrayList<>(syncAdapters.length); in updateAccountSwitches() 365 for (SyncAdapterType sa : syncAdapters) { in updateAccountSwitches()
|