Home
last modified time | relevance | path

Searched refs:newData (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBytesBufferPool.java52 byte[] newData = new byte[data.length * 2]; in readFrom()
53 System.arraycopy(data, 0, newData, 0, data.length); in readFrom()
54 data = newData; in readFrom()
DFilterDeleteSet.java147 boolean newData = mBaseSet.reload() > mDataVersion; in reload()
149 if (!newData && mRequests.isEmpty()) { in reload()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java144 String newData = "{\n" + in testFailOnInsertMetadataForSameAccountIdAndBackupId() local
164 newValues.put(MetadataSync.DATA, newData); in testFailOnInsertMetadataForSameAccountIdAndBackupId()
294 String newData = "{\n" + in testFailUpdateDeletedMetadata() local
314 newValues.put(MetadataSync.DATA, newData); in testFailUpdateDeletedMetadata()
397 String newData = "{\n" + in testBatchOperations() local
427 .withValue(MetadataSync.DATA, newData) in testBatchOperations()
449 MoreAsserts.assertContentsInAnyOrder(actualData, updatedData, newData); in testBatchOperations()
/packages/apps/Camera2/src/com/android/camera/data/
DPhotoItemFactory.java57 PhotoItem newData = null; in get() local
62 newData = get(c); in get()
67 return newData; in get()
DVideoItemFactory.java61 VideoItem newData = null; in get() local
66 newData = get(c); in get()
71 return newData; in get()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerWrapper.java268 MediaData newData = new MediaData( in sendMediaUpdate() local
273 if (newData.equals(mCurrentData)) { in sendMediaUpdate()
288 mRegisteredCallback.mediaUpdatedCallback(newData); in sendMediaUpdate()
291 mCurrentData = newData; in sendMediaUpdate()
DMediaPlayerList.java524 MediaData newData = new MediaData( in removeMediaPlayer() local
530 sendMediaUpdate(newData); in removeMediaPlayer()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java895 … Optional<SessionItem> newData = SessionItem.create(getApplicationContext(), uri);
896 if (newData.isPresent()) {
897 mDataAdapter.addOrUpdate(newData.get());
915 PhotoItem newData = mPhotoItemFactory.queryContentUri(contentUri);
920 if (newData == null) {
929 mDataAdapter.addOrUpdate(newData);
938 newData.setSessionPlaceholderBitmap(
941 mDataAdapter.updateItemAt(pos, newData);
1257 FilmstripItem newData = null; in notifyNewMedia() local
1260 newData = mVideoItemFactory.queryContentUri(uri); in notifyNewMedia()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java636 byte[] newData = new byte[pduLength]; in gsmStripOffScAddress()
637 System.arraycopy(data, 1 + addressLength, newData, 0, pduLength); in gsmStripOffScAddress()
638 return newData; in gsmStripOffScAddress()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerListTest.java133 MediaData newData = new MediaData( in prepareMediaData() local
138 return newData; in prepareMediaData()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2742 String[] newData = new String[4]; in upgradeToVersion62() local
2771 newData[0] = String.valueOf(dtstart); in upgradeToVersion62()
2772 newData[1] = String.valueOf(dtend); in upgradeToVersion62()
2773 newData[2] = tz; in upgradeToVersion62()
2774 newData[3] = String.valueOf(id); in upgradeToVersion62()
2780 newData); in upgradeToVersion62()
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DListenableFutureLoader.java142 protected boolean isSameData(D previousData, D newData) { in isSameData() argument