Home
last modified time | relevance | path

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

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