Home
last modified time | relevance | path

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

/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DSaveBitmapHelper.java34 String directoryName = Environment.getExternalStorageDirectory() in saveBitmap() local
37 File testDirectory = new File(directoryName); in saveBitmap()
50 Log.d(TAG, "Saving file : " + bitmapName + " in directory : " + directoryName); in saveBitmap()
52 File file = new File(directoryName, bitmapName); in saveBitmap()
DBitmapPixelChecker.java165 String directoryName = Environment.getExternalStorageDirectory() in saveFailureCaptures() local
169 File testDirectory = new File(directoryName); in saveFailureCaptures()
182 Log.d(TAG, "Saving file : " + bitmapName + " in directory : " + directoryName); in saveFailureCaptures()
184 File file = new File(directoryName, bitmapName); in saveFailureCaptures()
DASurfaceControlTestActivity.java344 String directoryName = Environment.getExternalStorageDirectory() in saveFailureCapture() local
348 File testDirectory = new File(directoryName); in saveFailureCapture()
359 Log.d(TAG, "Saving file : " + bitmapName + " in directory : " + directoryName); in saveFailureCapture()
361 File file = new File(directoryName, bitmapName); in saveFailureCapture()
DCapturedActivity.java281 String directoryName = Environment.getExternalStorageDirectory() in saveFailureCaptures()
285 File testDirectory = new File(directoryName); in saveFailureCaptures()
303 Log.d(TAG, "Saving file : " + bitmapName + " in directory : " + directoryName); in saveFailureCaptures()
305 File file = new File(directoryName, bitmapName); in saveFailureCaptures()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DDumpOnFailure.java212 abstract void writeToFile(@NonNull String directoryName, @NonNull String fileName);
222 void writeToFile(@NonNull String directoryName, @NonNull String fileName) {
223 BitmapUtils.saveBitmap(mData, directoryName, fileName);
234 void writeToFile(@NonNull String directoryName, @NonNull String fileName) {
235 Log.i(TAG, "Writing to file: " + fileName + " in directory: " + directoryName);
237 final var file = new File(directoryName, fileName);
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBitmapUtils.java146 public static void saveBitmap(Bitmap bitmap, String directoryName, String fileName) { in saveBitmap() argument
147 new File(directoryName).mkdirs(); // create dirs if needed in saveBitmap()
149 Log.d(TAG, "Saving file: " + fileName + " in directory: " + directoryName); in saveBitmap()
158 File file = new File(directoryName, fileName); in saveBitmap()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java170 public static void saveBitmap(Bitmap bitmap, String directoryName, String fileName) { in saveBitmap() argument
171 new File(directoryName).mkdirs(); // create dirs if needed in saveBitmap()
173 Log.d(TAG, "Saving file: " + fileName + " in directory: " + directoryName); in saveBitmap()
182 File file = new File(directoryName, fileName); in saveBitmap()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileContactsTest.java131 private void setDirectoryPrefix(String directoryName, int userId) in setDirectoryPrefix() argument
136 + " --arg " + directoryName; in setDirectoryPrefix()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityFocusAndInputFocusSyncTest.java415 final String directoryName = Environment.getExternalStorageDirectory() in saveFailureScreenshot() local
420 BitmapUtils.saveBitmap(bitmap1, directoryName, fileName1); in saveFailureScreenshot()
424 BitmapUtils.saveBitmap(bitmap2, directoryName, fileName2); in saveFailureScreenshot()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java462 private Uri acquireAccess(File file, String directoryName) throws Exception { in acquireAccess() argument
473 final String documentId = rootId + ":" + directoryName; in acquireAccess()
482 assertToolbarTitleEquals(mTargetPackageName, directoryName); in acquireAccess()