Searched refs:newPath (Results 1 - 15 of 15) 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/base/services/core/java/com/android/server/hdmi/
H A DHdmiUtils.java229 * @param newPath new path
232 static boolean isAffectingActiveRoutingPath(int activePath, int newPath) { argument
243 int nibble = (newPath >> i) & 0xF;
246 newPath &= mask;
250 if (newPath == 0x0000) {
253 return isInActiveRoutingPath(activePath, newPath);
260 * @param newPath new path
263 static boolean isInActiveRoutingPath(int activePath, int newPath) { argument
265 // where the active nibble is not zero. For (activePath, newPath),
275 int nibbleNew = (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 DHdmiCecLocalDeviceTv.java410 int newPath = mService.portIdToPath(portId);
411 startRoutingControl(oldPath, newPath, true, callback);
415 void startRoutingControl(int oldPath, int newPath, boolean queryDevicePowerStatus, argument
418 if (oldPath == newPath) {
422 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath);
426 new RoutingControlAction(this, newPath, queryDevicePowerStatus, callback));
669 int newPath = mService.portIdToPath(getActivePortId());
670 setActivePath(newPath);
671 startRoutingControl(getActivePath(), newPath, false, null);
714 int newPath
[all...]
H A DHdmiCecLocalDevicePlayback.java270 int newPath = HdmiUtils.twoBytesToInt(message.getParams(), 2);
271 maySetActiveSource(newPath);
H A DHdmiCecLocalDevice.java835 int pathToPortId(int newPath) { argument
837 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/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java857 GeneralPath newPath = new GeneralPath();
861 newPath.append(iterator, false /*connect*/);
862 mPath = newPath;
881 GeneralPath newPath = new GeneralPath();
885 newPath.append(iterator, false /*connect*/);
888 dst.mPath = newPath;
890 mPath = newPath;
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java784 String newPath = path.substring(0, lastSlash + 1) + newName;
785 File newFile = new File(newPath);
788 Log.w(TAG, "renaming "+ path + " to " + newPath + " failed");
794 values.put(Files.FileColumns.DATA, newPath);
804 Log.e(TAG, "Unable to update path for " + path + " to " + newPath);
813 if (oldFile.getName().startsWith(".") && !newPath.startsWith(".")) {
816 mMediaProvider.call(MediaStore.UNHIDE_CALL, newPath, null);
818 Log.e(TAG, "failed to unhide/rescan for " + newPath);
824 && !newPath.toLowerCase(Locale.US).equals(".nomedia")) {
828 Log.e(TAG, "failed to unhide/rescan for " + newPath);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java851 VPath_Delegate newPath;
853 newPath = new VFullPath_Delegate((VFullPath_Delegate) copyChild);
855 newPath = new VClipPath_Delegate((VClipPath_Delegate) copyChild);
859 mChildren.add(newPath);
860 if (newPath.mPathName != null) {
861 targetsMap.put(newPath.mPathName, newPath);
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp284 std::u16string newPath = prefix.toString() + mangledEntry + suffix.toString(); local
286 mMasterTable->stringPool.makeRef(newPath));
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java1043 final VPath newPath;
1045 newPath = new VFullPath((VFullPath) copyChild);
1047 newPath = new VClipPath((VClipPath) copyChild);
1051 addChild(newPath);
1052 if (newPath.mPathName != null) {
1053 targetsMap.put(newPath.mPathName, newPath);
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java1167 VPath newPath = null;
1169 newPath = new VFullPath((VFullPath) copyChild);
1171 newPath = new VClipPath((VClipPath) copyChild);
1175 mChildren.add(newPath);
1176 if (newPath.mPathName != null) {
1177 targetsMap.put(newPath.mPathName, newPath);
/frameworks/base/core/java/android/net/
H A DUri.java2185 String newPath;
2188 newPath = "/" + newSegment;
2190 newPath = oldPath + newSegment;
2192 newPath = oldPath + "/" + newSegment;
2195 return fromEncoded(newPath);

Completed in 969 milliseconds