Searched refs:file2 (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 152 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/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorTest.java | 352 final ParcelFileDescriptor file2 = ParcelFileDescriptor.wrap(file1, handler2, listener2); in testFileWrapped() local 354 write(file2, 7); in testFileWrapped() 355 file2.close(); in testFileWrapped()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerTest.java | 321 String file2 = dir2 + "/test.mp3"; in testWildcardPaths() local 329 writeFile("testmp3.mp3", file2); in testWildcardPaths() 331 mMediaScannerConnection.scanFile(file2, MEDIA_TYPE); in testWildcardPaths() 368 new File(file2).delete(); in testWildcardPaths()
|
D | MediaMuxerTest.java | 289 RandomAccessFile file2 = null; in SKIP_testIllegalStateExceptions() local 291 file2 = new RandomAccessFile(outputFilePath, "r"); in SKIP_testIllegalStateExceptions() 292 muxer = new MediaMuxer(file2.getFD(), MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in SKIP_testIllegalStateExceptions() 297 file2.close(); in SKIP_testIllegalStateExceptions()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 173 private void doMountAndUnmountTwoObbs(File file1, File file2) throws IOException { in doMountAndUnmountTwoObbs() argument 175 ObbObserver oo2 = mountObbWithoutWait(R.raw.test1_new, file2); in doMountAndUnmountTwoObbs() 180 waitForObbActionCompletion(file2, oo2, OnObbStateChangeListener.MOUNTED); in doMountAndUnmountTwoObbs() 198 unmountObb(file2, OnObbStateChangeListener.UNMOUNTED); in doMountAndUnmountTwoObbs()
|
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTestUtils.java | 400 public static void assertFileContent(File file1, File file2, ParcelFileDescriptor pfd1, in assertFileContent() argument 426 file1, file2, isSame, assertSame); in assertFileContent()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | ScopedStorageDeviceTest.java | 445 final File file2 = new File(shellPackageFileDir, NONMEDIA_FILE_NAME); in testCreateFileInOtherAppExternalDir() local 2397 final File file2 = new File(renamedDir, NONMEDIA_FILE_NAME); in testRenameWithSpecialChars() local 2412 new File[] {file1, fileSpecialChars1}, new File[] {file2, fileSpecialChars2}); in testRenameWithSpecialChars() 2415 file2.delete(); in testRenameWithSpecialChars()
|