/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 156 FileInputStream fis = null; in testFileReadAccess() local 158 fis = new FileInputStream(f); in testFileReadAccess() 162 value = fis.read(); in testFileReadAccess() 180 if (fis != null) { in testFileReadAccess() 182 fis.close(); in testFileReadAccess()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | FileUtil.java | 30 try (FileInputStream fis = new FileInputStream(f)) { in readFile() argument 33 int read = fis.read(tmp, pos, tmp.length - pos); in readFile()
|
/cts/hostsidetests/appsecurity/test-apps/InstantUpgradeApp/src/com/android/cts/instantupgradeapp/ |
D | ClientTest.java | 69 try (FileInputStream fis = InstrumentationRegistry in testFullApplicationReadFile() argument 74 while ((count = fis.read(b)) != -1) { in testFullApplicationReadFile()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 78 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand() local 80 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommand() 83 fis.close(); in runShellCommand()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 92 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand() local 94 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommand() 97 fis.close(); in runShellCommand()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | CertificateTest.java | 142 FileInputStream fis = new FileInputStream(certFile); in loadCertsFromDisk() local 143 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk() 147 fis.close(); in loadCertsFromDisk()
|
D | StagefrightTest.java | 626 FileInputStream fis = fd.createInputStream(); in testStagefright_bug_36592202() local 627 int numRead = fis.read(blob); in testStagefright_bug_36592202() 628 fis.close(); in testStagefright_bug_36592202() 1618 FileInputStream fis = fd.createInputStream(); in getFrameSizes() local 1620 fis.read(frameInfo); in getFrameSizes() 1621 fis.close(); in getFrameSizes() 1693 FileInputStream fis = fd.createInputStream(); in doStagefrightTestRawBlob() local 1694 int numRead = fis.read(blob); in doStagefrightTestRawBlob() 1695 fis.close(); in doStagefrightTestRawBlob() 1808 FileInputStream fis = fd.createInputStream(); in doStagefrightTestRawBlob() local [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileUtilsTest.java | 115 final FileInputStream fis = new FileInputStream("/dev/null"); in testClose() local 116 FileUtils.closeQuietly(fis); in testClose()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | FileParser.java | 133 FileInputStream fis = new FileInputStream(mFile); in getFileContentId() local 136 while ((nread = fis.read(dataBytes)) != -1) { in getFileContentId()
|
/cts/tests/app/src/android/app/cts/ |
D | DownloadManagerTestBase.java | 197 try (FileInputStream fis = new FileInputStream(file)) { in writeToFile() argument 198 actual = readFromInputStream(fis); in writeToFile() 216 try (FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfds[0])) { in writeToFileFromShell() argument 217 res = readFromInputStream(fis); in writeToFileFromShell()
|
D | ServiceTest.java | 389 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeShellCommand() local 391 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 394 fis.close(); in executeShellCommand()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 311 FileInputStream fis = new FileInputStream(prefsFile); in testTorture2() local 314 while ((n = fis.read(buf)) > 0) { in testTorture2() 317 fis.close(); in testTorture2()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | ActivityManagerState.java | 131 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeShellCommand() local 133 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 136 fis.close(); in executeShellCommand()
|
D | WindowManagerState.java | 129 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeShellCommand() local 131 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 134 fis.close(); in executeShellCommand()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | ActivityManagerGetConfigTests.java | 87 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeShellCommand() local 89 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 92 fis.close(); in executeShellCommand()
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | WriteExternalStorageTest.java | 379 try (FileInputStream fis = new FileInputStream(new File(cur, name))) { in testExternalStorageRename() argument 380 assertEquals(42, fis.read()); in testExternalStorageRename()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerState.java | 144 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeShellCommand() local 146 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 149 fis.close(); in executeShellCommand()
|
D | WindowManagerState.java | 174 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeShellCommand() local 176 while ((bytesRead = fis.read(buf)) != -1) { in executeShellCommand() 179 fis.close(); in executeShellCommand()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | FileSystemPermissionTest.java | 925 FileInputStream fis = new FileInputStream(f); in tryFileRead() local 926 while((fis.available() != 0) && (fis.read(b) != -1)) { in tryFileRead() 930 fis.close(); in tryFileRead()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TestSuiteContentReport.java | 269 FileInputStream fis = new FileInputStream(file); in getFileContentId() local 274 while ((nread = fis.read(dataBytes)) != -1) { in getFileContentId()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTest.java | 514 try (FileInputStream fis = new FileInputStream(obtainPath())) { in testTypefaceBuilder_FileSourceFD() argument 515 assertNotNull(new Typeface.Builder(fis.getFD()).build()); in testTypefaceBuilder_FileSourceFD()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 93 try (FileInputStream fis = new FileInputStream(file)) { in mmap() argument 94 FileChannel channel = fis.getChannel(); in mmap()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | UiBot.java | 998 try (FileInputStream fis = new FileInputStream(file)) {
|
/cts/tests/tests/media/res/raw/ |
D | football_qvga.yuv | 130 …SZ_dhhgfijilnnmlopkijkgeedc`_``adeedgihijijihhkkjwvstuvywuvvz��������ztog[`fis�������n[^[TPOMQU[ae…
|