Home
last modified time | relevance | path

Searched refs:newPath (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/media/module/id3/
Dtestid3.cpp135 char newPath[MAXPATHLEN]; in scan() local
136 strcpy(newPath, path); in scan()
137 strcat(newPath, "/"); in scan()
138 strcat(newPath, ent->d_name); in scan()
141 scan(newPath); in scan()
147 scanFile(newPath); in scan()
/frameworks/base/core/java/android/view/
DCutoutSpecification.java371 private void setEdgeCutout(@NonNull Path newPath) {
386 mPath.addPath(newPath);
388 mPath = newPath;
399 final Path newPath = PathParser.createPathFromPathData(spec);
400 newPath.transform(mMatrix);
401 computeBoundsRectAndAddToRegion(newPath, region, mTmpRect);
409 Log.d(TAG, "spec = \"" + spec + "\" rect = " + mTmpRect + " newPath = " + newPath);
426 setEdgeCutout(newPath);
/frameworks/base/core/java/android/content/
DUriMatcher.java170 String newPath = path; in addURI() local
173 newPath = path.substring(1); in addURI()
175 tokens = newPath.split("/"); in addURI()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp45 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); in createEmptyFullPath() local
46 return reinterpret_cast<jlong>(newPath); in createEmptyFullPath()
52 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); in createFullPath() local
53 return reinterpret_cast<jlong>(newPath); in createFullPath()
57 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(); in createEmptyClipPath() local
58 return reinterpret_cast<jlong>(newPath); in createEmptyClipPath()
64 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(*srcClipPath); in createClipPath() local
65 return reinterpret_cast<jlong>(newPath); in createClipPath()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceTv.java418 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local
419 startRoutingControl(oldPath, newPath, callback); in doManualPortSwitching()
423 void startRoutingControl(int oldPath, int newPath, IHdmiControlCallback callback) { in startRoutingControl() argument
425 if (oldPath == newPath) { in startRoutingControl()
430 getDeviceInfo().getLogicalAddress(), oldPath, newPath); in startRoutingControl()
434 new RoutingControlAction(this, newPath, callback)); in startRoutingControl()
631 int newPath = mService.portIdToPath(getActivePortId()); in handleNewDeviceAtTheTailOfActivePath() local
632 setActivePath(newPath); in handleNewDeviceAtTheTailOfActivePath()
633 startRoutingControl(getActivePath(), newPath, null); in handleNewDeviceAtTheTailOfActivePath() local
677 int newPath = HdmiUtils.twoBytesToInt(params, 2); in handleRoutingChange() local
[all …]
DHdmiUtils.java320 static boolean isAffectingActiveRoutingPath(int activePath, int newPath) { in isAffectingActiveRoutingPath() argument
331 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath()
334 newPath &= mask; in isAffectingActiveRoutingPath()
338 if (newPath == 0x0000) { in isAffectingActiveRoutingPath()
341 return isInActiveRoutingPath(activePath, newPath); in isAffectingActiveRoutingPath()
351 static boolean isInActiveRoutingPath(int activePath, int newPath) { in isInActiveRoutingPath() argument
352 @PathRelationship int pathRelationship = pathRelationship(newPath, activePath); in isInActiveRoutingPath()
DHdmiCecMessageBuilder.java359 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { in buildRoutingChange() argument
362 (byte) ((newPath >> 8) & 0xFF), (byte) (newPath & 0xFF) in buildRoutingChange()
DHdmiCecLocalDeviceAudioSystem.java1083 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local
1084 if (oldPath == newPath) { in doManualPortSwitching()
1091 getDeviceInfo().getLogicalAddress(), oldPath, newPath); in doManualPortSwitching()
DHdmiCecLocalDevice.java1280 int pathToPortId(int newPath) { in pathToPortId() argument
1282 return mService.pathToPortId(newPath); in pathToPortId()
/frameworks/av/media/mtp/
DMtpUtils.cpp254 int renameTo(const char *oldPath, const char *newPath) { in renameTo() argument
255 int ret = rename(oldPath, newPath); in renameTo()
257 access_ok(newPath); in renameTo()
DMtpUtils.h37 int renameTo(const char *oldPath, const char *newPath);
/frameworks/base/core/java/android/net/
DUri.java1209 final PathPart newPath = hasSchemeOrAuthority ? PathPart.makeAbsolute(originalPath) in generatePath() local
1211 return newPath == null ? PathPart.NULL : newPath; in generatePath()
2253 String newPath; in appendEncodedSegment() local
2256 newPath = "/" + newSegment; in appendEncodedSegment()
2258 newPath = oldPath + newSegment; in appendEncodedSegment()
2260 newPath = oldPath + "/" + newSegment; in appendEncodedSegment()
2263 return fromEncoded(newPath); in appendEncodedSegment()
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp330 std::string newPath = (std::string(prefix) += mangled_entry) += suffix; in CloneAndMangleFile() local
332 util::make_unique<FileReference>(main_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1534 @NonNull File newPath, in linkFilesToOldDirs() argument
1539 if (IncrementalManager.isIncrementalPath(newPath.getPath())) { in linkFilesToOldDirs()
1543 final File[] filesInNewPath = newPath.listFiles(); in linkFilesToOldDirs()
1561 linkFilesAndSetModes(installer, packageName, newPath, oldPath, splitApkNames, in linkFilesToOldDirs()
1563 linkNativeLibraries(installer, packageName, newPath, oldPath, LIB_DIR_NAME); in linkFilesToOldDirs()
1564 linkNativeLibraries(installer, packageName, newPath, oldPath, LIB64_DIR_NAME); in linkFilesToOldDirs()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java575 Path newPath = obj.getPath(); in renameFile()
576 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile()
579 Os.access(newPath.toString(), OsConstants.F_OK); in renameFile()
592 updateMediaStore(mContext, newPath.toFile()); in renameFile()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1328 final VPath newPath; in VGroup() local
1330 newPath = new VFullPath((VFullPath) copyChild); in VGroup()
1332 newPath = new VClipPath((VClipPath) copyChild); in VGroup()
1336 addChild(newPath); in VGroup()
1337 if (newPath.mPathName != null) { in VGroup()
1338 targetsMap.put(newPath.mPathName, newPath); in VGroup()
/frameworks/base/services/incremental/
DIncrementalService.h181 std::string_view newPath);
DIncrementalService.cpp1256 StorageId destStorageId, std::string_view newPath) { in link() argument
1267 std::string normNewPath = normalizePathToStorage(*ifsSrc, destStorageId, newPath); in link()
1274 << " to " << newPath << "[" << normNewPath << "]"; in link()
/frameworks/base/core/java/android/app/
DActivityThread.java8628 public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument
8630 super.rename(oldPath, newPath); in rename()
8640 && newPath.startsWith("/storage/emulated")) { in rename()
8641 Log.v(TAG, "Recovering failed rename " + oldPath + " to " + newPath); in rename()
8643 Files.move(new File(oldPath).toPath(), new File(newPath).toPath(), in rename()