Home
last modified time | relevance | path

Searched refs:getCacheDir (Results 1 – 25 of 171) sorted by relevance

1234567

/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
H A DSlicePermissionManagerTest.java56 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 DFileDownloaderTest.java62 .get(mTargetContext.getCacheDir().getAbsolutePath(), "ota.zip") in download_downloadsChunkOfZip()
70 .get(mTargetContext.getCacheDir().getAbsolutePath(), "care_map.txt") in download_downloadsChunkOfZip()
H A DPayloadSpecsTest.java69 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 DShareVCardActivity.java79 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 DTestUtils.java49 "}.zip", mTargetContext.getCacheDir()); in createTemporaryFile()
60 "}.zip", mTargetContext.getCacheDir()); in getSeekableDescriptor()
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/
H A DScriptC.java123 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 DModuleLicenseProviderTest.java326 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 DClusterContentProvider.java59 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 DEditUserPhotoController.java366 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 DSettingsStateTest.java57 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 DTestUtils.java67 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 DDataExporter.java97 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 DBaseTest.java26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath()); in setUp()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DTempDirectory.java29 tempDirectory = context.getCacheDir(); in setTempDirectory()
/aosp12/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/
H A DAndroidTestCase.java31 public File getCacheDir() { in getCacheDir() method in AndroidTestCase
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictDecoderEncoderTests.java243 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 DMockitoHelper.java35 String dexCache = context.getCacheDir().toString(); in setUp()
/aosp12/frameworks/rs/tests/lldb/jni/Allocations/src/com/android/rs/jniallocations/
H A DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/aosp12/frameworks/rs/tests/lldb/jni/BranchingFunCalls/src/com/android/rs/jnibranchingfuncalls/
H A DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/aosp12/frameworks/rs/tests/lldb/jni/DebugWaitAttach/src/com/android/rs/jniwaitattachdebug/
H A DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/aosp12/frameworks/rs/tests/lldb/jni/InfiniteLoop/src/com/android/rs/jniinfiniteloop/
H A DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/aosp12/frameworks/rs/tests/lldb/jni/KernelVariables/src/com/android/rs/jnikernelvariables/
H A DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/aosp12/frameworks/rs/tests/lldb/jni/MultipleRSFiles/src/com/android/rs/jnimultiplersfiles/
H A DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/aosp12/frameworks/rs/tests/lldb/jni/NoDebugWaitAttach/src/com/android/rs/jninodebugwaitattach/
H A DMainActivity.java40 nativeRS(this.getCacheDir().toString()); in onCreate()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DScreenMediaRecorder.java109 File cacheDir = mContext.getCacheDir(); in prepare()
172 mContext.getCacheDir()); in prepare()
313 mContext.getCacheDir()); in save()

1234567