/cts/suite/audio_quality/test_description/processing/ |
D | calc_delay.py | 35 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/hostsidetests/securitybulletin/securityPatch/CVE-2020-0420/ |
D | poc.cpp | 39 Parcel data1, reply1; in main() local 40 data1.writeInterfaceToken(interface_name); in main() 41 err = service->transact(4 /*GET_UPDATABLE_DRIVER_PATH,*/, data1, &reply1, 0); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0226/ |
D | poc.cpp | 37 Parcel data1, reply1; in main() local 38 data1.writeInterfaceToken(service->getInterfaceDescriptor()); in main() 39 service->transact(code, data1, &reply1, flags); in main()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | Util.java | 66 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/ |
D | SignalProcessingInterfaceTest.cpp | 59 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()
|
D | RemoteAudioFakeTcpTest.cpp | 39 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/ |
D | FrameMetricsListenerTest.java | 118 final ArrayList<FrameMetrics> data1 = new ArrayList<>(); in testMultipleListeners() local 127 data1.add(new FrameMetrics(frameMetrics)); in testMultipleListeners() 149 PollingCheck.waitFor(() -> data1.size() != 0 && data1.size() == data2.size()); in testMultipleListeners()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | EventLogTest.java | 202 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()
|
D | TypedValueTest.java | 117 final int data1 = 1; in testComplexToFraction() local 126 assertEquals(expected1, TypedValue.complexToFraction(data1, base1, pbase1), 0.0f); in testComplexToFraction()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HeaderViewListAdapterTest.java | 163 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/ |
D | DatabaseUtilsTest.java | 592 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/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 407 private static double computePSNR(byte[] data0, byte[] data1) { in computePSNR() argument 409 assertTrue(data0.length == data1.length); in computePSNR() 412 int diff = ((int) data0[i] & 0xff) - ((int) data1[i] & 0xff); in computePSNR()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | VideoCodecTestBase.java | 2006 private double computePSNR(byte[] data0, byte[] data1) { in computePSNR() argument 2008 assertTrue(data0.length == data1.length); in computePSNR() 2011 int diff = ((int)data0[i] & 0xff) - ((int)data1[i] & 0xff); in computePSNR()
|