Home
last modified time | relevance | path

Searched refs:TEST_FILE_NAME (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/packagemanager/deletekeepdata/app/src/com/android/tests/deletekeepdata/app/
DDeleteKeepDataDeviceTest.java46 private static final String TEST_FILE_NAME = "my_test_file"; field in DeleteKeepDataDeviceTest
54 mContext.openFileOutput(TEST_FILE_NAME, MODE_PRIVATE))) { in testWriteData()
57 final File internalFile = new File(mContext.getFilesDir(), TEST_FILE_NAME); in testWriteData()
66 final File externalFile = new File(mContext.getExternalFilesDir(null), TEST_FILE_NAME); in testWriteData()
91 try (InputStream is = mContext.openFileInput(TEST_FILE_NAME)) { in readDataUserFile()
107 new File(mContext.getExternalFilesDir(null), TEST_FILE_NAME))) { in readExternalDataFile() argument
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DCtsIntelligenceService.java21 import static android.ondeviceintelligence.cts.OnDeviceIntelligenceManagerTest.TEST_FILE_NAME;
100 File testFile = new File(getFilesDir(), TEST_FILE_NAME); in onInferenceServiceConnected()
101 File testFile2 = new File(TEST_FILE_NAME); in onInferenceServiceConnected()
136 File testFile = new File(getFilesDir(), TEST_FILE_NAME); in createAndPopulateTestFile()
DCtsIsolatedInferenceService.java22 import static android.ondeviceintelligence.cts.OnDeviceIntelligenceManagerTest.TEST_FILE_NAME;
193 getFilesDir().getPath() + "/" + TEST_FILE_NAME).get()); in processRequest()
205 bundle.putString(TEST_KEY, fetchFileContentFromPfd(TEST_FILE_NAME).get()); in processRequest()
336 OnDeviceIntelligenceManagerTest.TEST_FILE_NAME); in getFileContentFromFdMap()
357 FileInputStream fileInputStream = openFileInput(TEST_FILE_NAME);
DOnDeviceIntelligenceManagerTest.java101 public static final String TEST_FILE_NAME = "test_file.txt"; field in OnDeviceIntelligenceManagerTest
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java60 private static final String TEST_FILE_NAME = "red_velvet_cupcake.png"; field in CallComposerTest
95 Files.deleteIfExists(mContext.getFilesDir().toPath().resolve(TEST_FILE_NAME)); in tearDown()
103 Path testFile = mContext.getFilesDir().toPath().resolve(TEST_FILE_NAME); in testUploadPictureWithFile()
132 Path testFile = mContext.getFilesDir().toPath().resolve(TEST_FILE_NAME); in testExcessivelyLargePictureAsFile()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java80 private static final String TEST_FILE_NAME = "testFile.tmp"; field in ContentProviderTest
91 sContext.deleteFile(TEST_FILE_NAME); in tearDown()
239 sContext.openFileOutput(TEST_FILE_NAME, Context.MODE_PRIVATE).close(); in testOpenFileHelper()
240 File file = sContext.getFileStreamPath(TEST_FILE_NAME); in testOpenFileHelper()
284 sContext.openFileOutput(TEST_FILE_NAME, Context.MODE_PRIVATE).close(); in testOpenPipeHelper()
285 File file = sContext.getFileStreamPath(TEST_FILE_NAME); in testOpenPipeHelper()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java103 private static final String TEST_FILE_NAME = "CtsVerifierTest_testfile.txt"; field in MtpHostTestActivity
318 if (TEST_FILE_NAME.equals(info.getName())) {
325 .setName(TEST_FILE_NAME)