Home
last modified time | relevance | path

Searched refs:data1 (Results 1 – 11 of 11) sorted by relevance

/cts/suite/audio_quality/test_description/processing/
Dcalc_delay.py35 def calc_delay(data0, data1): argument
41 len1 = len(data1)
46 data1reverse = data1[::-1]
73 data1 = data0[DELAY:] variable
74 delay = calc_delay(data0, data1)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUtil.java66 public static double[] computeCrossCorrelation(Complex[] data1, Complex[] data2) { in computeCrossCorrelation() argument
68 int n = nextPowerOfTwo(Math.max(data1.length, data2.length)); in computeCrossCorrelation()
69 Complex[] data1Fft = fft.transform(padZeros(data1, n)); in computeCrossCorrelation()
/cts/suite/audio_quality/test/
DSignalProcessingInterfaceTest.cpp59 char* data1 = in1->getData(); in TEST_F() local
61 data1[i] = i; in TEST_F()
155 char* data1 = in1->getData(); in TEST_F() local
157 data1[i] = i; in TEST_F()
DRemoteAudioFakeTcpTest.cpp39 void assertData(const char* data1, const char* data2, int len) { in assertData() argument
42 ASSERT_TRUE(data1[i] == data2[i]); in assertData()
/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java107 final ArrayList<FrameMetrics> data1 = new ArrayList<>(); in testMultipleListeners() local
116 data1.add(new FrameMetrics(frameMetrics)); in testMultipleListeners()
138 PollingCheck.waitFor(() -> data1.size() != 0 && data1.size() == data2.size()); in testMultipleListeners()
/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java202 Long data1 = data0 + 1; in testReadEvents() local
203 EventLog.writeEvent(PI_TAG, data1); in testReadEvents()
205 Long data2 = data1 + 1; in testReadEvents()
211 verifyEvent(events.get(1), PI_TAG, data1); in testReadEvents()
DTypedValueTest.java117 final int data1 = 1; in testComplexToFraction() local
126 assertEquals(expected1, TypedValue.complexToFraction(data1, base1, pbase1), 0.0f); in testComplexToFraction()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DCountMetricsTests.java288 CountMetricData data1 = in testPartialBucketCountMetric()
294 assertEquals("First report should only have 1 bucket", 1, data1.getBucketInfoCount()); in testPartialBucketCountMetric()
295 CountBucketInfo bucketInfo = data1.getBucketInfo(0); in testPartialBucketCountMetric()
/cts/tests/tests/widget/src/android/widget/cts/
DHeaderViewListAdapterTest.java163 Object data1 = new Object(); in testGetCount() local
166 info1.data = data1; in testGetCount()
234 Object data1 = new Object(); in testGetItem() local
237 info1.data = data1; in testGetItem()
254 assertSame(data1, headerViewListAdapter.getItem(0)); in testGetItem()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java592 String data1 = "5300FEFF"; in testBlobFileDescriptorForQuery() local
594 mDatabase.execSQL("INSERT INTO blob_test (name, data) VALUES ('Mike', X'" + data1 + "')"); in testBlobFileDescriptorForQuery()
597 assertFileDescriptorContent(parseBlob(data1), in testBlobFileDescriptorForQuery()
617 assertFileDescriptorContent(parseBlob(data1), in testBlobFileDescriptorForQuery()
/cts/tests/tests/media/src/android/media/cts/
DVpxCodecTestBase.java1930 private double computePSNR(byte[] data0, byte[] data1) { in computePSNR() argument
1932 assertTrue(data0.length == data1.length); in computePSNR()
1935 int diff = ((int)data0[i] & 0xff) - ((int)data1[i] & 0xff); in computePSNR()