Home
last modified time | relevance | path

Searched refs:buildMessage (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DReportFeaturesMessageTest.java25 import static com.android.server.hdmi.HdmiUtils.buildMessage;
48 assertThat(HdmiUtils.buildMessage("FF:A6:05:80:00:00") in build_invalidMessages()
50 assertThat(HdmiUtils.buildMessage("04:A6:05:80:00:00") in build_invalidMessages()
52 assertThat(HdmiUtils.buildMessage("0F:A6") in build_invalidMessages()
54 assertThat(HdmiUtils.buildMessage("4F:A6:06:00:80:80:00") in build_invalidMessages()
60 HdmiCecMessage longMessage = HdmiUtils.buildMessage("4F:A6:05:00:80:80:00:81:80:00"); in build_longMessage()
64 HdmiCecMessage shortMessage = HdmiUtils.buildMessage("4F:A6:05:00:00:01"); in build_longMessage()
83 assertThat(message).isEqualTo(buildMessage("0F:A6:05:80:00:00")); in build_basicTv_1_4()
95 assertThat(message).isEqualTo(buildMessage("4F:A6:05:10:00:00")); in build_basicPlayback_1_4()
108 assertThat(message).isEqualTo(buildMessage("4F:A6:05:18:00:00")); in build_basicPlaybackAudioSystem_1_4()
[all …]
DHdmiCecMessageBuilderTest.java21 import static com.android.server.hdmi.HdmiUtils.buildMessage;
45 assertThat(message).isEqualTo(buildMessage("4f:84:12:34:04")); in buildReportPhysicalAddressCommand()
55 assertThat(message).isEqualTo(buildMessage("05:A4:06:01")); in buildRequestShortAudioDescriptor()
63 assertThat(message).isEqualTo(buildMessage("5F:81:21:00")); in buildRoutingInformation()
71 assertThat(message).isEqualTo(buildMessage("40:47:61:62:63")); in buildSetOsdName_short()
80 buildMessage("40:47:61:62:63:64:65:66:67:68:69:6A:6B:6C:6D:6E")); in buildSetOsdName_maximumLength()
89 buildMessage("40:47:61:62:63:64:65:66:67:68:69:6A:6B:6C:6D:6E")); in buildSetOsdName_tooLong()
96 assertThat(message).isEqualTo(buildMessage("40:A5")); in buildGiveFeatures()
DHdmiControlServiceTvTest.java105 HdmiCecMessage message = HdmiUtils.buildMessage("40:9D:14"); in onCecMessage_shortPhysicalAddress_featureAbortInvalidOperand()
119 HdmiCecMessage message = HdmiUtils.buildMessage("4F:82:10"); in handleCecCommand_shortPhysicalAddress_returnsAbortInvalidOperand()
131 .verifyPhysicalAddresses(HdmiUtils.buildMessage("0F:80:10:00:40:00"))).isTrue(); in test_verifyPhysicalAddresses()
133 .verifyPhysicalAddresses(HdmiUtils.buildMessage("0F:80:10:00:40"))).isFalse(); in test_verifyPhysicalAddresses()
135 .verifyPhysicalAddresses(HdmiUtils.buildMessage("0F:80:10"))).isFalse(); in test_verifyPhysicalAddresses()
139 .verifyPhysicalAddresses(HdmiUtils.buildMessage("40:70:00:00"))).isTrue(); in test_verifyPhysicalAddresses()
141 .verifyPhysicalAddresses(HdmiUtils.buildMessage("40:70:00"))).isFalse(); in test_verifyPhysicalAddresses()
145 .verifyPhysicalAddresses(HdmiUtils.buildMessage("4F:82:10:00"))).isTrue(); in test_verifyPhysicalAddresses()
147 .verifyPhysicalAddresses(HdmiUtils.buildMessage("4F:82:10"))).isFalse(); in test_verifyPhysicalAddresses()
DSetAudioVolumeLevelMessageTest.java22 import static com.android.server.hdmi.HdmiUtils.buildMessage;
43 assertThat(message).isEqualTo(buildMessage("04:73:64")); in build_maxVolume()
51 assertThat(message).isEqualTo(buildMessage("05:73:7F")); in build_noVolumeChange()
64 assertThat(HdmiUtils.buildMessage("04:73") in build_invalid()
DHdmiUtilsTest.java668 assertThrows(IllegalArgumentException.class, () -> HdmiUtils.buildMessage("04")); in testBuildMessage_validation()
669 assertThrows(IllegalArgumentException.class, () -> HdmiUtils.buildMessage("041")); in testBuildMessage_validation()
670 assertThrows(IllegalArgumentException.class, () -> HdmiUtils.buildMessage("041:00")); in testBuildMessage_validation()
671 assertThrows(IllegalArgumentException.class, () -> HdmiUtils.buildMessage("04:000")); in testBuildMessage_validation()
672 assertThrows(IllegalArgumentException.class, () -> HdmiUtils.buildMessage("04:00:000")); in testBuildMessage_validation()
673 assertThrows(IllegalArgumentException.class, () -> HdmiUtils.buildMessage("04:00:00:000")); in testBuildMessage_validation()
675 assertThrows(NumberFormatException.class, () -> HdmiUtils.buildMessage("G0:00")); in testBuildMessage_validation()
676 assertThrows(NumberFormatException.class, () -> HdmiUtils.buildMessage("0G:00")); in testBuildMessage_validation()
677 assertThrows(NumberFormatException.class, () -> HdmiUtils.buildMessage("04:G0")); in testBuildMessage_validation()
678 assertThrows(NumberFormatException.class, () -> HdmiUtils.buildMessage("04:00:G0")); in testBuildMessage_validation()
[all …]
DHdmiControlServiceTest.java963 HdmiCecMessage message = HdmiUtils.buildMessage("80:8D:03"); in handleCecCommand_errorParameter_returnsAbortInvalidOperand()
970 HdmiCecMessage systemAudioModeStatus = HdmiUtils.buildMessage("40:7E:01:1F:28"); in handleCecCommand_errorParameter_returnsAbortInvalidOperand()
979 HdmiCecMessage message = HdmiUtils.buildMessage("F0:8E"); in handleCecCommand_errorSource_returnsHandled()
989 HdmiCecMessage message = HdmiUtils.buildMessage("0F:8E:00"); in handleCecCommand_errorDestination_returnsHandled()
999 HdmiCecMessage message = HdmiUtils.buildMessage("40:8E"); in handleCecCommand_errorParameterShort_returnsHandled()
DHdmiCecMessageValidatorTest.java661 return assertThat(HdmiUtils.buildMessage(message).getValidationResult()); in assertMessageValidity()
/frameworks/base/telecomm/java/android/telecom/
DLog.java96 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d()
98 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d()
105 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
107 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d()
114 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i()
120 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i()
127 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in v()
129 android.util.Slog.v(TAG, buildMessage(prefix, format, args)); in v()
136 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in v()
138 android.util.Slog.v(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in v()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java116 String log = buildMessage(logMessage, timing); in updateLog()
125 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { in buildMessage() method in HdmiLogger
DHdmiUtils.java535 public static HdmiCecMessage buildMessage(String message) { in buildMessage() method in HdmiUtils
/frameworks/base/boot/
Dboot-image-profile.txt13864 HSPLandroid/telecom/Log;->buildMessage(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljav…
/frameworks/base/config/
Dboot-image-profile.txt13928 HSPLandroid/telecom/Log;->buildMessage(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljav…