Home
last modified time | relevance | path

Searched refs:FILE_NAME (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java100 public static final String FILE_NAME = "Jam.mp3"; field in MediaStoreAudioTestHelper.Audio1
101 public static final String DISPLAY_NAME = FILE_NAME;
111 data = new File("/data/data/android.provider.cts/files/", FILE_NAME); in getContentValues()
113 data = new File(ProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()
163 public static final String FILE_NAME = "Jam_live.mp3"; field in MediaStoreAudioTestHelper.Audio2
164 public static final String DISPLAY_NAME = FILE_NAME;
173 data = new File("/data/data/android.provider.cts/files/", FILE_NAME); in getContentValues()
175 data = new File(ProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java28 private static final String FILE_NAME = "testAssertFileDescriptorAutoCloseOutputStream"; field in AssetFileDescriptor_AutoCloseOutputStreamTest
47 getContext().deleteFile(FILE_NAME); in tearDown()
55 File file = new File(getContext().getFilesDir(), FILE_NAME); in testAutoCloseOutputStream()
DAssetFileDescriptorTest.java36 private static final String FILE_NAME = "testAssetFileDescriptor"; field in AssetFileDescriptorTest
49 mFile = new File(getContext().getFilesDir(), FILE_NAME); in setUp()
68 getContext().deleteFile(FILE_NAME); in tearDown()
DAssetFileDescriptor_AutoCloseInputStreamTest.java31 private static final String FILE_NAME = "testAssertFileDescriptorAutoCloseInputStream"; field in AssetFileDescriptor_AutoCloseInputStreamTest
44 mFile = new File(getContext().getFilesDir(), FILE_NAME); in setUp()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DIsolatedServiceTest.java48 FileOutputStream fos = mActivity.openFileOutput(PermissionTestService.FILE_NAME, 0); in setUp()
57 File f = mActivity.getFileStreamPath(PermissionTestService.FILE_NAME); in tearDown()
DPermissionTestService.java42 static final String FILE_NAME = "test_file"; field in PermissionTestService
146 File f = getApplication().getFileStreamPath(FILE_NAME); in testFileReadAccess()
/cts/tests/backup/app/src/android/backup/app/
DMainActivity.java43 public static final String FILE_NAME = "file_name"; field in MainActivity
69 File f = new File(getFilesDir().getAbsolutePath(), FILE_NAME); in createFile()
DKeyValueBackupAgent.java48 File testFile = new File(getFilesDir(), MainActivity.FILE_NAME); in onBackup()
51 data.writeEntityHeader(MainActivity.FILE_NAME, (int) testFile.length()); in onBackup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java46 private static final String FILE_NAME = "test.txt"; field in SampleTestActivity
102 File file = new File(dir, FILE_NAME); in createFileAndShare()
/cts/tests/tests/content/src/android/content/cts/
DImageCaptureUriExtraToClipDataTest.java35 private static final String FILE_NAME = "testFile.txt"; field in ImageCaptureUriExtraToClipDataTest
58 mTestFile = new File(getContext().getFilesDir() + File.separator + FILE_NAME); in setUp()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostResultTest.java66 private static final String FILE_NAME = "CtsSampleHostTestCases.config"; field in SampleHostResultTest
113 final File testFile = mBuildHelper.getTestFile(FILE_NAME); in testTransferTime()
/cts/tests/tests/libcorefileio/src/android/cts/
DFileChannelInterProcessLockTest.java44 final static String FILE_NAME = "file"; field in FileChannelInterProcessLockTest
707 return new File(dir, FILE_NAME);