Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/id3/
Dtestid3.cpp133 char newPath[MAXPATHLEN]; in scan() local
134 strcpy(newPath, path); in scan()
135 strcat(newPath, "/"); in scan()
136 strcat(newPath, ent->d_name); in scan()
139 scan(newPath); in scan()
145 scanFile(newPath); in scan()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceSource.java163 int newPath = HdmiUtils.twoBytesToInt(message.getParams(), 2); in handleRoutingChange() local
166 && newPath == mService.getPhysicalAddress() in handleRoutingChange()
168 setAndBroadcastActiveSource(message, newPath); in handleRoutingChange()
170 handleRoutingChangeAndInformation(newPath, message); in handleRoutingChange()
DHdmiUtils.java280 static boolean isAffectingActiveRoutingPath(int activePath, int newPath) { in isAffectingActiveRoutingPath() argument
291 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath()
294 newPath &= mask; in isAffectingActiveRoutingPath()
298 if (newPath == 0x0000) { in isAffectingActiveRoutingPath()
301 return isInActiveRoutingPath(activePath, newPath); in isAffectingActiveRoutingPath()
311 static boolean isInActiveRoutingPath(int activePath, int newPath) { in isInActiveRoutingPath() argument
323 int nibbleNew = (newPath >> i) & 0xF; in isInActiveRoutingPath()
DHdmiCecLocalDeviceTv.java412 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local
413 startRoutingControl(oldPath, newPath, true, callback); in doManualPortSwitching()
417 void startRoutingControl(int oldPath, int newPath, boolean queryDevicePowerStatus, in startRoutingControl() argument
420 if (oldPath == newPath) { in startRoutingControl()
424 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath); in startRoutingControl()
428 new RoutingControlAction(this, newPath, queryDevicePowerStatus, callback)); in startRoutingControl()
628 int newPath = mService.portIdToPath(getActivePortId()); in handleNewDeviceAtTheTailOfActivePath() local
629 setActivePath(newPath); in handleNewDeviceAtTheTailOfActivePath()
630 startRoutingControl(getActivePath(), newPath, false, null); in handleNewDeviceAtTheTailOfActivePath() local
673 int newPath = HdmiUtils.twoBytesToInt(params, 2); in handleRoutingChange() local
[all …]
DHdmiCecMessageBuilder.java358 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { in buildRoutingChange() argument
361 (byte) ((newPath >> 8) & 0xFF), (byte) (newPath & 0xFF) in buildRoutingChange()
DHdmiCecLocalDeviceAudioSystem.java987 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local
988 if (oldPath == newPath) { in doManualPortSwitching()
994 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath); in doManualPortSwitching()
DHdmiCecLocalDevice.java929 int pathToPortId(int newPath) { in pathToPortId() argument
931 return mService.pathToPortId(newPath); in pathToPortId()
/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/core/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp47 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(); in createEmptyFullPath() local
48 return reinterpret_cast<jlong>(newPath); in createEmptyFullPath()
54 VectorDrawable::FullPath* newPath = new VectorDrawable::FullPath(*srcFullPath); in createFullPath() local
55 return reinterpret_cast<jlong>(newPath); in createFullPath()
59 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(); in createEmptyClipPath() local
60 return reinterpret_cast<jlong>(newPath); in createEmptyClipPath()
66 VectorDrawable::ClipPath* newPath = new VectorDrawable::ClipPath(*srcClipPath); in createClipPath() local
67 return reinterpret_cast<jlong>(newPath); in createClipPath()
/frameworks/av/media/mtp/
DMtpUtils.cpp253 int renameTo(const char *oldPath, const char *newPath) { in renameTo() argument
254 int ret = rename(oldPath, newPath); in renameTo()
256 access_ok(newPath); in renameTo()
DMtpUtils.h37 int renameTo(const char *oldPath, const char *newPath);
/frameworks/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java873 GeneralPath newPath = new GeneralPath(); in offset() local
877 newPath.append(iterator, false /*connect*/); in offset()
878 mPath = newPath; in offset()
897 GeneralPath newPath = new GeneralPath(); in transform() local
901 newPath.append(iterator, false /*connect*/); in transform()
904 dst.mPath = newPath; in transform()
906 mPath = newPath; in transform()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java557 Path newPath = obj.getPath(); in renameFile()
558 boolean success = oldPath.toFile().renameTo(newPath.toFile()); in renameFile()
561 Os.access(newPath.toString(), OsConstants.F_OK); in renameFile()
575 values.put(Files.FileColumns.DATA, newPath.toString()); in renameFile()
589 if (oldPath.getFileName().startsWith(".") && !newPath.startsWith(".")) { in renameFile()
590 MediaStore.scanFile(mContext, newPath.toFile()); in renameFile()
595 && !newPath.getFileName().toString().toLowerCase(Locale.US).equals(NO_MEDIA)) { in renameFile()
596 MediaStore.scanFile(mContext, newPath.getParent().toFile()); in renameFile()
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp320 std::string newPath = prefix.to_string() + mangled_entry + suffix.to_string(); in CloneAndMangleFile() local
322 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath)); in CloneAndMangleFile()
/frameworks/base/core/java/android/net/
DUri.java2234 String newPath; in appendEncodedSegment() local
2237 newPath = "/" + newSegment; in appendEncodedSegment()
2239 newPath = oldPath + newSegment; in appendEncodedSegment()
2241 newPath = oldPath + "/" + newSegment; in appendEncodedSegment()
2244 return fromEncoded(newPath); in appendEncodedSegment()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1331 final VPath newPath; in VGroup() local
1333 newPath = new VFullPath((VFullPath) copyChild); in VGroup()
1335 newPath = new VClipPath((VClipPath) copyChild); in VGroup()
1339 addChild(newPath); in VGroup()
1340 if (newPath.mPathName != null) { in VGroup()
1341 targetsMap.put(newPath.mPathName, newPath); in VGroup()
/frameworks/base/core/java/android/app/
DActivityThread.java7332 public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument
7334 super.rename(oldPath, newPath); in rename()
7337 Log.v(TAG, "Recovering failed rename " + oldPath + " to " + newPath); in rename()
7339 Files.move(new File(oldPath).toPath(), new File(newPath).toPath()); in rename()