Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DByteArrayRingBuffer.java52 public boolean appendBuffer(byte[] newData) { in appendBuffer() argument
53 pruneToSize(mMaxBytes - newData.length); in appendBuffer()
54 if (mBytesUsed + newData.length > mMaxBytes) { in appendBuffer()
58 mArrayList.add(newData); in appendBuffer()
59 mBytesUsed += newData.length; in appendBuffer()
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/
DFutureData.java43 public static <T> FutureData<T> newLoadedData(T oldData, T newData) { in newLoadedData() argument
44 return new FutureData<>(false, oldData, newData); in newLoadedData()
68 private FutureData(boolean isLoading, T oldData, T newData) { in FutureData() argument
71 mData = newData; in FutureData()
/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/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/audio_util/
DMediaPlayerWrapper.java310 MediaData newData = new MediaData( in sendMediaUpdate() local
315 if (newData.equals(mCurrentData)) { in sendMediaUpdate()
330 mRegisteredCallback.mediaUpdatedCallback(newData); in sendMediaUpdate()
333 mCurrentData = newData; in sendMediaUpdate()
DMediaPlayerList.java561 MediaData newData = new MediaData( in removeMediaPlayer() local
567 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/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerListTest.java132 MediaData newData = new MediaData( in prepareMediaData() local
137 return newData; in prepareMediaData()
/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/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java284 WritableByteChannel newData = Channels.newChannel(outputStream); in writePatchedDataToStream() local
302 oldData.transferTo(offset, chunkLen, newData); in writePatchedDataToStream()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java539 byte[] newData = new byte[pos + avail]; in readAtomicFileFully()
540 System.arraycopy(data, 0, newData, 0, pos); in readAtomicFileFully()
541 data = newData; in readAtomicFileFully()
/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
/packages/services/Car/cpp/computepipe/tests/runner/stream_manager/
DPixelStreamManagerTest.cpp165 std::vector<uint8_t> newData(16 * 16 * 3, 1); in TEST() local
167 InputFrame newFrame(16, 16, PixelFormat::RGB, 16 * 3, &newData[0]); in TEST()