Home
last modified time | relevance | path

Searched refs:commandStr (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/session/src/android/media/session/cts/
DMediaController2Test.java310 String commandStr = "test_command"; in testCallback_onSessionCommand() local
315 Session2Command command = new Session2Command(commandStr, commandExtra); in testCallback_onSessionCommand()
327 .isEqualTo(commandStr); in testCallback_onSessionCommand()
347 String commandStr = "test_command"; in testCallback_onCommandResult() local
352 Session2Command command = new Session2Command(commandStr, commandExtra); in testCallback_onCommandResult()
382 String commandStr = "test_command_"; in testCancelSessionCommand() local
387 Session2Command command = new Session2Command(commandStr, commandExtra); in testCancelSessionCommand()
DMediaSession2Test.java318 String commandStr = "test_command"; in testBroadcastSessionCommand() local
319 Session2Command command = new Session2Command(commandStr, null); in testBroadcastSessionCommand()
334 if (commandStr.equals(command.getCustomAction()) in testBroadcastSessionCommand()
352 if (commandStr.equals(command.getCustomAction()) in testBroadcastSessionCommand()
480 String commandStr = "test_command"; in testCallback_onSessionCommand() local
485 Session2Command command = new Session2Command(commandStr, commandExtra); in testCallback_onSessionCommand()
496 assertThat(sessionCallback.mCommand.getCustomAction()).isEqualTo(commandStr); in testCallback_onSessionCommand()
538 String commandStr = "test_command"; in testCallback_onCommandResult() local
543 Session2Command command = new Session2Command(commandStr, commandExtra); in testCallback_onCommandResult()
616 String commandStr = "test_command_"; in testCancelSessionCommand() local
[all …]