Searched refs:file1 (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 144 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/tests/media/misc/src/android/media/misc/cts/ |
D | MediaScannerTest.java | 321 String file1 = dir1 + "/test.mp3"; in testWildcardPaths() local 325 writeFile("testmp3.mp3", file1); in testWildcardPaths() 326 mMediaScannerConnection.scanFile(file1, MEDIA_TYPE); in testWildcardPaths() 368 new File(file1).delete(); in testWildcardPaths()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 388 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/ |
D | StorageManagerTest.java | 210 private void doMountAndUnmountTwoObbs(File file1, File file2) throws IOException { in doMountAndUnmountTwoObbs() argument 211 ObbObserver oo1 = mountObbWithoutWait(R.raw.test1_new, file1); in doMountAndUnmountTwoObbs() 215 waitForObbActionCompletion(file1, oo1, OnObbStateChangeListener.MOUNTED); in doMountAndUnmountTwoObbs() 234 unmountObb(file1, OnObbStateChangeListener.UNMOUNTED); in doMountAndUnmountTwoObbs()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorTest.java | 460 final ParcelFileDescriptor file1 = ParcelFileDescriptor.open( in testFileWrapped() local 463 final ParcelFileDescriptor file2 = ParcelFileDescriptor.wrap(file1, handler2, listener2); in testFileWrapped()
|
/cts/tests/wearable/src/android/wearable/cts/ |
D | WearableSensingManagerIsolatedServiceTest.java | 1027 File file1 = new File(mTestDirectory, filename1); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles() local 1028 writeFile(file1.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideConnection_canReadMultipleFiles() 1052 File file1 = new File(mTestDirectory, filename1); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles() local 1053 writeFile(file1.getAbsolutePath(), FILE_CONTENT_1); in openFileInputFromWss_afterProvideDataStream_canReadMultipleFiles()
|
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/ |
D | ScopedStorageDeviceTest.java | 457 final File file1 = new File(nonexistentPackageFileDir, NONMEDIA_FILE_NAME); in testCreateFileInOtherAppExternalDir() local 460 file1.createNewFile(); in testCreateFileInOtherAppExternalDir() 471 file1.createNewFile(); in testCreateFileInOtherAppExternalDir() 2632 final File file1 = new File(dirSpecialChars, NONMEDIA_FILE_NAME); in testRenameWithSpecialChars() local 2645 assertTrue(file1.createNewFile()); in testRenameWithSpecialChars() 2652 new File[] {file1, fileSpecialChars1}, new File[] {file2, fileSpecialChars2}); in testRenameWithSpecialChars() 2654 file1.delete(); in testRenameWithSpecialChars()
|