Searched refs:path (Results 1 - 25 of 855) sorted by relevance

1234567891011>>

/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_functions.py25 def load_py_module(path):
29 path: String path to python file.
34 assert isinstance(path, str)
36 if not os.path.exists(path):
37 print('Path does not exist: ' + path)
39 path = os.path.abspath(path)
[all...]
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DMeasurementUtils.java24 public static long measureDirectory(String path) { argument
25 return native_measureDirectory(path);
28 private native static long native_measureDirectory(String path); argument
/frameworks/rs/rsov/compiler/tests/
H A Dllvm-lit7 # to determine correct path for the root of the source tree.
10 llvm_source_root = os.path.join(android_source_root, 'external', 'llvm')
13 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit'))
18 'llvm_site_config' : os.path.join('./', 'lit.site.cfg')
/frameworks/compile/libbcc/tests/debuginfo/
H A Dllvm-lit7 # to determine correct path for the root of the source tree.
10 llvm_source_root = os.path.join(android_source_root, 'external', 'llvm')
11 libbcc_source_root = os.path.join(android_source_root, 'frameworks', 'compile',
15 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit'))
20 'llvm_site_config' : os.path.join(libbcc_source_root, 'test', 'debuginfo',
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabaseConfiguration.java44 * Special path used by in-memory databases.
49 * The database path.
51 public final String path; field in class:SQLiteDatabaseConfiguration
55 * This is derived from the path but is stripped to remove PII.
96 * @param path The database path.
99 public SQLiteDatabaseConfiguration(String path, int openFlags) { argument
100 if (path == null) {
101 throw new IllegalArgumentException("path must not be null.");
104 this.path
159 stripPathForLogs(String path) argument
[all...]
/frameworks/support/transition/tests/src/android/support/transition/
H A DArcMotionTest.java38 Path path = arcMotion.getPath(0, 100, 100, 0);
39 assertPathMatches(expected, path);
42 path = arcMotion.getPath(100, 0, 0, -100);
43 assertPathMatches(expected, path);
46 path = arcMotion.getPath(0, -100, -100, 0);
47 assertPathMatches(expected, path);
50 path = arcMotion.getPath(-100, 0, 0, 100);
51 assertPathMatches(expected, path);
60 Path path;
63 path
[all...]
/frameworks/base/tools/aapt2/
H A DSource.h34 std::string path; member in struct:aapt::Source
39 inline Source(const android::StringPiece& path) : path(path.to_string()) { // NOLINT(implicit) argument
42 inline Source(const android::StringPiece& path, size_t line) argument
43 : path(path.to_string()), line(line) {}
45 inline Source WithLine(size_t line) const { return Source(path, line); }
53 out << source.path;
61 return lhs.path
[all...]
H A DLoadedApk.cpp29 const android::StringPiece& path) {
30 Source source(path);
32 std::unique_ptr<io::ZipFileCollection> apk = io::ZipFileCollection::Create(path, &error);
68 referenced_resources.insert(*file_ref->path);
79 std::string path = file->GetSource().path; local
80 // The name of the path has the format "<zip-file-name>@<path-to-file>".
81 path = path
28 LoadApkFromPath(IAaptContext* context, const android::StringPiece& path) argument
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
H A DPathPerfTest.java36 Path path = new Path();
38 path.reset();
45 Path path = new Path();
47 path.addRect(0, 0, 100, 100, Path.Direction.CW);
48 path.reset();
55 Path path = new Path();
57 path.rewind();
64 Path path = new Path();
66 path.addRect(0, 0, 100, 100, Path.Direction.CW);
67 path
[all...]
/frameworks/base/media/java/android/media/
H A DIMediaScannerService.aidl28 * @param path the path to the file to be scanned.
34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener);
39 * @param path the path to the file to be scanned.
43 void scanFile(String path, String mimeType);
H A DIMediaScannerListener.aidl28 * @param path the path to the file that has been scanned.
32 void scanCompleted(String path, in Uri uri);
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPathTest.java28 Path path = new Path();
30 final Path.FillType defaultFillType = path.getFillType();
34 path.setFillType(fillType);
35 path.reset();
36 assertEquals(path.getFillType(), fillType);
/frameworks/base/core/java/android/os/
H A DStatFs.java32 * {@code path}. Upon construction, the stat of the file system will be
36 * @param path path in the desired file system to stat.
38 public StatFs(String path) { argument
39 mStat = doStat(path);
42 private static StructStatVfs doStat(String path) { argument
44 return Os.statvfs(path);
46 throw new IllegalArgumentException("Invalid path: " + path, e);
52 * the same as re-constructing the object with the same file system path,
55 restat(String path) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java33 * scheme in particular, because we should be able to have the Java-level path finalized
34 * without destroying the underlying native path object until we are done referencing it
67 Path path = new Path();
68 path.moveTo(left, top);
69 path.lineTo(right, top);
70 path.lineTo(right, bottom);
71 path.lineTo(left, bottom);
72 path.close();
73 return path;
86 Path path;
[all...]
H A DPathsCacheActivity.java50 Path path = new Path();
51 buildPath(path);
52 return path;
55 private static void buildPath(Path path) { argument
56 path.moveTo(0.0f, 0.0f);
57 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f);
58 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f);
59 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
63 Path path = new Path();
64 buildLargePath(path);
68 buildLargePath(Path path) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DTestAssetRepository.java31 private static InputStream open(String path) throws FileNotFoundException { argument
32 File asset = new File(path);
46 public InputStream openAsset(String path, int mode) throws IOException { argument
47 return open(path);
51 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
52 return open(path);
/frameworks/native/cmds/installd/
H A Dinstalld_deps.h39 // Compute the output path for dex2oat.
40 extern bool calculate_oat_file_path(char path[PKG_PATH_MAX],
44 // Compute the output path for patchoat.
49 // Returns false if it failed to determine the odex file path.
51 extern bool calculate_odex_file_path(char path[PKG_PATH_MAX],
55 // Compute the output path into the dalvik cache.
56 extern bool create_cache_path(char path[PKG_PATH_MAX],
/frameworks/rs/
H A Dbuild_rs.py29 THIS_DIR = os.path.realpath(os.path.dirname(__file__))
34 out_dir = os.path.realpath(os.path.join(THIS_DIR, '../..', *args))
43 if not os.path.isabs(top_out):
44 top_out = os.path.realpath(top_out)
45 out_dir = os.path.join(top_out, *args)
98 install_dir = os.path.join(install_host_dir, package_name)
102 if os.path.exists(install_host_dir):
108 package_path = os.path
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DIShellCallback.aidl23 ParcelFileDescriptor openOutputFile(String path, String seLinuxContext);
/frameworks/base/services/core/java/com/android/server/
H A DSerialService.java42 String path = mSerialPorts[i];
43 if (new File(path).exists()) {
44 ports.add(path);
52 public ParcelFileDescriptor openSerialPort(String path) { argument
55 if (mSerialPorts[i].equals(path)) {
56 return native_open(path);
59 throw new IllegalArgumentException("Invalid serial port " + path);
62 private native ParcelFileDescriptor native_open(String path); argument
/frameworks/base/tools/aapt/
H A DCacheUpdater.h35 // Make sure all the directories along this path exist
36 virtual void ensureDirectoriesExist(String8 path) = 0;
39 virtual void deleteFile(String8 path) = 0;
57 // Make sure all the directories along this path exist
58 virtual void ensureDirectoriesExist(String8 path) argument
60 // Check to see if we're dealing with a fully qualified path
67 // If something in the path doesn't exist, then walk the path backwards
69 if (stat(path.string(),&s) == -1) {
71 existsPath = path;
94 deleteFile(String8 path) argument
[all...]
/frameworks/base/tools/aapt2/flatten/
H A DArchive.h41 std::string path; member in namespace:aapt
50 virtual bool WriteFile(const android::StringPiece& path, uint32_t flags, io::InputStream* in) = 0;
55 virtual bool StartEntry(const android::StringPiece& path, uint32_t flags) = 0;
74 const android::StringPiece& path);
77 const android::StringPiece& path);
/frameworks/support/compat/ics/android/support/v4/view/animation/
H A DPathInterpolatorApi14.java24 * A path interpolator implementation compatible with API 14+.
36 PathInterpolatorApi14(Path path) { argument
37 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */);
99 final Path path = new Path();
100 path.moveTo(0.0f, 0.0f);
101 path.quadTo(controlX, controlY, 1.0f, 1.0f);
102 return path;
107 final Path path = new Path();
108 path.moveTo(0.0f, 0.0f);
109 path
[all...]
/frameworks/base/packages/SystemUI/scripts/
H A Dnew_merge.py14 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, progra
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DSearchDirs.cpp52 if (exists(dir->path()) && is_directory(dir->path())) {
98 if (file == entry.path()->filename().native())
99 return entry.path();
106 if (file == entry.path()->stem().native()) {
108 entry.path()->extension().native()) {
109 return entry.path();
120 if (file == entry.path()->stem().native() &&
122 entry.path()->extension().native()) {
123 return entry.path();
[all...]

Completed in 522 milliseconds

1234567891011>>