Home
last modified time | relevance | path

Searched refs:CommandStatus (Results 1 – 18 of 18) sorted by relevance

/packages/modules/AdServices/sdksandbox/tests/hostsidetests/src/com/android/tests/sdksandbox/host/
DSdkSandboxShellHostTest.java33 import com.android.tradefed.util.CommandStatus;
105 assertThat(output.getStatus()).isEqualTo(CommandStatus.SUCCESS); in testStartAndStopSdkSandboxSucceedsForDebuggableApp()
112 assertThat(output.getStatus()).isEqualTo(CommandStatus.SUCCESS); in testStartAndStopSdkSandboxSucceedsForDebuggableApp()
121 assertThat(output.getStatus()).isEqualTo(CommandStatus.FAILED); in testStartSdkSandboxFailsForNonDebuggableApp()
133 assertThat(output.getStatus()).isEqualTo(CommandStatus.FAILED); in testStartSdkSandboxFailsForIncorrectUser()
147 assertThat(output.getStatus()).isEqualTo(CommandStatus.SUCCESS); in testStopSdkSandboxSucceedsForRunningDebuggableApp()
157 assertThat(output.getStatus()).isEqualTo(CommandStatus.FAILED); in testStartSdkSandboxFailsForInvalidPackage()
167 assertThat(output.getStatus()).isEqualTo(CommandStatus.FAILED); in testStopSdkSandboxFailsForNonDebuggableApp()
181 assertThat(output.getStatus()).isEqualTo(CommandStatus.FAILED); in testStopSdkSandboxFailsForIncorrectUser()
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/
DCommandResultSubject.java21 import com.android.tradefed.util.CommandStatus;
48 check("isSuccess()").that(mActual.getStatus()).isEqualTo(CommandStatus.SUCCESS); in isSuccess()
52 check("isFailed()").that(mActual.getStatus()).isEqualTo(CommandStatus.FAILED); in isFailed()
56 check("isTimedOut()").that(mActual.getStatus()).isEqualTo(CommandStatus.TIMED_OUT); in isTimedOut()
60 check("isException()").that(mActual.getStatus()).isEqualTo(CommandStatus.EXCEPTION); in isException()
DCommandRunner.java27 import com.android.tradefed.util.CommandStatus;
51 if (result.getStatus() != CommandStatus.SUCCESS) { in run()
59 if (result.getStatus() == CommandStatus.SUCCESS) { in tryRun()
70 if (result.getStatus() != CommandStatus.SUCCESS) { in runWithTimeout()
87 assumeThat(runForResult(cmd).getStatus(), is(CommandStatus.SUCCESS)); in assumeSuccess()
DMicrodroidHostTestCaseBase.java35 import com.android.tradefed.util.CommandStatus;
146 == CommandStatus.SUCCESS; in assumeDeviceIsCapable()
269 .that(result.getStatus() == CommandStatus.SUCCESS && result.getExitCode() == 0) in isUpdatableVmSupported()
/packages/modules/Permission/tests/hostside/safetycenter/src/android/safetycenter/hostside/rules/
DRequireSafetyCenterRule.kt20 import com.android.tradefed.util.CommandStatus
63 if (result.status != CommandStatus.SUCCESS) { in shellCommandStdoutOrThrow()
/packages/modules/Bluetooth/system/pdl/hci/
Dhci_packets.pdl1017 packet CommandStatus : Event (event_code = COMMAND_STATUS) {
1045 packet InquiryStatus : CommandStatus (command_op_code = INQUIRY) {
1128 packet CreateConnectionStatus : CommandStatus (command_op_code = CREATE_CONNECTION) {
1147 packet DisconnectStatus : CommandStatus (command_op_code = DISCONNECT) {
1156 packet AddScoConnectionStatus : CommandStatus (command_op_code = ADD_SCO_CONNECTION) {
1178 packet AcceptConnectionRequestStatus : CommandStatus (command_op_code = ACCEPT_CONNECTION_REQUEST) {
1192 packet RejectConnectionRequestStatus : CommandStatus (command_op_code = REJECT_CONNECTION_REQUEST) {
1241 packet ChangeConnectionPacketTypeStatus : CommandStatus (command_op_code = CHANGE_CONNECTION_PACKET…
1249 packet AuthenticationRequestedStatus : CommandStatus (command_op_code = AUTHENTICATION_REQUESTED) {
1258 packet SetConnectionEncryptionStatus : CommandStatus (command_op_code = SET_CONNECTION_ENCRYPTION) {
[all …]
/packages/modules/Bluetooth/tools/rootcanal/packets/
Dhci_packets.pdl874 packet CommandStatus : Event (event_code = COMMAND_STATUS) {
907 packet InquiryStatus : CommandStatus (command_op_code = INQUIRY) {
990 packet CreateConnectionStatus : CommandStatus (command_op_code = CREATE_CONNECTION) {
1009 packet DisconnectStatus : CommandStatus (command_op_code = DISCONNECT) {
1018 packet AddScoConnectionStatus : CommandStatus (command_op_code = ADD_SCO_CONNECTION) {
1040 packet AcceptConnectionRequestStatus : CommandStatus (command_op_code = ACCEPT_CONNECTION_REQUEST) {
1054 packet RejectConnectionRequestStatus : CommandStatus (command_op_code = REJECT_CONNECTION_REQUEST) {
1103 packet ChangeConnectionPacketTypeStatus : CommandStatus (command_op_code = CHANGE_CONNECTION_PACKET…
1111 packet AuthenticationRequestedStatus : CommandStatus (command_op_code = AUTHENTICATION_REQUESTED) {
1120 packet SetConnectionEncryptionStatus : CommandStatus (command_op_code = SET_CONNECTION_ENCRYPTION) {
[all …]
/packages/modules/Virtualization/tests/pvmfw/java/com/android/pvmfw/test/
DDebugPolicyHostTests.java33 import com.android.tradefed.util.CommandStatus;
107 assertThat(result.getStatus()).isEqualTo(CommandStatus.TIMED_OUT); in testNoAdbInDebugPolicy_withDebugLevelNone_boots()
172 if (result.getStatus() == CommandStatus.SUCCESS) { in isDebugPolicyEnabled()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/util/
DHostSideTestUtil.java24 import com.android.tradefed.util.CommandStatus;
115 != CommandStatus.SUCCESS) { in executeJob()
/packages/modules/common/javatests/com/android/modules/targetprep/
DClasspathFetcherTest.java41 import com.android.tradefed.util.CommandStatus;
195 result.setStatus(CommandStatus.SUCCESS); in successfulCommandResult()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/logging/
DHealthConnectDailyLogsStatsTests.java37 import com.android.tradefed.util.CommandStatus;
346 != CommandStatus.SUCCESS) { in executeLoggingJob()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dmatchers.py48 def CommandStatus(opcode=None): member in HciMatchers
62 if not isinstance(event, hci.CommandStatus):
Dpy_hci.py234 …assertThat(self.event_stream).emits(HciMatchers.CommandStatus(hci.OpCode.LE_EXTENDED_CREATE_CONNEC…
Dpy_hal.py139 assertThat(self.hci_event_stream).emits(HciMatchers.CommandStatus(opcode))
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dcollisions.rs105 EventChild::CommandStatus(cs) => match cs.get_command_op_code() { in process()
Dconnections.rs732 EventChild::CommandStatus(cs) => { in process()
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java51 import com.android.tradefed.util.CommandStatus;
601 if (cr.getStatus() != CommandStatus.SUCCESS) { in resetPerfettoGuardrails()
/packages/modules/Virtualization/tests/hostside/java/com/android/microdroid/test/
DMicrodroidHostTests.java52 import com.android.tradefed.util.CommandStatus;
1049 return result.getStatus() == CommandStatus.SUCCESS;