Searched refs:newPath (Results 1 - 14 of 14) 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 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.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.java860 GeneralPath newPath = new GeneralPath();
864 newPath.append(iterator, false /*connect*/);
865 mPath = newPath;
884 GeneralPath newPath = new GeneralPath();
888 newPath.append(iterator, false /*connect*/);
891 dst.mPath = newPath;
893 mPath = newPath;
/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java789 String newPath = path.substring(0, lastSlash + 1) + newName;
790 File newFile = new File(newPath);
793 Log.w(TAG, "renaming "+ path + " to " + newPath + " failed");
799 values.put(Files.FileColumns.DATA, newPath);
809 Log.e(TAG, "Unable to update path for " + path + " to " + newPath);
818 if (oldFile.getName().startsWith(".") && !newPath.startsWith(".")) {
821 mMediaProvider.call(MediaStore.UNHIDE_CALL, newPath, null);
823 Log.e(TAG, "failed to unhide/rescan for " + newPath);
829 && !newPath.toLowerCase(Locale.US).equals(".nomedia")) {
833 Log.e(TAG, "failed to unhide/rescan for " + newPath);
[all...]
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp340 std::string newPath = prefix.to_string() + mangled_entry + suffix.to_string(); local
342 util::make_unique<FileReference>(master_table_->string_pool.MakeRef(newPath));
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java1221 final VPath newPath;
1223 newPath = new VFullPath((VFullPath) copyChild);
1225 newPath = new VClipPath((VClipPath) copyChild);
1229 addChild(newPath);
1230 if (newPath.mPathName != null) {
1231 targetsMap.put(newPath.mPathName, newPath);
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java1337 VPath newPath = null;
1339 newPath = new VFullPath((VFullPath) copyChild);
1341 newPath = new VClipPath((VClipPath) copyChild);
1345 mChildren.add(newPath);
1346 if (newPath.mPathName != null) {
1347 targetsMap.put(newPath.mPathName, newPath);
/frameworks/base/core/java/android/net/
H A DUri.java2186 String newPath;
2189 newPath = "/" + newSegment;
2191 newPath = oldPath + newSegment;
2193 newPath = oldPath + "/" + newSegment;
2196 return fromEncoded(newPath);

Completed in 326 milliseconds