/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 98 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountNonObb() 101 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountNonObb() 117 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountObbWrongPackage() 120 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountObbWrongPackage() 142 final String mountPath1 = checkMountedPath(oo1.getPath()); in doMountAndUnmountTwoObbs() 149 final String mountPath2 = checkMountedPath(oo2.getPath()); in doMountAndUnmountTwoObbs() 193 public String getPath() { in getPath() method in StorageManagerTest.ObbObserver 244 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile() 247 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile() 255 assertTrue("mountObb call on " + file.getPath() + " should succeed", in mountObb() [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | VMHostTest.java | 71 CLog.d("Creating host temp dir %s", localTmpDir.getPath()); in installVmPrereqs() 74 CLog.e("Missing jar file %s", jarFile.getPath()); in installVmPrereqs() 78 jarFile.getPath(), localTmpDir.getPath()); in installVmPrereqs() 83 localTestTmpDir.getPath(), VM_TEST_TEMP_DIR); in installVmPrereqs() 88 CLog.d("Cleaning up host temp dir %s", localTmpDir.getPath()); in installVmPrereqs()
|
/cts/libs/vogar-expect/src/vogar/commands/ |
D | Rm.java | 27 new Command("rm", "-f", file.getPath()).execute(); in file() 31 new Command("rm", "-rf", directory.getPath()).execute(); in directoryTree()
|
D | Mkdir.java | 27 new Command("mkdir", "-p", directory.getPath()).execute(); in mkdirs()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechServiceTest.java | 60 int result = getTts().synthesizeToFile(UTTERANCE, createParams(), sampleFile.getPath()); in testSynthesizeToFile() 66 TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testSynthesizeToFile() 106 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testMediaPlayerFails() 110 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testMediaPlayerFails()
|
D | TextToSpeechTest.java | 125 sampleFile.getPath()); in testSynthesizeToFile() 131 TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testSynthesizeToFile()
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureStrokeTest.java | 45 assertNull(emptyStroke.getPath()); in testGetPath_empty() 53 Path emptyPath = emptyStroke.getPath(); in testGetPath_singlePoint() 63 Path linePath = lineStroke.getPath(); in testGetPath_line()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildStep.java | 41 String getPath() { in getPath() method in BuildStep.BuildFile 121 ? (o.inputFile != null ? inputFile.getPath().compareTo( in compareTo() 122 o.inputFile.getPath()) : 1) : -1)); in compareTo()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ReadableFileReceiverActivity.java | 70 Log.e(TAG, "File contents of " + file.getPath() in readFilesFromClipDataUri() 98 result.add(new File(filePath.getPath())); in getFilesFromIntent() 114 Log.e(TAG, "Error while reading file " + file.getPath() + "."); in testFileContents()
|
D | ImageCaptureActivity.java | 97 return new File(filePath.getPath()); in getFileFromIntent()
|
D | IntentFilterTest.java | 599 assertEquals(DATA_PATH, intentFilter.getDataPath(0).getPath()); in testWriteToXml() 663 assertEquals("test", mIntentFilter.getDataPath(0).getPath()); in testReadFromXml() 664 assertEquals("test", mIntentFilter.getDataPath(1).getPath()); in testReadFromXml() 665 assertEquals("test", mIntentFilter.getDataPath(2).getPath()); in testReadFromXml() 678 assertEquals(DATA_PATH + i, actual.getPath()); in testDataPaths() 681 assertEquals(p.getPath(), mIntentFilter.getDataPath(i).getPath()); in testDataPaths() 698 assertEquals(DATA_PATH + i, actual.getPath()); in testDataPaths() 701 assertEquals(p.getPath(), mIntentFilter.getDataPath(i).getPath()); in testDataPaths() 717 assertEquals(DATA_PATH + i, actual.getPath()); in testDataPaths() 721 assertEquals(p.getPath(), mIntentFilter.getDataPath(i).getPath()); in testDataPaths() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StatFsTest.java | 27 StatFs stat = new StatFs(path.getPath()); in testStatFs() 44 stat.restat(path.getPath()); in testStatFs()
|
D | FileObserverTest.java | 123 fileObserver = new MockFileObserver(mTestDir.getPath()); in testFileObserver() 147 MockFileObserver movedFrom = new MockFileObserver(dir.getPath()); in testFileObserver() 148 MockFileObserver movedTo = new MockFileObserver(mTestDir.getPath()); in testFileObserver() 149 fileObserver = new MockFileObserver(mTestFile.getPath()); in testFileObserver()
|
D | PatternMatcherTest.java | 68 assertEquals(expected1, mPatternMatcher.getPath()); in testGetPath() 73 assertEquals(expected2, mPatternMatcher.getPath()); in testGetPath()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteDatabaseTest.java | 71 mDatabaseFilePath = getContext().getDatabasePath(DATABASE_FILE_NAME).getPath(); in setUp() 106 db = SQLiteDatabase.openOrCreateDatabase(dbFile.getPath(), factory); in testOpenDatabase() 124 File journalFile = new File(dbFile.getPath() + "-journal"); in testDeleteDatabase() 125 File shmFile = new File(dbFile.getPath() + "-shm"); in testDeleteDatabase() 126 File walFile = new File(dbFile.getPath() + "-wal"); in testDeleteDatabase() 127 File mjFile1 = new File(dbFile.getPath() + "-mj00000000"); in testDeleteDatabase() 128 File mjFile2 = new File(dbFile.getPath() + "-mj00000001"); in testDeleteDatabase() 129 File innocentFile = new File(dbFile.getPath() + "-innocent"); in testDeleteDatabase() 309 database = SQLiteDatabase.openOrCreateDatabase(databaseFile.getPath(), null); in testAccessPageSize() 528 assertEquals(mDatabaseFilePath, mDatabase.getPath()); in testGetPath() [all …]
|
D | SQLiteFtsTest.java | 52 final String path = mDatabase.getPath(); in tearDown()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | UriTest.java | 58 assertNull(u.getPath()); in testBuildUpon() 86 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri() 231 assertEquals("/a/b/c", withC.getPath()); in testPathOperations() 270 assertNull(uri.getPath()); in testOpaqueUri() 388 assertEquals(path, uri.getPath()); in compareHierarchical()
|
D | Uri_BuilderTest.java | 30 assertEquals("/p1/p2", uri.getPath()); in testBuilderOperations()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | MmsPduProvider.java | 71 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile()
|
/cts/tools/dasm/src/dasm/ |
D | Main.java | 159 + e.getMessage() + " while writing " + out_file.getPath()); in assemble() 173 System.out.println("Generated: " + out_file.getPath()); in assemble()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageSwitcherTest.java | 102 Uri uri = Uri.parse(imagefile.getPath()); in testSetImageURI() 114 uri = Uri.parse(imagefile.getPath()); in testSetImageURI()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodIconSamplerActivity.java | 65 String fileName = Environment.getExternalStorageDirectory().getPath() + "/badged_icon.png"; in sampleImage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
D | SuidFilesActivity.java | 217 if (FileUtils.getFileStatus(pathname.getPath(), status, true)) { in accept() 233 if (FileUtils.getFileStatus(pathname.getPath(), status, true)) { in accept()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ReportExporter.java | 89 return mContext.getString(R.string.report_saved, reportFile.getPath()); in doInBackground()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 129 mediaFile = new File(mediaStorageDir.getPath() + File.separator + in getOutputMediaFile() 132 mediaFile = new File(mediaStorageDir.getPath() + File.separator + in getOutputMediaFile() 135 Log.v(TAG, "getOutputMediaFile: output file " + mediaFile.getPath()); in getOutputMediaFile() 404 mPlaybackView.setVideoPath(outputVideoFile.getPath()); in setUpCaptureButton()
|