Home
last modified time | relevance | path

Searched refs:file2 (Results 1 – 8 of 8) sorted by relevance

/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DBundleValidationTest.java85 private File file2; field in BundleValidationTest
103 file2 = File.createTempFile("testReadOnly2", "bin"); in setUp()
105 file2.createNewFile(); in setUp()
158 ParcelFileDescriptor pfd2 = ParcelFileDescriptor.open(file2, in canSendReadOnlyPfds()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java152 Doc file2 = buildDoc("doc:file2", "FILE2", "mime2/file2", null); in resetRoots() local
153 file2.contents = "filetwo".getBytes(); in resetRoots()
154 file2.flags = Document.FLAG_SUPPORTS_WRITE; in resetRoots()
155 mLocalRoot.children.add(file2); in resetRoots()
156 mCreateRoot.children.add(file2); in resetRoots()
/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerIsolatedServiceTest.java434 File file2 = new File(mTestDirectory, filename2); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles() local
435 writeFile(file2.getAbsolutePath(), FILE_CONTENT_2); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles()
459 File file2 = new File(mTestDirectory, filename2); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles() local
460 writeFile(file2.getAbsolutePath(), FILE_CONTENT_2); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerTest.java325 String file2 = dir2 + "/test.mp3"; in testWildcardPaths() local
333 writeFile("testmp3.mp3", file2); in testWildcardPaths()
335 mMediaScannerConnection.scanFile(file2, MEDIA_TYPE); in testWildcardPaths()
372 new File(file2).delete(); in testWildcardPaths()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java458 final ParcelFileDescriptor file2 = ParcelFileDescriptor.wrap(file1, handler2, listener2); in testFileWrapped() local
460 write(file2, 7); in testFileWrapped()
461 file2.close(); in testFileWrapped()
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java388 public static void assertFileContent(File file1, File file2, ParcelFileDescriptor pfd1, in assertFileContent() argument
414 file1, file2, isSame, assertSame); in assertFileContent()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java206 private void doMountAndUnmountTwoObbs(File file1, File file2) throws IOException { in doMountAndUnmountTwoObbs() argument
208 ObbObserver oo2 = mountObbWithoutWait(R.raw.test1_new, file2); in doMountAndUnmountTwoObbs()
213 waitForObbActionCompletion(file2, oo2, OnObbStateChangeListener.MOUNTED); in doMountAndUnmountTwoObbs()
231 unmountObb(file2, OnObbStateChangeListener.UNMOUNTED); in doMountAndUnmountTwoObbs()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java466 final File file2 = new File(shellPackageFileDir, NONMEDIA_FILE_NAME); in testCreateFileInOtherAppExternalDir() local
2591 final File file2 = new File(renamedDir, NONMEDIA_FILE_NAME); in testRenameWithSpecialChars() local
2606 new File[] {file1, fileSpecialChars1}, new File[] {file2, fileSpecialChars2}); in testRenameWithSpecialChars()
2609 file2.delete(); in testRenameWithSpecialChars()