Home
last modified time | relevance | path

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

1234567

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupConfigStoreDataTest.java116 verify(mActiveDataSource).setData(eq(isActive)); in deserializeSerializedData_emptySet()
117 verify(mIsOnboardedDataSource).setData(eq(isOnboarded)); in deserializeSerializedData_emptySet()
118 verify(mNotificationsDataSource).setData(notificationsShown); in deserializeSerializedData_emptySet()
119 verify(mNetworkDataSource).setData(eq(networks)); in deserializeSerializedData_emptySet()
152 verify(mActiveDataSource).setData(eq(isActive)); in deserializeSerializedData()
153 verify(mIsOnboardedDataSource).setData(eq(isOnboarded)); in deserializeSerializedData()
154 verify(mNotificationsDataSource).setData(notificationsShown); in deserializeSerializedData()
155 verify(mNetworkDataSource).setData(eq(networks)); in deserializeSerializedData()
165 verify(mActiveDataSource).setData(false); in resetDataWipesDataSources()
166 verify(mIsOnboardedDataSource).setData(false); in resetDataWipesDataSources()
[all …]
DWifiConfigStoreTest.java324 mSharedStoreData.setData("abcds"); in testForceWriteAfterBufferedWrite()
325 mUserStoreData.setData("asdfa"); in testForceWriteAfterBufferedWrite()
337 mUserStoreData.setData(TEST_USER_DATA); in testForceWriteAfterBufferedWrite()
338 mSharedStoreData.setData(TEST_SHARE_DATA); in testForceWriteAfterBufferedWrite()
362 mSharedStoreData.setData("abcds"); in testForceWriteWithNoNewDataAfterBufferedWrite()
363 mUserStoreData.setData("asdfa"); in testForceWriteWithNoNewDataAfterBufferedWrite()
407 mUserStoreData.setData(TEST_USER_DATA); in testReadAfterWrite()
408 mSharedStoreData.setData(TEST_SHARE_DATA); in testReadAfterWrite()
486 mSharedStoreData.setData(TEST_SHARE_DATA); in testReadAfterWriteWithNoUserStore()
512 mUserStoreData.setData(TEST_USER_DATA); in testReadWillResetStoreData()
[all …]
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupConfigStoreData.java71 void setData(T data); in setData() method
174 mNetworkDataSource.setData(networks); in deserializeData()
213 mIsActiveDataSource.setData(isActive); in parseFeatureState()
214 mIsOnboardedDataSource.setData(isOnboarded); in parseFeatureState()
215 mNotificationsDataSource.setData(notificationsShown); in parseFeatureState()
254 mNetworkDataSource.setData(Collections.emptySet()); in resetData()
255 mIsActiveDataSource.setData(false); in resetData()
256 mIsOnboardedDataSource.setData(false); in resetData()
257 mNotificationsDataSource.setData(0); in resetData()
DWakeupOnboarding.java214 public void setData(Boolean data) { in setData() method in WakeupOnboarding.IsOnboardedDataSource
227 public void setData(Integer data) { in setData() method in WakeupOnboarding.NotificationsDataSource
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidBpfMapReaderTest.java88 mReader.setData(data); in testReadErrorsLimit()
91 mReader.setData(null); in testReadErrorsLimit()
97 mReader.setData(data); in testReadErrorsLimit()
107 mReader.setData(data); in testGetNextUid()
116 mReader.setData(data); in testConcurrent()
155 mReader.setData(data1); in testConcurrent()
172 mReader.setData(data); in testRemoveUidsInRange()
213 public final void setData(SparseArray<long[]> newData) { in setData() method in KernelCpuUidBpfMapReaderTest.KernelCpuUidTestBpfMapReader
DKernelSingleUidTimeReaderTest.java72 mInjector.setData(latestCpuTimes); in readDelta()
81 mInjector.setData(latestCpuTimes); in readDelta()
100 mInjector.setData(malformedLatestTimes); in readDelta()
114 mInjector.setData(malformedLatestTimes); in readDelta()
139 mInjector.setData(cpuTimes); in readDelta_incorrectCount()
150 mInjector.setData(cpuTimes); in readDelta_incorrectCount()
309 public void setData(long[] cpuTimes) { in setData() method in KernelSingleUidTimeReaderTest.TestInjector
DKernelCpuUidActiveTimeReaderTest.java234 mBpfMapReader.setData(data); in setCpusAndData()
243 mBpfMapReader.setData(new SparseArray<>()); in clearCpusAndData()
308 public void setData(SparseArray<long[]> data) { in setData() method in KernelCpuUidActiveTimeReaderTest.KernelCpuUidTestBpfMapReader
DKernelCpuUidClusterTimeReaderTest.java236 mBpfMapReader.setData(data); in setCoresAndData()
245 mBpfMapReader.setData(new SparseArray<>()); in clearCoresAndData()
324 public void setData(SparseArray<long[]> data) { in setData() method in KernelCpuUidClusterTimeReaderTest.KernelCpuUidTestBpfMapReader
/frameworks/av/media/libstagefright/
DMediaTrack.cpp163 meta.setData(kKeyPlainSizes, in read()
167 meta.setData(kKeyEncryptedSizes, in read()
171 meta.setData(kKeyCryptoKey, in read()
175 meta.setData(kKeyCryptoIV, in read()
179 meta.setData(kKeySEI, in read()
183 meta.setData(kKeyAudioPresentationInfo, in read()
187 meta.setData(kKeyOpaqueCSD0, in read()
DUtils.cpp815 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
823 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
1683 meta->setData(kKeyCASessionID, 0, caSessionId->data(), caSessionId->size()); in convertMessageToMetaData()
1686 meta->setData(kKeyCAPrivateData, 0, caPvtData->data(), caPvtData->size()); in convertMessageToMetaData()
1780 meta->setData(kKeyHdrStaticInfo, 'hdrS', &info, sizeof(info)); in convertMessageToMetaData()
1786 meta->setData(kKeyHdr10PlusInfo, 0, in convertMessageToMetaData()
1886 meta->setData(kKeyAVCC, kTypeAVCC, avcc.data(), outsize); in convertMessageToMetaData()
1897 meta->setData(kKeyESDS, kTypeESDS, esds.data(), esds.size()); in convertMessageToMetaData()
1902 meta->setData(kKeyHVCC, kTypeHVCC, hvcc.data(), outsize); in convertMessageToMetaData()
1904 meta->setData(kKeyAV1C, 0, csd0->data(), csd0->size()); in convertMessageToMetaData()
[all …]
/frameworks/av/media/libstagefright/foundation/
DMetaDataBase.cpp45 void setData(uint32_t type, const void *data, size_t size);
121 return setData(key, TYPE_C_STRING, value, strlen(value) + 1); in setCString()
125 return setData(key, TYPE_INT32, &value, sizeof(value)); in setInt32()
129 return setData(key, TYPE_INT64, &value, sizeof(value)); in setInt64()
133 return setData(key, TYPE_FLOAT, &value, sizeof(value)); in setFloat()
137 return setData(key, TYPE_POINTER, &value, sizeof(value)); in setPointer()
150 return setData(key, TYPE_RECT, &r, sizeof(r)); in setRect()
251 bool MetaDataBase::setData( in setData() function in android::MetaDataBase
265 item.setData(type, data, size); in setData()
334 void MetaDataBase::typed_data::setData( in setData() function in android::MetaDataBase::typed_data
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp47 sourceFloat.setData(input, numInputFrames); in TEST()
65 sourceFloat.setData(input, 3); in TEST()
120 sourceI24.setData(input, numInputFrames); in TEST()
142 sourceFloat.setData(input, numInputFrames); in TEST()
/frameworks/native/libs/binder/fuzzer/
Dbinder_ndk.h38 android::status_t setData(const uint8_t* buffer, size_t len) { in setData() function
39 return aParcel()->get()->setData(buffer, len); in setData()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java384 .setData(Uri.fromParts("tel", PHONE_NUMBER, null)); in shouldSkipDisclosure_callIntent_actionViewTel()
397 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_sms()
410 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_smsto()
423 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mms()
436 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mmsto()
450 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSms()
464 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
478 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMms()
492 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
505 .setData(Uri.fromParts("invalid", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_invalidUri()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp217 bufmeta.setData(kKeySEI, 0, sei->data(), sei->size()); in read()
222 bufmeta.setData( in read()
228 bufmeta.setData( in read()
249 bufmeta.setData(kKeyCryptoIV, 0, array, 16); in read()
257 bufmeta.setData(kKeyCryptoKey, 0, array, 16); in read()
259 bufmeta.setData(kKeyPlainSizes, 0, in read()
262 bufmeta.setData(kKeyEncryptedSizes, 0, in read()
/frameworks/base/core/java/android/nfc/cardemulation/
DHostNfcFService.java195 responseMsg.setData(responseBundle); in handleMessage()
246 responseMsg.setData(dataBundle); in sendResponsePacket()
DHostApduService.java267 responseMsg.setData(responseBundle); in handleMessage()
330 responseMsg.setData(dataBundle); in sendResponseApdu()
/frameworks/base/core/java/android/webkit/
DWebResourceResponse.java66 setData(data); in WebResourceResponse()
211 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/base/location/java/android/location/
DGpsNavigationMessage.java210 public void setData(byte[] value) { in setData() method in GpsNavigationMessage
263 navigationMessage.setData(data);
DGnssNavigationMessage.java370 public void setData(byte[] value) { in setData() method in GnssNavigationMessage
424 navigationMessage.setData(data);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValue.java31 backing.setData(value); in setValue()
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp447 mFormat->setData( in APacketSource()
482 mFormat->setData( in APacketSource()
526 mFormat->setData( in APacketSource()
563 mFormat->setData( in APacketSource()

1234567