/cts/tests/tests/os/src/android/os/cts/ |
D | HwBinderTest.java | 56 void test(HwBlob blob, int offset); in test() argument 74 HwBlob blob = new HwBlob(mSize + deltaSize); in test() local 75 mMethod.test(blob, offset); in test() 80 new MarshalCase("Bool", 1, (blob, offset) -> { 81 blob.putBool(offset, true); 82 assertEquals(true, blob.getBool(offset)); 84 new MarshalCase("Int8", 1, (blob, offset) -> { 85 blob.putInt8(offset, (byte) 3); 86 assertEquals((byte) 3, blob.getInt8(offset)); 88 new MarshalCase("Int16", 2, (blob, offset) -> { [all …]
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtils_InsertHelperTest.java | 119 byte[] blob = new byte[] { '1', '2', '3' }; in testInsert() 120 mInsertHelper.bind(mInsertHelper.getColumnIndex("blob_value"), blob); in testInsert() 136 MoreAsserts.assertEquals(blob, value); in testInsert() 153 values.put("blob_value", blob); in testInsert() 168 MoreAsserts.assertEquals(blob, value); in testInsert() 215 byte[] blob = new byte[] { '1', '2', '3' }; in testReplace() 216 mInsertHelper.bind(mInsertHelper.getColumnIndex("blob_value"), blob); in testReplace() 232 MoreAsserts.assertEquals(blob, value); in testReplace() 263 values.put("blob_value", blob); in testReplace() 278 MoreAsserts.assertEquals(blob, value); in testReplace()
|
D | AbstractWindowedCursorTest.java | 170 byte[] blob = new byte[BLOB_SIZE]; in testGetBlob() 171 Arrays.fill(blob, TEST_VALUE); in testGetBlob() 172 assertTrue(mWindow.putBlob(blob, ROW_INDEX0, COLUMN_INDEX1)); in testGetBlob() 179 assertTrue(Arrays.equals(blob, targetBuffer)); in testGetBlob()
|
D | DatabaseCursorTest.java | 113 byte[] blob = new byte[1000]; in testBlob() 115 Arrays.fill(blob, value); in testBlob() 116 args[3] = blob; in testBlob() 140 assertTrue(Arrays.equals(blob, cBlob)); in testBlob()
|
D | MergeCursorTest.java | 308 byte[] blob, String tablename) { in buildDatabaseWithTestValues() argument 313 args[3] = blob; in buildDatabaseWithTestValues()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderCursorWindowTest.java | 55 byte[] blob = cursor.getBlob(0); in testQuery() 56 Log.i(TAG, "Blob length " + blob.length); in testQuery()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | FakeKeys.java | 237 private static X509Certificate loadCertificate(String blob) { in loadCertificate() argument 240 InputStream stream = new ByteArrayInputStream(blob.getBytes(StandardCharsets.UTF_8)); in loadCertificate()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteProgramTest.java | 161 byte[] blob = new byte[] { '1', '2', '3' }; in testBindBlob() 162 statement.bindBlob(4, blob); in testBindBlob() 180 MoreAsserts.assertEquals(blob, value); in testBindBlob()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-record-native.cpp | 323 std::shared_ptr<Blob> blob; in read() local 348 blob = std::make_shared<Blob>(buffer, size); in read() 349 mReadBlob = blob; in read() 355 copied += blob->mOffset; in read()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | DnsResolverTest.java | 335 final byte[] blob = new byte[]{ in doTestRawQueryBlob() 349 final String msg = "RawQuery blob " + byteArrayToHexString(blob); in doTestRawQueryBlob() 352 mDns.rawQuery(network, blob, FLAG_NO_CACHE_LOOKUP, executor, null, callback); in doTestRawQueryBlob()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 745 byte [] blob = new byte[oggPageSize]; in testStagefright_bug_36592202() 748 int numRead = fis.read(blob); in testStagefright_bug_36592202() 760 tempFos.write(blob); in testStagefright_bug_36592202() 2298 byte [] blob = new byte[(int)fd.getLength()]; in doStagefrightTestRawBlob() 2300 int numRead = fis.read(blob); in doStagefrightTestRawBlob() 2344 inputBuffers[bufidx].put(blob, 0, numRead); in doStagefrightTestRawBlob() 2419 byte [] blob = new byte[(int)fd.getLength()]; in doStagefrightTestRawBlob() 2421 int numRead = fis.read(blob); in doStagefrightTestRawBlob() 2485 System.arraycopy(blob, offset, tempBlob, 0, bytesToFeed); in doStagefrightTestRawBlob()
|