Home
last modified time | relevance | path

Searched refs:updated (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/
DKnowledgeGraph.java58 boolean updated = false; in populateArtist()
64 updated |= artist.setHeadshotUri(Uri.parse(imageUrl)); in populateArtist()
68 updated |= artist.setDescription(detailedDescription); in populateArtist()
70 return updated; in populateArtist()
80 boolean updated = false; in populateAlbum()
86 updated |= album.setAlbumArtUri(Uri.parse(imageUrl)); in populateAlbum()
90 updated |= album.setDescription(detailedDescription); in populateAlbum()
92 return updated; in populateAlbum()
97 boolean updated = false; in populateMovie()
102 updated |= movie.setPosterUri(Uri.parse(imageUrl)); in populateMovie()
[all …]
DOmdbApi.java68 boolean updated = false; in populateMovie()
71 updated |= movie.setPosterUri(getPosterUri(root.getString("imdbID"))); in populateMovie()
72 updated |= movie.setSynopsis(root.getString("Plot")); in populateMovie()
77 return updated; in populateMovie()
82 boolean updated = false; in populateSeries()
85 updated |= series.setPosterUri(getPosterUri(root.getString("imdbID"))); in populateSeries()
90 return updated; in populateSeries()
95 boolean updated = false; in populateEpisode()
98 updated |= episode.setPosterUri(getPosterUri(root.getString("imdbID"))); in populateEpisode()
103 return updated; in populateEpisode()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java241 boolean updated = false; in loadData()
262 updated |= audio.setTitle(title); in loadData()
267 updated |= audio.setArtist(artist); in loadData()
268 updated |= loadData(artist); // TODO(b/123707561) Load separate from audio in loadData()
273 updated |= audio.setAlbum(album); in loadData()
274 updated |= loadData(album); // TODO(b/123707561) Load separate from audio in loadData()
282 return updated; in loadData()
286 boolean updated = false; in loadData()
301 updated |= artist.setName(name); in loadData()
309 updated |= loadAlbums(artist); // TODO(b/123707561) Load separate from artist in loadData()
[all …]
DMediaDb.java252 boolean updated = mAudioStore.loadData(audio); in loadData()
255 if (updated) { in loadData()
267 boolean updated = mDataProvider.populateArtist(artist); in loadData()
269 updated |= mAudioStore.loadData(artist); in loadData()
272 if (updated) { in loadData()
287 boolean updated = mDataProvider.populateAlbum(album); in loadData()
289 updated |= mAudioStore.loadData(album); in loadData()
292 if (updated) { in loadData()
306 boolean updated = mAudioStore.loadData(genre); in loadData()
309 if (updated) { in loadData()
[all …]
DVideoStore.java225 boolean updated = false; in loadData()
250 updated |= other.setTitle(title); in loadData()
254 updated |= other.setDuration(duration); in loadData()
258 updated |= other.setDateTaken(dateTaken); in loadData()
263 updated |= other.setLatLong(latitude, longitude); in loadData()
273 updated |= other.setThumbnailUri(thumbnailUri); in loadData()
276 return updated; in loadData()
/packages/services/Car/service/src/com/android/car/power/
DSilentModeHandler.java183 boolean updated = false; in switchToForcedMode()
191 updated = true; in switchToForcedMode()
194 if (updated) { in switchToForcedMode()
203 boolean updated = false; in switchToNonForcedMode()
209 updated = true; in switchToNonForcedMode()
212 if (updated) { in switchToNonForcedMode()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerModel.kt602 var updated = timer.updateAfterReboot() in doUpdateAfterRebootTimer() variable
603 if (updated.remainingTime < MISSED_THRESHOLD && updated.isRunning) { in doUpdateAfterRebootTimer()
604 updated = updated.miss() in doUpdateAfterRebootTimer()
606 doUpdateTimer(updated) in doUpdateAfterRebootTimer()
610 val updated = timer.updateAfterTimeSet() in doUpdateAfterTimeSetTimer() constant
611 doUpdateTimer(updated) in doUpdateAfterTimeSetTimer()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchCursorManager.java150 boolean updated = false; in setQuery()
152 updated = contactsCursor.updateQuery(query); in setQuery()
156 updated |= nearbyPlacesCursor.updateQuery(query); in setQuery()
160 updated |= corpDirectoryCursor.updateQuery(query); in setQuery()
162 return updated; in setQuery()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DParticipantRefresh.java418 boolean updated = false; in refreshParticipant()
428 updated = (selfChange == SELF_PHONE_NUMBER_OR_SUBSCRIPTION_CHANGED); in refreshParticipant()
433 updated |= refreshFromContacts(db, participantData); in refreshParticipant()
434 return updated; in refreshParticipant()
506 boolean updated = false; in refreshFromContacts()
526 updated = true; in refreshFromContacts()
528 return updated; in refreshFromContacts()
588 updated = true; in refreshFromContacts()
591 return updated; in refreshFromContacts()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DLocalSource.java110 long updated = cursor.getLong(updatedIndex); in findAlbums() local
111 data.updated = (data.updated == 0 ? in findAlbums()
112 updated : in findAlbums()
113 Math.min(data.updated, updated)); in findAlbums()
DPicasaSource.java383 long updated = 0; in findAlbums() local
404 updated = cursor.getLong(updatedIndex); in findAlbums()
411 data.updated = (long) Math.max(data.updated, updated); in findAlbums()
413 if (data.thumbnailUrl == null || data.updated == updated) { in findAlbums()
DAlbumDataAdapter.java153 if (a.updated == b.updated) { in compare()
156 return (int) Math.signum(b.updated - a.updated); in compare()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetchHelper.java83 boolean updated = false; in updateEpgData()
152 updated = true; in updateEpgData()
155 return updated; in updateEpgData()
163 return updated; in updateEpgData()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DFloatingHeaderView.java242 private AllAppsRecyclerView setupRV(AllAppsRecyclerView old, AllAppsRecyclerView updated) { in setupRV() argument
243 if (old != updated && updated != null) { in setupRV()
244 updated.addOnScrollListener(mOnScrollListener); in setupRV()
246 return updated; in setupRV()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java305 boolean updated = false; in updateSecondaryVersionCounter()
348 updated = true; in updateSecondaryVersionCounter()
350 updated = true; in updateSecondaryVersionCounter()
352 updated = true; in updateSecondaryVersionCounter()
354 updated = true; in updateSecondaryVersionCounter()
357 if (updated) { in updateSecondaryVersionCounter()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceModel.kt85 var updated = false in <lambda>() variable
88 if (updated) { in <lambda>()
95 updated = true in <lambda>()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java638 boolean updated = false; in updateCallInMap()
653 updated = true; in updateCallInMap()
658 updated = true; in updateCallInMap()
662 updated = true; in updateCallInMap()
666 return updated; in updateCallInMap()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DCachingWidgetPreviewLoader.java136 CacheResult.Loading updated = prev.withoutCallback(callback); in loadPreview() local
138 if (updated.mCallbacks.isEmpty()) { in loadPreview()
146 putCacheResult(item, previewSize, updated); in loadPreview()
/packages/apps/ThemePicker/src/com/android/customization/model/grid/
DGridOptionsManager.java73 int updated = mProvider.applyGrid(option.name); in apply() local
74 if (updated == 1) { in apply()
/packages/apps/Launcher3/protos/
Dlauncher_atom.proto243 // Eg: When a folder label is updated from empty string.
247 // Eg: When a folder label is updated from a user-entered value.
251 // Eg: When a folder label is updated from a suggested value.
258 // Used when ToState is not applicable, for example, when folder label is updated to a different
/packages/modules/NetworkStack/src/com/android/server/
DNetworkObserverRegistry.java166 public void onRouteChanged(boolean updated, String route, String gateway, String ifName) { in onRouteChanged() argument
170 if (updated) { in onRouteChanged()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java492 boolean updated = false; in update()
498 updated = true; in update()
502 updated = true; in update()
505 updateCount += updated ? 1 : 0; in update()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java234 public void bindWorkspaceItemsChanged(List<WorkspaceItemInfo> updated) { in bindWorkspaceItemsChanged() argument
235 super.bindWorkspaceItemsChanged(updated); in bindWorkspaceItemsChanged()
236 if (getTaskbarUIController() != null && updated.stream() in bindWorkspaceItemsChanged()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DAbstractContactsProvider.java203 int updated = updateInTransaction(uri, values, selection, selectionArgs); in update() local
204 if (updated > 0) { in update()
208 return updated; in update()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenOnboardingActivityTest.java189 private void setZenUpdated(boolean updated) { in setZenUpdated() argument
190 int zenUpdated = updated ? 1 : 0; in setZenUpdated()

123