Home
last modified time | relevance | path

Searched refs:getEntry (Results 1 – 25 of 79) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppStatsMixinTest.java100 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 …]
DRecentAppsPreferenceControllerTest.java142 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/
DRecentAppsPreferenceControllerTest.java157 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/
DBluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java97 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/
DGameDriverAppPreferenceControllerTest.java180 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/
DRecentNotifyingAppsPreferenceControllerTest.java189 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/
DWifiMeteredPreferenceControllerTest.java68 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()
DWifiPrivacyPreferenceControllerTest.java75 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/
DContactRecipientAutoCompleteView.java152 final RecipientEntry entry = recipient.getEntry(); in doInBackground()
253 final RecipientEntry entry = recipient.getEntry(); in getRecipientParticipantDataForConversationCreation()
256 contacts.add(ParticipantData.getFromRecipientEntry(recipient.getEntry())); in getRecipientParticipantDataForConversationCreation()
273 final RecipientEntry entry = recipient.getEntry(); in getSelectedDestinations()
/packages/apps/DeskClock/src/com/android/deskclock/settings/
DSettingsActivity.java257 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/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java123 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/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceControllerTest.java172 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/
DResolveCache.java124 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/
DGeneralPreferences.java173 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/Email/provider_src/com/android/email/mail/internet/
DAuthenticationCache.java69 entry = getEntry(context, account); in retrieveAccessToken()
85 CacheEntry entry = getEntry(context, account); in refreshAccessToken()
92 private CacheEntry getEntry(Context context, Account account) { in getEntry() method in AuthenticationCache
/packages/apps/Settings/tests/robotests/src/com/android/settings/nfc/
DNfcForegroundPreferenceControllerTest.java149 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/
DUnrestrictedDataAccessPreferenceController.java190 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/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceController.java190 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/
DWidgetConfigure.java131 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); in setPhotoWidget()
182 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); in setChoosenAlbum()
197 updateWidgetAndFinish(helper.getEntry(mAppWidgetId)); in setWidgetType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java103 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/
DRecentAppsPreferenceController.java159 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/google/android/traceur/
DMainFragment.java262 bufferSize.setSummary(bufferSize.getEntry()); in refreshUi()
269 maxLongTraceSize.setSummary(maxLongTraceSize.getEntry()); in refreshUi()
273 maxLongTraceDuration.setSummary(maxLongTraceDuration.getEntry()); in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceControllerTest.java134 doReturn(mAppEntry).when(mState).getEntry(anyString(), anyInt()); in setUp()
177 doReturn(null).when(mState).getEntry(eq(PACKAGE_NAME), anyInt()); in retrieveAppEntry_noAppEntry_null()
189 doReturn(mAppEntry).when(mState).getEntry(anyString(), anyInt()); in retrieveAppEntry_throwException_null()
362 doReturn(appEntry).when(mState).getEntry(anyString(), anyInt()); in forceStopPackage_methodInvokedAndUpdated()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingKnob.java117 mEntry.setText(mPreference.getEntry()); in updateView()
144 event.getText().add(mPreference.getTitle() + mPreference.getEntry()); in onPopulateAccessibilityEvent()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java152 mAppEntry = mState.getEntry(packageName, mUserId); in AppButtonsPreferenceController()
350 mAppEntry = mState.getEntry(mPackageName, mUserId); in retrieveAppEntry()
454 mState.getEntry(overlayInfo.targetPackageName, in updateUninstallButton()
548 ApplicationsState.AppEntry newEnt = mState.getEntry(pkgName, userId); in forceStopPackage()

1234