/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
H A D | SlicePermissionManagerTest.java | 56 File sliceDir = new File(mContext.getCacheDir(), "testGrantSlices"); in testGrant() 74 File sliceDir = new File(mContext.getCacheDir(), "testBackupSlices"); in testBackup() 118 File sliceDir = new File(mContext.getCacheDir(), "testInvalidSlices"); in testInvalid()
|
/aosp12/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/ |
H A D | FileDownloaderTest.java | 62 .get(mTargetContext.getCacheDir().getAbsolutePath(), "ota.zip") in download_downloadsChunkOfZip() 70 .get(mTargetContext.getCacheDir().getAbsolutePath(), "care_map.txt") in download_downloadsChunkOfZip()
|
H A D | PayloadSpecsTest.java | 69 mTestDir = mTargetContext.getCacheDir(); in setUp() 77 .get(mTargetContext.getCacheDir().getAbsolutePath(), "ota.zip") in forNonStreaming_works()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | ShareVCardActivity.java | 79 for (File file : getCacheDir().listFiles()) { in clearExportFiles() 91 return new File(getCacheDir(), localFilename); in getLocalFile()
|
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
H A D | TestUtils.java | 49 "}.zip", mTargetContext.getCacheDir()); in createTemporaryFile() 60 "}.zip", mTargetContext.getCacheDir()); in getSeekableDescriptor()
|
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/ |
H A D | ScriptC.java | 123 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalCreate() 132 String cachePath = rs.getApplicationContext().getCacheDir().toString(); in internalStringCreate()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/ |
H A D | ModuleLicenseProviderTest.java | 326 new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME).delete(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() 348 new File(context.getCacheDir(), PACKAGE_NAME).mkdir(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 349 File file = new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() 373 new File(context.getCacheDir(), PACKAGE_NAME).mkdir(); in isCachedHtmlFileOutdated_notOutdated_returnFalse() 374 File file = new File(context.getCacheDir() + "/" + PACKAGE_NAME, LICENSE_FILE_NAME); in isCachedHtmlFileOutdated_notOutdated_returnFalse()
|
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
H A D | ClusterContentProvider.java | 59 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile() 78 getContext().getCacheDir() + File.separator + uri.getLastPathSegment()); in openFile()
|
/aosp12/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
H A D | EditUserPhotoController.java | 366 new File(mContext.getCacheDir(), TAKE_PICTURE_FILE_NAME).delete(); in onPhotoCropped() 367 new File(mContext.getCacheDir(), CROP_PICTURE_FILE_NAME).delete(); in onPhotoCropped() 385 final File folder = context.getCacheDir(); in createTempImageUri() 399 File file = new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME); in saveNewUserPhotoBitmap() 416 new File(mContext.getCacheDir(), NEW_USER_PHOTO_FILE_NAME).delete(); in removeNewUserPhotoBitmapFile()
|
/aosp12/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | SettingsStateTest.java | 57 mSettingsFile = new File(getContext().getCacheDir(), "setting.xml"); in setUp() 134 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testReadWrite() 164 final File file = new File(getContext().getCacheDir(), "setting.xml"); in testUpgrade()
|
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | TestUtils.java | 67 final File path = new File(context.getCacheDir(), "test-db"); in getDatabaseFile() 111 final File toDir = new File(context.getCacheDir(), "snapshot-" + name); in createDatabaseSnapshot() 216 File file = File.createTempFile(prefix, suffix, context.getCacheDir()); in dumpToCacheDir()
|
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
H A D | DataExporter.java | 97 return new File(context.getCacheDir(), DUMP_FILE_DIRECTORY_NAME); in getOutputDirectory() 147 if (child.equals(context.getCacheDir())) { in addDirectory()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/ |
H A D | BaseTest.java | 26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
H A D | TempDirectory.java | 29 tempDirectory = context.getCacheDir(); in setTempDirectory()
|
/aosp12/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/ |
H A D | AndroidTestCase.java | 31 public File getCacheDir() { in getCacheDir() method in AndroidTestCase
|
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictDecoderEncoderTests.java | 243 getContext().getCacheDir()); in runReadAndWrite() 285 BinaryDictUtils.STATIC_OPTIONS, getContext().getCacheDir()); in testCharacterTableIsPresent() 436 getContext().getCacheDir()); 532 getContext().getCacheDir()); 612 getContext().getCacheDir()); 637 getContext().getCacheDir());
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | MockitoHelper.java | 35 String dexCache = context.getCacheDir().toString(); in setUp()
|
/aosp12/frameworks/rs/tests/lldb/jni/Allocations/src/com/android/rs/jniallocations/ |
H A D | MainActivity.java | 40 nativeRS(this.getCacheDir().toString()); in onCreate()
|
/aosp12/frameworks/rs/tests/lldb/jni/BranchingFunCalls/src/com/android/rs/jnibranchingfuncalls/ |
H A D | MainActivity.java | 40 nativeRS(this.getCacheDir().toString()); in onCreate()
|
/aosp12/frameworks/rs/tests/lldb/jni/DebugWaitAttach/src/com/android/rs/jniwaitattachdebug/ |
H A D | MainActivity.java | 40 nativeRS(this.getCacheDir().toString()); in onCreate()
|
/aosp12/frameworks/rs/tests/lldb/jni/InfiniteLoop/src/com/android/rs/jniinfiniteloop/ |
H A D | MainActivity.java | 40 nativeRS(this.getCacheDir().toString()); in onCreate()
|
/aosp12/frameworks/rs/tests/lldb/jni/KernelVariables/src/com/android/rs/jnikernelvariables/ |
H A D | MainActivity.java | 40 nativeRS(this.getCacheDir().toString()); in onCreate()
|
/aosp12/frameworks/rs/tests/lldb/jni/MultipleRSFiles/src/com/android/rs/jnimultiplersfiles/ |
H A D | MainActivity.java | 40 nativeRS(this.getCacheDir().toString()); in onCreate()
|
/aosp12/frameworks/rs/tests/lldb/jni/NoDebugWaitAttach/src/com/android/rs/jninodebugwaitattach/ |
H A D | MainActivity.java | 40 nativeRS(this.getCacheDir().toString()); in onCreate()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
H A D | ScreenMediaRecorder.java | 109 File cacheDir = mContext.getCacheDir(); in prepare() 172 mContext.getCacheDir()); in prepare() 313 mContext.getCacheDir()); in save()
|