Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/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;
400 final Path newPath = PathParser.createPathFromPathData(spec);
401 newPath.transform(mMatrix);
402 computeBoundsRectAndAddToRegion(newPath, region, mTmpRect);
410 Log.d(TAG, "spec = \"" + spec + "\" rect = " + mTmpRect + " newPath = " + newPath);
427 setEdgeCutout(newPath);
/frameworks/base/core/java/android/content/
DUriMatcher.java169 String newPath = path; in addURI() local
172 newPath = path.substring(1); in addURI()
174 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.java386 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local
387 startRoutingControl(oldPath, newPath, callback); in doManualPortSwitching()
391 void startRoutingControl(int oldPath, int newPath, IHdmiControlCallback callback) { in startRoutingControl() argument
393 if (oldPath == newPath) { in startRoutingControl()
398 getDeviceInfo().getLogicalAddress(), oldPath, newPath); in startRoutingControl()
402 new RoutingControlAction(this, newPath, callback)); in startRoutingControl()
583 int newPath = mService.portIdToPath(getActivePortId()); in handleNewDeviceAtTheTailOfActivePath() local
584 setActivePath(newPath); in handleNewDeviceAtTheTailOfActivePath()
585 startRoutingControl(getActivePath(), newPath, null); in handleNewDeviceAtTheTailOfActivePath() local
629 int newPath = HdmiUtils.twoBytesToInt(params, 2); in handleRoutingChange() local
[all …]
DHdmiUtils.java322 static boolean isAffectingActiveRoutingPath(int activePath, int newPath) { in isAffectingActiveRoutingPath() argument
333 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath()
336 newPath &= mask; in isAffectingActiveRoutingPath()
340 if (newPath == 0x0000) { in isAffectingActiveRoutingPath()
343 return isInActiveRoutingPath(activePath, newPath); in isAffectingActiveRoutingPath()
353 static boolean isInActiveRoutingPath(int activePath, int newPath) { in isInActiveRoutingPath() argument
354 @PathRelationship int pathRelationship = pathRelationship(newPath, activePath); in isInActiveRoutingPath()
DHdmiCecMessageBuilder.java348 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { in buildRoutingChange() argument
351 (byte) ((newPath >> 8) & 0xFF), (byte) (newPath & 0xFF) in buildRoutingChange()
DHdmiCecLocalDeviceAudioSystem.java921 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local
922 if (oldPath == newPath) { in doManualPortSwitching()
929 getDeviceInfo().getLogicalAddress(), oldPath, newPath); in doManualPortSwitching()
DHdmiCecLocalDevice.java1240 int pathToPortId(int newPath) { in pathToPortId() argument
1242 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/tools/aapt2/link/
DTableMerger.cpp328 std::string newPath = prefix.to_string() + mangled_entry + suffix.to_string(); in CloneAndMangleFile() local
330 util::make_unique<FileReference>(main_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile()
/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/core/java/android/net/
DUri.java2241 String newPath; in appendEncodedSegment() local
2244 newPath = "/" + newSegment; in appendEncodedSegment()
2246 newPath = oldPath + newSegment; in appendEncodedSegment()
2248 newPath = oldPath + "/" + newSegment; in appendEncodedSegment()
2251 return fromEncoded(newPath); in appendEncodedSegment()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1335 final VPath newPath; in VGroup() local
1337 newPath = new VFullPath((VFullPath) copyChild); in VGroup()
1339 newPath = new VClipPath((VClipPath) copyChild); in VGroup()
1343 addChild(newPath); in VGroup()
1344 if (newPath.mPathName != null) { in VGroup()
1345 targetsMap.put(newPath.mPathName, newPath); in VGroup()
/frameworks/base/services/incremental/
DIncrementalService.h181 std::string_view newPath);
DIncrementalService.cpp1241 StorageId destStorageId, std::string_view newPath) { in link() argument
1252 std::string normNewPath = normalizePathToStorage(*ifsSrc, destStorageId, newPath); in link()
1259 << " to " << newPath << "[" << normNewPath << "]"; in link()
/frameworks/base/core/java/android/app/
DActivityThread.java7841 public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument
7843 super.rename(oldPath, newPath); in rename()
7853 && newPath.startsWith("/storage/emulated")) { in rename()
7854 Log.v(TAG, "Recovering failed rename " + oldPath + " to " + newPath); in rename()
7856 Files.move(new File(oldPath).toPath(), new File(newPath).toPath(), in rename()