Home
last modified time | relevance | path

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

12345

/cts/tests/tests/transition/src/android/transition/cts/
DArcMotionTest.java38 Path path = arcMotion.getPath(0, 100, 100, 0); in test90Quadrants()
42 path = arcMotion.getPath(100, 0, 0, -100); in test90Quadrants()
46 path = arcMotion.getPath(0, -100, -100, 0); in test90Quadrants()
50 path = arcMotion.getPath(-100, 0, 0, 100); in test90Quadrants()
63 path = arcMotion.getPath(0, 120, 160, 0); in test345Triangles()
67 path = arcMotion.getPath(0, 160, 120, 0); in test345Triangles()
71 path = arcMotion.getPath(-120, 0, 0, 160); in test345Triangles()
75 path = arcMotion.getPath(-160, 0, 0, 120); in test345Triangles()
79 path = arcMotion.getPath(0, -120, -160, 0); in test345Triangles()
83 path = arcMotion.getPath(0, -160, -120, 0); in test345Triangles()
[all …]
DPatternPathMotionTest.java45 assertPathMatches(expected, pathMotion.getPath(0, 0, 100, 100)); in testStraightPath()
59 assertPathMatches(expected, pathMotion.getPath(0, 0, 0, 100)); in testCurve()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteWalTest.java107 assertTrue((new File(db.getPath())).exists()); in prepareDatabase()
108 assertTrue((new File(db.getPath() + SHM_SUFFIX)).exists()); in prepareDatabase()
109 assertTrue((new File(db.getPath() + WAL_SUFFIX)).exists()); in prepareDatabase()
111 assertTrue((new File(db.getPath())).length() > 0); in prepareDatabase()
112 assertTrue((new File(db.getPath() + SHM_SUFFIX)).length() > 0); in prepareDatabase()
113 assertTrue((new File(db.getPath() + WAL_SUFFIX)).length() > 0); in prepareDatabase()
135 assertEquals(0, (new File(db.getPath() + WAL_SUFFIX)).length()); in testWalTruncate()
150 assertTrue((new File(db.getPath() + WAL_SUFFIX)).length() > 0); in testWalNoTruncate()
164 assertTrue((new File(db.getPath() + WAL_SUFFIX)).length() > 0); in testWalTruncateDisabled()
175 backupFile(db.getPath()); in doOperation()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java91 String file2RelativePath = CtsDownloadService.FILE_INFO_2.getUri().getPath().substring( in testFileInSubdirectoryDownloadFlow()
92 CtsDownloadService.SOURCE_URI_2.getPath().length()); in testFileInSubdirectoryDownloadFlow()
93 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + file2RelativePath, in testFileInSubdirectoryDownloadFlow()
94 fileUri.getPath().endsWith(file2RelativePath)); in testFileInSubdirectoryDownloadFlow()
124 String relativePath = fileInfo.getUri().getPath().substring( in testMultiFileDownloadFlow()
125 CtsDownloadService.SOURCE_URI_3.getPath().length()); in testMultiFileDownloadFlow()
126 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + relativePath, in testMultiFileDownloadFlow()
127 fileUri.getPath().endsWith(relativePath)); in testMultiFileDownloadFlow()
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechServiceTest.java63 UTTERANCE, createParams("mocktofile"), sampleFile.getPath()); in testSynthesizeToFile()
69 TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testSynthesizeToFile()
106 tts.synthesizeToFile(invalid, createParams("mockToFile"), sampleFile.getPath())); in testMaxSpeechInputLength()
108 tts.synthesizeToFile(valid, createParams("mockToFile"), sampleFile.getPath())); in testMaxSpeechInputLength()
171 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testMediaPlayerFails()
175 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testMediaPlayerFails()
/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/graphics/src/android/graphics/drawable/cts/
DIconTest.java92 verifyIconValidity(Icon.createWithFilePath(file.getPath())); in testFileIcon()
157 String filePath = file.toURI().getPath(); in testFileIcon_getType()
159 Icon icon = Icon.createWithFilePath(file.getPath()); in testFileIcon_getType()
161 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType()
165 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType()
169 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType()
/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/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java128 Environment.DIRECTORY_DOWNLOADS), "file1.txt").getPath(), in testAddCompletedDownload_publicDirs()
130 Environment.DIRECTORY_DOCUMENTS), "file2.txt").getPath(), in testAddCompletedDownload_publicDirs()
174 assertSuccessfulDownload(downloadId, new File(downloadLocation.getPath())); in testDownloadManager_mediaStoreEntry()
204 Environment.DIRECTORY_DOWNLOADS), "file1.mp3").getPath(), in testAddCompletedDownload_mediaStoreEntry()
206 Environment.DIRECTORY_MUSIC), "file2.mp3").getPath(), in testAddCompletedDownload_mediaStoreEntry()
211 final File file = new File(Uri.parse(downloadLocation).getPath()); in testAddCompletedDownload_mediaStoreEntry()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildStep.java45 String getPath() { in getPath() method in BuildStep.BuildFile
125 return (outputFile == o.outputFile ? 0 : outputFile.getPath().compareTo( in compareTo()
126 o.outputFile.getPath())); in compareTo()
/cts/tests/tests/jni_vendor/src/android/jni/vendor/cts/
DVendorJniTest.java39 llndkLibraries = Files.readAllLines(FileSystems.getDefault().getPath( in setUp()
41 publicLibraries = Files.readAllLines(FileSystems.getDefault().getPath( in setUp()
43 vndkspLibraries = Files.readAllLines(FileSystems.getDefault().getPath( in setUp()
/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()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java124 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountNonObb()
127 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountNonObb()
144 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountObbWrongPackage()
147 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountObbWrongPackage()
170 final String mountPath1 = checkMountedPath(oo1.getPath()); in doMountAndUnmountTwoObbs()
177 final String mountPath2 = checkMountedPath(oo2.getPath()); in doMountAndUnmountTwoObbs()
219 final String path = volume.getPath(); in testGetPrimaryVolume()
765 public String getPath() { in getPath() method in StorageManagerTest.ObbObserver
837 assertTrue("mountObb call on " + file.getPath() + " should succeed", in mountObb()
838 mStorageManager.mountObb(file.getPath(), null, observer)); in mountObb()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java59 assertNull(u.getPath()); in testBuildUpon()
93 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri()
124 assertEquals("/path", uri.getPath()); in testStringUri()
129 assertEquals("\\.example.com/path", uri.getPath()); in testStringUri()
136 assertEquals("/foo", uri.getPath()); in testStringUri()
145 assertEquals("/", uri.getPath()); in testStringUri()
155 assertEquals("/foo", uri.getPath()); in testStringUri()
321 assertEquals("/a/b/c", withC.getPath()); in testPathOperations()
360 assertNull(uri.getPath()); in testOpaqueUri()
478 assertEquals(path, uri.getPath()); in compareHierarchical()
/cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/
DDownloadManagerLegacyTest.java40 Environment.DIRECTORY_DOWNLOADS), "file1.txt").getPath(), in testAddCompletedDownload()
74 "text/plain", file.getPath(), fileContents.getBytes().length, true); in testAddCompletedDownload_invalidPublicDir()
89 Environment.DIRECTORY_DOWNLOADS), "file1.txt").getPath(), in testAddCompletedDownload_mediaStoreEntry()
/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()
DPatternMatcherTest.java68 assertEquals(expected1, mPatternMatcher.getPath()); in testGetPath()
73 assertEquals(expected2, mPatternMatcher.getPath()); in testGetPath()
/cts/hostsidetests/security/src/android/cts/security/
DFileSystemPermissionTest.java121 sepolicy.getPath())); in testDevHwRandomPermissions()
133 sepolicy.getPath())); in testDevHwRandomPermissions()
179 cmd.add(searchpolicy.getPath()); in execSearchPolicy()
181 cmd.add(libsepolwrap.getPath()); in execSearchPolicy()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceMetricsTest.java71 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_PATH, SUB_SLICE_URI.getPath())); in testLogOnTouch()
77 logMaker.addTaggedData(MetricsEvent.FIELD_SLICE_PATH, BASE_URI.getPath()); in getLogMaker()
DSliceProvider.java63 if (uri.getPath().equals("/")) { in onGetSliceDescendants()
75 switch (sliceUri.getPath()) { in onBindSlice()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java70 public String getPath() { in getPath() method in AdbRootDependentCompilationTest.ProfileLocation
168 doesFileExist(ProfileLocation.REF.getPath())); in testCompile_curProfile()
190 executePull(clientPath, copyOnHost.getPath()); in readFileOnClient()
211 String clientPath = profileLocation.getPath(); in compileWithProfilesAndCheckFilter()
262 String targetPath = location.getPath(); in writeProfile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DReportExporter.java62 storagePath = Environment.getExternalStorageDirectory().getPath(); in doInBackground()
88 return mContext.getString(R.string.report_saved, reportFile.getPath()); in doInBackground()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DGestureUtils.java66 float[] p = stroke.getPath().approximate(0.3f); in lastPointOf()
104 prototype.getPath(), timeMs, prototype.getDuration(), prototype.willContinue()); in startingAt()
/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()

12345