/cts/tests/tests/transition/src/android/transition/cts/ |
D | ArcMotionTest.java | 37 Path path = arcMotion.getPath(0, 100, 100, 0); in test90Quadrants() 41 path = arcMotion.getPath(100, 0, 0, -100); in test90Quadrants() 45 path = arcMotion.getPath(0, -100, -100, 0); in test90Quadrants() 49 path = arcMotion.getPath(-100, 0, 0, 100); in test90Quadrants() 62 path = arcMotion.getPath(0, 120, 160, 0); in test345Triangles() 66 path = arcMotion.getPath(0, 160, 120, 0); in test345Triangles() 70 path = arcMotion.getPath(-120, 0, 0, 160); in test345Triangles() 74 path = arcMotion.getPath(-160, 0, 0, 120); in test345Triangles() 78 path = arcMotion.getPath(0, -120, -160, 0); in test345Triangles() 82 path = arcMotion.getPath(0, -160, -120, 0); in test345Triangles() [all …]
|
D | PatternPathMotionTest.java | 44 assertPathMatches(expected, pathMotion.getPath(0, 0, 100, 100)); in testStraightPath() 58 assertPathMatches(expected, pathMotion.getPath(0, 0, 0, 100)); in testCurve()
|
/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/telephony/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 81 String file2RelativePath = CtsDownloadService.FILE_INFO_2.getUri().getPath().substring( in testFileInSubdirectoryDownloadFlow() 82 CtsDownloadService.SOURCE_URI_2.getPath().length()); in testFileInSubdirectoryDownloadFlow() 83 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + file2RelativePath, in testFileInSubdirectoryDownloadFlow() 84 fileUri.getPath().endsWith(file2RelativePath)); in testFileInSubdirectoryDownloadFlow() 113 String relativePath = fileInfo.getUri().getPath().substring( in testMultiFileDownloadFlow() 114 CtsDownloadService.SOURCE_URI_3.getPath().length()); in testMultiFileDownloadFlow() 115 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + relativePath, in testMultiFileDownloadFlow() 116 fileUri.getPath().endsWith(relativePath)); in testMultiFileDownloadFlow()
|
/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/tests/tests/jni_vendor/src/android/jni/vendor/cts/ |
D | VendorJniTest.java | 39 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/tools/vm-tests-tf/src/util/build/ |
D | BuildStep.java | 45 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/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 91 verifyIconValidity(Icon.createWithFilePath(file.getPath())); in testFileIcon() 156 String filePath = file.toURI().getPath(); in testFileIcon_getType() 158 Icon icon = Icon.createWithFilePath(file.getPath()); in testFileIcon_getType() 160 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 164 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType() 168 assertEquals(filePath, icon.getUri().getPath()); in testFileIcon_getType()
|
/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()
|
/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 | 147 fileObserver = new MockFileObserver(testDir.getPath()); in helpTestFileObserver() 172 MockFileObserver movedFrom = new MockFileObserver(dir.getPath()); in helpTestFileObserver() 173 MockFileObserver movedTo = new MockFileObserver(testDir.getPath()); in helpTestFileObserver() 174 fileObserver = new MockFileObserver(testFile.getPath()); in helpTestFileObserver()
|
D | PatternMatcherTest.java | 68 assertEquals(expected1, mPatternMatcher.getPath()); in testGetPath() 73 assertEquals(expected2, mPatternMatcher.getPath()); in testGetPath()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechServiceTest.java | 63 UTTERANCE, createParams("mocktofile"), sampleFile.getPath()); in testSynthesizeToFile() 69 TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testSynthesizeToFile() 145 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testMediaPlayerFails() 149 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); in testMediaPlayerFails()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 118 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountNonObb() 121 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountNonObb() 137 mStorageManager.isObbMounted(outFile.getPath())); in doAttemptMountObbWrongPackage() 140 mStorageManager.getMountedObbPath(outFile.getPath())); in doAttemptMountObbWrongPackage() 162 final String mountPath1 = checkMountedPath(oo1.getPath()); in doMountAndUnmountTwoObbs() 169 final String mountPath2 = checkMountedPath(oo2.getPath()); in doMountAndUnmountTwoObbs() 211 final String path = volume.getPath(); in testGetPrimaryVolume() 734 public String getPath() { in getPath() method in StorageManagerTest.ObbObserver 806 assertTrue("mountObb call on " + file.getPath() + " should succeed", in mountObb() 807 mStorageManager.mountObb(file.getPath(), null, observer)); in mountObb() [all …]
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceMetricsTest.java | 70 .addTaggedData(MetricsEvent.FIELD_SUBSLICE_PATH, SUB_SLICE_URI.getPath())); in testLogOnTouch() 76 logMaker.addTaggedData(MetricsEvent.FIELD_SLICE_PATH, BASE_URI.getPath()); in getLogMaker()
|
D | SliceProvider.java | 63 if (uri.getPath().equals("/")) { in onGetSliceDescendants() 75 switch (sliceUri.getPath()) { in onBindSlice()
|
/cts/hostsidetests/security/src/android/cts/security/ |
D | FileSystemPermissionTest.java | 121 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/net/src/android/net/cts/ |
D | UriTest.java | 58 assertNull(u.getPath()); in testBuildUpon() 86 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri() 117 assertEquals("/path", uri.getPath()); in testStringUri() 122 assertEquals("\\.example.com/path", uri.getPath()); in testStringUri() 242 assertEquals("/a/b/c", withC.getPath()); in testPathOperations() 281 assertNull(uri.getPath()); in testOpaqueUri() 399 assertEquals(path, uri.getPath()); in compareHierarchical()
|
D | Uri_BuilderTest.java | 30 assertEquals("/p1/p2", uri.getPath()); in testBuilderOperations()
|
/cts/hostsidetests/compilation/src/android/cts/compilation/ |
D | AdbRootDependentCompilationTest.java | 69 public String getPath() { in getPath() method in AdbRootDependentCompilationTest.ProfileLocation 162 doesFileExist(ProfileLocation.REF.getPath())); in testCompile_curProfile() 184 executePull(clientPath, copyOnHost.getPath()); in readFileOnClient() 205 String clientPath = profileLocation.getPath(); in compileWithProfilesAndCheckFilter() 256 String targetPath = location.getPath(); in writeProfile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | ReportExporter.java | 62 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/ |
D | GestureUtils.java | 66 float[] p = stroke.getPath().approximate(0.3f); in lastPointOf() 104 prototype.getPath(), timeMs, prototype.getDuration(), prototype.willContinue()); in startingAt()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | MmsPduProvider.java | 71 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | MmsPduProvider.java | 71 File file = new File(getContext().getCacheDir(), uri.getPath()); in openFile()
|