Searched refs:pathRelationship (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiUtilsTest.java | 228 assertThat(HdmiUtils.pathRelationship(0x1234, Constants.INVALID_PHYSICAL_ADDRESS)) in pathRelationship_unknown() 230 assertThat(HdmiUtils.pathRelationship(Constants.INVALID_PHYSICAL_ADDRESS, 0x1234)) in pathRelationship_unknown() 232 assertThat(HdmiUtils.pathRelationship(Constants.INVALID_PHYSICAL_ADDRESS, in pathRelationship_unknown() 239 assertThat(HdmiUtils.pathRelationship(0x1200, 0x2000)) in pathRelationship_differentBranch() 241 assertThat(HdmiUtils.pathRelationship(0x1234, 0x1224)) in pathRelationship_differentBranch() 243 assertThat(HdmiUtils.pathRelationship(0x1234, 0x1134)) in pathRelationship_differentBranch() 245 assertThat(HdmiUtils.pathRelationship(0x1234, 0x2234)) in pathRelationship_differentBranch() 251 assertThat(HdmiUtils.pathRelationship(0x0000, 0x1230)) in pathRelationship_ancestor() 253 assertThat(HdmiUtils.pathRelationship(0x1000, 0x1230)) in pathRelationship_ancestor() 255 assertThat(HdmiUtils.pathRelationship(0x1200, 0x1230)) in pathRelationship_ancestor() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiUtils.java | 352 @PathRelationship int pathRelationship = pathRelationship(newPath, activePath); in isInActiveRoutingPath() local 353 return (pathRelationship == Constants.PATH_RELATIONSHIP_ANCESTOR in isInActiveRoutingPath() 354 || pathRelationship == Constants.PATH_RELATIONSHIP_DESCENDANT in isInActiveRoutingPath() 355 || pathRelationship == Constants.PATH_RELATIONSHIP_SAME); in isInActiveRoutingPath() 361 static @PathRelationship int pathRelationship(int firstPath, int secondPath) { in pathRelationship() method in HdmiUtils
|
D | HdmiControlService.java | 4266 HdmiUtils.pathRelationship(getPhysicalAddress(), physicalAddress)); in setActiveSource()
|