Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java144 Doc file1 = buildDoc("doc:file1", "FILE1", "mime1/file1", null); in resetRoots() local
145 file1.contents = "fileone".getBytes(); in resetRoots()
146 file1.flags = Document.FLAG_SUPPORTS_WRITE; in resetRoots()
147 mLocalRoot.children.add(file1); in resetRoots()
148 mCreateRoot.children.add(file1); in resetRoots()
/cts/tests/wearable/src/android/wearable/cts/
DWearableSensingManagerIsolatedServiceTest.java431 File file1 = new File(mTestDirectory, filename1); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles() local
432 writeFile(file1.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles()
456 File file1 = new File(mTestDirectory, filename1); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles() local
457 writeFile(file1.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerTest.java323 String file1 = dir1 + "/test.mp3"; in testWildcardPaths() local
327 writeFile("testmp3.mp3", file1); in testWildcardPaths()
328 mMediaScannerConnection.scanFile(file1, MEDIA_TYPE); in testWildcardPaths()
370 new File(file1).delete(); in testWildcardPaths()
/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
207 ObbObserver oo1 = mountObbWithoutWait(R.raw.test1_new, file1); in doMountAndUnmountTwoObbs()
211 waitForObbActionCompletion(file1, oo1, OnObbStateChangeListener.MOUNTED); in doMountAndUnmountTwoObbs()
230 unmountObb(file1, OnObbStateChangeListener.UNMOUNTED); in doMountAndUnmountTwoObbs()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java455 final ParcelFileDescriptor file1 = ParcelFileDescriptor.open( in testFileWrapped() local
458 final ParcelFileDescriptor file2 = ParcelFileDescriptor.wrap(file1, handler2, listener2); in testFileWrapped()
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java455 final File file1 = new File(nonexistentPackageFileDir, NONMEDIA_FILE_NAME); in testCreateFileInOtherAppExternalDir() local
458 file1.createNewFile(); in testCreateFileInOtherAppExternalDir()
469 file1.createNewFile(); in testCreateFileInOtherAppExternalDir()
2586 final File file1 = new File(dirSpecialChars, NONMEDIA_FILE_NAME); in testRenameWithSpecialChars() local
2599 assertTrue(file1.createNewFile()); in testRenameWithSpecialChars()
2606 new File[] {file1, fileSpecialChars1}, new File[] {file2, fileSpecialChars2}); in testRenameWithSpecialChars()
2608 file1.delete(); in testRenameWithSpecialChars()