Home
last modified time | relevance | path

Searched refs:getData (Results 1 – 25 of 87) 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/tests/location/location_fine/src/android/location/cts/fine/
DSettingInjectorServiceTest.java75 assertFalse(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService()
76 assertNull(message.getData().getString(SUMMARY_KEY)); in testSettingInjectorService()
81 assertTrue(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService()
82 assertEquals("summary", message.getData().getString(SUMMARY_KEY)); in testSettingInjectorService()
87 assertFalse(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService()
88 assertEquals("another_summary", message.getData().getString(SUMMARY_KEY)); in testSettingInjectorService()
107 assertFalse(message.getData().getBoolean(ENABLED_KEY)); in testSettingInjectorService_Exception()
108 assertNull(message.getData().getString(SUMMARY_KEY)); in testSettingInjectorService_Exception()
/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/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/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/
DCountMetricsTests.java69 assertThat(countData.getData(0).getBucketInfo(0).getCount()).isEqualTo(2); in testSimpleEventCountMetric()
125 assertThat(countData.getData(0).getBucketInfo(0).getCount()).isEqualTo(1); in testEventCountWithCondition()
247 assertThat(countData.getData(0).getBucketInfoCount()).isEqualTo(2); in testEventCountWithConditionAndActivation()
248 assertThat(countData.getData(0).getBucketInfo(0).getCount()).isEqualTo(2); in testEventCountWithConditionAndActivation()
249 assertThat(countData.getData(0).getBucketInfo(1).getCount()).isEqualTo(1); in testEventCountWithConditionAndActivation()
284 reports.getReports(inOrder? 0 : 1).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric()
286 reports.getReports(inOrder? 1 : 0).getMetrics(0).getCountMetrics().getData(0); in testPartialBucketCountMetric()
394 CountMetricData data = dataWrapper.getData(0);
405 data = dataWrapper.getData(1);
513 CountMetricData data = dataWrapper.getData(i);
DValueMetricsTests.java100 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testValueMetric()
102 ValueMetricData data = valueData.getData(0); in testValueMetric()
175 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testPullerAcrossBuckets()
178 ValueMetricData data = valueData.getData(0); in testPullerAcrossBuckets()
256 int bucketCount = valueData.getData(0).getBucketInfoCount(); in testMultipleEventsPerBucket()
259 ValueMetricData data = valueData.getData(0); in testMultipleEventsPerBucket()
454 assertThat(valueData.getData(0).getBucketInfoCount()).isEqualTo(1); in testValueMetricWithConditionAndActivation()
455 long totalValue = valueData.getData(0).getBucketInfoList().stream() in testValueMetricWithConditionAndActivation()
DGaugeMetricsTests.java127 int bucketCount = gaugeData.getData(0).getBucketInfoCount(); in testGaugeMetric()
128 GaugeMetricData data = gaugeData.getData(0); in testGaugeMetric()
324 assertThat(gaugeData.getData(0).getBucketInfoCount()).isEqualTo(2); in testPulledGaugeMetricWithConditionAndActivation()
326 GaugeBucketInfo bucketInfo = gaugeData.getData(0).getBucketInfo(0); in testPulledGaugeMetricWithConditionAndActivation()
331 bucketInfo = gaugeData.getData(0).getBucketInfo(1); in testPulledGaugeMetricWithConditionAndActivation()
DDurationMetricsTests.java99 assertThat(durationData.getData(0).getBucketInfo(0).getDurationNanos()) in testDurationMetric()
205 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithCondition()
294 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithActivation()
467 long totalDuration = durationData.getData(0).getBucketInfoList().stream() in testDurationMetricWithConditionAndActivation()
558 assertThat(durationData.getData(0).getBucketInfoCount()).isGreaterThan(1); in testDurationMetricWithDimension()
559 for (DurationBucketInfo bucketInfo : durationData.getData(0).getBucketInfoList()) { in testDurationMetricWithDimension()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java283 e.getData().equals("whoami")); in verifyAdbShellCommand()
293 assertTrue(TextUtils.isEmpty((String) event.getData())); in verifyEventsRedacted()
426 if (event.getData() instanceof Object[]) { in verifySecurityLogs()
428 Arrays.equals((Object[]) event.getData(), (Object[]) restored.getData())); in verifySecurityLogs()
431 event.getData(), restored.getData()); in verifySecurityLogs()
450 assertNull("non-null payload", event.getData()); in verifyPayloadTypes()
453 assertTrue(payloadTypes.get(0).isInstance(event.getData())); in verifyPayloadTypes()
456 assertTrue(event.getData() instanceof Object[]); in verifyPayloadTypes()
457 final Object[] dataArray = (Object[]) event.getData(); in verifyPayloadTypes()
502 final Object[] dataArray = (Object[]) event.getData(); in getDatum()
[all …]
/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/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAsserts.java51 uri = intent.getData(); in assertAccess()
105 uri = intent.getData(); in assertReadingClipNotAllowed()
209 uri = intent.getData(); in assertWritingClipNotAllowed()
233 uri = intent.getData(); in assertReadingClipAllowed()
257 uri = intent.getData(); in assertWritingClipAllowed()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java187 final Uri uri = result.data.getData(); in testOpenSimple()
214 final Uri uri = result.data.getData(); in testOpenVirtual()
254 final Uri uri = result.data.getData(); in testCreateNew()
288 final Uri uri = result.data.getData(); in testCreateExisting()
310 final Uri uri = result.data.getData(); in testTree()
522 final Uri uri = result.data.getData(); in testGetContent_returnsResultToCallingActivity()
552 final Uri uri = result.data.getData(); in testTransferDocument()
661 final Uri uri = result.data.getData(); in testFindDocumentPathInScopedAccess()
789 final Uri uri = result.data.getData(); in testCreateWebLink()
815 final Uri webLinkUri = webLinkResult.data.getData(); in testCreateWebLink()
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h149 float *getData() const { in getData() function
212 float correlation = (float) calculateNormalizedCorrelation(&recorded.getData()[i], in measureLatencyFromPulse()
213 &pulse.getData()[0], in measureLatencyFromPulse()
454 &mAudioRecording.getData()[mLatencyReport.latencyInFrames], mPulse.size()) in analyze()
537 float pulseSample = mPulse.getData()[mPulseCursor++]; in processOutputFrame()
/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/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/tests/tests/telecom/src/android/telecom/cts/
DNewOutgoingCallBroadcastReceiver.java19 sReceivedPhoneNumber = intent.getData(); in onReceive()
/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/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()

1234