Home
last modified time | relevance | path

Searched refs:resultFile (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/
DServicesTests.java40 File resultFile = new File(targetFilesDir, "Service" + i); in testStressConcurentFirstLaunch() local
41 resultFile.delete(); in testStressConcurentFirstLaunch()
42 assertFalse("Failed to delete result file '" + resultFile.getAbsolutePath() + "'.", in testStressConcurentFirstLaunch()
43 resultFile.exists()); in testStressConcurentFirstLaunch()
73 File resultFile = new File(targetFilesDir, "Service" + i); in testStressConcurentFirstLaunch() local
74 assertTrue("Service" + i + " never completed.", resultFile.isFile()); in testStressConcurentFirstLaunch()
75 assertEquals("Service" + i + " was restarted.", 8L, resultFile.length()); in testStressConcurentFirstLaunch()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java225 File resultFile = new File(targetFilesDir, "Service" + i); in initServicesWorkFiles() local
226 resultFile.delete(); in initServicesWorkFiles()
228 "Failed to delete result file '" + resultFile.getAbsolutePath() + "'.", in initServicesWorkFiles()
229 resultFile.exists()); in initServicesWorkFiles()
273 File resultFile = new File(targetFilesDir, "Service" + i); in getServicesCompletionStatus() local
274 if (!resultFile.isFile()) { in getServicesCompletionStatus()
278 if (resultFile.length() != 8) { in getServicesCompletionStatus()
289 File resultFile = new File(targetFilesDir, "Service" + serviceId); in getServiceCompletionStatus() local
290 if (!resultFile.isFile()) { in getServiceCompletionStatus()
292 } else if (resultFile.length() != 8) { in getServiceCompletionStatus()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DAbstractService.java57 File resultFile = new File(applicationContext.getFilesDir(), getId()); in run() local
61 RandomAccessFile raf = new RandomAccessFile(resultFile, "rw"); in run()
64 Log.i(TAG, "Writing 0x42434445 at " + raf.length() + " in " + resultFile.getPath()); in run()
68 + " in " + resultFile.getPath()); in run()
77 Log.i(TAG, "Saving the result (" + value + ") to " + resultFile.getPath()); in run()
79 raf = new RandomAccessFile(resultFile, "rw"); in run()
81 Log.i(TAG, "Writing result at " + raf.length() + " in " + resultFile.getPath()); in run()
91 Log.i(TAG, "creating complete file " + resultFile.getPath()); in run()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DScriptGroupTestActivity.java275 File resultFile = new File(externalStorage, RESULT_FILE); in benchmark_all() local
276 resultFile.setWritable(true, false); in benchmark_all()
278 BufferedWriter rsWriter = new BufferedWriter(new FileWriter(resultFile)); in benchmark_all()
279 Log.v(TAG, "Saved results in: " + resultFile.getAbsolutePath()); in benchmark_all()
303 Log.v(TAG, "result file:"+resultFile.getAbsolutePath()); in benchmark_all()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasControls.java147 File resultFile = new File(externalStorage, RESULT_FILE); in writeResults() local
148 resultFile.setWritable(true, false); in writeResults()
150 BufferedWriter rsWriter = new BufferedWriter(new FileWriter(resultFile)); in writeResults()
151 Log.v(TAG, "Saved results in: " + resultFile.getAbsolutePath()); in writeResults()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPControlsJB.java253 File resultFile = new File(externalStorage, RESULT_FILE); in writeResults() local
254 resultFile.setWritable(true, false); in writeResults()
256 BufferedWriter rsWriter = new BufferedWriter(new FileWriter(resultFile)); in writeResults()
257 Log.v(TAG, "Saved results in: " + resultFile.getAbsolutePath()); in writeResults()
DImageProcessingTest.java132 File resultFile = new File(externalStorage, directory + filename); in writeResults() local
133 resultFile.setWritable(true, false); in writeResults()
135 BufferedWriter rsWriter = new BufferedWriter(new FileWriter(resultFile)); in writeResults()
136 Log.v(TAG, "Saved results in: " + resultFile.getAbsolutePath()); in writeResults()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPControls.java252 File resultFile = new File(externalStorage, RESULT_FILE); in writeResults() local
253 resultFile.setWritable(true, false); in writeResults()
255 BufferedWriter rsWriter = new BufferedWriter(new FileWriter(resultFile)); in writeResults()
256 Log.v(TAG, "Saved results in: " + resultFile.getAbsolutePath()); in writeResults()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DImageProcessingActivity.java512 File resultFile = new File(externalStorage, RESULT_FILE); in benchmark_all() local
513 resultFile.setWritable(true, false); in benchmark_all()
515 BufferedWriter rsWriter = new BufferedWriter(new FileWriter(resultFile)); in benchmark_all()
516 Log.v(TAG, "Saved results in: " + resultFile.getAbsolutePath()); in benchmark_all()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DEventResultPersister.java138 EventResultPersister(@NonNull File resultFile) { in EventResultPersister() argument
139 mResultsFile = new AtomicFile(resultFile); in EventResultPersister()