Home
last modified time | relevance | path

Searched refs:newPath (Results 1 – 12 of 12) 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.java322 int newPath = mService.portIdToPath(portId); in doManualPortSwitching() local
324 HdmiCecMessageBuilder.buildRoutingChange(mAddress, oldPath, newPath); in doManualPortSwitching()
327 addAndStartAction(new RoutingControlAction(this, newPath, true, callback)); in doManualPortSwitching()
533 int newPath = mService.portIdToPath(getActivePortId()); in handleNewDeviceAtTheTailOfActivePath() local
534 setActivePath(newPath); in handleNewDeviceAtTheTailOfActivePath()
536 mAddress, getActivePath(), newPath)); in handleNewDeviceAtTheTailOfActivePath()
537 addAndStartAction(new RoutingControlAction(this, newPath, false, null)); in handleNewDeviceAtTheTailOfActivePath()
578 int newPath = HdmiUtils.twoBytesToInt(params, 2); in handleRoutingChange() local
579 addAndStartAction(new RoutingControlAction(this, newPath, true, null)); in handleRoutingChange()
1280 int newPath = mService.portIdToPath(getActivePortId()); in handleRemoveActiveRoutingPath() local
[all …]
DHdmiCecLocalDevicePlayback.java171 int newPath = HdmiUtils.twoBytesToInt(message.getParams(), 2); in handleRoutingChange() local
172 maySetActiveSource(newPath); in handleRoutingChange()
DHdmiCecMessageBuilder.java305 static HdmiCecMessage buildRoutingChange(int src, int oldPath, int newPath) { in buildRoutingChange() argument
308 (byte) ((newPath >> 8) & 0xFF), (byte) (newPath & 0xFF) in buildRoutingChange()
DHdmiCecLocalDevice.java800 int pathToPortId(int newPath) { in pathToPortId() argument
802 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.java169 String newPath = path; in addURI() local
172 newPath = path.substring(1); in addURI()
174 tokens = PATH_SPLIT_PATTERN.split(newPath); in addURI()
/frameworks/base/rs/java/android/renderscript/
DPath.java68 Path newPath = new Path(id, rs, p, null, null, quality); in createStaticPath() local
69 return newPath; in createStaticPath()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPath_Delegate.java793 GeneralPath newPath = new GeneralPath(); in offset() local
797 newPath.append(iterator, false /*connect*/); in offset()
800 dst.mPath = newPath; in offset()
802 mPath = newPath; in offset()
822 GeneralPath newPath = new GeneralPath(); in transform() local
826 newPath.append(iterator, false /*connect*/); in transform()
829 dst.mPath = newPath; in transform()
831 mPath = newPath; in transform()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java807 String newPath = path.substring(0, lastSlash + 1) + newName; in renameFile() local
808 File newFile = new File(newPath); in renameFile()
811 Log.w(TAG, "renaming "+ path + " to " + newPath + " failed"); in renameFile()
817 values.put(Files.FileColumns.DATA, newPath); in renameFile()
827 Log.e(TAG, "Unable to update path for " + path + " to " + newPath); in renameFile()
836 if (oldFile.getName().startsWith(".") && !newPath.startsWith(".")) { in renameFile()
839 mMediaProvider.call(mPackageName, MediaStore.UNHIDE_CALL, newPath, null); in renameFile()
841 Log.e(TAG, "failed to unhide/rescan for " + newPath); in renameFile()
847 && !newPath.toLowerCase(Locale.US).equals(".nomedia")) { in renameFile()
851 Log.e(TAG, "failed to unhide/rescan for " + newPath); in renameFile()
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1070 VPath newPath = null; in VGroup() local
1072 newPath = new VFullPath((VFullPath) copyChild); in VGroup()
1074 newPath = new VClipPath((VClipPath) copyChild); in VGroup()
1078 mChildren.add(newPath); in VGroup()
1079 if (newPath.mPathName != null) { in VGroup()
1080 targetsMap.put(newPath.mPathName, newPath); in VGroup()
/frameworks/base/core/java/android/net/
DUri.java2180 String newPath; in appendEncodedSegment() local
2183 newPath = "/" + newSegment; in appendEncodedSegment()
2185 newPath = oldPath + newSegment; in appendEncodedSegment()
2187 newPath = oldPath + "/" + newSegment; in appendEncodedSegment()
2190 return fromEncoded(newPath); in appendEncodedSegment()