/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
D | DeviceTestCompanion.java | 59 private String nextTest(@NonNull InputStream is, @NonNull OutputStream os, in nextTest() 93 private boolean echoBytes(@NonNull InputStream is, @NonNull OutputStream os, int size) in echoBytes() 121 private boolean echoUntilStopSignal(@NonNull InputStream is, @NonNull OutputStream os) { in echoUntilStopSignal() 183 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(fd)) { in runTest()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | RawResourceTest.java | 38 final InputStream is = mResources.openRawResource(R.raw.text); in testReadToEnd() local 42 static void verifyTextAsset(final InputStream is) throws IOException { in verifyTextAsset()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | FileIntegrityManagerTest.java | 110 InputStream is = mContext.getAssets().open(assetName); in readAssetAsX509Certificate() local 115 private byte[] readAllBytes(InputStream is) throws IOException { in readAllBytes()
|
D | BitmapFactorySecurityTests.java | 36 InputStream is = mContext.getResources().openRawResource(resId); in getResource() local
|
D | ConscryptIntermediateVerificationTest.java | 40 InputStream is = null; in loadCertificates() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapRegionDecoderTest.java | 152 InputStream is = obtainInputStream(RES_IDS[i]); in testNewInstanceInputStream() local 330 InputStream is = obtainInputStream(RES_IDS[0]); in testRecycle() local 371 InputStream is = obtainInputStream(RES_IDS[i]); in testInBitmapReuse() local 439 InputStream is = obtainInputStream(RES_IDS[0]); in testDecodeHardwareBitmap() local 572 InputStream is = obtainInputStream(ASSET_NAMES[0]); // F16 in testF16WithInBitmap() local 623 InputStream is = obtainInputStream(RES_IDS[0]); in testHardwareBitmapIn() local 635 InputStream is = obtainInputStream(RES_IDS[0]); in testRecycledBitmapIn() local 648 InputStream is = obtainInputStream(R.raw.heifwriter_input); in testHeif() local 673 InputStream is = null; in testNullInputStream() local 721 InputStream is = new InputStream() { in testEmptyInputStream() local [all …]
|
D | MovieTest.java | 119 InputStream is = mResources.openRawResource(MOVIE); in testDecodeByteArray() local 130 try (InputStream is = mResources.openRawResource(MOVIE)) { in testDecodeStream()
|
D | Utils.java | 96 InputStream is = obtainInputStream(resId); in obtainFile() local
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 87 try (InputStream is = am.open(path)) { in mmap() 109 private static boolean copyToFile(File file, InputStream is) { in copyToFile() 113 private static boolean copyToFile(File file, InputStream is, byte[] prepend, byte[] append) { in copyToFile() 277 try (InputStream is = am.open(path)) { in testBuilder_file() 304 try (InputStream is = am.open(path)) { in testBuilder_file_ttc() 332 try (InputStream is = am.open(path)) { in testBuilder_file_vf() 359 try (InputStream is = am.open(path)) { in testBuilder_file_override() 379 try (InputStream is = am.open(path)) { in testBuilder_file_override() 417 try (InputStream is = am.open(path)) { in testBuilder_fd() 447 try (InputStream is = am.open(path)) { in testBuilder_fd_ttc() [all …]
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 82 try (InputStream is = manager.open("syscalls_allowed.json")) { in initializeSyscallMap() 85 try (InputStream is = manager.open("syscalls_blocked.json")) { in initializeSyscallMap() 208 private String readInputStreamFully(InputStream is) throws IOException { in readInputStreamFully()
|
/cts/tests/tests/telephony2/src/android/telephony2/cts/ |
D | PhoneNumberTest.java | 48 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in setDefaultSmsApp() local
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 47 InputStream is = mContext.getAssets().open("dex1.bytes"); in setUp() local
|
D | RecoverySystemTest.java | 48 InputStream is = mAssets.open(name); in getAsset() local
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | XmpDepthDecode.java | 65 public XmpDepthDecode(InputStream is) throws IOException { in XmpDepthDecode() 143 static XMPMeta read(InputStream is, boolean skipExtendedContent) { in read() 206 private static List<Section> parse(InputStream is, boolean readMetaOnly, in parse() 294 private static Section readSection(InputStream is, int length, in readSection()
|
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | AppComponentFactoryTest.java | 45 InputStream is = AppComponentFactoryTest.class.getClassLoader().getResourceAsStream( in writeSecondaryApkToDisk() local
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PrintStreamPrinterTest.java | 78 try (InputStream is = new FileInputStream(mFile)){ in testPrintln()
|
D | PrintWriterPrinterTest.java | 80 InputStream is = new FileInputStream(mFile); in testPrintln() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CACertWriter.java | 50 InputStream is = null; in extractCertToDownloads() local
|
D | CaCertInstallViaIntentTest.java | 62 InputStream is = getAssets().open(CERT_ASSET_NAME); in onClick() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/ |
D | UsbAccessoryTestActivity.java | 141 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream( in onAttached() 314 private boolean nextTest(@NonNull InputStream is, @NonNull OutputStream os, in nextTest()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 127 protected static PVRHeader readPVRHeader(InputStream is) { in readPVRHeader() 200 private static ByteBuffer read(InputStream is, int dataSize) { in read() 219 InputStream is = null; in loadTexturePVRTC() local 334 protected static DDSHeader readDDSHeader(InputStream is) { in readDDSHeader() 387 InputStream is = null; in loadTextureDXT() local
|
/cts/hostsidetests/adb/src/android/adb/cts/ |
D | AdbHostTest.java | 32 InputStream is = AdbHostTest.class.getResourceAsStream(resName); in copyResourceToTempFile() local
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | CaptioningManagerTest.java | 158 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in execShellCommand() local
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/ |
D | Utils.java | 53 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in executeShellCommand() local
|
/cts/hostsidetests/incrementalinstall/app/v1/src/android/incrementalinstall/incrementaltestapp/ |
D | MainActivity.java | 56 try (InputStream is = this.createPackageContext(PACKAGE_NAME, 0) in loadDynamicAsset()
|