Home
last modified time | relevance | path

Searched refs:setData (Results 1 – 25 of 191) sorted by relevance

12345678

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrame.java87 setData((ByteBuffer)object); in setObjectValue()
106 public abstract void setData(ByteBuffer buffer, int offset, int length); in setData() method in Frame
108 public void setData(ByteBuffer buffer) { in setData() method in Frame
109 setData(buffer, 0, buffer.limit()); in setData()
112 public void setData(byte[] bytes, int offset, int length) { in setData() method in Frame
113 setData(ByteBuffer.wrap(bytes, offset, length)); in setData()
134 setData(frame.getData()); in setDataFromFrame()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAvatarPhotoControllerTest.java120 intent.setData(Uri.parse( in takePhotoIsFollowedByCrop()
134 intent.setData(Uri.parse( in takePhotoIsNotFollowedByCropWhenResultCodeNotOk()
148 intent.setData(mTakePhotoUri); in takePhotoIsFollowedByCropWhenTakePhotoUriReturned()
161 intent.setData(Uri.parse( in choosePhotoIsFollowedByCrop()
175 intent.setData(Uri.parse( in choosePhotoIsNotFollowedByCropWhenResultCodeNotOk()
189 intent.setData(mTakePhotoUri); in choosePhotoIsFollowedByCropWhenTakePhotoUriReturned()
200 intent.setData(mCropPhotoUri); in cropPhotoResultIsReturnedIfResultOkAndContent()
208 intent.setData(mCropPhotoUri); in cropPhotoResultIsNotReturnedIfResultCancel()
216 intent.setData(Uri.parse("file://test")); in cropPhotoResultIsNotReturnedIfResultNotContent()
226 intent.setData(Uri.parse( in cropDoesNotUseTakePhotoUri()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidBpfMapReaderTest.java96 mReader.setData(data); in testReadErrorsLimit()
99 mReader.setData(null); in testReadErrorsLimit()
105 mReader.setData(data); in testReadErrorsLimit()
115 mReader.setData(data); in testGetNextUid()
124 mReader.setData(data); in testConcurrent()
163 mReader.setData(data1); in testConcurrent()
180 mReader.setData(data); in testRemoveUidsInRange()
195 mReader.setData(data); in testRemoveUidsInRange_firstAndLastAbsent()
236 public final void setData(SparseArray<long[]> newData) { in setData() method in KernelCpuUidBpfMapReaderTest.KernelCpuUidTestBpfMapReader
DKernelSingleUidTimeReaderTest.java80 mInjector.setData(latestCpuTimes); in readDelta()
89 mInjector.setData(latestCpuTimes); in readDelta()
108 mInjector.setData(malformedLatestTimes); in readDelta()
122 mInjector.setData(malformedLatestTimes); in readDelta()
147 mInjector.setData(cpuTimes); in readDelta_incorrectCount()
158 mInjector.setData(cpuTimes); in readDelta_incorrectCount()
368 public void setData(long[] cpuTimes) { in setData() method in KernelSingleUidTimeReaderTest.TestInjector
/frameworks/av/media/libstagefright/
DMediaTrack.cpp171 meta.setData(kKeyPlainSizes, in read()
175 meta.setData(kKeyEncryptedSizes, in read()
179 meta.setData(kKeyCryptoKey, in read()
183 meta.setData(kKeyCryptoIV, in read()
187 meta.setData(kKeySEI, in read()
191 meta.setData(kKeyAudioPresentationInfo, in read()
195 meta.setData(kKeyOpaqueCSD0, in read()
DUtils.cpp864 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
872 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
1785 meta->setData(kKeyCASessionID, 0, caSessionId->data(), caSessionId->size()); in convertMessageToMetaData()
1788 meta->setData(kKeyCAPrivateData, 0, caPvtData->data(), caPvtData->size()); in convertMessageToMetaData()
1944 meta->setData(kKeyHdrStaticInfo, 'hdrS', &info, sizeof(info)); in convertMessageToMetaData()
1950 meta->setData(kKeyHdr10PlusInfo, 0, in convertMessageToMetaData()
2020 meta->setData(kKeyMpeghCompatibleSets, kTypeHCOS, in convertMessageToMetaData()
2074 meta->setData(kKeyAVCC, kTypeAVCC, avcc.data(), outsize); in convertMessageToMetaData()
2085 meta->setData(kKeyESDS, kTypeESDS, esds.data(), esds.size()); in convertMessageToMetaData()
2090 meta->setData(kKeyHVCC, kTypeHVCC, hvcc.data(), outsize); in convertMessageToMetaData()
[all …]
/frameworks/av/media/module/foundation/
DMetaDataBase.cpp47 void setData(uint32_t type, const void *data, size_t size);
126 return setData(key, TYPE_C_STRING, value, strlen(value) + 1); in setCString()
130 return setData(key, TYPE_INT32, &value, sizeof(value)); in setInt32()
134 return setData(key, TYPE_INT64, &value, sizeof(value)); in setInt64()
138 return setData(key, TYPE_FLOAT, &value, sizeof(value)); in setFloat()
142 return setData(key, TYPE_POINTER, &value, sizeof(value)); in setPointer()
155 return setData(key, TYPE_RECT, &r, sizeof(r)); in setRect()
256 bool MetaDataBase::setData( in setData() function in android::MetaDataBase
271 item.setData(type, data, size); in setData()
342 void MetaDataBase::typed_data::setData( in setData() function in android::MetaDataBase::typed_data
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DTileRequestTrackerTest.java139 intent.setData(Uri.parse("package:" + TEST_PACKAGE)); in testPackageUninstallRemovesDenials_allComponents()
155 intent.setData(Uri.parse("package:" + TEST_PACKAGE)); in testPackageUninstallRemoveDenials_differentUsers()
173 intent.setData(Uri.parse("package:" + TEST_PACKAGE)); in testPackageUninstallRemoveDenials_differentPackages()
191 intent.setData(Uri.parse("package:" + TEST_PACKAGE)); in testPackageUpdateDoesntRemoveDenials()
205 intent.setData(Uri.parse("package:" + TEST_PACKAGE)); in testClearPackageDataRemovesDenials()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Dbinder_ndk.h40 android::status_t setData(const uint8_t* buffer, size_t len) { in setData() function
41 return parcel()->setData(buffer, len); in setData()
/frameworks/native/libs/binder/
DRecordedTransaction.cpp117 mSentDataOnly.setData(t.getDataParcel().data(), t.getDataParcel().dataSize()); in RecordedTransaction()
118 mReplyDataOnly.setData(t.getReplyParcel().data(), t.getReplyParcel().dataSize()); in RecordedTransaction()
146 if (t.mSentDataOnly.setData(dataParcel.data(), dataParcel.dataBufferSize()) != in fromDetails()
152 if (t.mReplyDataOnly.setData(replyParcel.data(), replyParcel.dataBufferSize()) != in fromDetails()
278 if (t.mSentDataOnly.setData(reinterpret_cast<const unsigned char*>(payloadMap), in fromFile()
286 if (t.mReplyDataOnly.setData(reinterpret_cast<const unsigned char*>(payloadMap), in fromFile()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp124 sourceFloat.setData(kInputFloat.data(), kNumSamples); in TEST()
198 sourceFloat.setData(kInputFloat.data(), kNumSamples); in TEST()
216 sourceFloat.setData(input, 3); in TEST()
282 sourceI24.setData(input, numInputFrames); in TEST()
304 sourceFloat.setData(input, numInputFrames); in TEST()
333 sourceFloat.setData(input, numFrames); in TEST()
364 sourceFloat.setData(input, numInputFrames); in TEST()
407 sourceFloat.setData(input, numInputFrames); in TEST()
428 sourceFloat.setData(kInputFloat.data(), kNumSamples); in TEST()
480 sourceFloat.setData(kInputFloat.data(), kNumSamples); in TEST()
[all …]
/frameworks/av/media/libstagefright/tests/fuzzers/
DFrameDecoderHelpers.h103 newMeta->setData(kKeyThumbnailAV1C, fdp->ConsumeIntegral<int32_t>() /* type */,
106 newMeta->setData(kKeyThumbnailHVCC, fdp->ConsumeIntegral<int32_t>() /* type */,
114 newMeta->setData(kKeyIccProfile, fdp->ConsumeIntegral<int32_t>() /* type */,
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java413 .setData(Uri.fromParts("tel", PHONE_NUMBER, null)); in shouldSkipDisclosure_callIntent_actionViewTel()
426 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_sms()
439 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_smsto()
452 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mms()
465 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mmsto()
479 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSms()
493 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
507 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMms()
521 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
534 .setData(Uri.fromParts("invalid", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_invalidUri()
[all …]
/frameworks/base/nfc/java/android/nfc/cardemulation/
DHostNfcFService.java195 responseMsg.setData(responseBundle); in handleMessage()
246 responseMsg.setData(dataBundle); in sendResponsePacket()
DHostApduService.java286 responseMsg.setData(responseBundle); in handleMessage()
357 responseMsg.setData(dataBundle); in sendResponseApdu()
/frameworks/av/media/module/mpeg2ts/
DAnotherPacketSource.cpp219 bufmeta.setData(kKeySEI, 0, sei->data(), sei->size()); in read()
224 bufmeta.setData( in read()
230 bufmeta.setData( in read()
251 bufmeta.setData(kKeyCryptoIV, 0, array, 16); in read()
259 bufmeta.setData(kKeyCryptoKey, 0, array, 16); in read()
261 bufmeta.setData(kKeyPlainSizes, 0, in read()
264 bufmeta.setData(kKeyEncryptedSizes, 0, in read()
/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/
DPackageMonitorTest.java213 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRestarted()
232 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageUnstopped()
270 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageDataClear()
286 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageChanged()
321 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRemovedReplacing()
359 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRemovedReplacingArchived()
402 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageRemovedNotReplacing()
446 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageAddReplacing()
485 intent.setData(Uri.fromParts("package", FAKE_PACKAGE_NAME, null)); in testPackageMonitorDoHandlePackageEventPackageAddNotReplacing()
/frameworks/base/core/java/android/webkit/
DWebResourceResponse.java67 setData(data); in WebResourceResponse()
212 public void setData(InputStream data) { in setData() method in WebResourceResponse
/frameworks/base/core/proto/android/os/
Dmessage.proto33 … // Lower-cost alternative to using setData() if the app only needs to store a few integer values.
35 … // Lower-cost alternative to using setData() if the app only needs to store a few integer values.
/frameworks/base/core/java/android/app/
DAppDetailsActivity.java35 intent.setData(android.net.Uri.fromParts("package", getPackageName(), null)); in onCreate()
/frameworks/libs/systemui/motiontoollib/src/com/android/app/motiontool/
DDdmHandleMotionTool.kt110 .setData(motionToolManager.pollTrace(pollTraceRequest.traceId))) in handlePollTraceRequest()
118 .setData(motionToolManager.endTrace(endTraceRequest.traceId))) in handleEndTraceRequest()
/frameworks/base/location/java/android/location/
DGpsNavigationMessage.java210 public void setData(byte[] value) { in setData() method in GpsNavigationMessage
263 navigationMessage.setData(data);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValue.java31 backing.setData(value); in setValue()
/frameworks/base/core/java/com/android/internal/widget/
DCallLayout.java162 public void setData(Bundle extras) { in setData() method in CallLayout
175 return () -> setData(extras); in setDataAsync()
/frameworks/base/libs/androidfw/fuzz/cursorwindow_fuzzer/
Dcursorwindow_fuzzer.cpp40 p.setData(data, size); in LLVMFuzzerTestOneInput()

12345678