Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/
DAdb.cpp38 if (executeCommand(command) != 0) { in setPortForwarding()
50 if (executeCommand(command) != 0) { in launchClient()
57 if (executeCommand(command) != 0) { in launchClient()
64 int Adb::executeCommand(const android::String8& command) in executeCommand() function in Adb
DAdb.h33 int executeCommand(const android::String8& command);
/cts/hostsidetests/car/src/android/car/cts/
DPowerPolicyHostTest.java217 return executeCommand("dumpsys activity %s", ANDROID_CLIENT_ACTIVITY); in fetchActivityDumpsys()
230 executeCommand("cmd car_service inject-vhal-event %d %d,%d", in triggerVhalPowerStateReq()
251 executeCommand("svc power reboot"); in rebootDevice()
256 executeCommand("cmd car_service silent-mode forced-silent"); in enterForcedSilentMode()
261 executeCommand("cmd car_service silent-mode forced-non-silent"); in leaveForcedSilentMode()
262 executeCommand("cmd car_service silent-mode non-forced-silent-mode"); in leaveForcedSilentMode()
268 executeCommand("cmd car_service define-power-policy %s", policyStr); in definePowerPolicy()
272 executeCommand("cmd car_service apply-power-policy %s", policyId); in applyPowerPolicy()
276 executeCommand("cmd car_service define-power-policy-group %s", policyGroupStr); in definePowerPolicyGroup()
280 executeCommand("cmd car_service set-power-policy-group %s", policyGroupId); in setPowerPolicyGroup()
[all …]
DCarHostJUnit4TestCase.java175 existingUsers = "Existing users: " + executeCommand("cmd user list --all -v"); in failCannotCreateUsers()
187 protected String executeCommand(String command, Object... args) throws Exception { in executeCommand() method in CarHostJUnit4TestCase
197 String output = executeCommand(command, args); in executeAndParseCommand()
208 String output = executeCommand(command, args); in executeAndParseCommand()
222 String output = executeCommand(command, args); in executeAndParseCommand()
259 executeCommand("setprop fw.max_users %d", numUsers); in setMaxNumberUsers()
357 String output = executeCommand("cmd car_service switch-user %d", userId); in switchUser()
379 executeCommand("cmd car_service remove-user %d", userId); in removeUser()
387 String output = executeCommand("cmd user list --all -v"); in removeUsers()
DUiModeHostTest.java72 executeCommand("cmd car_service day-night-mode day"); in setDayMode()
79 executeCommand("cmd car_service day-night-mode night"); in setNightMode()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DShellCommandUtilsTest.java50 assertThat(ShellCommandUtils.executeCommand(LIST_USERS_COMMAND)) in executeCommand_returnsOutput()
60 () -> ShellCommandUtils.executeCommand(INVALID_COMMAND_LEGACY_OUTPUT)); in executeCommand_invalidCommand_legacyOutput_throwsException()
71 assertThat(ShellCommandUtils.executeCommand(INVALID_COMMAND_LEGACY_OUTPUT)) in executeCommand_invalidCommand_legacyOutput_preAndroid11_throwsException()
94 () -> ShellCommandUtils.executeCommand(INVALID_COMMAND_CORRECT_OUTPUT)); in executeCommand_invalidCommand_correctOutput_throwsException()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommandUtils.java77 static String executeCommand(String command) throws AdbException { in executeCommand() method in ShellCommandUtils
78 return executeCommand(command, /* allowEmptyOutput=*/ false, /* stdInBytes= */ null); in executeCommand()
81 static String executeCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) in executeCommand() method in ShellCommandUtils
198 String output = executeCommand(command, allowEmptyOutput, stdInBytes); in executeCommandAndValidateOutput()
DShellCommand.java177 return ShellCommandUtils.executeCommand( in execute()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java169 executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_FINISH, in stopVoiceInteractionSession()
175 final Bundle result = executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_GET_ACTIONS, in getDirectActions()
183 return executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION, in performDirectAction()
189 return executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION_CANCEL, in performDirectActionAndCancel()
196 final Bundle result = executeCommand( in detectDirectActionsInvalidated()
202 @Nullable Bundle executeCommand(@NonNull String action, @Nullable DirectAction directAction, in executeCommand() method in DirectActionsTest.SessionControl
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
DIPCThreadState.h114 status_t executeCommand(int32_t command);