/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 45 Path path = new Path(); in testAddRect1() local 46 assertTrue(path.isEmpty()); in testAddRect1() 48 path.addRect(rect, Path.Direction.CW); in testAddRect1() 49 assertFalse(path.isEmpty()); in testAddRect1() 55 Path path = new Path(); in testAddRect2() local 56 assertTrue(path.isEmpty()); in testAddRect2() 57 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 58 assertFalse(path.isEmpty()); in testAddRect2() 63 Path path = new Path(); in testMoveTo() local 64 path.moveTo(10.0f, 10.0f); in testMoveTo() [all …]
|
D | DiscretePathEffectTest.java | 51 Path path = new Path(); in testDiscretePathEffect() local 52 path.moveTo(START_X, COORD_Y); in testDiscretePathEffect() 53 path.lineTo(END_X, COORD_Y); in testDiscretePathEffect() 59 canvas.drawPath(path, paint); in testDiscretePathEffect() 67 canvas.drawPath(path, paint); in testDiscretePathEffect() 72 canvas.drawPath(path, paint); in testDiscretePathEffect()
|
D | ComposePathEffectTest.java | 39 Path path = new Path(); in testComposePathEffect() local 40 path.moveTo(START_X, CENTER); in testComposePathEffect() 41 path.lineTo(END_X, CENTER); in testComposePathEffect() 57 canvas.drawPath(path, paint); in testComposePathEffect() 63 canvas.drawPath(path, paint); in testComposePathEffect()
|
D | SumPathEffectTest.java | 45 Path path = new Path(); in testSumPathEffect() local 46 path.addRect(10, 10, WIDTH - 10, HEIGHT - 10, Direction.CW); in testSumPathEffect() 55 canvas.drawPath(path, paint); in testSumPathEffect() 59 canvas.drawPath(path, paint); in testSumPathEffect() 64 canvas.drawPath(path, paint); in testSumPathEffect()
|
D | CornerPathEffectTest.java | 42 Path path = new Path(); in testCornerPathEffect() local 43 path.moveTo(0, PADDING); in testCornerPathEffect() 44 path.lineTo(BITMAP_WIDTH - PADDING, PADDING); in testCornerPathEffect() 45 path.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); in testCornerPathEffect() 59 canvas.drawPath(path, pathPaint); in testCornerPathEffect()
|
D | DashPathEffectTest.java | 48 Path path = new Path(); in testDashPathEffect() local 49 path.moveTo(START_X, COORD_Y); in testDashPathEffect() 50 path.lineTo(END_X, COORD_Y); in testDashPathEffect() 59 canvas.drawPath(path, paint); in testDashPathEffect()
|
D | EmbossMaskFilterTest.java | 49 Path path = new Path(); in testEmbossMaskFilter() local 50 path.moveTo(START_X, CENTER_Y); in testEmbossMaskFilter() 51 path.lineTo(END_X, CENTER_Y); in testEmbossMaskFilter() 57 c.drawPath(path, paint); in testEmbossMaskFilter()
|
D | PathMeasureTest.java | 42 Path path = new Path(); in testConstructor() local 43 mPathMeasure = new PathMeasure(path, true); in testConstructor() 46 mPathMeasure = new PathMeasure(path, false); in testConstructor()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 276 public String getAssetUrl(String path) { in getAssetUrl() argument 279 sb.append(path); in getAssetUrl() 288 public String getDelayedAssetUrl(String path) { in getDelayedAssetUrl() argument 292 sb.append(path); in getDelayedAssetUrl() 301 public String getAuthAssetUrl(String path) { in getAuthAssetUrl() argument 305 sb.append(path); in getAuthAssetUrl() 316 public String getRedirectingAssetUrl(String path) { in getRedirectingAssetUrl() argument 317 return getRedirectingAssetUrl(path, 1); in getRedirectingAssetUrl() 327 public String getRedirectingAssetUrl(String path, int numRedirects) { in getRedirectingAssetUrl() argument 333 sb.append(path); in getRedirectingAssetUrl() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | PathShapeTest.java | 48 Path path = new Path(); in testDraw() local 49 path.moveTo(50, 0); in testDraw() 50 path.lineTo(0, 50); in testDraw() 51 path.lineTo(50, 100); in testDraw() 52 path.lineTo(100, 50); in testDraw() 53 path.close(); in testDraw() 54 PathShape pathShape = new PathShape(path, SHAPE_SIZE, SHAPE_SIZE); in testDraw()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | UriTest.java | 33 .path("/rss/") in testParcelling() 130 .path("/test/") in testEqualsAndHashCode() 300 String path, String query, String fragment) { in testHierarchical() argument 306 if (path != null) { in testHierarchical() 307 sb.append(path); in testHierarchical() 328 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 330 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 337 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 339 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 348 .encodedPath(path) in testHierarchical() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverTest.java | 200 public String path; field in FileObserverTest.FileEvent 202 public FileEvent(final int event, final String path) { in FileEvent() argument 204 this.path = path; in FileEvent() 220 public MockFileObserver(String path) { in MockFileObserver() argument 221 super(path); in MockFileObserver() 224 public MockFileObserver(String path, int mask) { in MockFileObserver() argument 225 super(path, mask); in MockFileObserver() 229 public synchronized void onEvent(int event, String path) { in onEvent() argument 230 mEvents.add(new FileEvent(event, path)); in onEvent()
|
D | StatFsTest.java | 26 File path = Environment.getDataDirectory(); in testStatFs() local 27 StatFs stat = new StatFs(path.getPath()); in testStatFs() 38 path = Environment.getRootDirectory(); in testStatFs() 39 stat.restat(path.getPath()); in testStatFs()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | VoldExploitTest.java | 45 String path = sm.getMountedObbPath("/dev/null\0asec list"); in testTryCommandInjection() local 46 assertNull(path); in testTryCommandInjection() 129 private static void doAttack(NetlinkSocket ns, int pid, String path) in doAttack() argument 132 ns.sendmsg(pid, getDiskAddedMessage(path)); in doAttack() 136 ns.sendmsg(pid, getPartitionAddedMessage(path, i)); in doAttack() 285 private static byte[] getDiskAddedMessage(String path) { in getDiskAddedMessage() argument 288 + "DEVPATH=" + path + "\0MAJOR=179\0MINOR=12345" in getDiskAddedMessage() 296 String path, int partitionNum) { in getPartitionAddedMessage() argument 299 + "DEVPATH=" + path + "\0MAJOR=179\0MINOR=12345" in getPartitionAddedMessage()
|
/cts/tools/utils/ |
D | buildCts.py | 30 return [x for x in os.listdir(root) if os.path.isdir(os.path.join(root, x))] 76 self.test_repository = os.path.join(self.out_dir, 'repository/testcases') 77 self.plan_repository = os.path.join(self.out_dir, 'repository/plans') 94 plan.Write(os.path.join(self.plan_repository, plan_name + '.xml')) 101 descriptions = sorted(glob.glob(os.path.join(self.test_repository, '*.xml'))) 162 description = open(os.path.join(test_repository, 'SignatureTest.xml'), 'w')
|
D | android_api_description_splitter.py | 88 self.out = os.path.join(outPath, "xml") 89 if not os.path.isdir(self.out): 123 … filename = os.path.join(self.out, elem.getAttribute("name").replace(".", "_").lower() + ".xml")
|
/cts/libs/util/src/android/provider/cts/ |
D | FileCopyHelper.java | 70 public void copyToExternalStorage(int resId, File path) throws IOException { in copyToExternalStorage() argument 72 OutputStream target = new FileOutputStream(path); in copyToExternalStorage() 96 for (String path : mFilesList) { in clear() 97 mContext.deleteFile(path); in clear()
|
/cts/suite/audio_quality/lib/src/ |
D | FileUtil.cpp | 64 android::String8 path; in prepare() local 65 if (path.appendFormat("%s/%s", reportTopDir, reportTime.string()) != 0) { in prepare() 68 result = mkdir(path.string(), S_IRWXU); in prepare() 73 mDirPath = path; in prepare() 74 dirPath = path; in prepare()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileParser.java | 259 private static String fixPath(String path) { in fixPath() argument 265 path = path.replace('\\', '/'); in fixPath() 268 int index = path.lastIndexOf("/./"); in fixPath() 271 return path.substring(index + 3); in fixPath() 274 if (path.startsWith("./")) { in fixPath() 275 return path.substring(2); in fixPath() 278 return path; in fixPath()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 122 private String path; field in StorageManagerTest.ObbObserver 128 public void onObbStateChange(String path, int state) { in onObbStateChange() argument 129 Log.d(TAG, "Received message. path=" + path + ", state=" + state); in onObbStateChange() 131 this.path = path; in onObbStateChange() 140 return path; in getPath() 228 private String checkMountedPath(final String path) { in checkMountedPath() argument 229 final String mountPath = mStorageManager.getMountedObbPath(path); in checkMountedPath()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTestBase.java | 174 protected void playLiveVideoTest(String path, int playTime) throws Exception { in playLiveVideoTest() argument 175 playVideoWithRetries(path, null, null, playTime); in playLiveVideoTest() 178 protected void playVideoTest(String path, int width, int height) throws Exception { in playVideoTest() argument 179 playVideoWithRetries(path, width, height, 0); in playVideoTest() 182 protected void playVideoWithRetries(String path, Integer width, Integer height, int playTime) in playVideoWithRetries() argument 187 mMediaPlayer.setDataSource(path); in playVideoWithRetries()
|
/cts/tests/tests/nativemedia/sl/ |
D | Android.mk | 12 $(call include-path-for, wilhelm) \ 14 $(call include-path-for, wilhelm-ut)
|
/cts/tests/tests/nativemedia/xa/ |
D | Android.mk | 12 $(call include-path-for, wilhelm) \ 14 $(call include-path-for, wilhelm-ut)
|
/cts/suite/audio_quality/test_description/processing/ |
D | check_spectrum_playback.py | 23 sys.path.append(sys.path[0]) 117 sys.path.append(sys.path[0])
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_AlbumsTest.java | 160 File path = new File(Environment.getExternalStorageDirectory() in testAlbumArt() local 165 File dir = path.getParentFile(); in testAlbumArt() 167 copier.copyToExternalStorage(R.raw.testmp3, path); in testAlbumArt() 170 v.put(Media.DATA, path.getAbsolutePath()); in testAlbumArt() 206 path.delete(); in testAlbumArt()
|