Searched refs:path (Results 1 - 25 of 923) 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/tools/aapt2/
H A DSource.h32 std::string path; member in struct:aapt::Source
37 inline Source(const android::StringPiece& path) : path(path.to_string()) { // NOLINT(implicit) argument
40 inline Source(const android::StringPiece& path, size_t line) argument
41 : path(path.to_string()), line(line) {}
44 return Source(path, line);
49 return ::android::base::StringPrintf("%s:%zd", path.c_str(), line.value());
51 return path;
[all...]
/frameworks/support/transition/src/androidTest/java/androidx/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/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/support/frameworks/support/samples/SupportWearDemos/
H A Dbuild.gradle23 implementation project(path: ':appcompat')
/frameworks/support/samples/SupportWearDemos/
H A Dbuild.gradle23 implementation project(path: ':appcompat')
/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/native/libs/dumputils/include/dumputils/
H A Ddump_utils.h22 bool should_dump_native_traces(const char* path);
/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.
130 * @param path The database path.
133 public SQLiteDatabaseConfiguration(String path, int openFlags) { argument
134 if (path == null) {
135 throw new IllegalArgumentException("path must not be null.");
138 this.path
203 stripPathForLogs(String path) argument
[all...]
/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.
40 public StatFs(String path) { argument
41 mStat = doStat(path);
47 private static StructStatVfs doStat(String path) { argument
49 return Os.statvfs(path);
51 throw new IllegalArgumentException("Invalid path: " + path, e);
57 * the same as re-constructing the object with the same file system path,
62 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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DTestAssetRepository.java39 private static InputStream open(String path) throws FileNotFoundException { argument
40 File asset = new File(path);
54 public InputStream openAsset(String path, int mode) throws IOException { argument
55 return open(mAssetPath + path);
59 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
60 return open(path);
/frameworks/av/media/mtp/
H A DMtpUtils.h33 int makeFolder(const char *path);
36 bool deletePath(const char* path);
39 void closeObjFd(int fd, const char *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/support/transition/src/main/java/androidx/transition/
H A DPropertyValuesHolderUtils.java34 * @param path The Path along which the values should be animated.
37 static PropertyValuesHolder ofPointF(Property<?, PointF> property, Path path) { argument
39 return PropertyValuesHolder.ofObject(property, null, path);
41 return PropertyValuesHolder.ofFloat(new PathProperty<>(property, path), 0f, 1f);
/frameworks/av/media/libeffects/factory/
H A DEffectsXmlConfigLoader.h31 * @param[in] path of the configuration file or NULL to load the default one
38 ssize_t EffectLoadXmlEffectConfig(const char* path);
/frameworks/minikin/tests/util/
H A DPathUtils.cpp27 std::string getDirname(const std::string& path) { argument
28 const char* result = dirname(path.c_str());
33 std::string getBasename(const std::string& path) { argument
34 const char* result = basename(path.c_str());
/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)
97 install_dir = os.path.join(install_host_dir, package_name)
101 if os.path.exists(install_host_dir):
107 package_path = os.path
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DIShellCallback.aidl23 ParcelFileDescriptor openFile(String path, String seLinuxContext, String mode);

Completed in 794 milliseconds

1234567891011>>