Lines Matching refs:path

364     void updateActiveInput(int path, boolean notifyInputChange) {
367 setActivePath(path);
378 info = new HdmiDeviceInfo(path, getActivePortId());
590 int path = HdmiUtils.twoBytesToInt(message.getParams());
594 if (updateCecSwitchInfo(address, type, path)) return true;
602 if (!isInDeviceList(address, path)) {
603 handleNewDeviceAtTheTailOfActivePath(path);
608 HdmiDeviceInfo deviceInfo = new HdmiDeviceInfo(address, path, getPortId(path), type,
611 startNewDeviceAction(ActiveSource.of(address, path), type);
634 boolean updateCecSwitchInfo(int address, int type, int path) {
637 mCecSwitches.add(path);
642 mCecSwitches.add(path);
649 // If there is new device action which has the same logical address and path
666 private boolean handleNewDeviceAtTheTailOfActivePath(int path) {
668 if (isTailOfActivePath(path, getActivePath())) {
678 * Whether the given path is located in the tail of current active path.
680 * @param path to be tested
681 * @param activePath current active path
682 * @return true if the given path is located in the tail of current active path; otherwise,
685 static boolean isTailOfActivePath(int path, int activePath) {
686 // If active routing path is internal source, return false.
695 int curPath = (path >> i) & 0xF;
1364 private static boolean isConnectedToCecSwitch(int path, Collection<Integer> switches) {
1366 if (isParentPath(switchPath, path)) {
1491 void handleRemoveActiveRoutingPath(int path) {
1494 if (isTailOfActivePath(path, getActivePath())) {
1529 * the given routing path. CEC devices use routing path for its physical address to
1532 * @param path routing path or physical address
1536 final HdmiDeviceInfo getDeviceInfoByPath(int path) {
1539 if (info.getPhysicalAddress() == path) {
1548 * the given routing path. This is the version accessible safely from threads
1551 * @param path routing path or physical address
1554 HdmiDeviceInfo getSafeDeviceInfoByPath(int path) {
1557 if (info.getPhysicalAddress() == path) {
1606 int path = it.next();
1607 if (pathToPortId(path) == portId) {