Home
last modified time | relevance | path

Searched refs:getData (Results 1 – 25 of 71) sorted by relevance

123

/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java58 assertEquals(12345, events.get(0).getData()); in testWriteEvent()
59 assertEquals(23456L, events.get(1).getData()); in testWriteEvent()
60 assertEquals(42.4242f, events.get(2).getData()); in testWriteEvent()
61 assertEquals("Test", events.get(3).getData()); in testWriteEvent()
63 Object[] arr = (Object[]) events.get(4).getData(); in testWriteEvent()
95 String val0 = (String) events.get(0).getData(); in testWriteEventWithOversizeValueLimitElision()
100 Object[] arr1 = (Object[]) events.get(1).getData(); in testWriteEventWithOversizeValueLimitElision()
107 Object[] arr2 = (Object[]) events.get(2).getData(); in testWriteEventWithOversizeValueLimitElision()
114 Object[] arr3 = (Object[]) events.get(3).getData(); in testWriteEventWithOversizeValueLimitElision()
121 Object[] arr4 = (Object[]) events.get(4).getData(); in testWriteEventWithOversizeValueLimitElision()
[all …]
/cts/suite/audio_quality/test/
DSignalProcessingInterfaceTest.cpp54 char* data0 = in0->getData(); in TEST_F()
59 char* data1 = in1->getData(); in TEST_F()
68 char* outdata0 = out0->getData(); in TEST_F()
73 char* outdata1 = out1->getData(); in TEST_F()
150 char* data0 = in0->getData(); in TEST_F()
155 char* data1 = in1->getData(); in TEST_F()
160 char* data2 = in2->getData(); in TEST_F()
165 char* data3 = in3->getData(); in TEST_F()
176 char* outdata0 = out0->getData(); in TEST_F()
181 char* outdata1 = out1->getData(); in TEST_F()
DBufferTest.cpp43 int16_t* data = (int16_t*)buffer->getData(); in TEST_F()
56 int16_t* dataRead = (int16_t*)bufferRead->getData(); in TEST_F()
68 int16_t* data = (int16_t*)buffer->getData(); in TEST_F()
75 data = (int16_t*)bufferl->getData(); in TEST_F()
DAudioSignalFactoryTest.cpp28 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData()); in testSignalBasic()
/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp31 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData()); in generateSineWave()
53 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData()); in generateWhiteNoise()
77 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData()); in generateZeroSound()
DAudioProtocol.cpp99 return sendData(param.mBuffer->getData(), param.mBuffer->getSize()); in sendCommand()
166 if (!readData(param->mBuffer->getData(), len)) { in handleReply()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTestProcessService.java62 String testClassName = msg.getData().getString(TEST_CLASS_KEY); in handleMessage()
70 m.getData().putSerializable(REPLY_EXCEPTION_KEY, t); in handleMessage()
DTestProcessClient.java104 m.getData().putString(TestProcessService.TEST_CLASS_KEY, runnableClass.getName()); in run()
168 mLastException = (Throwable) msg.getData().getSerializable( in handleMessage()
/cts/tests/tests/os/src/android/os/cts/
DMessageTest.java69 Bundle bundle = mMessage.getData(); in testAccessMessageProperties()
73 assertNotNull(mMessage.getData()); in testAccessMessageProperties()
74 assertNotSame(bundle, mMessage.getData()); in testAccessMessageProperties()
75 assertEquals(expectedBundle, mMessage.getData()); in testAccessMessageProperties()
168 assertEquals(VALUE, mMessage.getData().getInt(KEY)); in testCopyFrom()
198 assertEquals(VALUE, mMessage.getData().getInt(KEY)); in testWriteToParcel()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DValueMetricsTests.java110 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testValueMetric()
112 ValueMetricData data = valueData.getData(0); in testValueMetric()
186 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testPullerAcrossBuckets()
189 ValueMetricData data = valueData.getData(0); in testPullerAcrossBuckets()
268 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testMultipleEventsPerBucket()
271 ValueMetricData data = valueData.getData(0); in testMultipleEventsPerBucket()
DDurationMetricsTests.java95 assertTrue(durationData.getData(0).getBucketInfo(0).getDurationNanos() > 0); in testDurationMetric()
96 assertTrue(durationData.getData(0).getBucketInfo(0).getDurationNanos() < 1e10); in testDurationMetric()
186 assertTrue(durationData.getData(0).getBucketInfoList().size() > 1);
187 for (DurationBucketInfo bucketInfo : durationData.getData(0).getBucketInfoList()) {
DCountMetricsTests.java62 assertEquals(2, countData.getData(0).getBucketInfo(0).getCount()); in testSimpleEventCountMetric()
121 assertEquals(1, countData.getData(0).getBucketInfo(0).getCount()); in testEventCountWithCondition()
162 reports.getReports(inOrder? 0 : 1).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric()
164 reports.getReports(inOrder? 1 : 0).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric()
DGaugeMetricsTests.java121 int bucketCount = gaugeData.getData(0).getBucketInfoCount(); in testGaugeMetric()
122 GaugeMetricData data = gaugeData.getData(0); in testGaugeMetric()
/cts/tests/tests/media/libndkaudio/
DWaveTableOscillator.h34 int getData(long time, float* outBuff, int numFrames, int outChans);
DAudioSource.h37 virtual int getData(long time, float * buff, int numFrames,
DWaveTableOscillator.cpp47 int WaveTableOscillator::getData(long time, float* outBuff, int numFrames, in getData() function in ndkaudio::WaveTableOscillator
/cts/suite/audio_quality/lib/src/
DSignalProcessingImpl.cpp137 if (!send((*buffer)->getData(), dataLen)) { in run()
213 if (!read((*buffer)->getData(), dataLen)) { in run()
217 LOGD("received buffer %x %x", ((*buffer)->getData())[0], ((*buffer)->getData())[1]); in run()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java360 if (event.getData() instanceof Object[]) { in verifySecurityLogs()
362 Arrays.equals((Object[]) event.getData(), (Object[]) restored.getData())); in verifySecurityLogs()
365 event.getData(), restored.getData()); in verifySecurityLogs()
384 assertNull("non-null payload", event.getData()); in verifyPayloadTypes()
387 assertTrue(payloadTypes.get(0).isInstance(event.getData())); in verifyPayloadTypes()
390 assertTrue(event.getData() instanceof Object[]); in verifyPayloadTypes()
391 final Object[] dataArray = (Object[]) event.getData(); in verifyPayloadTypes()
431 final Object[] dataArray = (Object[]) event.getData(); in getDatum()
440 return (Integer) event.getData(); in getInt()
659 Arrays.equals((Object[]) e.getData(), expectedPayload)); in findPasswordComplexityEvent()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFieldPackerTest.java102 byte[] b = fp.getData(); in testAlignResetSkip()
111 b = fp.getData(); in testAlignResetSkip()
129 byte[] b = fp.getData(); in testAlignResetSkip()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java155 final Uri uri = result.data.getData(); in testOpenSimple()
182 final Uri uri = result.data.getData(); in testOpenVirtual()
222 final Uri uri = result.data.getData(); in testCreateNew()
256 final Uri uri = result.data.getData(); in testCreateExisting()
276 final Uri uri = result.data.getData(); in testTree()
376 final Uri uri = result.data.getData(); in testTransferDocument()
483 final Uri uri = result.data.getData(); in testFindDocumentPathInScopedAccess()
581 final Uri uri = result.data.getData(); in testCreateWebLink()
607 final Uri webLinkUri = webLinkResult.data.getData(); in testCreateWebLink()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java74 public int getData(double[] data, boolean raw) { in getData() method in VectorAverage
136 getData(data,false); in toString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessClientActivity.java158 mDeviceAddress = msg.getData().getString(BluetoothChatService.DEVICE_NAME); in handleDeviceName()
162 String toast = msg.getData().getString(BluetoothChatService.TOAST); in handleToast()
/cts/suite/audio_quality/lib/include/audio/
DBuffer.h58 inline char* getData() { in getData() function
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DBaseService.java58 reply.getData().putString(ServiceMessages.IDENTIFY_PACKAGE, in handleMessage()
/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java96 assertEquals(TEST_URI, mIntent.getData()); in testConstructor()
105 assertEquals(TEST_URI, mIntent.getData()); in testConstructor()
136 assertEquals(mIntent.getData(), target.getData()); in testReadFromParcel()
348 assertEquals(Uri.parse("http://www.google.com/"), mIntent.getData()); in testParseIntent()
554 assertEquals(TEST_URI, mIntent.getData()); in testAccessData()
632 assertEquals(TEST_URI, actual.getData()); in testClone()
657 assertEquals(TEST_URI, actual.getData()); in testCloneFilter()
685 assertEquals("testdata", mIntent.getData().toString()); in testGetIntentOld()
797 assertEquals(TEST_URI, target.getData()); in testGetIntent()
1162 if (!Objects.equals(expected.getData(), actual.getData())) { in compareIntents()
[all …]

123