Home
last modified time | relevance | path

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

12

/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/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollmentViewModel.kt80 var newData = result.data in getOverrideActivityResult() variable
84 if (newData == null) { in getOverrideActivityResult()
85 newData = Intent() in getOverrideActivityResult()
87 newData.putExtras(generatingChallengeExtras) in getOverrideActivityResult()
89 return ActivityResult(newResultCode, newData) in getOverrideActivityResult()
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DFileUtils.java52 byte[] newData = new byte[pos + avail]; in readFromAtomicFile()
53 System.arraycopy(data, 0, newData, 0, pos); in readFromAtomicFile()
54 data = newData; in readFromAtomicFile()
/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/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/
DCameraPickerDialog.kt238 fun updateBackingData(newData: List<ViewListItem>) { in <lambda>()
239 if (mViewListItems.size != newData.size) { in <lambda>()
240 mViewListItems = newData in <lambda>()
250 mViewListItems.zip(newData).forEachIndexed { idx, (currentItem, newItem) -> in <lambda>()
259 mViewListItems = newData in <lambda>()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesListPreferenceControllerTest.java192 List<SearchIndexableRaw> newData = new ArrayList<>(); in testUpdateDynamicRawDataToIndex_oneMode() local
193 mPrefController.updateDynamicRawDataToIndex(newData); in testUpdateDynamicRawDataToIndex_oneMode()
194 assertThat(newData).hasSize(1); in testUpdateDynamicRawDataToIndex_oneMode()
196 SearchIndexableRaw newItem = newData.get(0); in testUpdateDynamicRawDataToIndex_oneMode()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DThreadPersistentSettings.java255 byte[] newData = new byte[pos + avail]; in readFromAtomicFile()
256 System.arraycopy(data, 0, newData, 0, pos); in readFromAtomicFile()
257 data = newData; in readFromAtomicFile()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java355 MediaData newData = in sendMediaUpdate() local
361 if (newData.equals(mCurrentData)) { in sendMediaUpdate()
375 mRegisteredCallback.mediaUpdatedCallback(newData); in sendMediaUpdate()
378 mCurrentData = newData; in sendMediaUpdate()
DMediaPlayerList.java773 MediaData newData = new MediaData(Util.empty_data(), null, queue); in removeMediaPlayer() local
775 sendMediaUpdate(newData); in removeMediaPlayer()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DTaskKeyByLastActiveTimeCacheTest.java240 ThumbnailData newData = new ThumbnailData(); in updateIfAlreadyInCache() local
241 cache.updateIfAlreadyInCache(key1.id, newData); in updateIfAlreadyInCache()
245 assertEquals(newData, result); in updateIfAlreadyInCache()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java868 Optional<SessionItem> newData = SessionItem.create(CameraActivity.this, uri);
869 if (newData.isPresent()) {
870 mDataAdapter.addOrUpdate(newData.get());
888 PhotoItem newData = mPhotoItemFactory.queryContentUri(contentUri);
893 if (newData == null) {
902 mDataAdapter.addOrUpdate(newData);
911 newData.setSessionPlaceholderBitmap(
914 mDataAdapter.updateItemAt(pos, newData);
1230 FilmstripItem newData = null; in notifyNewMedia() local
1233 newData = mVideoItemFactory.queryContentUri(uri); in notifyNewMedia()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DResultStoreTest.java172 PersistableBundle newData = new PersistableBundle(); in testPutInterimResultAndFlushToDisk_shouldWriteDirtyResultsOnly() local
173 newData.putDouble("pi", 3.1415926); in testPutInterimResultAndFlushToDisk_shouldWriteDirtyResultsOnly()
175 mResultStore.putInterimResult("bar", newData); // make bar dirty in testPutInterimResultAndFlushToDisk_shouldWriteDirtyResultsOnly()
181 assertThat(readBundleFromFile(fileBar).toString()).isEqualTo(newData.toString()); in testPutInterimResultAndFlushToDisk_shouldWriteDirtyResultsOnly()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerListTest.java130 MediaData newData = new MediaData(Util.empty_data(), builder.build(), list); in prepareMediaData() local
132 return newData; in prepareMediaData()
/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/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java652 byte[] newData = new byte[pduLength]; in gsmStripOffScAddress()
653 System.arraycopy(data, 1 + addressLength, newData, 0, pduLength); in gsmStripOffScAddress()
654 return newData; in gsmStripOffScAddress()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java464 byte[] newData = new byte[pos + avail]; in readAtomicFileFully()
465 System.arraycopy(data, 0, newData, 0, pos); in readAtomicFileFully()
466 data = newData; in readAtomicFileFully()
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DListenableFutureLoader.java142 protected boolean isSameData(D previousData, D newData) { in isSameData() argument
/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/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()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSdkSandboxTest.java476 final Bundle newData = getBundleFromMap(Map.of(KEY_TO_UPDATE, "update")); in testSyncDataFromClient_KeyCanBeUpdated() local
478 new SharedPreferencesUpdate(List.of(KEY_WITH_TYPE_TO_UPDATE), newData); in testSyncDataFromClient_KeyCanBeUpdated()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-http-client-1.36.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-http-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...

12