Home
last modified time | relevance | path

Searched refs:expectedMessage (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystemTest.java198 HdmiCecMessage expectedMessage = in handleGiveAudioStatus_volume_10_mute_true() local
206 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGiveAudioStatus_volume_10_mute_true()
212 HdmiCecMessage expectedMessage = in handleGiveSystemAudioModeStatus_originalOff() local
220 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGiveSystemAudioModeStatus_originalOff()
243 HdmiCecMessage expectedMessage = in handleRequestShortAudioDescriptor_noAudioDeviceInfo() local
255 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleRequestShortAudioDescriptor_noAudioDeviceInfo()
267 HdmiCecMessage expectedMessage = in handleSetSystemAudioMode_setOn_orignalOff() local
272 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleSetSystemAudioMode_setOn_orignalOff()
275 expectedMessage = in handleSetSystemAudioMode_setOn_orignalOff()
283 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleSetSystemAudioMode_setOn_orignalOff()
[all …]
DHdmiCecLocalDeviceTest.java241 HdmiCecMessage expectedMessage = in handleGivePhysicalAddress_success() local
250 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGivePhysicalAddress_success()
257 HdmiCecMessage expectedMessage = in handleGivePhysicalAddress_failure() local
270 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGivePhysicalAddress_failure()
277 HdmiCecMessage expectedMessage = in handleGiveDeviceVendorId_success() local
286 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGiveDeviceVendorId_success()
292 HdmiCecMessage expectedMessage = in handleGiveDeviceVendorId_failure() local
305 assertThat(mNativeWrapper.getOnlyResultMessage()).isEqualTo(expectedMessage); in handleGiveDeviceVendorId_failure()
DHdmiCecLocalDevicePlaybackTest.java209 HdmiCecMessage expectedMessage = in handleRoutingChange_None() local
217 assertThat(mNativeWrapper.getResultMessages().contains(expectedMessage)).isFalse(); in handleRoutingChange_None()
231 HdmiCecMessage expectedMessage = in handleRoutingInformation_None() local
239 assertThat(mNativeWrapper.getResultMessages().contains(expectedMessage)).isFalse(); in handleRoutingInformation_None()
253 HdmiCecMessage expectedMessage = in handleRoutingChange_WakeUpOnly() local
261 assertThat(mNativeWrapper.getResultMessages().contains(expectedMessage)).isFalse(); in handleRoutingChange_WakeUpOnly()
275 HdmiCecMessage expectedMessage = in handleRoutingInformation_WakeUpOnly() local
283 assertThat(mNativeWrapper.getResultMessages().contains(expectedMessage)).isFalse(); in handleRoutingInformation_WakeUpOnly()
299 HdmiCecMessage expectedMessage = in handleRoutingChange_WakeUpAndSendActiveSource() local
307 assertThat(mNativeWrapper.getResultMessages()).contains(expectedMessage); in handleRoutingChange_WakeUpAndSendActiveSource()
[all …]
/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DBluetoothMidiCodecTest.java164 byte[] expectedMessage = expectedMessages[i]; in test()
166 + MidiFramer.formatMidiData(expectedMessage, in test()
167 0, expectedMessage.length)); in test()
171 assertArrayEquals(expectedMessage, actualMessage); in test()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRangeTest.java165 String expectedMessage = expected ? action : ("not " + action); in assertAction() local
166 assertEquals("Expected " + needle + " to be " + expectedMessage + " of " + object, in assertAction()
DRationalTest.java435 String expectedMessage = expected ? action : ("not " + action); in assertAction() local
436 assertEquals("Expected " + object + " to be " + expectedMessage, in assertAction()
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DCompletableFutureUtilTest.kt50 private inline fun assertRuntimeException(expectedMessage: String, block: () -> Unit) { in assertRuntimeException()
55 assertThat(exception.message).isEqualTo(expectedMessage) in assertRuntimeException()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
DTableLogBufferTest.kt1006 val expectedMessage = "${timestamp}${SEPARATOR}${loggingTag}${SEPARATOR}true" in <lambda>() constant
1007 val expectedLine = "D $NAME: $expectedMessage" in <lambda>()
/frameworks/native/libs/binder/tests/
DbinderRpcTest.cpp1694 AssertionResult readMessage(const std::string& expectedMessage = kMessage) { in readMessage() argument
1696 std::string readMessage(expectedMessage.size(), '\0'); in readMessage()
1704 if (readMessage != expectedMessage) { in readMessage()
1706 << "Expected " << expectedMessage << ", actual " << readMessage; in readMessage()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java1106 Message expectedMessage = null;
1110 expectedMessage = sentMessage;
1116 + sentMessages, expectedMessage);
1117 mService.mHandler.handleMessage(expectedMessage);