/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 134 char path[100]; local 136 snprintf(path, sizeof(path), "/dev/%s", name); 137 int fd = open(path, O_RDWR);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DpmTestUtils.java | 128 public static void writeToFile(File path, String content) argument 130 path.getParentFile().mkdirs(); 132 try (FileWriter writer = new FileWriter(path)) { 133 Log.i(DpmTestBase.TAG, "Writing to " + path);
|
/frameworks/base/tools/aapt/ |
H A D | ApkBuilder.cpp | 59 status_t ApkBuilder::addEntry(const String8& path, const sp<AaptFile>& file) { argument 63 return mSplits.editItemAt(i)->addEntry(path, file); 109 status_t ApkSplit::addEntry(const String8& path, const sp<AaptFile>& file) { argument 110 if (!mFiles.insert(OutputEntry(path, file)).second) {
|
H A D | FileFinder.h | 35 /* findFiles takes a path, a Vector of extensions, and a destination KeyedVector 36 * and places path/modification date key/values pointing to 39 * path is a valid system path 42 * compares the end of the path string so if the "." 49 * matching files encountered in subdirectories of path 62 * checkAndAddFile looks at a single file path and stat combo 71 * is added to the KeyedVector with the path as the key and the modification 75 static void checkAndAddFile(String8 path, const struct stat* stats,
|
H A D | ApkBuilder.h | 52 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file); 72 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file);
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | PathParser_Delegate.java | 106 assert pathString.length() == stringLength : "Inconsistent path string length."; 125 "Cannot interpolate path data with different lengths (from " + length + " to " + 169 * @param pathData The string representing a path, the same as "d" string in svg file. 211 * @param nodesFrom The source path represented in an array of PathDataNode 212 * @param nodesTo The target path represented in an array of PathDataNode 237 * @param target The target path represented in an array of PathDataNode 238 * @param source The source path represented in an array of PathDataNode 254 // Note that 'e' or 'E' are not valid path commands, but could be 410 * Convert an array of PathDataNode to Path. Reset the passed path as needed before 414 * @param path Th 416 nodesToPath(@onNull PathDataNode[] node, @NonNull Path_Delegate path) argument 443 addCommand(@onNull Path_Delegate path, float[] current, char previousCmd, char cmd, @NonNull float[] val) argument [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | Main.java | 87 for (String path : osJarPath) { 88 log.info("Input : %1$s", path); 152 for (String path : osJarPath) { 153 log.info("- Input JAR : %1$s", path); 216 log.error("Missing parameter: path to input jar"); 220 log.error("Missing parameter: path to output jar");
|
/frameworks/base/tools/layoutlib/rename_font/ |
H A D | test.py | 9 PYTHONPATH="$PYTHONPATH:/path/to/android/checkout/external/fonttools/Lib" ./test.py 30 out_path = os.path.join(destdir, font_name)
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Directory.cpp | 156 Path* DirIterator::path() { function in class:mcld::sys::fs::DirIterator 162 const Path* DirIterator::path() const { function in class:mcld::sys::fs::DirIterator 223 const Path* x_path = path(); 224 const Path* y_path = y.path();
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 78 // The path to the enable file. 79 const char* path; member in struct:TracingCategory::__anon1279 248 static bool truncateFile(const char* path) argument 253 int traceFD = creat(path, 0); 255 fprintf(stderr, "error truncating %s: %s (%d)\n", path, 346 const char* path = category.sysfiles[i].path; local 348 if (path != NULL) { 350 if (!fileIsWritable(path)) { 356 ok |= fileIsWritable(path); 371 const char* path = category.sysfiles[i].path; local 577 const char* path = c.sysfiles[j].path; local 769 const char* path = c.sysfiles[j].path; local [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-release.py | 10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile) 12 if os.path.exists(inputFile):
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-release.py | 10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile) 12 if os.path.exists(inputFile):
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
H A D | TranslationAnimationCreator.java | 62 Path path = new Path(); 63 path.moveTo(startX, startY); 64 path.lineTo(endX, endY); 66 path);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Typeface.java | 187 * @param path The file name of the font data in the assets directory 190 public static Typeface createFromAsset(AssetManager mgr, String path) { argument 193 final String key = createAssetUid(mgr, path); 198 if (fontFamily.addFontFromAsset(mgr, path)) { 206 throw new RuntimeException("Font asset not found " + path); 210 * Creates a unique id for a given AssetManager and asset path. 213 * @param path The path for the asset. 214 * @return Unique id for a given AssetManager and asset path. 216 private static String createAssetUid(final AssetManager mgr, String path) { argument 234 createFromFile(File path) argument 244 createFromFile(String path) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | IBackupAgent.aidl | 137 * @param domain Name of the file's semantic domain to which the 'path' argument is a 138 * relative path. e.g. FullBackup.DATABASE_TREE_TOKEN. 139 * @param path Relative path of the file within its semantic domain. 150 int type, String domain, String path, long mode, long mtime,
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 113 // high contrast draw path 132 // standard draw path 182 float vOffset, const Paint& paint, const SkPath& path) 188 , path(path) { 197 canvas->drawGlyphsOnPath(glyphs, 1, path, x, y, paint); 206 const SkPath& path; member in class:android::DrawTextOnPathFunctor 209 void Canvas::drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, argument 214 hOffset += MinikinUtils::hOffsetForTextAlign(&paintCopy, layout, path); 221 DrawTextOnPathFunctor f(layout, this, hOffset, vOffset, paintCopy, path); 181 DrawTextOnPathFunctor(const Layout& layout, Canvas* canvas, float hOffset, float vOffset, const Paint& paint, const SkPath& path) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | DumpHeapProvider.java | 79 String path = uri.getEncodedPath(); 80 final String tag = Uri.decode(path); 85 throw new FileNotFoundException("Invalid path for " + uri);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathOpsActivity.java | 81 for (Path path : mPaths) { 82 canvas.drawPath(path, mPaint);
|
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);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | Relocator.cpp | 70 fatal(diag::undefined_reference) << reloc_sym << pInput.path() << sect_name 95 fatal(diag::undefined_reference_text) << reloc_sym << pInput.path()
|
/frameworks/base/libs/hwui/ |
H A D | Snapshot.cpp | 96 void Snapshot::clipPath(const SkPath& path, SkRegion::Op op) { argument 98 mClipArea->clipPathWithTransform(path, transform, op); 229 void Snapshot::setProjectionPathMask(LinearAllocator& allocator, const SkPath* path) { argument 232 projectionPathMask = path; 234 if (path) { 236 mask->projectionMask = path;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMANode.java | 55 LinkedList<String> path = new LinkedList<>(); 57 path.addFirst(node.getName()); 59 return path; 72 public abstract String getScalarValue(Iterator<String> path) throws OMAException; argument 74 public abstract OMANode getListValue(Iterator<String> path) throws OMAException; argument 84 public abstract OMANode addChild(String name, String context, String value, String path) argument
|
/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/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/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/ |
H A D | Support13Demos.java | 43 String path = intent.getStringExtra("com.example.android.apis.Path"); 45 if (path == null) { 46 path = ""; 49 setListAdapter(new SimpleAdapter(this, getData(path), 127 protected Intent browseIntent(String path) { argument 130 result.putExtra("com.example.android.apis.Path", path);
|