/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/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);
|
/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/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument 113 if (NULL != path && 114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { 122 DrmMetadata* FwdLockEngine::onGetMetadata(int /* uniqueId */, const String8* path) { argument 127 if (NULL != path) { 227 bool FwdLockEngine::onCanHandle(int /* uniqueId */, const String8& path) { argument 230 String8 extString = path.getPathExtension(); 267 const String8& path, 274 if (onCanHandle(uniqueId, path)) { 306 const String8& path, 266 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument 305 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& ) argument 341 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 93 public static int setPermissions(File path, int mode, int uid, int gid) { argument 94 return setPermissions(path.getAbsolutePath(), mode, uid, gid); 98 * Set owner and mode of of given path. 105 public static int setPermissions(String path, int mode, int uid, int gid) { argument 107 Os.chmod(path, mode); 109 Slog.w(TAG, "Failed to chmod(" + path + "): " + e); 115 Os.chown(path, uid, gid); 117 Slog.w(TAG, "Failed to chown(" + path + "): " + e); 164 * Return owning UID of given path, otherwise -1. 166 public static int getUid(String path) { argument 578 rewriteAfterRename(File beforeDir, File afterDir, String path) argument 727 newFileOrNull(@ullable String path) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | AsecTests.java | 392 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX 395 File f = new File(path, "reference"); 416 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX 419 File f = new File(path, "reference"); 486 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX + "testContainerSize"); 489 File f = new File(path, "reference"); 499 assertNull("Getting the path for an invalid container should return null", 530 String path; field in class:AsecTests.StorageListener 545 public void onStorageStateChanged(String path, String oldState, String newState) { argument 549 this.path 610 onStorageStateChanged(String path, String oldState, String newState) argument [all...] |
/frameworks/native/cmds/installd/ |
H A D | installd.cpp | 63 // Compute the output path of 64 bool calculate_oat_file_path(char path[PKG_PATH_MAX], argument 89 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex", oat_dir, instruction_set, file_name); 97 * Returns false if it failed to determine the odex file path. 99 bool calculate_odex_file_path(char path[PKG_PATH_MAX], argument 104 ALOGE("apk_path '%s' may be too long to form odex file path.\n", apk_path); 108 strcpy(path, apk_path); 109 char *end = strrchr(path, '/'); 114 const char *apk_end = apk_path + (end - path); // strrchr(apk_path, '/'); 116 strcpy(end + 1, "oat/"); // path 128 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 37 // Not a valid path, but this came from a user's test case. 38 builder.path("//foo"); 50 .path("/rss/") 143 .path("/test/") 414 String path, String query, String fragment) { 420 if (path != null) { 421 sb.append(path); 442 uriString, ssp, uri, scheme, authority, path, query, fragment); 444 uriString, ssp, uri, scheme, authority, path, query, fragment); 451 uriString, ssp, uri, scheme, authority, path, quer 413 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument 495 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument [all...] |
/frameworks/base/core/tests/overlaytests/ |
H A D | testrunner.py | 19 TASK_IDMAP_PATH = 'idmap --path' 28 TASK_SETUP_IDMAP_PATH = 'setup idmap --path' 198 def __init__(self, path): 199 self.path = path 205 return self.path 208 return _adb_shell('mkdir -p %s' % self.path) 211 def __init__(self, path): 212 self.path = path [all...] |
/frameworks/base/tools/aapt2/util/ |
H A D | Util.cpp | 468 bool extractResFilePathParts(const StringPiece16& path, StringPiece16* outPrefix, argument 470 if (!stringStartsWith<char16_t>(path, u"res/")) { 474 StringPiece16::const_iterator lastOccurence = path.end(); 475 for (auto iter = path.begin() + StringPiece16(u"res/").size(); iter != path.end(); ++iter) { 481 if (lastOccurence == path.end()) { 485 auto iter = std::find(lastOccurence, path.end(), u'.'); 486 *outSuffix = StringPiece16(iter, path.end() - iter); 488 *outPrefix = StringPiece16(path.begin(), lastOccurence - path [all...] |
/frameworks/opt/net/wifi/service/ |
H A D | Android.mk | 31 $(call include-path-for, libhardware_legacy)/hardware_legacy 53 $(call include-path-for, libhardware_legacy)/hardware_legacy 62 # set correct hal library path 90 $(call include-path-for, libhardware)/hardware \ 91 $(call include-path-for, libhardware_legacy)/hardware_legacy \
|
/frameworks/base/tools/aapt2/link/ |
H A D | TableMerger.cpp | 69 // The old file's path points inside the APK, so we can use it as is. 70 io::IFile* f = collection->findFile(util::utf16ToUtf8(*oldFile->path)); 73 << *oldFile->path 114 // The old file's path points inside the APK, so we can use it as is. 115 io::IFile* f = collection->findFile(util::utf16ToUtf8(*oldFile->path)); 117 mContext->getDiagnostics()->error(DiagMessage(src) << "file '" << *oldFile->path 282 if (util::extractResFilePathParts(*fileRef.path, &prefix, &entry, &suffix)) { 296 std::u16string path = util::utf8ToUtf16(ResourceUtils::buildResourceFileName(fileDesc, local 299 table.stringPool.makeRef(path));
|
/frameworks/base/cmds/idmap/ |
H A D | scan.cpp | 61 String8 flatten_path(const char *path) argument 63 String16 tmp(path); 121 int parse_apk(const char *path, const char *target_package_name) argument 123 std::unique_ptr<ZipFileRO> zip(ZipFileRO::open(path)); 125 ALOGW("%s: failed to open zip %s\n", __FUNCTION__, path);
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.h | 159 virtual bool quickRejectPath(const SkPath& path) const = 0; 163 virtual bool clipPath(const SkPath* path, SkRegion::Op op) = 0; 192 virtual void drawPath(const SkPath& path, const SkPaint& paint) = 0; 232 void drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, 247 virtual void drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path,
|
/frameworks/base/tools/layoutlib/rename_font/ |
H A D | build_font.py | 21 Usage: build_font.py /path/to/input_fonts1/ /path/to/input_fonts2/ /path/to/output_fonts/ 66 sys.exit('Usage: build_font.py /path/to/input_fonts/ /path/to/out/dir/') 68 if not os.path.isdir(directory): 83 input_path = os.path.join(dirname, filename) 84 extension = os.path.splitext(filename)[1].lower() 98 filename = os.path.basename(input_path) 100 # the path t [all...] |
/frameworks/compile/libbcc/gdb_plugin/ |
H A D | android-commands.py | 37 local_symbols_library_directory = os.path.join(os.getenv('ANDROID_PRODUCT_OUT', 'out'), 39 local_library_directory = os.path.join(os.getenv('ANDROID_PRODUCT_OUT', 'out'), 84 return os.path.join(self.data_directory, "lib", "gdbserver") 112 self.adb_path = os.path.join(self.android_build_top, 200 lib_path = os.path.join(local_library_directory, lib + ".so") 201 if not os.path.exists(lib_path) and self.verbose: 220 tmp_path = os.path.join(self.temp_libdir, lib) 478 gdbserver_local_path = os.path.join(os.getenv('ANDROID_BUILD_TOP'), 514 self.gdb_inferior = os.path.join(self.temp_dir, 'app_process') 629 if os.path [all...] |
/frameworks/native/opengl/tools/glgen2/ |
H A D | glgen.py | 20 import os.path namespace 25 # Avoid endlessly adding to the path if this module is imported multiple 27 regpath = os.path.join(sys.path[0], "registry") 28 if sys.path[1] != regpath: 29 sys.path.insert(1, regpath)
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | Healing.java | 56 Path path = new Path(); 59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top); 61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top); 64 path.close(); 65 c.drawPath(path, paint);
|
/frameworks/base/libs/hwui/ |
H A D | ClipArea.h | 95 // region and path - intersected. if either is empty, don't use 150 void clipPathWithTransform(const SkPath& path, const mat4* transform, 210 void regionFromPath(const SkPath& path, SkRegion& pathAsRegion) { argument 211 // TODO: this should not mask every path to the viewport - this makes it impossible to use 213 pathAsRegion.setPath(path, createViewportRegion());
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | CanvasStateTests.cpp | 107 // complex path causes complex clip 108 SkPath path; local 109 path.addOval(SkRect::MakeWH(200, 200)); 111 state.clipPath(&path, SkRegion::kDifference_Op);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 59 * @param path The path of the input media file. 60 * @throws IllegalArgumentException If the path is invalid. 62 public void setDataSource(String path) throws IllegalArgumentException { argument 63 if (path == null) { 67 try (FileInputStream is = new FileInputStream(path)) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestResultPrinter.java | 128 private void purgeFiles(File path) { argument 129 File[] files = path.listFiles(); 132 if (path.isDirectory()) {
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | ObbBackupService.java | 106 long fileSize, int type, String path, long mode, long mtime, 111 outFile = new File(outFile, path); 119 Log.i(TAG, "Exception restoring OBB " + path, e);
|
/frameworks/base/tools/fonts/ |
H A D | fontchain_lint.py | 7 from os import path namespace 75 font_path = path.join(_fonts_dir, font_file) 177 for hyb_file in glob.iglob(path.join(hyphens_dir, '*.hyb')): 178 hyb_file = path.basename(hyb_file) 403 path.join(ucd_path, 'emoji-data.txt'), reverse=True) 405 path.join(ucd_path, 'DerivedAge.txt'), reverse=True) 407 path.join(ucd_path, 'StandardizedVariants.txt')) 410 path.join(ucd_path, 'emoji-sequences.txt')) 412 path.join(ucd_path, 'emoji-zwj-sequences.txt')) 541 _fonts_dir = path [all...] |