Home
last modified time | relevance | path

Searched defs:is (Results 1 – 25 of 94) sorted by relevance

1234

/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DDeviceTestCompanion.java59 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/
DRawResourceTest.java38 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/
DFileIntegrityManagerTest.java110 InputStream is = mContext.getAssets().open(assetName); in readAssetAsX509Certificate() local
115 private byte[] readAllBytes(InputStream is) throws IOException { in readAllBytes()
DBitmapFactorySecurityTests.java36 InputStream is = mContext.getResources().openRawResource(resId); in getResource() local
DConscryptIntermediateVerificationTest.java40 InputStream is = null; in loadCertificates() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java152 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 …]
DMovieTest.java119 InputStream is = mResources.openRawResource(MOVIE); in testDecodeByteArray() local
130 try (InputStream is = mResources.openRawResource(MOVIE)) { in testDecodeStream()
DUtils.java96 InputStream is = obtainInputStream(resId); in obtainFile() local
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java87 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/
DSeccompDeviceTest.java82 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/
DPhoneNumberTest.java48 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in setDefaultSmsApp() local
/cts/tests/tests/os/src/android/os/cts/
DCustomClassLoaderTest.java47 InputStream is = mContext.getAssets().open("dex1.bytes"); in setUp() local
DRecoverySystemTest.java48 InputStream is = mAssets.open(name); in getAsset() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DXmpDepthDecode.java65 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/
DAppComponentFactoryTest.java45 InputStream is = AppComponentFactoryTest.class.getClassLoader().getResourceAsStream( in writeSecondaryApkToDisk() local
/cts/tests/tests/util/src/android/util/cts/
DPrintStreamPrinterTest.java78 try (InputStream is = new FileInputStream(mFile)){ in testPrintln()
DPrintWriterPrinterTest.java80 InputStream is = new FileInputStream(mFile); in testPrintln() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCACertWriter.java50 InputStream is = null; in extractCertToDownloads() local
DCaCertInstallViaIntentTest.java62 InputStream is = getAssets().open(CERT_ASSET_NAME); in onClick() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/
DUsbAccessoryTestActivity.java141 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/
DCompressedTextureLoader.java127 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/
DAdbHostTest.java32 InputStream is = AdbHostTest.class.getResourceAsStream(resName); in copyResourceToTempFile() local
/cts/tests/accessibility/src/android/view/accessibility/cts/
DCaptioningManagerTest.java158 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in execShellCommand() local
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DUtils.java53 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in executeShellCommand() local
/cts/hostsidetests/incrementalinstall/app/v1/src/android/incrementalinstall/incrementaltestapp/
DMainActivity.java56 try (InputStream is = this.createPackageContext(PACKAGE_NAME, 0) in loadDynamicAsset()

1234