/development/testrunner/test_defs/ |
D | test_walker.py | 35 def FindTests(self, path): argument 65 if not os.path.exists(path): 66 logger.Log('%s does not exist' % path) 68 abspath = os.path.abspath(path) 73 (path, self._build_top)) 80 logger.SilentLog('No tests found within %s, searching upwards' % path) 84 def _IsPathInBuildTree(self, path): argument 93 return os.path.commonprefix([self._build_top, path]) == self._build_top 95 def _MakePathRelativeToBuild(self, path): argument 107 if not self._IsPathInBuildTree(path): [all …]
|
D | native_test.py | 55 build_path = os.path.join(android_build.GetTop(), self.GetBuildPath()) 56 os.path.walk(build_path, self._CollectTestSources, source_list) 85 full_path = os.path.join(os.sep, "system", "bin", f) 118 (name, ext) = os.path.splitext(f) 122 test_list.append(str(os.path.join(dirname, f))) 124 def _FilterOutMissing(self, path, sources): argument 139 binary = os.path.basename(f) 140 binary = os.path.splitext(binary)[0] 141 full_path = os.path.join(path, binary) 142 if os.path.exists(full_path): [all …]
|
D | host_test.py | 37 _JUNIT_BUILD_PATH = os.path.join("external", "junit") 38 _HOSTTESTLIB_BUILD_PATH = os.path.join("development", "tools", "hosttestlib") 93 path = os.path.join(options.host_lib_path, lib) 95 if not os.path.exists(path): 96 raise errors.AbortError(msg="Could not find jar %s" % path) 97 full_lib_paths.append(path)
|
/development/testrunner/ |
D | android_build.py | 89 path = os.path.join(GetTop(), "out", "host", os_arch, "bin") 90 if not os.path.exists(path): 91 logger.Log("Error: Host bin path could not be found %s" % path) 93 return path 110 path = os.getenv("ANDROID_PRODUCT_OUT") 111 if path is None: 114 return path 131 path = os.path.join(GetProductOut(), "system", "bin") 132 if not os.path.exists(path): 135 return path [all …]
|
D | coverage.py | 41 _EMMA_JAR = os.path.join("external", "emma", "lib", "emma.jar") 44 _COVERAGE_REPORT_PATH = os.path.join("out", "emma") 46 _CORE_TARGET_PATH = os.path.join("development", "testrunner", 50 _VENDOR_TARGET_PATH = os.path.join("vendor", "*", "tests", "testinfo", 54 _TARGET_INTERMEDIATES_BASE_PATH = os.path.join("out", "target", "common", 59 self._output_root_path = os.path.join(self._root_path, 61 self._emma_jar_path = os.path.join(self._root_path, self._EMMA_JAR) 87 output_path = os.path.join(self._root_path, 94 coverage_local_path = os.path.join(output_path, 98 report_path = os.path.join(output_path, [all …]
|
/development/simulator/wrapsim/ |
D | Intercept.c | 170 PASS_THROUGH_DECL(chdir, int, const char* path) in PASS_THROUGH_DECL() argument 171 PASS_THROUGH_BODY(chdir, path) in PASS_THROUGH_DECL() 173 PASS_THROUGH_DECL(chmod, int, const char* path, mode_t mode) in PASS_THROUGH_DECL() 174 PASS_THROUGH_BODY(chmod, path, mode) in PASS_THROUGH_DECL() 176 PASS_THROUGH_DECL(chown, int, const char* path, uid_t owner, gid_t group) in PASS_THROUGH_DECL() 177 PASS_THROUGH_BODY(chown, path, owner, group) in PASS_THROUGH_DECL() 179 PASS_THROUGH_DECL(creat, int, const char* path, mode_t mode) in PASS_THROUGH_DECL() 180 PASS_THROUGH_BODY(creat, path, mode) in PASS_THROUGH_DECL() 182 PASS_THROUGH_DECL(execve, int, const char* path, char* const argv[], in PASS_THROUGH_DECL() 184 PASS_THROUGH_BODY(execve, path, argv, envp) in PASS_THROUGH_DECL() [all …]
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
D | Clock.java | 70 private static void drawLine(Path path, in drawLine() argument 87 path.moveTo(p0x - ox, p0y - oy); in drawLine() 88 path.lineTo(p1x - ox, p1y - oy); in drawLine() 89 path.lineTo(p1x + ox, p1y + oy); in drawLine() 90 path.lineTo(p0x + ox, p0y + oy); in drawLine() 91 path.close(); in drawLine() 99 private static void drawVArrow(Path path, in drawVArrow() argument 101 path.moveTo(cx - width / 2.0f, cy); in drawVArrow() 102 path.lineTo(cx, cy + height); in drawVArrow() 103 path.lineTo(cx + width / 2.0f, cy); in drawVArrow() [all …]
|
/development/scripts/ |
D | divide_and_compress.py | 149 self.index_fp = open(os.path.join(self.output_dir, 'main.py'), 'w') 151 os.path.walk(self.base_path, self.CompressDirectory, 1) 170 archive_path = os.path.join(self.output_dir, self.current_archive) 173 root, ext = os.path.splitext(archive_path) 195 def OpenZipFileAtPath(self, path, mode=None, compress=zipfile.ZIP_DEFLATED): argument 198 if os.path.exists(path): 204 return zipfile.ZipFile(path, mode) 206 return zipfile.ZipFile(path, mode, compress) 228 zip_queue.append(os.path.join(dir_path, filename)) 237 if os.path.isfile(target_file): [all …]
|
/development/ndk/platforms/android-3/include/ |
D | libgen.h | 37 extern char* dirname (const char* path); 38 extern char* basename(const char* path); 52 extern int dirname_r(const char* path, char* buffer, size_t bufflen); 53 extern int basename_r(const char* path, char* buffer, size_t bufflen);
|
D | fcntl.h | 46 extern int open(const char* path, int mode, ...); 47 extern int openat(int fd, const char* path, int mode, ...); 50 extern int creat(const char* path, mode_t mode);
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ExternalStorage.java | 185 File path = Environment.getExternalStoragePublicDirectory( in createExternalStoragePublicPicture() local 187 File file = new File(path, "DemoPicture.jpg"); in createExternalStoragePublicPicture() 191 path.mkdirs(); in createExternalStoragePublicPicture() 211 public void onScanCompleted(String path, Uri uri) { in createExternalStoragePublicPicture() 212 Log.i("ExternalStorage", "Scanned " + path + ":"); in createExternalStoragePublicPicture() 227 File path = Environment.getExternalStoragePublicDirectory( in deleteExternalStoragePublicPicture() local 229 File file = new File(path, "DemoPicture.jpg"); in deleteExternalStoragePublicPicture() 238 File path = Environment.getExternalStoragePublicDirectory( in hasExternalStoragePublicPicture() local 240 File file = new File(path, "DemoPicture.jpg"); in hasExternalStoragePublicPicture() 253 File path = getExternalFilesDir(Environment.DIRECTORY_PICTURES); in createExternalStoragePrivatePicture() local [all …]
|
/development/ide/xcode/animatorTest/animatorTest.xcodeproj/ |
D | project.pbxproj | 221 …; lastKnownFileType = sourcecode.cpp.cpp; name = SkFontHost_FONTPATH.cpp; path = ../../../libs/gra… 222 …= 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkFontHost_none.cpp; path = ../../../libs/gra… 223 …coding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = pathTest.cpp; path = ../../../tests/sk… 224 …ing = 30; lastKnownFileType = sourcecode.cpp.cpp; name = cameraTest3.cpp; path = ../../../tests/sk… 225 …ding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ditherTest.cpp; path = ../../../tests/sk… 226 …= 30; lastKnownFileType = sourcecode.cpp.cpp; name = imageditherTest.cpp; path = ../../../tests/sk… 227 …oding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = layerTest.cpp; path = ../../../tests/sk… 228 …coding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = maskTest.cpp; path = ../../../tests/sk… 229 …ding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = mipmapTest.cpp; path = ../../../tests/sk… 230 … = 30; lastKnownFileType = sourcecode.cpp.cpp; name = pathEffectTest.cpp; path = ../../../tests/sk… [all …]
|
/development/ide/emacs/ |
D | android-common.el | 128 (let ((path (concat (android-find-build-tree-root) "out/target/product/" 130 (when (not (file-exists-p path)) 132 add an entry to android-product-map." path (android-product)))) 133 path)) 141 (let ((path (concat (android-find-build-tree-root) "out/host/" 143 (if (file-exists-p path) 144 path
|
/development/tools/idegen/src/ |
D | Eclipse.java | 69 String path = sourceRoot.getPath().substring(2); in generateFrom() local 72 if (bucket.matches(path)) { in generateFrom() 119 String path = sourceRoot.getPath(); in constructExcluding() local 132 if (!nextPath.startsWith(path)) { in constructExcluding() 139 classpath.append(nextPath.substring(path.length() + 1)) in constructExcluding() 149 if (!excludedPath.startsWith(path)) { in constructExcluding() 156 classpath.append(excludedPath.substring(path.length() + 1)) in constructExcluding() 184 private boolean matches(String path) { in matches() argument 185 return pattern.matcher(path).find(); in matches()
|
/development/ide/xcode/graphics.xcodeproj/ |
D | project.pbxproj | 253 …ng = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkRasterizer.cpp; path = ../../libs/graphi… 254 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkColorFilter.h; … 255 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkRasterizer.h; s… 256 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkTypeface.h; sou… 257 … = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkColorFilters.cpp; path = ../../libs/graphi… 258 …ng = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkCullPoints.cpp; path = ../../libs/graphi… 259 …g = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkColorFilter.cpp; path = ../../libs/graphi… 260 … 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkPicturePlayback.cpp; path = ../../libs/graphi… 261 …ding = 4; lastKnownFileType = sourcecode.c.h; name = SkPicturePlayback.h; path = ../../libs/graphi… 262 … = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SkPictureRecord.cpp; path = ../../libs/graphi… [all …]
|
/development/samples/Obb/src/com/example/android/obbapp/ |
D | ObbMountActivity.java | 62 mPath = (TextView) findViewById(R.id.path); in onCreate() 69 mPath.setText(state.path); in onCreate() 80 public void onObbStateChange(String path, int state) { 81 Log.d(TAG, "path=" + path + "; state=" + state); 140 public CharSequence path; field in ObbMountActivity.ObbState 142 ObbState(StorageManager storageManager, CharSequence status, CharSequence path) { in ObbState() argument 145 this.path = path; in ObbState()
|
/development/ide/xcode/svg.xcodeproj/ |
D | project.pbxproj | 80 …FileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGCircle.cpp; … 81 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGCircle.h; so… 82 …FileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGClipPath.cpp… 83 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGClipPath.h; … 84 …FileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGDefs.cpp; so… 85 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGDefs.h; sour… 86 …FileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGElements.cpp… 87 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGElements.h; … 88 …FileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SkSVGEllipse.cpp;… 89 … PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = SkSVGEllipse.h; s… [all …]
|
/development/ide/xcode/animator.xcodeproj/ |
D | project.pbxproj | 168 …sa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libanimator.a; so… 169 …= 30; lastKnownFileType = sourcecode.c.h; name = SkDrawExtraPathEffect.h; path = ../../include/gra… 170 …oding = 30; lastKnownFileType = sourcecode.c.h; name = SkDisplayNumber.h; path = ../../libs/graphi… 171 …= 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkDisplayNumber.cpp; path = ../../libs/graphi… 172 …g = 30; lastKnownFileType = sourcecode.c.h; name = SkAnimateProperties.h; path = ../../libs/graphi… 173 …oding = 30; lastKnownFileType = sourcecode.c.h; name = SkDrawSaveLayer.h; path = ../../libs/graphi… 174 …= 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkDrawSaveLayer.cpp; path = ../../libs/graphi… 175 …ncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkAnimateBase.h; path = ../../libs/graphi… 176 …ileEncoding = 30; lastKnownFileType = text; name = SkAnimate3DSchema.xsd; path = ../../libs/graphi… 177 …ncoding = 30; lastKnownFileType = text.xml; name = SkAnimate3DSchema.xsx; path = ../../libs/graphi… [all …]
|
/development/ide/xcode/chipmunk.xcodeproj/ |
D | project.pbxproj | 26 …fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = chipmunk.c; path = "/Users/caryclark… 27 …fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = chipmunk.h; path = "/Users/caryclark… 28 …ence; fileEncoding = 30; lastKnownFileType = text; name = CMakeLists.txt; path = "/Users/caryclark… 29 …ileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = cpArbiter.c; path = "/Users/caryclark… 30 …ileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = cpArbiter.h; path = "/Users/caryclark… 31 … fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = cpArray.c; path = "/Users/caryclark… 32 … fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = cpArray.h; path = "/Users/caryclark… 33 …ce; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = cpBB.c; path = "/Users/caryclark… 34 …ce; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = cpBB.h; path = "/Users/caryclark… 35 …; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = cpBody.c; path = "/Users/caryclark… [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ShapeDrawable1.java | 89 Path path = new Path(); in SampleView() local 90 path.moveTo(50, 0); in SampleView() 91 path.lineTo(0, 50); in SampleView() 92 path.lineTo(50, 100); in SampleView() 93 path.lineTo(100, 50); in SampleView() 94 path.close(); in SampleView() 105 mDrawables[5] = new ShapeDrawable(new PathShape(path, 100, 100)); in SampleView()
|
/development/ide/xcode/jpeg.xcodeproj/ |
D | project.pbxproj | 64 …e; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = jerror.h; path = "../../extlibs/jp… 65 …sa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libjpeg.a; source… 66 … fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = jconfig.h; path = "../../extlibs/jp… 67 … fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = jpeglib.h; path = "../../extlibs/jp… 68 …fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = jcapimin.c; path = "../../extlibs/jp… 69 …fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = jcapistd.c; path = "../../extlibs/jp… 70 …fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = jccoefct.c; path = "../../extlibs/jp… 71 … fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = jccolor.c; path = "../../extlibs/jp… 72 …fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = jcdctmgr.c; path = "../../extlibs/jp… 73 …; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = jchuff.c; path = "../../extlibs/jp… [all …]
|
/development/ide/xcode/corecg.xcodeproj/ |
D | project.pbxproj | 58 …coding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SkBuffer.cpp; path = ../../libs/corecg… 59 …ce; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Sk64.h; path = ../../include/cor… 60 …fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkBuffer.h; path = ../../include/cor… 61 …fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkEndian.h; path = ../../include/cor… 62 … fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkFDot6.h; path = ../../include/cor… 63 … fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkFixed.h; path = ../../include/cor… 64 …oding = 30; lastKnownFileType = sourcecode.c.h; name = SkFloatingPoint.h; path = ../../include/cor… 65 …; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkMath.h; path = ../../include/cor… 66 …fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkMatrix.h; path = ../../include/cor… 67 … fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SkPoint.h; path = ../../include/cor… [all …]
|
/development/ide/xcode/SampleCode/SampleCode.xcodeproj/ |
D | project.pbxproj | 262 … = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleXfermodes.cpp; path = ../../../tests/sk… 263 …rence; lastKnownFileType = "wrapper.pb-project"; name = giflib.xcodeproj; path = ../giflib.xcodepr… 264 …= 4; lastKnownFileType = sourcecode.cpp.cpp; name = SamplePolyToPoly.cpp; path = ../../../tests/sk… 265 … = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleTextAlpha.cpp; path = ../../../tests/sk… 266 …ng = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SamplePicture.cpp; path = ../../../tests/sk… 267 …nce; lastKnownFileType = "wrapper.pb-project"; name = animator.xcodeproj; path = ../animator.xcode… 268 …ing = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleEmboss.cpp; path = ../../../tests/sk… 269 …ding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SampleLines.cpp; path = ../../../tests/sk… 270 …ileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SkGeometry.h; path = ../../../libs/gra… 271 …ding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SamplePatch.cpp; path = ../../../tests/sk… [all …]
|
/development/samples/BrowserPlugin/jni/animation/ |
D | AnimationPlugin.cpp | 123 ANPPath* path = gPathI.newPath(); in drawPlugin() local 127 gPathI.moveTo(path, 0, 0); in drawPlugin() 128 gPathI.quadTo(path, cx, cy, W, 0); in drawPlugin() 129 gPathI.quadTo(path, cx, cy, W, H); in drawPlugin() 130 gPathI.quadTo(path, cx, cy, 0, H); in drawPlugin() 131 gPathI.quadTo(path, cx, cy, 0, 0); in drawPlugin() 134 gCanvasI.drawPath(canvas, path, m_paint); in drawPlugin() 138 gPathI.getBounds(path, &bounds); in drawPlugin() 139 gPathI.deletePath(path); in drawPlugin()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
D | VideoViewDemo.java | 32 private String path = ""; field in VideoViewDemo 41 if (path == "") { in onCreate() 55 mVideoView.setVideoPath(path); in onCreate()
|