Home
last modified time | relevance | path

Searched refs:setData (Results 1 – 25 of 151) 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.java305 mSharedStoreData.setData("abcds"); in testForceWriteAfterBufferedWrite()
306 mUserStoreData.setData("asdfa"); in testForceWriteAfterBufferedWrite()
318 mUserStoreData.setData(TEST_USER_DATA); in testForceWriteAfterBufferedWrite()
319 mSharedStoreData.setData(TEST_SHARE_DATA); in testForceWriteAfterBufferedWrite()
343 mSharedStoreData.setData("abcds"); in testForceWriteWithNoNewDataAfterBufferedWrite()
344 mUserStoreData.setData("asdfa"); in testForceWriteWithNoNewDataAfterBufferedWrite()
388 mUserStoreData.setData(TEST_USER_DATA); in testReadAfterWrite()
389 mSharedStoreData.setData(TEST_SHARE_DATA); in testReadAfterWrite()
469 mSharedStoreData.setData(TEST_SHARE_DATA); in testReadAfterWriteWithNoUserStore()
495 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()
212 mIsActiveDataSource.setData(isActive); in parseFeatureState()
213 mIsOnboardedDataSource.setData(isOnboarded); in parseFeatureState()
214 mNotificationsDataSource.setData(notificationsShown); in parseFeatureState()
253 mNetworkDataSource.setData(Collections.emptySet()); in resetData()
254 mIsActiveDataSource.setData(false); in resetData()
255 mIsOnboardedDataSource.setData(false); in resetData()
256 mNotificationsDataSource.setData(0); in resetData()
DWakeupOnboarding.java215 public void setData(Boolean data) { in setData() method in WakeupOnboarding.IsOnboardedDataSource
228 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()
187 mReader.setData(data); in testRemoveUidsInRange_firstAndLastAbsent()
228 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/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/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()
DUtils.cpp753 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
761 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
1615 meta->setData(kKeyCASessionID, 0, caSessionId->data(), caSessionId->size()); in convertMessageToMetaData()
1618 meta->setData(kKeyCAPrivateData, 0, caPvtData->data(), caPvtData->size()); in convertMessageToMetaData()
1712 meta->setData(kKeyHdrStaticInfo, 'hdrS', &info, sizeof(info)); in convertMessageToMetaData()
1718 meta->setData(kKeyHdr10PlusInfo, 0, in convertMessageToMetaData()
1818 meta->setData(kKeyAVCC, kTypeAVCC, avcc.data(), outsize); in convertMessageToMetaData()
1829 meta->setData(kKeyESDS, kTypeESDS, esds.data(), esds.size()); in convertMessageToMetaData()
1834 meta->setData(kKeyHVCC, kTypeHVCC, hvcc.data(), outsize); in convertMessageToMetaData()
1836 meta->setData(kKeyAV1C, 0, csd0->data(), csd0->size()); in convertMessageToMetaData()
[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/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java378 .setData(Uri.fromParts("tel", PHONE_NUMBER, null)); in shouldSkipDisclosure_callIntent_actionViewTel()
391 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_sms()
404 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_smsto()
417 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mms()
430 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_mmsto()
444 .setData(Uri.fromParts("sms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSms()
458 .setData(Uri.fromParts("smsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
472 .setData(Uri.fromParts("mms", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMms()
486 .setData(Uri.fromParts("mmsto", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
499 .setData(Uri.fromParts("invalid", PHONE_NUMBER, null)); in shouldSkipDisclosure_textMessageIntent_invalidUri()
[all …]
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java114 .setData(Uri.parse(String.format("mailto:%s", text))), in createForEmail()
140 new Intent(Intent.ACTION_DIAL).setData( in createForPhone()
160 .setData(Uri.parse(String.format("smsto:%s", text))), in createForPhone()
177 .setData(Uri.parse(String.format("geo:0,0?q=%s", encText))), in createForAddress()
244 new Intent(Intent.ACTION_VIEW).setData(builder.build()), in createCalendarViewIntent()
258 .setData(CalendarContract.Events.CONTENT_URI) in createCalendarCreateEventIntent()
/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/location/java/android/location/
DGpsNavigationMessage.java207 public void setData(byte[] value) { in setData() method in GpsNavigationMessage
260 navigationMessage.setData(data);
DGnssNavigationMessage.java327 public void setData(byte[] value) { in setData() method in GnssNavigationMessage
381 navigationMessage.setData(data);
/frameworks/base/core/java/android/app/
DAppDetailsActivity.java35 intent.setData(android.net.Uri.fromParts("package", getPackageName(), null)); in onCreate()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValue.java31 backing.setData(value); in setValue()
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp445 mFormat->setData( in APacketSource()
480 mFormat->setData( in APacketSource()
524 mFormat->setData( in APacketSource()
561 mFormat->setData( in APacketSource()

1234567