/frameworks/base/libs/androidfw/ |
H A D | AssetManager.cpp | 97 String8 path(root); 98 path.appendPath(kResourceCache); 114 path.appendPath(filename); 115 path.append("@idmap"); 117 return path; 173 bool AssetManager::addAssetPath(const String8& path, int32_t* cookie) argument 179 String8 realPath(path); 185 ap.path = realPath; 187 ap.path = path; 1016 String8 path; local 1311 String8 path; local 1437 scanDirLocked(const String8& path) argument 1863 SharedZip(const String8& path, time_t modWhen) argument 1875 get(const String8& path, bool createIfNotPresent) argument 2009 getZip(const String8& path) argument 2020 getZipResourceTableAsset(const String8& path) argument 2031 setZipResourceTableAsset(const String8& path, Asset* asset) argument 2040 getZipResourceTable(const String8& path) argument 2051 setZipResourceTable(const String8& path, ResTable* res) argument 2082 addOverlay(const String8& path, const asset_path& overlay) argument 2089 getOverlay(const String8& path, size_t idx, asset_path* out) const argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | PathTessellator.cpp | 387 // create degenerate tris to start inside path 725 void PathTessellator::tessellatePath(const SkPath &path, const SkPaint* paint, argument 736 // expansion done after the path vertices are found 737 SkRect bounds = path.getBounds(); 744 // force close if we're filling the path, since fill path expects closed perimeter. 746 bool wasClosed = approximatePathOutlineVertices(path, forceClose, 751 // path was empty, return without allocating vertex buffer 757 ALOGD("orig path: point at %f %f", 778 // For kStrokeAndFill style, the path shoul 813 SkPath path; local 904 approximatePathOutlineVertices(const SkPath& path, float thresholdSquared, Vector<Vertex>& outputVertices) argument 916 approximatePathOutlineVertices(const SkPath& path, bool forceClose, float sqrInvScaleX, float sqrInvScaleY, float thresholdSquared, Vector<Vertex>& outputVertices) argument [all...] |
H A D | DisplayListOp.h | 396 // Convex path, points at data in RenderNode, valid for the duration of the frame only 569 ClipPathOp(const SkPath* path, SkRegion::Op op) argument 570 : ClipOp(op), mPath(path) {} 1221 DrawPathOp(const SkPath* path, const SkPaint* paint) argument 1222 : DrawBoundedOp(paint), mPath(path) { 1225 PathCache::computePathBounds(path, paint, left, top, offset, width, height); 1332 const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) 1334 mPath(path), mHOffset(hOffset), mVOffset(vOffset) { 1331 DrawTextOnPathOp(const char* text, int bytesCount, int count, const SkPath* path, float hOffset, float vOffset, const SkPaint* paint) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 348 // set to true if file path comparisons should be case insensitive. 361 FileEntry(long rowId, String path, long lastModified, int format) { argument 363 mPath = path; 376 String path; field in class:MediaScanner.PlaylistEntry 442 public FileEntry beginFile(String path, String mimeType, long lastModified, argument 450 if (!noMedia && isNoMediaFile(path)) { 462 MediaFile.MediaFileType mediaFileType = MediaFile.getFileType(path); 472 mFileType = getFileTypeFromDrm(path); 476 FileEntry entry = makeEntryFor(path); 484 entry = new FileEntry(0, path, lastModifie 517 scanFile(String path, long lastModified, long fileSize, boolean isDirectory, boolean noMedia) argument 524 doScanFile(String path, String mimeType, long lastModified, long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) argument 733 processImageFile(String path) argument 1017 doesPathHaveFilename(String path, String filename) argument 1036 getFileTypeFromDrm(String path) argument 1174 inScanDirectory(String path, String[] directories) argument 1359 scanSingleFile(String path, String volumeName, String mimeType) argument 1383 isNoMediaFile(String path) argument 1432 isNoMediaPath(String path) argument 1474 scanMtpFile(String path, String volumeName, int objectHandle, int format) argument 1531 makeEntryFor(String path) argument 1662 processM3uPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument 1694 processPlsPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument 1763 processWplPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument 1864 processDirectory(String path, MediaScannerClient client) argument 1865 processFile(String path, String mimeType, MediaScannerClient client) argument [all...] |
H A D | MediaPlayer.java | 1018 * Sets the data source (file-path or http/rtsp URL) to use. 1020 * @param path the path of the file, or the http/rtsp URL of the stream you want to play 1023 * <p>When <code>path</code> refers to a local file, the file may actually be opened by a 1025 * should be an absolute path (as any other process runs with unspecified current working 1030 public void setDataSource(String path) argument 1032 setDataSource(path, null, null); 1036 * Sets the data source (file-path or http/rtsp URL) to use. 1038 * @param path the path o 1043 setDataSource(String path, Map<String, String> headers) argument 1063 setDataSource(String path, String[] keys, String[] values) argument 1090 nativeSetDataSource( IBinder httpServiceBinder, String path, String[] keys, String[] values) argument 2084 addTimedTextSource(String path, String mimeType) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDeviceTv.java | 348 void updateActiveInput(int path, boolean notifyInputChange) { argument 352 setActivePath(path); 363 info = new HdmiDeviceInfo(path, getActivePortId()); 573 int path = HdmiUtils.twoBytesToInt(message.getParams()); 577 if (updateCecSwitchInfo(address, type, path)) return true; 585 if (!isInDeviceList(address, path)) { 586 handleNewDeviceAtTheTailOfActivePath(path); 591 HdmiDeviceInfo deviceInfo = new HdmiDeviceInfo(address, path, getPortId(path), type, 594 startNewDeviceAction(ActiveSource.of(address, path), typ 617 updateCecSwitchInfo(int address, int type, int path) argument 649 handleNewDeviceAtTheTailOfActivePath(int path) argument 668 isTailOfActivePath(int path, int activePath) argument 1298 isConnectedToCecSwitch(int path, Collection<Integer> switches) argument 1425 handleRemoveActiveRoutingPath(int path) argument 1470 getDeviceInfoByPath(int path) argument 1488 getSafeDeviceInfoByPath(int path) argument [all...] |
H A D | HdmiControlService.java | 238 // Map from path(physical address) to port ID. 689 * Returns the routing path (physical address) of the HDMI port for the given 703 * the specified routing path. For the routing path 0x1220 (1.2.2.0), for instance, 705 * 0x1000 (1.0.0.0) which is the topmost path of the given routing path. 707 int pathToPortId(int path) { argument 708 int portAddress = path & Constants.ROUTING_PATH_TOP_MASK;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | Settings.java | 486 Slog.w(PackageManagerService.TAG, "Trying to update system app code path from " 489 // Just a change in the code path is not an issue, but 495 * native library path over the one stored in the 659 // Update code path if needed 661 Slog.w(PackageManagerService.TAG, "Code path for pkg : " + p.pkg.packageName + 666 //Update resource path if needed 668 Slog.w(PackageManagerService.TAG, "Resource path for pkg : " + p.pkg.packageName + 1668 // Avoid any application that has a space in its path. 1677 // dataPath - path to package's data path 2375 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) argument 3055 createNewUserLILPw(PackageManagerService service, Installer installer, int userHandle, File path) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | CameraStreamer.java | 1444 * @param outputPath the output video path for the recorder 1848 * @param path the output video path for the recorder 1852 public void createRecorder(String path, CamcorderProfile profile) { argument 1853 mCameraRunner.createRecorder(path, profile);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 36 * Pass in just the filename, not the full path. 49 return false; // reject path sep chars 66 static bool isHidden(const char *root, const char *path) argument 81 if (strcmp(path, ".") == 0 || strcmp(path, "..") == 0) { 100 fullPath.appendPath(path); 103 int plen = strlen(path); 128 ignore = strncasecmp(token, path + plen - n, n) == 0; 132 ignore = strncasecmp(token, path, n - 1) == 0; 134 ignore = strcasecmp(token, path) 637 makeDir(const String8& path) argument 979 addResource(const String8& leafName, const String8& path, const sp<AaptFile>& file, const String8& resType) argument [all...] |
H A D | AaptAssets.h | 184 // a full path to a file on the filesystem that holds its data. 213 AaptGroup(const String8& leaf, const String8& path) argument 214 : mLeaf(leaf), mPath(path) { } 219 // Returns the relative path after the AaptGroupEntry dirs. 246 AaptDir(const String8& leaf, const String8& path) argument 247 : mLeaf(leaf), mPath(path) { } 538 const String8& path,
|
H A D | Resource.cpp | 455 static int validateAttr(const String8& path, const ResTable& table, argument 471 path.string(), parser.getLineNumber(), 487 path.string(), parser.getLineNumber(), 496 path.string(), parser.getLineNumber(), 502 path.string(), parser.getLineNumber(), 508 path.string(), parser.getLineNumber(), 527 path.string(), parser.getLineNumber(), 535 path.string(), parser.getLineNumber(), 541 path.string(), parser.getLineNumber(), 549 path 556 checkForIds(const String8& path, ResXMLParser& parser) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 473 /*package*/ static boolean native_quickReject(long nativeCanvas, long path) { argument 693 /*package*/ static void native_drawPath(long nativeCanvas, long path, long paint) { argument 694 final Path_Delegate pathDelegate = Path_Delegate.getDelegate(path); 883 int count, long path, 894 String text, long path, 881 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument 893 native_drawTextOnPath(long nativeCanvas, String text, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
|
H A D | Paint_Delegate.java | 1047 int bidiFlags, char[] text, int index, int count, float x, float y, long path) { 1055 int bidiFlags, String text, int start, int end, float x, float y, long path) { 1046 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument 1054 native_getTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument
|
/frameworks/native/cmds/installd/ |
H A D | commands.c | 47 ALOGE("cannot create package path\n"); 52 ALOGE("cannot create package lib symlink origin path\n"); 57 ALOGE("cannot create package lib symlink dest path\n"); 156 ALOGE("cannot create package path\n"); 203 ALOGE("cannot create package lib symlink origin path\n"); 207 ALOGE("cannot create package lib symlink dest path\n"); 362 snprintf(tmpdir, sizeof(tmpdir), "%s%s", android_data_dir.path, 389 strcpy(tmpdir, android_media_dir.path); 427 ALOGE("invalid apk path '%s' (bad prefix)\n", src); 431 ALOGE("invalid apk path ' 447 rm_dex(const char *path, const char *instruction_set) argument 478 char path[PKG_PATH_MAX]; local 588 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument 1111 mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, struct stat* statbuf) argument [all...] |
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 140 EventHub::Device::Device(int fd, int32_t id, const String8& path, argument 143 fd(fd), id(id), path(path), identifier(identifier), 693 if (device->path == devicePath) { 728 device->id, device->path.string()); 750 device->id, device->path.string()); 832 device->path.string(), 902 device->path.string(), event->when, time, now); 905 ALOGV("Event time is ok but failed the fast path and required " 1280 ALOGV("Dropping device: id=%d, path 1396 String8 path; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCommandInterface.java | 291 public void iccIO (int command, int fileid, String path, int p1, int p2, argument 295 public void iccIOForApp (int command, int fileid, String path, int p1, int p2, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 292 public void iccIO (int command, int fileid, String path, int p1, int p2, argument 296 public void iccIOForApp (int command, int fileid, String path, int p1, int p2, argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 396 public void iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, argument 661 public void iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 179 * @deprecated callers should move to explicitly passing around source path. 254 * this is path to single base APK file; for cluster packages this is 255 * path to the cluster directory. 369 private static boolean isApkPath(String path) { argument 370 return path.endsWith(".apk"); 784 for (String path : lite.splitCodePaths) { 785 loadApkIntoAssetManager(assets, path, flags); 852 // The AssetManager guarantees uniqueness for asset paths, so if this asset path 858 "Failed adding asset path: " + apkPath); 1142 * @param apkFile path t [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 429 assertStartsWith("The APK path should point to the ASEC", 431 assertStartsWith("The public APK path should point to the ASEC", 433 assertStartsWith("The native library path should point to the ASEC", 480 assertStartsWith("The APK path should point to the ASEC", 482 assertStartsWith("The public APK path should point to the ASEC", 484 assertStartsWith("The native library path should point to the ASEC", 509 String path) { 510 if (!new File(path).exists()) { 516 stat = Os.lstat(path); 518 throw new AssertionError(reason + "\n" + "Got: " + path 508 assertDirOwnerGroupPermsIfExists(String reason, int uid, int gid, int perms, String path) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 803 * Modify the current clip with the specified path. 805 * @param path The path to operate on the current clip 809 public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) { argument 810 return native_clipPath(mNativeCanvasWrapper, path.ni(), op.nativeInt); 814 * Intersect the current clip with the specified path. 816 * @param path The path to intersect with the current clip 819 public boolean clipPath(@NonNull Path path) { argument 820 return clipPath(path, Regio 926 quickReject(@onNull Path path, @NonNull EdgeType type) argument 1273 drawPath(@onNull Path path, @NonNull Paint paint) argument 1864 drawTextOnPath(@onNull char[] text, int index, int count, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument 1887 drawTextOnPath(@onNull String text, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument [all...] |
H A D | Paint.java | 348 * The stroke ends with the path, and does not project beyond it. 353 * end of the path. 358 * of the path. 370 * join on a stroked path. The default is MITER. 895 * @param src input path 896 * @param dst output path (may be the same as src) 897 * @return true if the path should be filled, or false if it should be 2134 * Return the path (outline) for the specified text. 2138 * @param text The text to retrieve the path from 2143 * @param path Th 2146 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument 2168 getTextPath(String text, int start, int end, float x, float y, Path path) argument 2282 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument 2284 native_getTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 223 /** Map from path to {@link StorageVolume} */ 226 /** Map from path to state */ 381 final String path; field in class:MountService.UnmountCallBack 386 UnmountCallBack(String path, boolean force, boolean removeEncryption) { argument 388 this.path = path; 394 if (DEBUG_UNMOUNT) Slog.i(TAG, "Unmounting " + path); 395 doUnmountVolume(path, true, removeEncryption); 402 UmsEnableCallBack(String path, String method, boolean force) { argument 403 super(path, forc 416 ShutdownCallBack(String path, final MountShutdownLatch mountShutdownLatch) argument 732 doShareUnshareVolume(String path, String method, boolean enable) argument 1033 notifyVolumeStateChange(String label, String path, int oldState, int newState) argument 1100 doMountVolume(String path) argument 1169 doUnmountVolume(String path, boolean force, boolean removeEncryption) argument 1211 doFormatVolume(String path) argument 1227 doGetVolumeShared(String path, String method) argument 1734 mountVolume(String path) argument 1740 unmountVolume(String path, boolean force, boolean removeEncryption) argument 1762 formatVolume(String path) argument 1769 getStorageUsers(String path) argument 2522 maybeTranslatePathForVold( String path, File[] appPaths, File[] voldPaths) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigStore.java | 582 public void onEvent(int event, String path) { argument 1858 localLog("readNetworkHistory() path:" + networkHistoryConfigFile); 3439 newConfig.SSID + " path: " + ipConfigFile);
|