Home
last modified time | relevance | path

Searched refs:data1 (Results 1 – 10 of 10) 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/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java132 final ArrayList<FrameMetrics> data1 = new ArrayList<>(); in testMultipleListeners() local
143 data1.add(new FrameMetrics(frameMetrics)); in testMultipleListeners()
180 return data1.size() != 0 && data1.size() == data2.size(); in testMultipleListeners()
/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/util/src/android/util/cts/
DEventLogTest.java144 Long data1 = data0 + 1; in testReadEvents() local
145 EventLog.writeEvent(PI_TAG, data1); in testReadEvents()
147 Long data2 = data1 + 1; in testReadEvents()
153 assertEvent(events.get(1), PI_TAG, data1); in testReadEvents()
DTypedValueTest.java100 final int data1 = 1; in testComplexToFraction() local
109 assertEquals(expected1, TypedValue.complexToFraction(data1, base1, pbase1)); in testComplexToFraction()
/cts/tests/tests/widget/src/android/widget/cts/
DHeaderViewListAdapterTest.java150 Object data1 = new Object(); in testGetCount() local
153 info1.data = data1; in testGetCount()
224 Object data1 = new Object(); in testGetItem() local
227 info1.data = data1; in testGetItem()
245 assertSame(data1, headerViewListAdapter.getItem(0)); in testGetItem()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java571 String data1 = "5300FEFF"; in testBlobFileDescriptorForQuery() local
573 mDatabase.execSQL("INSERT INTO blob_test (name, data) VALUES ('Mike', X'" + data1 + "')"); in testBlobFileDescriptorForQuery()
576 assertFileDescriptorContent(parseBlob(data1), in testBlobFileDescriptorForQuery()
596 assertFileDescriptorContent(parseBlob(data1), in testBlobFileDescriptorForQuery()
/cts/tests/tests/media/src/android/media/cts/
DVp8CodecTestBase.java1886 private double computePSNR(byte[] data0, byte[] data1) { in computePSNR() argument
1888 assertTrue(data0.length == data1.length); in computePSNR()
1891 int diff = ((int)data0[i] & 0xff) - ((int)data1[i] & 0xff); in computePSNR()