Home
last modified time | relevance | path

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

1234

/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()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DCountMetricsTests.java62 assertEquals(2, countData.getData(0).getBucketInfo(0).getCount()); in testSimpleEventCountMetric()
121 assertEquals(1, countData.getData(0).getBucketInfo(0).getCount()); in testEventCountWithCondition()
246 assertEquals(2, countData.getData(0).getBucketInfoCount()); in testEventCountWithConditionAndActivation()
247 assertEquals(2, countData.getData(0).getBucketInfo(0).getCount()); in testEventCountWithConditionAndActivation()
248 assertEquals(1, countData.getData(0).getBucketInfo(1).getCount()); in testEventCountWithConditionAndActivation()
289 reports.getReports(inOrder? 0 : 1).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric()
291 reports.getReports(inOrder? 1 : 0).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric()
DValueMetricsTests.java102 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testValueMetric()
104 ValueMetricData data = valueData.getData(0); in testValueMetric()
180 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testPullerAcrossBuckets()
183 ValueMetricData data = valueData.getData(0); in testPullerAcrossBuckets()
264 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testMultipleEventsPerBucket()
267 ValueMetricData data = valueData.getData(0); in testMultipleEventsPerBucket()
465 assertThat(valueData.getData(0).getBucketInfoCount()).isEqualTo(1); in testValueMetricWithConditionAndActivation()
466 long totalValue = valueData.getData(0).getBucketInfoList().stream() in testValueMetricWithConditionAndActivation()
DGaugeMetricsTests.java130 int bucketCount = gaugeData.getData(0).getBucketInfoCount(); in testGaugeMetric()
131 GaugeMetricData data = gaugeData.getData(0); in testGaugeMetric()
334 assertThat(gaugeData.getData(0).getBucketInfoCount()).isEqualTo(2); in testPulledGaugeMetricWithConditionAndActivation()
336 GaugeBucketInfo bucketInfo = gaugeData.getData(0).getBucketInfo(0); in testPulledGaugeMetricWithConditionAndActivation()
341 bucketInfo = gaugeData.getData(0).getBucketInfo(1); in testPulledGaugeMetricWithConditionAndActivation()
DDurationMetricsTests.java103 assertThat(durationData.getData(0).getBucketInfo(0).getDurationNanos()) in testDurationMetric()
213 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithCondition()
306 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithActivation()
483 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithConditionAndActivation()
577 assertThat(durationData.getData(0).getBucketInfoCount()).isGreaterThan(1); in testDurationMetricWithDimension()
578 for (DurationBucketInfo bucketInfo : durationData.getData(0).getBucketInfoList()) { in testDurationMetricWithDimension()
/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/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/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java366 if (event.getData() instanceof Object[]) { in verifySecurityLogs()
368 Arrays.equals((Object[]) event.getData(), (Object[]) restored.getData())); in verifySecurityLogs()
371 event.getData(), restored.getData()); in verifySecurityLogs()
394 assertNull("non-null payload", event.getData()); in verifyPayloadTypes()
397 assertTrue(payloadTypes.get(0).isInstance(event.getData())); in verifyPayloadTypes()
400 assertTrue(event.getData() instanceof Object[]); in verifyPayloadTypes()
401 final Object[] dataArray = (Object[]) event.getData(); in verifyPayloadTypes()
446 final Object[] dataArray = (Object[]) event.getData(); in getDatum()
455 return (Integer) event.getData(); in getInt()
679 Arrays.equals((Object[]) e.getData(), expectedPayload)); in findPasswordComplexityEvent()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java170 final Uri uri = result.data.getData(); in testOpenSimple()
197 final Uri uri = result.data.getData(); in testOpenVirtual()
237 final Uri uri = result.data.getData(); in testCreateNew()
271 final Uri uri = result.data.getData(); in testCreateExisting()
293 final Uri uri = result.data.getData(); in testTree()
410 final Uri uri = result.data.getData(); in testGetContent_returnsResultToCallingActivity()
440 final Uri uri = result.data.getData(); in testTransferDocument()
549 final Uri uri = result.data.getData(); in testFindDocumentPathInScopedAccess()
663 final Uri uri = result.data.getData(); in testCreateWebLink()
689 final Uri webLinkUri = webLinkResult.data.getData(); in testCreateWebLink()
/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/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/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/tests/tests/content/src/android/content/cts/
DIntentTest.java99 assertEquals(TEST_URI, mIntent.getData()); in testConstructor()
108 assertEquals(TEST_URI, mIntent.getData()); in testConstructor()
140 assertEquals(mIntent.getData(), target.getData()); in testReadFromParcel()
359 assertEquals(Uri.parse("http://www.google.com/"), mIntent.getData()); in testParseIntent()
578 assertEquals(TEST_URI, mIntent.getData()); in testAccessData()
657 assertEquals(TEST_URI, actual.getData()); in testClone()
684 assertEquals(TEST_URI, actual.getData()); in testCloneFilter()
713 assertEquals("testdata", mIntent.getData().toString()); in testGetIntentOld()
826 assertEquals(TEST_URI, target.getData()); in testGetIntent()
1198 if (!Objects.equals(expected.getData(), actual.getData())) { in compareIntents()
[all …]
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java127 Bundle b = m.getData(); in sendMessages()
168 Bundle b = msg.getData(); in handleMessage()
385 Bundle b = msg.getData(); in handleMessage()
501 m.getData().putParcelable(LOG_EVENT, new LogEvent(id, msg)); in log()
/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/tests/tests/media/libndkaudio/
DAudioSource.h37 virtual int getData(long time, float * buff, int numFrames,
DWaveTableOscillator.h34 int getData(long time, float* outBuff, int numFrames, int outChans);
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildCTSHostSources.java124 public String getData() { in getData() method in BuildCTSHostSources.HostState
133 writeToFileMkdir(toWrite, state.getData()); in flushHostState()
/cts/tests/tests/telecom/src/android/telecom/cts/
DNewOutgoingCallBroadcastReceiver.java19 sReceivedPhoneNumber = intent.getData(); in onReceive()
/cts/tests/tests/media/src/android/media/cts/
DSubtitleDataTest.java36 assertEquals(SUBTITLE_RAW_DATA, new String(subtitle.getData(), StandardCharsets.UTF_8)); in testSubtitleData()

1234