Home
last modified time | relevance | path

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

/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/mediaprovider/src/android/provider/cts/media/
DMediaStoreAudioTestHelper.java104 public static final String FILE_NAME = "Jam.mp3"; field in MediaStoreAudioTestHelper.Audio1
105 public static final String DISPLAY_NAME = FILE_NAME;
115 data = new File("/data/data/android.provider.cts/files/", FILE_NAME); in getContentValues()
117 data = new File(MediaProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()
167 public static final String FILE_NAME = "Jam_live.mp3"; field in MediaStoreAudioTestHelper.Audio2
168 public static final String DISPLAY_NAME = FILE_NAME;
177 data = new File("/data/data/android.provider.cts/files/", FILE_NAME); in getContentValues()
179 data = new File(MediaProviderTestUtils.stageDir(volumeName), FILE_NAME); in getContentValues()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java43 private static final String FILE_NAME = "testAssertFileDescriptorAutoCloseOutputStream"; field in AssetFileDescriptor_AutoCloseOutputStreamTest
61 getContext().deleteFile(FILE_NAME); in tearDown()
70 File file = new File(getContext().getFilesDir(), FILE_NAME); in testAutoCloseOutputStream()
DAssetFileDescriptorTest.java57 private static final String FILE_NAME = "testAssetFileDescriptor"; field in AssetFileDescriptorTest
69 mFile = new File(getContext().getFilesDir(), FILE_NAME); in setUp()
87 getContext().deleteFile(FILE_NAME); in tearDown()
DAssetFileDescriptor_AutoCloseInputStreamTest.java62 private static final String FILE_NAME = "testAssertFileDescriptorAutoCloseInputStream"; field in AssetFileDescriptor_AutoCloseInputStreamTest
75 mFile = new File(getContext().getFilesDir(), FILE_NAME); in setUp()
226 mFile = new File(getContext().getFilesDir(), FILE_NAME); in testReadLargeBytes()
/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.java43 static final String FILE_NAME = "test_file"; field in PermissionTestService
147 File f = getApplication().getFileStreamPath(FILE_NAME); in testFileReadAccess()
/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.java36 private static final String FILE_NAME = "testFile.txt"; field in ImageCaptureUriExtraToClipDataTest
59 mTestFile = new File(getContext().getFilesDir() + File.separator + FILE_NAME); in setUp()
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/
DProcessor.java132 private static final String FILE_NAME = "TestApisReflection"; field in Processor
164 FileSpec.Builder reflectionFileBuilder = FileSpec.builder(PACKAGE_NAME, FILE_NAME); in process()
/cts/tests/tests/libcorefileio/src/android/cts/
DFileChannelInterProcessLockTest.java50 final static String FILE_NAME = "file"; field in FileChannelInterProcessLockTest
712 return new File(dir, FILE_NAME);