Searched refs:newPath (Results 1 - 16 of 16) sorted by relevance

/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp133 char newPath[MAXPATHLEN]; local
134 strcpy(newPath, path);
135 strcat(newPath, "/");
136 strcat(newPath, ent->d_name);
139 scan(newPath);
145 scanFile(newPath);
/frameworks/av/media/mtp/
H A DMtpUtils.h37 int renameTo(const char *oldPath, const char *newPath);
H A DMtpUtils.cpp253 int renameTo(const char *oldPath, const char *newPath) { argument
254 int ret = rename(oldPath, newPath);
256 access_ok(newPath);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiUtils.java255 * @param newPath new path
258 static boolean isAffectingActiveRoutingPath(int activePath, int newPath) { argument
269 int nibble = (newPath >> i) & 0xF;
272 newPath &= mask;
276 if (newPath == 0x0000) {
279 return isInActiveRoutingPath(activePath, newPath);
286 * @param newPath new path
289 static boolean isInActiveRoutingPath(int activePath, int newPath) { argument
291 // where the active nibble is not zero. For (activePath, newPath),
301 int nibbleNew = (newPath >>
[all...]
H A DHdmiCecLocalDeviceTv.java418 int newPath = mService.portIdToPath(portId);
419 startRoutingControl(oldPath, newPath, true, callback);
423 void startRoutingControl(int oldPath, int newPath, boolean queryDevicePowerStatus, argument
426 if (oldPath == newPath) {
430 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath);
434 new RoutingControlAction(this, newPath, queryDevicePowerStatus, callback));
645 int newPath = mService.portIdToPath(getActivePortId());
646 setActivePath(newPath);
647 startRoutingControl(getActivePath(), newPath, false, null);
690 int newPath
[all...]
H A DHdmiCecMessageBuilder.java302 * @param newPath physical address of the new active routing path
305 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { argument
308 (byte) ((newPath >> 8) & 0xFF), (byte) (newPath & 0xFF)
H A DHdmiCecLocalDevicePlayback.java270 int newPath = HdmiUtils.twoBytesToInt(message.getParams(), 2);
271 maySetActiveSource(newPath);
H A DHdmiCecLocalDevice.java836 int pathToPortId(int newPath) { argument
838 return mService.pathToPortId(newPath);
/frameworks/base/core/java/android/content/
H A DUriMatcher.java168 String newPath = path;
171 newPath = path.substring(1);
173 tokens = newPath.split("/");
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_VectorDrawable.cpp47 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); local
48 return reinterpret_cast<jlong>(newPath);
54 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); local
55 return reinterpret_cast<jlong>(newPath);
59 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(); local
60 return reinterpret_cast<jlong>(newPath);
66 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(*srcClipPath); local
67 return reinterpret_cast<jlong>(newPath);
/frameworks/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java863 GeneralPath newPath = new GeneralPath();
867 newPath.append(iterator, false /*connect*/);
868 mPath = newPath;
887 GeneralPath newPath = new GeneralPath();
891 newPath.append(iterator, false /*connect*/);
894 dst.mPath = newPath;
896 mPath = newPath;
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java564 Path newPath = obj.getPath();
565 boolean success = oldPath.toFile().renameTo(newPath.toFile());
568 Os.access(newPath.toString(), OsConstants.F_OK);
582 values.put(Files.FileColumns.DATA, newPath.toString());
595 if (oldPath.getFileName().startsWith(".") && !newPath.startsWith(".")) {
598 mMediaProvider.call(MediaStore.UNHIDE_CALL, newPath.toString(), null);
600 Log.e(TAG, "failed to unhide/rescan for " + newPath);
606 && !newPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA)) {
611 Log.e(TAG, "failed to unhide/rescan for " + newPath);
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp288 std::string newPath = prefix.to_string() + mangled_entry + suffix.to_string(); local
290 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath));
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java1313 final VPath newPath;
1315 newPath = new VFullPath((VFullPath) copyChild);
1317 newPath = new VClipPath((VClipPath) copyChild);
1321 addChild(newPath);
1322 if (newPath.mPathName != null) {
1323 targetsMap.put(newPath.mPathName, newPath);
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DVectorDrawableCompat.java1333 VPath newPath = null;
1335 newPath = new VFullPath((VFullPath) copyChild);
1337 newPath = new VClipPath((VClipPath) copyChild);
1341 mChildren.add(newPath);
1342 if (newPath.mPathName != null) {
1343 targetsMap.put(newPath.mPathName, newPath);
/frameworks/base/core/java/android/net/
H A DUri.java2209 String newPath;
2212 newPath = "/" + newSegment;
2214 newPath = oldPath + newSegment;
2216 newPath = oldPath + "/" + newSegment;
2219 return fromEncoded(newPath);

Completed in 520 milliseconds