/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | KnowledgeGraph.java | 58 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 …]
|
D | OmdbApi.java | 68 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/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/storage/ |
D | Extensions.kt | 36 updated: Instant = created, in Instant() 42 this.updated = updated.toProtoTimestamp() in Instant() 56 updated: Instant = created, in EntityMetadata() 57 ): EntityMetadata = EntityMetadata(id, listOf(associatedPackageName), created, updated) in EntityMetadata() 65 updated: Instant, in EntityMetadata() 70 this.updated = updated.toProtoTimestamp() in EntityMetadata() 85 updated: Instant, in EntityMetadata() 87 ): EntityMetadata = update(updated, associatedPackageNames?.let { listOf(it) }) in EntityMetadata()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 241 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 …]
|
D | MediaDb.java | 252 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 …]
|
D | VideoStore.java | 225 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/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/ |
D | AppCardViewModel.kt | 118 var updated = false in <lambda>() variable 122 updated = true in <lambda>() 125 if (!updated && shouldAdd) { in <lambda>() 129 if (!inMoveState && (updated || shouldAdd)) { in <lambda>() 133 return updated || shouldAdd in <lambda>() 162 var updated = false in <lambda>() variable 165 updated = true in <lambda>() 170 if (!inMoveState && updated) { in <lambda>() 174 return updated in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ext/ |
D | CreationExtrasExtTest.kt | 32 val updated = creationExtras.addDefaultArgs("POINT" to Point(1, 1)) in addDefaultArgs_addsWhenAbsent() constant 34 val defaultArgs = updated[DEFAULT_ARGS_KEY] in addDefaultArgs_addsWhenAbsent() 46 val updated = creationExtras.addDefaultArgs("POINT2" to Point(2, 2)) in addDefaultArgs_addsToExisting() constant 48 val defaultArgs = updated[DEFAULT_ARGS_KEY] in addDefaultArgs_addsToExisting()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioDeviceInfoTest.java | 415 boolean updated = info.audioDevicesAdded(List.of(audioDeviceInfo)); in audioDevicesAdded_withSameDeviceType() 418 .that(updated).isTrue(); in audioDevicesAdded_withSameDeviceType() 429 boolean updated = info.audioDevicesAdded(List.of(audioDeviceInfo)); in audioDevicesAdded_withDifferentDeviceType() 432 .that(updated).isFalse(); in audioDevicesAdded_withDifferentDeviceType() 457 boolean updated = info.audioDevicesAdded(List.of(audioDeviceInfo)); in audioDevicesAdded_withBluetoothDeviceForBusTypeDeviceInfo() 460 .that(updated).isFalse(); in audioDevicesAdded_withBluetoothDeviceForBusTypeDeviceInfo() 470 boolean updated = info.audioDevicesRemoved(List.of(audioDeviceInfo)); in audioDevicesRemoved_withSameDeviceType() 473 .that(updated).isTrue(); in audioDevicesRemoved_withSameDeviceType() 487 boolean updated = info.audioDevicesRemoved(List.of(removedHeadsetAudioDevice, in audioDevicesRemoved_withDifferentDeviceType() 491 .that(updated).isFalse(); in audioDevicesRemoved_withDifferentDeviceType() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/ |
D | SearchCursorManager.java | 150 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/services/Car/cpp/powerpolicy/server/src/ |
D | SilentModeHandler.cpp | 285 bool updated = false; in switchToForcedMode() local 294 updated = true; in switchToForcedMode() 297 if (updated) { in switchToForcedMode() 306 bool updated = false; in switchToNonForcedMode() local 313 updated = true; in switchToNonForcedMode() 316 if (updated) { in switchToNonForcedMode()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | SilentModeHandler.java | 234 boolean updated = false; in switchToForcedMode() 242 updated = true; in switchToForcedMode() 245 if (updated) { in switchToForcedMode() 256 boolean updated = false; in switchToNonForcedMode() 262 updated = true; in switchToNonForcedMode() 265 if (updated) { in switchToNonForcedMode()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | LocalSource.java | 110 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()
|
D | AlbumDataAdapter.java | 153 if (a.updated == b.updated) { in compare() 156 return (int) Math.signum(b.updated - a.updated); in compare()
|
D | PicasaSource.java | 383 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()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerModel.kt | 602 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioConfigurationInformationTabs.java | 57 boolean updated = false; in updateConfigs() 67 updated = true; in updateConfigs() 69 if (!updated) { in updateConfigs()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | ParticipantRefresh.java | 418 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/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZone.java | 428 boolean updated = false; in audioDevicesAdded() 433 updated = true; in audioDevicesAdded() 435 return updated; in audioDevicesAdded() 440 boolean updated = false; in audioDevicesRemoved() 445 updated = true; in audioDevicesRemoved() 447 return updated; in audioDevicesRemoved()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/ |
D | EncoderEndpointsDaoTest.java | 114 DBEncoderEndpoint updated = in testRegisterEndPointReplacesExisting() local 117 mEncoderEndpointsDao.registerEndpoint(updated); in testRegisterEndPointReplacesExisting() 122 updated.getDownloadUri(), in testRegisterEndPointReplacesExisting()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/ |
D | LogAggregators.java | 123 boolean updated = false; in aggregate() 129 updated = true; in aggregate() 133 if (!updated) { in aggregate()
|
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/ |
D | MdnsSocketProvider.java | 293 boolean updated = linkProperties.addLinkAddress(newAddress); in addOrUpdateInterfaceAddress() 295 if (!updated) { in addOrUpdateInterfaceAddress() 304 boolean updated = false; in deleteInterfaceAddress() 307 updated = linkProperties.removeLinkAddress(deleteAddress); in deleteInterfaceAddress() 313 if (linkProperties == null || !updated) { in deleteInterfaceAddress() 462 private void handleTetherInterfacesChanged(List<String> current, List<String> updated) { in handleTetherInterfacesChanged() argument 472 current.addAll(updated); in handleTetherInterfacesChanged() 477 current, updated); in handleTetherInterfacesChanged() 495 current.addAll(updated); in handleTetherInterfacesChanged()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetchHelper.java | 83 boolean updated = false; in updateEpgData() 152 updated = true; in updateEpgData() 155 return updated; in updateEpgData() 163 return updated; in updateEpgData()
|
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | LinkPropertiesUtils.java | 83 public final List<T> updated = new ArrayList<>(); field in LinkPropertiesUtils.CompareOrUpdateResult 107 updated.add(newItem); in CompareOrUpdateResult() 123 + "] updated=[" + TextUtils.join(",", updated) in toString()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 394 boolean updated = false; in updateSecondaryVersionCounter() 450 updated = true; in updateSecondaryVersionCounter() 452 updated = true; in updateSecondaryVersionCounter() 454 updated = true; in updateSecondaryVersionCounter() 456 updated = true; in updateSecondaryVersionCounter() 459 if (updated) { in updateSecondaryVersionCounter()
|