Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreAudioTestHelper.java105 public static final String FILE_NAME = "Jam.mp3"; field in MediaStoreAudioTestHelper.Audio1
106 public static final String DISPLAY_NAME = FILE_NAME;
116 data = new File("/data/data/android.provider.cts/files/", FILE_NAME); in getContentValues()
118 data = new File(ProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()
169 public static final String FILE_NAME = "Jam_live.mp3"; field in MediaStoreAudioTestHelper.Audio2
170 public static final String DISPLAY_NAME = FILE_NAME;
179 data = new File("/data/data/android.provider.cts/files/", FILE_NAME); in getContentValues()
181 data = new File(ProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0409/
Dpoc.cpp20 #define FILE_NAME "test" macro
27 fm.create(FILE_NAME, tf.fd, FILE_OFFSET, FILE_LENGTH, true); in main()
/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/hostsidetests/userspacereboot/testapps/BootCompletedTestApp/src/com/android/cts/userspacereboot/bootcompleted/
DBootCompletedUserspaceRebootTest.java49 private static final String FILE_NAME = "secret.txt"; field in BootCompletedUserspaceRebootTest
67 mCeContext.openFileOutput(FILE_NAME, Context.MODE_PRIVATE))) { in prepareFile()
79 try (Scanner scanner = new Scanner(mCeContext.openFileInput(FILE_NAME))) { in testVerifyCeStorageUnlocked()
/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/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/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/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/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.java45 final static String FILE_NAME = "file"; field in FileChannelInterProcessLockTest
708 return new File(dir, FILE_NAME);