Home
last modified time | relevance | path

Searched defs:is (Results 1 – 25 of 83) 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/graphics/src/android/graphics/fonts/
DFontTest.java79 try (InputStream is = am.open(path)) { in mmap()
101 private static boolean copyToFile(File file, InputStream is) { in copyToFile()
105 private static boolean copyToFile(File file, InputStream is, byte[] prepend, byte[] append) { in copyToFile()
251 try (InputStream is = am.open(path)) { in testBuilder_file()
278 try (InputStream is = am.open(path)) { in testBuilder_file_ttc()
306 try (InputStream is = am.open(path)) { in testBuilder_file_vf()
333 try (InputStream is = am.open(path)) { in testBuilder_file_override()
353 try (InputStream is = am.open(path)) { in testBuilder_file_override()
391 try (InputStream is = am.open(path)) { in testBuilder_fd()
421 try (InputStream is = am.open(path)) { in testBuilder_fd_ttc()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java150 InputStream is = obtainInputStream(RES_IDS[i]); in testNewInstanceInputStream() local
333 InputStream is = obtainInputStream(RES_IDS[0]); in testRecycle() local
374 InputStream is = obtainInputStream(RES_IDS[i]); in testInBitmapReuse() local
441 InputStream is = obtainInputStream(RES_IDS[0]); in testDecodeHardwareBitmap() local
574 InputStream is = obtainInputStream(ASSET_NAMES[0]); // F16 in testF16WithInBitmap() local
625 InputStream is = obtainInputStream(RES_IDS[0]); in testHardwareBitmapIn() local
637 InputStream is = obtainInputStream(RES_IDS[0]); in testRecycledBitmapIn() local
646 InputStream is = obtainInputStream(R.raw.heifwriter_input); in testHeif() local
712 InputStream is = obtainInputStream(resId); in obtainByteArray() local
729 InputStream is = obtainInputStream(RES_IDS[idx]); in obtainPath() local
DMovieTest.java119 InputStream is = mResources.openRawResource(MOVIE); in testDecodeByteArray() local
130 try (InputStream is = mResources.openRawResource(MOVIE)) { in testDecodeStream()
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java48 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in setDefaultSmsApp() local
/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()
207 private String readInputStreamFully(InputStream is) throws IOException { in readInputStreamFully()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/accessory/
DUsbAccessoryTestActivity.java111 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream( in onAttached()
275 private boolean nextTest(@NonNull InputStream is, @NonNull OutputStream os, in nextTest()
/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/security/src/android/security/cts/
DBitmapFactorySecurityTests.java37 InputStream is = mContext.getResources().openRawResource(resId); in getResource() local
DConscryptIntermediateVerificationTest.java41 InputStream is = null; in loadCertificates() 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/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/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DAppComponentFactoryTest.java45 InputStream is = AppComponentFactoryTest.class.getClassLoader().getResourceAsStream( in writeSecondaryApkToDisk() local
/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/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java97 InputStream is = null; in performTest() local
DCANotifyOnBootActivity.java62 InputStream is = null; in onClick() local
/cts/tests/accessibility/src/android/view/accessibility/cts/
DCaptioningManagerTest.java139 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in execShellCommand() local
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DDownloadManagerTest.java136 try (InputStream is = getContext().getResources().openRawResource(chainResId)) { in bindTLSServer()
147 try (InputStream is = getContext().getResources().openRawResource(keyResId)) { in bindTLSServer()
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DBootClassPathClassesProvider.java96 try (InputStream is = new FileInputStream( in copyAgentToFile()
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/
DResourceSourceTest.java73 InputStream is = null; in loadCertificates() local
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DUtils.java177 try (FileInputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in getProtoDump()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java158 InputStream is = mContext.getContentResolver().openInputStream(completedFileUri); in checkFileContentIntegrity() local

1234