Home
last modified time | relevance | path

Searched refs:getPath (Results 1 – 25 of 73) sorted by relevance

123

/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java98 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/
DVMHostTest.java71 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/
DRm.java27 new Command("rm", "-f", file.getPath()).execute(); in file()
31 new Command("rm", "-rf", directory.getPath()).execute(); in directoryTree()
DMkdir.java27 new Command("mkdir", "-p", directory.getPath()).execute(); in mkdirs()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechServiceTest.java60 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()
DTextToSpeechTest.java125 sampleFile.getPath()); in testSynthesizeToFile()
131 TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testSynthesizeToFile()
/cts/tests/tests/gesture/src/android/gesture/cts/
DGestureStrokeTest.java45 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/
DBuildStep.java41 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/
DReadableFileReceiverActivity.java70 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()
DImageCaptureActivity.java97 return new File(filePath.getPath()); in getFileFromIntent()
DIntentFilterTest.java599 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/
DStatFsTest.java27 StatFs stat = new StatFs(path.getPath()); in testStatFs()
44 stat.restat(path.getPath()); in testStatFs()
DFileObserverTest.java123 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()
DPatternMatcherTest.java68 assertEquals(expected1, mPatternMatcher.getPath()); in testGetPath()
73 assertEquals(expected2, mPatternMatcher.getPath()); in testGetPath()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java71 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 …]
DSQLiteFtsTest.java52 final String path = mDatabase.getPath(); in tearDown()
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java58 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()
DUri_BuilderTest.java30 assertEquals("/p1/p2", uri.getPath()); in testBuilderOperations()
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsPduProvider.java71 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile()
/cts/tools/dasm/src/dasm/
DMain.java159 + 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/
DImageSwitcherTest.java102 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/
DByodIconSamplerActivity.java65 String fileName = Environment.getExternalStorageDirectory().getPath() + "/badged_icon.png"; in sampleImage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java217 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/
DReportExporter.java89 return mContext.getString(R.string.report_saved, reportFile.getPath()); in doInBackground()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java129 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()

123