/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppStatsMixinTest.java | 100 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp() 131 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 133 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 135 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 167 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 169 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 171 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 198 when(mAppState.getEntry(stat.mPackageName, UserHandle.myUserId())).thenReturn(statEntry); in loadDisplayableRecentApps_oneInstantAppSet_shouldHaveOneRecentApp() 226 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_withNullAppEntryOrInfo_shouldNotCrash() 228 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())) in loadDisplayableRecentApps_withNullAppEntryOrInfo_shouldNotCrash() [all …]
|
D | RecentAppsPreferenceControllerTest.java | 142 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime() 144 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())) in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime() 146 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in onReloadDataCompleted_threeValidRecentOpenAppsSet_setAppEntityThreeTime()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceControllerTest.java | 157 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in display_showRecents() 159 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())) in display_showRecents() 161 when(mAppState.getEntry(stat3.mPackageName, UserHandle.myUserId())) in display_showRecents() 196 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())).thenReturn(stat1Entry); in display_showRecentsWithInstantApp() 197 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())).thenReturn(stat2Entry); in display_showRecentsWithInstantApp() 234 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in display_showRecentsWithNullAppEntryOrInfo() 236 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())) in display_showRecentsWithNullAppEntryOrInfo() 260 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in display_hasRecentButNoneDisplayable_showAllApps() 262 when(mAppState.getEntry(stat2.mPackageName, UserHandle.myUserId())) in display_hasRecentButNoneDisplayable_showAllApps() 282 when(mAppState.getEntry(stat1.mPackageName, UserHandle.myUserId())) in display_showRecents_formatSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | BluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java | 97 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[0]); in verifyResourceSizeAndRange() 114 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[index]); in onPreferenceChange_setNumberOfDevices() 129 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[i]); in updateState_NumberOfDevicesUpdated_shouldSetPreference() 144 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[0]); in updateState_noValueSet_shouldSetDefaultTo1device() 156 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[0]); in onDeveloperOptionsSwitchDisabled_shouldDisablePreference() 173 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[i]); in onDeveloperOptionsSwitchEnabled_shouldEnablePreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/gamedriver/ |
D | GameDriverAppPreferenceControllerTest.java | 180 assertThat(preference.getEntry()).isEqualTo(mValueList[DEFAULT]); in createPreference_configDefault_shouldSetDefaultAttributes() 196 assertThat(preference.getEntry()).isEqualTo(mValueList[GAME_DRIVER]); in createPreference_configGAME_DRIVER_shouldSetGameDriverAttributes() 226 assertThat(preference.getEntry()).isEqualTo(mValueList[SYSTEM]); in createPreference_configSystem_shouldSetSystemAttributes() 238 assertThat(preference.getEntry()).isEqualTo(mValueList[DEFAULT]); in onPreferenceChange_selectDefault_shouldUpdateAttributesAndSettingsGlobal() 254 assertThat(preference.getEntry()).isEqualTo(mValueList[GAME_DRIVER]); in onPreferenceChange_selectGAME_DRIVER_shouldUpdateAttributesAndSettingsGlobal() 270 assertThat(preference.getEntry()).isEqualTo(mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | RecentNotifyingAppsPreferenceControllerTest.java | 189 when(mAppState.getEntry(app.getPackageName(), UserHandle.myUserId())) in display_showRecents() 191 when(mAppState.getEntry(app1.getPackageName(), UserHandle.myUserId())) in display_showRecents() 193 when(mAppState.getEntry(app2.getPackageName(), UserHandle.myUserId())) in display_showRecents() 240 when(mAppState.getEntry( in display_showRecentsWithInstantApp() 242 when(mAppState.getEntry( in display_showRecentsWithInstantApp() 284 when(mAppState.getEntry(app.getPackageName(), UserHandle.myUserId())) in display_showRecents_formatSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiMeteredPreferenceControllerTest.java | 68 assertThat(mDropDownPreference.getEntry()).isEqualTo("Treat as metered"); in testUpdateState_wifiMetered_setCorrectValue() 77 assertThat(mDropDownPreference.getEntry()).isEqualTo("Treat as unmetered"); in testUpdateState_wifiNotMetered_setCorrectValue() 86 assertThat(mDropDownPreference.getEntry()).isEqualTo("Detect automatically"); in testUpdateState_wifiAuto_setCorrectValue()
|
D | WifiPrivacyPreferenceControllerTest.java | 75 assertThat(mDropDownPreference.getEntry()).isEqualTo(perferenceString[prefValue]); in testUpdateState_wifiPrivacy_setCorrectValue() 86 assertThat(mDropDownPreference.getEntry()).isEqualTo(perferenceString[prefValue]); in testUpdateState_wifiNotMetered_setCorrectValue()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientAutoCompleteView.java | 152 final RecipientEntry entry = recipient.getEntry(); in doInBackground() 261 final RecipientEntry entry = recipient.getEntry(); in getRecipientParticipantDataForConversationCreation() 264 contacts.add(ParticipantData.getFromRecipientEntry(recipient.getEntry())); in getRecipientParticipantDataForConversationCreation() 281 final RecipientEntry entry = recipient.getEntry(); in getSelectedDestinations()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 123 String data = DateUtils.formatDate(getContext(), getEntry().getAsString(column), in rebuildDateView() 140 return TextUtils.isEmpty(getEntry().getAsString(column)); in isEmpty() 163 final String oldValue = getEntry().getAsString(column); in onLabelRebuilt() 199 final String oldValue = getEntry().getAsString(column); in createDatePickerDialog()
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
D | SettingsActivity.kt | 217 it.setSummary(homeTimezonePref.getEntry()) in loadTimeZoneList() 232 it.setSummary(it.getEntry()) in refresh() 238 it.setSummary(volumeButtonsPref.getEntry()) in refresh() 281 preference.setSummary(preference.getEntry()) in refreshListPreference()
|
D | SettingsActivity.java | 257 homeTimezonePref.setSummary(homeTimezonePref.getEntry()); in loadTimeZoneList() 270 clockStylePref.setSummary(clockStylePref.getEntry()); in refresh() 275 volumeButtonsPref.setSummary(volumeButtonsPref.getEntry()); in refresh() 314 preference.setSummary(preference.getEntry()); in refreshListPreference()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/ |
D | AppLinkStatePreferenceControllerTest.java | 172 assertThat(mPreference.getEntry()).isEqualTo( in refreshUi_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk() 196 assertThat(mPreference.getEntry()).isEqualTo( in refreshUi_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk() 220 assertThat(mPreference.getEntry()).isEqualTo( in refreshUi_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways() 244 assertThat(mPreference.getEntry()).isEqualTo( in refreshUi_isNotBrowserApp_hasDomainUrls_neverState_entrySetToNever()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ResolveCache.java | 124 protected Entry getEntry(String mimeType, Intent intent) { in getEntry() method in ResolveCache 201 return getEntry(mimeType, intent).bestResolve != null; in hasResolve() 210 return getEntry(mimeType, intent).icon; in getIcon()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 173 mWeekStart.setSummary(mWeekStart.getEntry()); in onCreate() 174 mDefaultReminder.setSummary(mDefaultReminder.getEntry()); in onCreate() 310 mWeekStart.setSummary(mWeekStart.getEntry()); in onPreferenceChange() 313 mDefaultReminder.setSummary(mDefaultReminder.getEntry()); in onPreferenceChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/ |
D | NfcForegroundPreferenceControllerTest.java | 149 assertThat(mPreference.getEntry()).isEqualTo(favorDefault); in changeOptions_shouldUpdateEntryAndSummary() 155 assertThat(mPreference.getEntry()).isEqualTo(favorOpen); in changeOptions_shouldUpdateEntryAndSummary() 161 assertThat(mPreference.getEntry()).isEqualTo(favorDefault); in changeOptions_shouldUpdateEntryAndSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | UnrestrictedDataAccessPreferenceController.java | 190 logSpecialPermissionChange(whitelisted, accessPreference.getEntry().info.packageName); in onPreferenceChange() 191 mDataSaverBackend.setIsWhitelisted(accessPreference.getEntry().info.uid, in onPreferenceChange() 192 accessPreference.getEntry().info.packageName, whitelisted); in onPreferenceChange()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | WidgetConfigure.java | 131 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); in setPhotoWidget() 182 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); in setChoosenAlbum() 197 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); in setWidgetType()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | UnrestrictedDataAccessPreferenceController.java | 190 logSpecialPermissionChange(whitelisted, accessPreference.getEntry().info.packageName); in onPreferenceChange() 191 mDataSaverBackend.setIsWhitelisted(accessPreference.getEntry().info.uid, in onPreferenceChange() 192 accessPreference.getEntry().info.packageName, whitelisted); in onPreferenceChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | DefaultSubscriptionControllerTest.java | 103 final CharSequence entry = mListPreference.getEntry(); in displayPreference_twoSubscriptionsSub1Default_correctListPreferenceValues() 131 final CharSequence entry = mListPreference.getEntry(); in displayPreference_twoSubscriptionsSub2Default_correctListPreferenceValues() 236 assertThat( mListPreference.getEntry()).isEqualTo("sub1"); in onSubscriptionsChanged_twoSubscriptionsDefaultChanges_selectedEntryGetsUpdated() 241 assertThat( mListPreference.getEntry()).isEqualTo("sub2"); in onSubscriptionsChanged_twoSubscriptionsDefaultChanges_selectedEntryGetsUpdated()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceController.java | 159 mApplicationsState.getEntry(pkgName, mUserId); in displayRecentApps() 231 final ApplicationsState.AppEntry appEntry = mApplicationsState.getEntry( in getDisplayableRecentAppList() 265 mApplicationsState.getEntry(pkgName, mUserId); in shouldIncludePkgInRecents()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | MainFragment.java | 264 bufferSize.setSummary(bufferSize.getEntry()); in refreshUi() 271 maxLongTraceSize.setSummary(maxLongTraceSize.getEntry()); in refreshUi() 275 maxLongTraceDuration.setSummary(maxLongTraceDuration.getEntry()); in refreshUi()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppButtonsPreferenceControllerTest.java | 138 doReturn(mAppEntry).when(mState).getEntry(anyString(), anyInt()); in setUp() 196 doReturn(null).when(mState).getEntry(eq(PACKAGE_NAME), anyInt()); in retrieveAppEntry_noAppEntry_null() 208 doReturn(mAppEntry).when(mState).getEntry(anyString(), anyInt()); in retrieveAppEntry_throwException_null() 381 doReturn(appEntry).when(mState).getEntry(anyString(), anyInt()); in forceStopPackage_methodInvokedAndUpdated()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | InLineSettingKnob.java | 117 mEntry.setText(mPreference.getEntry()); in updateView() 144 event.getText().add(mPreference.getTitle() + mPreference.getEntry()); in onPopulateAccessibilityEvent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppButtonsPreferenceController.java | 152 mAppEntry = mState.getEntry(packageName, mUserId); in AppButtonsPreferenceController() 351 mAppEntry = mState.getEntry(mPackageName, mUserId); in retrieveAppEntry() 455 mState.getEntry(overlayInfo.targetPackageName, in updateUninstallButton() 549 ApplicationsState.AppEntry newEnt = mState.getEntry(pkgName, userId); in forceStopPackage()
|