/development/testrunner/test_defs/ |
instrumentation_test.py | 150 # need to parse test output to determine path to coverage file 210 def HasInstrumentationTest(path): 211 """Determine if given path defines an instrumentation test. 214 path: file system path to instrumentation test. 216 manifest_parser = android_manifest.CreateAndroidManifest(path) 239 # if path is java file, populate class name 289 def _IsJavaFile(self, path): 290 """Returns true if given file system path is a java file.""" 291 return os.path.isfile(path) and self._IsJavaFileName(path [all...] |
host_test.py | 38 _JUNIT_BUILD_PATH = os.path.join("external", "junit") 39 _HOSTTESTLIB_BUILD_PATH = os.path.join("development", "tools", "hosttestlib") 74 Results will be displayed on stdout. Assumes 'java' is on system path. 79 host_lib_path: path to directory that contains host library files 80 test_data_path: path to directory that contains test data files 94 path = os.path.join(options.host_lib_path, lib) 96 if not os.path.exists(path): 97 raise errors.AbortError(msg="Could not find jar %s" % path) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/shortest_paths/ |
unweighted.py | 3 Shortest path algorithms for unweighted graphs. 24 """Compute the shortest path lengths from source to all reachable nodes. 31 Starting node for path 39 Dictionary of shortest path lengths keyed by target. 66 return seen # return all path lengths as dictionary 70 """ Compute the shortest path lengths between all nodes in G. 82 Dictionary of shortest path lengths keyed by source and target. 107 """Return a list of nodes in a shortest path between source and target. 114 starting node for path 117 ending node for path [all...] |
/system/core/adb/ |
file_sync_service.cpp | 37 static bool should_use_fs_config(const char* path) { 39 return strncmp("/system/", path, strlen("/system/")) == 0 || 40 strncmp("/vendor/", path, strlen("/vendor/")) == 0 || 41 strncmp("/oem/", path, strlen("/oem/")) == 0; 80 static int do_stat(int s, const char *path) 87 if(lstat(path, &st)) { 100 static int do_list(int s, const char *path) 111 len = strlen(path); 112 memcpy(tmp, path, len); 118 d = opendir(path); [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
PathClippingTests.java | 22 import android.graphics.Path; 55 // draw circle with hole in it, by path operations + path clipping 66 Path path = new Path(); 67 path.addCircle(30, 30, 50, Path.Direction.CW); 68 path.addCircle(30, 30, 30, Path.Direction.CCW) [all...] |
/external/clang/test/Unit/ |
lit.cfg | 17 # test_source_root: The root path where tests are located. 18 # test_exec_root: The root path where tests should be run. 21 config.test_exec_root = os.path.join(clang_obj_root, 'unittests') 35 # Propagate path to symbolizer for ASan/MSan. 51 if site_cfg and os.path.exists(site_cfg): 63 llvm_config = lit.util.which('llvm-config', config.environment['PATH']) 70 clang_src_root = os.path.join(llvm_src_root, "tools", "clang") 71 clang_obj_root = os.path.join(llvm_obj_root, "tools", "clang") 75 this_src_root = os.path.join(os.path.dirname(__file__),'..','..' [all...] |
/external/google-breakpad/src/common/ |
dwarf_line_to_module.cc | 46 // Return true if PATH is an absolute path, false if it is relative. 47 static bool PathIsAbsolute(const string &path) { 48 return (path.size() >= 1 && path[0] == '/'); 51 static bool HasTrailingSlash(const string &path) { 52 return (path.size() >= 1 && path[path.size() - 1] == '/'); 55 // If PATH is an absolute path, return PATH. If PATH is a relative path [all...] |
/external/jsoncpp/ |
amalgamate.py | 9 import os.path namespace 30 f = open( os.path.join( self.top_dir, relative_input_path ), 'rt' ) 43 output_dir = os.path.dirname( output_path ) 44 if output_dir and not os.path.isdir( output_dir ): 56 target_source_path: output .cpp path 57 header_include_path: generated header path relative to target_source_path. 77 target_header_path = os.path.join( os.path.dirname(target_source_path), header_include_path ) 81 base, ext = os.path.splitext( header_include_path ) 98 target_forward_header_path = os.path.join( os.path.dirname(target_source_path) [all...] |
/external/proguard/src/proguard/ant/ |
ClassPathElement.java | 31 * This FileSet represents a class path entry (or a set of class path entries) 36 public class ClassPathElement extends Path 48 * @see Path#Path(Project) 57 * Adds the contents of this class path element to the given class path. 58 * @param classPath the class path to be extended. 68 // Get the referenced path or file set. 72 if (referencedObject instanceof Path) 74 Path path = (Path)referencedObject; local [all...] |
/external/selinux/libselinux/src/ |
selinuxswig_python.i | 17 def restorecon(path, recursive=False): 18 """ Restore SELinux context on a given path """ 21 mode = os.lstat(path)[stat.ST_MODE] 22 status, context = matchpathcon(path, mode) 24 path = os.path.realpath(os.path.expanduser(path)) 25 mode = os.lstat(path)[stat.ST_MODE] 26 status, context = matchpathcon(path, mode [all...] |
/external/v8/test/mozilla/ |
testcfg.py | 68 self.testroot = os.path.join(root, "data") 73 current_root = os.path.join(self.testroot, testdir) 84 testname = os.path.join(dirname[len(self.testroot) + 1:], 94 result += [os.path.join(self.root, "mozilla-shell-emulation.js")] 95 testfilename = testcase.path + ".js" 96 testfilepath = testfilename.split(os.path.sep) 98 script = os.path.join(self.testroot, 99 reduce(os.path.join, testfilepath[:i], ""), 101 if os.path.exists(script): 103 result.append(os.path.join(self.testroot, testfilename) [all...] |
/external/v8/test/test262/ |
testcfg.py | 50 self.testroot = os.path.join(root, "data", "test", "suite") 51 self.harness = [os.path.join(self.root, "data", "test", "harness", f) 53 self.harness += [os.path.join(self.root, "harness-adapt.js")] 56 return testcase.path.split(os.path.sep)[-1] 69 testname = os.path.join(dirname[len(self.testroot) + 1:], 77 [os.path.join(self.testroot, testcase.path + ".js")]) 80 filename = os.path.join(self.testroot, testcase.path + ".js" [all...] |
/frameworks/base/core/java/android/animation/ |
PathKeyframes.java | 18 import android.graphics.Path; 24 * PathKeyframes relies on approximating the Path as a series of line segments. 48 public PathKeyframes(Path path) { 49 this(path, 0.5f); 52 public PathKeyframes(Path path, float error) { 53 if (path == null || path.isEmpty()) { 54 throw new IllegalArgumentException("The path must not be null or empty") [all...] |
/frameworks/base/packages/Keyguard/scripts/ |
new_merge.py | 14 def executable(path): 15 return os.path.isfile(path) and os.access(path, os.X_OK) 17 path, file = os.path.split(program) 18 if path and executable(program): 21 for path in os.environ["PATH"].split(os.pathsep): 22 exe = os.path.join(path, program [all...] |
/frameworks/native/libs/input/ |
InputDevice.cpp | 43 static void appendInputDeviceConfigurationFileRelativePath(String8& path, 45 path.append(CONFIGURATION_FILE_DIR[type]); 51 path.append(&ch, 1); 53 path.append(CONFIGURATION_FILE_EXTENSION[type]); 89 String8 path; local 90 path.setTo(getenv("ANDROID_ROOT")); 91 path.append("/usr/"); 92 appendInputDeviceConfigurationFileRelativePath(path, name, type); 94 ALOGD("Probing for system provided input device configuration file: path='%s'", path.string()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SecureAlbum.java | 42 private ArrayList<Path> mAllItems = new ArrayList<Path>(); 45 private ArrayList<Path> mExistingItems = new ArrayList<Path>(); 56 public SecureAlbum(Path path, GalleryApp application, MediaItem unlock) { 57 super(path, nextVersionNumber()); 67 Path pathBase; 77 Path path = pathBase.getChild(id) local 177 Path path = mAllItems.get(i); local [all...] |
/development/samples/training/multiscreen/newsreader/ |
_index.html | 7 app, be sure to add the <code>libs/android-support-v4.jar</code> file to the project build path. In 8 Eclipse, right-click the JAR file in the Package Explorer and select <b>Build Path > Add to Build 9 Path</b>.</p>
|
/external/chromium-trace/trace-viewer/tracing/ |
PRESUBMIT.py | 22 original_sys_path = sys.path 24 sys.path += [input_api.PresubmitLocalPath()] 27 sys.path = original_sys_path
|
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/benchmark/ |
index.js | 4 path = require('path'), 7 var testHtml = fs.readFileSync(path.join(__dirname, './spec.html')).toString(),
|
/external/clang/test/Modules/ |
extern_c.cpp | 2 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s 3 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DEXTERN_C 4 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DEXTERN_CXX 5 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DEXTERN_C -DEXTERN_CXX 6 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DEXTERN_C -DNAMESPACE 7 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DCXX_HEADER 8 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DCXX_HEADER -DEXTERN_C 9 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DCXX_HEADER -DEXTERN_CXX 10 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DCXX_HEADER -DEXTERN_C -DEXTERN_CXX 11 // RUN: %clang_cc1 -fmodules -verify -fmodules-cache-path=%t -I %S/Inputs %s -DCXX_HEADER -DEXTERN_C -DNAMESPAC [all...] |
objc_redef.m | 9 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map 10 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=weird_objc %S/Inputs/module.map 11 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify
|
redecl-namespaces.mm | 11 // RUN: %clang_cc1 -fmodules -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_left %S/Inputs/module.map 12 // RUN: %clang_cc1 -fmodules -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_right %S/Inputs/module.map 13 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I %S/Inputs -w %s -verify
|
redeclarations.m | 8 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map 9 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map 10 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify
|
/external/compiler-rt/test/asan/Unit/ |
lit.site.cfg.in | 10 new_ld_library_path = os.path.pathsep.join( 19 # FIXME: De-hardcode this path. 24 config.test_exec_root = os.path.join("@COMPILER_RT_BINARY_DIR@",
|
/external/compiler-rt/test/asan/android_commands/ |
android_compile.py | 7 here = os.path.abspath(os.path.dirname(sys.argv[0])) 8 android_run = os.path.join(here, 'android_run.py')
|