/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/ |
D | ServicesTests.java | 40 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/ |
D | ServicesTests.java | 225 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/ |
D | AbstractService.java | 57 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/ |
D | ScriptGroupTestActivity.java | 275 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/ |
D | BlasControls.java | 147 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/ |
D | IPControlsJB.java | 253 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()
|
D | ImageProcessingTest.java | 132 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/ |
D | IPControls.java | 252 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/ |
D | ImageProcessingActivity.java | 512 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/ |
D | EventResultPersister.java | 138 EventResultPersister(@NonNull File resultFile) { in EventResultPersister() argument 139 mResultsFile = new AtomicFile(resultFile); in EventResultPersister()
|