Home
last modified time | relevance | path

Searched refs:inputFile (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DAutomaticActivity.java153 File inputFile = new File(Environment.getExternalStorageDirectory(), in beginTest() local
155 if (inputFile.exists() && inputFile.canRead() && inputFile.length() > 0) { in beginTest()
157 FileInputStream inputStream = new FileInputStream(inputFile); in beginTest()
159 StringBuffer content = new StringBuffer((int)inputFile.length()); in beginTest()
/frameworks/base/services/java/com/android/server/net/
DNetworkStatsCollection.java328 final AtomicFile inputFile = new AtomicFile(file); in readLegacyNetwork() local
332 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyNetwork()
367 final AtomicFile inputFile = new AtomicFile(file); in readLegacyUid() local
371 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyUid()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerBaseTest.java107 DataInputStream inputFile = openFileOnMountedObb(mOfficialObbFilePath, in run() local
109 assertTrue("Failed to open file!", inputFile != null); in run()
124 inputFile.close(); in run()