Home
last modified time | relevance | path

Searched refs:data2 (Results 1 – 8 of 8) sorted by relevance

/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()
70 Complex[] data2Fft = fft.transform(padZeros(data2, n)); in computeCrossCorrelation()
/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java147 Long data2 = data1 + 1; in testReadEvents() local
148 EventLog.writeEvent(E_TAG, data2); in testReadEvents()
154 assertEvent(events.get(2), E_TAG, data2); in testReadEvents()
159 assertEvent(events.get(1), E_TAG, data2); in testReadEvents()
DTypedValueTest.java105 final int data2 = 100000; in testComplexToFraction() local
110 assertEquals(expected2, TypedValue.complexToFraction(data2, base2, pbase2)); in testComplexToFraction()
/cts/tests/tests/view/src/android/view/cts/
DFrameMetricsListenerTest.java146 final ArrayList<FrameMetrics> data2 = new ArrayList<>(); in testMultipleListeners() local
154 data2.add(new FrameMetrics(frameMetrics)); in testMultipleListeners()
180 return data1.size() != 0 && data1.size() == data2.size(); in testMultipleListeners()
/cts/tests/tests/widget/src/android/widget/cts/
DHeaderViewListAdapterTest.java151 Object data2 = new Object(); in testGetCount() local
155 info2.data = data2; in testGetCount()
225 Object data2 = new Object(); in testGetItem() local
229 info2.data = data2; in testGetItem()
246 assertSame(data2, headerViewListAdapter.getItem(1)); in testGetItem()
/cts/suite/audio_quality/test/
DSignalProcessingInterfaceTest.cpp160 char* data2 = in2->getData(); in TEST_F() local
162 data2[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/database/src/android/database/cts/
DDatabaseUtilsTest.java572 String data2 = "DECAFBAD"; in testBlobFileDescriptorForQuery() local
579 mDatabase.execSQL("INSERT INTO blob_test (name, data) VALUES ('Jack', X'" + data2 + "');"); in testBlobFileDescriptorForQuery()
582 assertFileDescriptorContent(parseBlob(data2), in testBlobFileDescriptorForQuery()