Home
last modified time | relevance | path

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

123456

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupConfigStoreDataTest.java112 verify(mActiveDataSource).setData(eq(isActive)); in deserializeSerializedData_emptySet()
113 verify(mIsOnboardedDataSource).setData(eq(isOnboarded)); in deserializeSerializedData_emptySet()
114 verify(mNotificationsDataSource).setData(notificationsShown); in deserializeSerializedData_emptySet()
115 verify(mNetworkDataSource).setData(eq(networks)); in deserializeSerializedData_emptySet()
148 verify(mActiveDataSource).setData(eq(isActive)); in deserializeSerializedData()
149 verify(mIsOnboardedDataSource).setData(eq(isOnboarded)); in deserializeSerializedData()
150 verify(mNotificationsDataSource).setData(notificationsShown); in deserializeSerializedData()
151 verify(mNetworkDataSource).setData(eq(networks)); in deserializeSerializedData()
161 verify(mActiveDataSource).setData(false); in resetDataWipesDataSources()
162 verify(mIsOnboardedDataSource).setData(false); in resetDataWipesDataSources()
[all …]
DWifiConfigStoreTest.java285 mSharedStoreData.setData("abcds"); in testForceWriteAfterBufferedWrite()
286 mUserStoreData.setData("asdfa"); in testForceWriteAfterBufferedWrite()
298 mUserStoreData.setData(TEST_USER_DATA); in testForceWriteAfterBufferedWrite()
299 mSharedStoreData.setData(TEST_SHARE_DATA); in testForceWriteAfterBufferedWrite()
323 mSharedStoreData.setData("abcds"); in testForceWriteWithNoNewDataAfterBufferedWrite()
324 mUserStoreData.setData("asdfa"); in testForceWriteWithNoNewDataAfterBufferedWrite()
368 mUserStoreData.setData(TEST_USER_DATA); in testReadAfterWrite()
369 mSharedStoreData.setData(TEST_SHARE_DATA); in testReadAfterWrite()
449 mSharedStoreData.setData(TEST_SHARE_DATA); in testReadAfterWriteWithNoUserStore()
475 mUserStoreData.setData(TEST_USER_DATA); in testReadWillResetStoreData()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupConfigStoreData.java69 void setData(T data); in setData() method
169 mNetworkDataSource.setData(networks); in deserializeData()
207 mIsActiveDataSource.setData(isActive); in parseFeatureState()
208 mIsOnboardedDataSource.setData(isOnboarded); in parseFeatureState()
209 mNotificationsDataSource.setData(notificationsShown); in parseFeatureState()
248 mNetworkDataSource.setData(Collections.emptySet()); in resetData()
249 mIsActiveDataSource.setData(false); in resetData()
250 mIsOnboardedDataSource.setData(false); in resetData()
251 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/media/mca/filterfw/java/android/filterfw/core/
DFrame.java89 setData((ByteBuffer)object); in setObjectValue()
108 public abstract void setData(ByteBuffer buffer, int offset, int length); in setData() method in Frame
110 public void setData(ByteBuffer buffer) { in setData() method in Frame
111 setData(buffer, 0, buffer.limit()); in setData()
114 public void setData(byte[] bytes, int offset, int length) { in setData() method in Frame
115 setData(ByteBuffer.wrap(bytes, offset, length)); in setData()
136 setData(frame.getData()); in setDataFromFrame()
/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.cpp752 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
760 meta->setData(elem.second, in convertMessageToMetaDataFromMappings()
1620 meta->setData(kKeyCASessionID, 0, caSessionId->data(), caSessionId->size()); in convertMessageToMetaData()
1623 meta->setData(kKeyCAPrivateData, 0, caPvtData->data(), caPvtData->size()); in convertMessageToMetaData()
1717 meta->setData(kKeyHdrStaticInfo, 'hdrS', &info, sizeof(info)); in convertMessageToMetaData()
1723 meta->setData(kKeyHdr10PlusInfo, 0, in convertMessageToMetaData()
1823 meta->setData(kKeyAVCC, kTypeAVCC, avcc.data(), outsize); in convertMessageToMetaData()
1834 meta->setData(kKeyESDS, kTypeESDS, esds.data(), esds.size()); in convertMessageToMetaData()
1839 meta->setData(kKeyHVCC, kTypeHVCC, hvcc.data(), outsize); in convertMessageToMetaData()
1841 meta->setData(kKeyAV1C, 0, csd0->data(), csd0->size()); in convertMessageToMetaData()
[all …]
/frameworks/av/media/libstagefright/foundation/
DMetaDataBase.cpp42 void setData(uint32_t type, const void *data, size_t size);
118 return setData(key, TYPE_C_STRING, value, strlen(value) + 1); in setCString()
122 return setData(key, TYPE_INT32, &value, sizeof(value)); in setInt32()
126 return setData(key, TYPE_INT64, &value, sizeof(value)); in setInt64()
130 return setData(key, TYPE_FLOAT, &value, sizeof(value)); in setFloat()
134 return setData(key, TYPE_POINTER, &value, sizeof(value)); in setPointer()
147 return setData(key, TYPE_RECT, &r, sizeof(r)); in setRect()
248 bool MetaDataBase::setData( in setData() function in android::MetaDataBase
262 item.setData(type, data, size); in setData()
331 void MetaDataBase::typed_data::setData( in setData() function in android::MetaDataBase::typed_data
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelSingleUidTimeReaderTest.java59 mInjector.setData(latestCpuTimes); in readDelta()
68 mInjector.setData(latestCpuTimes); in readDelta()
87 mInjector.setData(malformedLatestTimes); in readDelta()
101 mInjector.setData(malformedLatestTimes); in readDelta()
126 mInjector.setData(cpuTimes); in readDelta_incorrectCount()
137 mInjector.setData(cpuTimes); in readDelta_incorrectCount()
287 public void setData(long[] cpuTimes) { in setData() method in KernelSingleUidTimeReaderTest.TestInjector
/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/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/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/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/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.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/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()
/frameworks/base/core/java/com/android/internal/app/
DResolverTargetActionsDialogFragment.java70 .setData(Uri.fromParts("package", name.getPackageName(), null)) in onClick()
/frameworks/base/core/java/com/android/internal/util/
DEmergencyAffordanceManager.java72 intent.setData(getPhoneUri(context)); in performEmergencyCall()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DInputStreamSource.java84 output.setData(byteBuffer); in process()

123456