/frameworks/base/test-runner/src/junit/runner/ |
H A D | TestCaseClassLoader.java | 25 /** scanned class path */ 39 * Constructs a TestCaseLoader. It scans the class path 43 this(System.getProperty("java.class.path")); 47 * Constructs a TestCaseLoader. It scans the class path 56 String separator= System.getProperty("path.separator"); 113 String path= (String) fPathItems.elementAt(i); 115 if (isJar(path)) { 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 132 private byte[] loadFileData(String path, Strin argument 157 loadJarData(String path, String fileName) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HwTests.java | 46 String path = intent.getStringExtra("com.android.test.hwui.Path"); 48 if (path == null) { 49 path = ""; 52 setListAdapter(new SimpleAdapter(this, getData(path), 131 protected Intent browseIntent(String path) { argument 134 result.putExtra(EXTRA_PATH, path);
|
H A D | ScaledTextActivity.java | 81 Path path = new Path(); 82 buildPath(path); 83 return path; 86 private static void buildPath(Path path) { argument 87 path.moveTo(0.0f, 0.0f); 88 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 89 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 90 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f);
|
H A D | TextOnPathActivity.java | 45 Path path = new Path(); 46 buildPath(path); 47 return path; 50 private static void buildPath(Path path) { argument 51 path.moveTo(0.0f, 0.0f); 52 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 53 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 54 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); 58 Path path = new Path(); 59 buildStraightPath(path); 63 buildStraightPath(Path path) argument [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | MainActivity.java | 46 String path = intent.getStringExtra(EXTRA_PATH); 48 if (path == null) { 49 path = ""; 52 setTitle(path); 73 listFragment.setListAdapter(new SimpleAdapter(this, getData(path), 153 protected Intent browseIntent(String path) { argument 156 result.putExtra(EXTRA_PATH, path);
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | VectorDrawableTest.java | 45 String path = intent.getStringExtra("com.android.test.hwui.Path"); 47 if (path == null) { 48 path = ""; 51 setListAdapter(new SimpleAdapter(this, getData(path), 130 protected Intent browseIntent(String path) { argument 133 result.putExtra(EXTRA_PATH, path);
|
/frameworks/base/tools/aapt2/test/ |
H A D | Common.h | 107 TestFile(const StringPiece& path) : mSource(path) {} argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 69 Path path = new Path(); 70 path.setFillType(FillType.EVEN_ODD); 98 drawCorner(canvas, cornerPaint, path, inset.right, inset.bottom, outerArcRadius, 0); 99 drawCorner(canvas, cornerPaint, path, inset.left, inset.bottom, outerArcRadius, 1); 100 drawCorner(canvas, cornerPaint, path, inset.left, inset.top, outerArcRadius, 2); 101 drawCorner(canvas, cornerPaint, path, inset.right, inset.top, outerArcRadius, 3); 146 * @param path A path to reuse. Prevents allocating memory for each path. 152 private static void drawCorner(Canvas canvas, Paint paint, Path path, floa argument [all...] |
/frameworks/base/tools/localedata/ |
H A D | extract_icu_data.py | 22 import os.path namespace 164 likely_subtags_txt = os.path.join(icu_data_dir, 'misc', 'likelySubtags.txt') 180 all_icu_data_files = glob.glob(os.path.join(icu_data_dir, '*', '*.txt')) 183 locale = os.path.splitext(os.path.basename(data_file))[0] 275 icu_data_dir = os.path.join(
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Directory.h | 47 /// constructor - a directory whose path is pPath 77 /// path - the path of the directory 78 const Path& path() const { return m_Path; } function in class:mcld::sys::fs::Directory 139 Path* path(); 140 const Path* path() const;
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | GroupCmd.cpp | 95 sys::fs::Path path; local 101 path = script.sysroot(); 102 path.append(token->name()); 105 path.assign(token->name()); 106 if (!sys::fs::exists(path)) { 107 // 3. Search through the library search path 111 path = *p; 115 if (!sys::fs::exists(path)) 116 fatal(diag::err_cannot_open_input) << path.filename() << path; 123 const sys::fs::Path* path = NULL; local [all...] |
H A D | InputCmd.cpp | 106 sys::fs::Path path; local 112 path = script.sysroot(); 113 path.append(token->name()); 116 path.assign(token->name()); 117 if (!sys::fs::exists(path)) { 118 // 3. Search through the library search path 122 path = *p; 126 if (!sys::fs::exists(path)) 127 fatal(diag::err_cannot_open_input) << path.filename() << path; 134 const sys::fs::Path* path = NULL; local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | OMAScalar.java | 28 public String getScalarValue(Iterator<String> path) throws OMAException { argument 33 public OMANode getListValue(Iterator<String> path) throws OMAException { argument 34 throw new OMAException("Scalar encountered in list path: " + getPathString()); 58 public OMANode addChild(String name, String context, String value, String path) argument
|
/frameworks/rs/ |
H A D | rsApiFileA3D.cpp | 96 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { argument 97 if (path == nullptr) { 105 FILE *f = fopen(path, "rb"); 112 ALOGE("Could not open file %s", path);
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTest_playStates.cpp | 47 void TestPlayUri( SLObjectItf sl, const char* path) argument 111 uri.URI = (SLchar*) path;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 43 * Creates all directories along the fully qualified path of the given file. 45 * @param[in] path A reference to the fully qualified path of a file. 50 static int FwdLockGlue_CreateDirectories(const char *path, mode_t mode) { argument 52 size_t partialPathLength = strlen(path); 59 if (path[i] == '/' && i > 0) { 66 partialPath[i] = path[i];
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.h | 81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument 83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { 114 void addEditObject(MtpObjectHandle handle, MtpString& path,
|
/frameworks/base/cmds/idmap/ |
H A D | create.cpp | 33 int open_idmap(const char *path) argument 35 int fd = TEMP_FAILURE_RETRY(open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644)); 37 ALOGD("error: open %s: %s\n", path, strerror(errno)); 41 ALOGD("error: fchmod %s: %s\n", path, strerror(errno)); 45 ALOGD("error: flock %s: %s\n", path, strerror(errno)); 53 unlink(path);
|
/frameworks/base/core/java/android/animation/ |
H A D | PathKeyframes.java | 49 public PathKeyframes(Path path) { argument 50 this(path, 0.5f); 53 public PathKeyframes(Path path, float error) { argument 54 if (path == null || path.isEmpty()) { 55 throw new IllegalArgumentException("The path must not be null or empty"); 57 mKeyframeData = path.approximate(error);
|
/frameworks/base/core/java/android/content/res/ |
H A D | ResourcesKey.java | 80 public boolean isPathReferenced(String path) { argument 81 if (mResDir != null && mResDir.startsWith(path)) { 84 return anyStartsWith(mSplitResDirs, path) || anyStartsWith(mOverlayDirs, path) 85 || anyStartsWith(mLibDirs, path);
|
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 129 public Path toPath(Path path) { argument 130 if (path == null) path = new Path(); 136 path.addPath(strokes.get(i).getPath()); 139 return path; 146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument 147 if (path == null) path = new Path(); 153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample)); 156 return path; [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | PerfMeasurement.java | 133 public void dumpPerformanceData(String path) { argument 134 try (BufferedWriter dump = new BufferedWriter(new FileWriter(path))) { 146 Log.e(TAG, "Error writing data dump to " + path + ":" + e);
|
/frameworks/base/core/java/android/net/ |
H A D | WebAddress.java | 65 /* path */ "(\\/?[^#]*)?" + 175 public void setPath(String path) { argument 176 mPath = path;
|
/frameworks/base/core/java/android/os/ |
H A D | FileObserver.java | 88 public int startWatching(String path, int mask, FileObserver observer) { argument 89 int wfd = startWatching(m_fd, path, mask); 105 public void onEvent(int wfd, int mask, String path) { argument 122 observer.onEvent(mask, path); 131 private native int startWatching(int fd, String path, int mask); argument 148 * Equivalent to FileObserver(path, FileObserver.ALL_EVENTS). 150 public FileObserver(String path) { argument 151 this(path, ALL_EVENTS); 159 * @param path The file or directory to monitor 162 public FileObserver(String path, in argument 209 onEvent(int event, String path) argument [all...] |
H A D | SELinux.java | 61 * @param path representing the path of file object to relabel. 65 public static final native boolean setFileContext(String path, String context); argument 69 * @param path the pathname of the file object. 72 public static final native String getFileContext(String path); argument 139 * @param file The File object representing the path to be relabeled. 147 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " + 154 * Recursively restores all files under the given path to their default 165 Slog.e(TAG, "Error getting canonical path. Restorecon failed for " +
|