/cts/hostsidetests/car/src/android/car/cts/ |
D | CarWatchdogHostTest.java | 198 executeCommand(DEFINE_ENABLE_DISPLAY_POWER_POLICY_CMD); in setUp() 199 executeCommand(DEFINE_DISABLE_DISPLAY_POWER_POLICY_CMD); in setUp() 200 mOriginalForegroundBytes = parseForegroundBytesFromMessage(executeCommand( in setUp() 202 executeCommand("%s %d", SET_IO_OVERUSE_FOREGROUNG_BYTES_CMD, TWO_HUNDRED_MEGABYTES); in setUp() 203 executeCommand("logcat -c"); in setUp() 205 executeCommand(RESET_RESOURCE_OVERUSE_CMD); in setUp() 212 executeCommand(APPLY_ENABLE_DISPLAY_POWER_POLICY_CMD); in tearDown() 214 executeCommand(RESET_RESOURCE_OVERUSE_CMD); in tearDown() 215 executeCommand(STOP_CUSTOM_PERF_COLLECTION_CMD); in tearDown() 216 executeCommand("%s %d", SET_IO_OVERUSE_FOREGROUNG_BYTES_CMD, mOriginalForegroundBytes); in tearDown() [all …]
|
D | CarTelemetryHostTest.java | 94 String output = executeCommand("cmd car_service enable-feature car_telemetry_service"); in setUp() 97 executeCommand("cmd car_service disable-feature car_telemetry_service"); in setUp() 104 executeCommand("cmd car_service telemetry remove %s", CONFIG_NAME_1); in tearDown() 105 executeCommand("rm %s/%s", FINAL_RESULT_DIR, CONFIG_NAME_2); in tearDown() 127 executeCommand("cmd car_service inject-vhal-event %d %d", in testSavingResultsAcrossReboot() 137 assertThat(executeCommand("ls %s", INTERIM_RESULT_DIR)) in testSavingResultsAcrossReboot() 139 assertThat(executeCommand("ls %s", FINAL_RESULT_DIR)) in testSavingResultsAcrossReboot() 148 String result = executeCommand( in testSavingResultsAcrossReboot() 155 return executeCommand("dumpsys car_service --services CarTelemetryService"); in dumpTelemetryService()
|
D | PowerPolicyHostTest.java | 163 return executeCommand("dumpsys activity %s", ANDROID_CLIENT_ACTIVITY); in fetchActivityDumpsys() 192 executeCommand("cmd car_service inject-vhal-event %d %d,%d", in triggerVhalPowerStateReq() 233 executeCommand("svc power reboot"); in rebootDevice() 238 executeCommand("cmd car_service silent-mode forced-silent"); in enterForcedSilentMode() 251 executeCommand(LEAVE_FORCED_SILENT_MODE_CMD); in leaveForcedSilentMode() 252 executeCommand(ENTER_NON_FORCED_SILENT_MODE_CMD); in leaveForcedSilentMode() 266 executeCommand("cmd car_service define-power-policy %s", policyStr); in definePowerPolicy() 270 executeCommand("cmd car_service apply-power-policy %s", policyId); in applyPowerPolicy() 274 executeCommand("cmd car_service define-power-policy-group %s", policyGroupStr); in definePowerPolicyGroup() 278 executeCommand("cmd car_service set-power-policy-group %s", policyGroupId); in setPowerPolicyGroup() [all …]
|
D | CarPowerHostTest.java | 73 executeCommand("logcat -c"); in setUp() 244 executeCommand("svc power reboot"); in rebootDevice() 262 executeCommand("dumpsys car_service --services CarPowerManagementService"); in getPowerState() 335 String cpmsDump = executeCommand(CMD_DUMPSYS_POWER); in isSuspendSupported() 366 executeCommand("%s set-listener,%s,%s", TEST_COMMAND_HEADER, completionType, in setPowerStateListener() 372 executeCommand("%s clear-listener", TEST_COMMAND_HEADER); in clearListener() 378 executeCommand("%s get-listener-states-results,%s,%s", TEST_COMMAND_HEADER, in listenerStatesMatchExpected() 390 executeCommand("cmd car_service suspend --simulate --skip-garagemode --wakeup-after " in suspendDeviceToRam() 395 executeCommand("cmd car_service hibernate --simulate --skip-garagemode --wakeup-after " in suspendDeviceToDisk() 400 return executeCommand("dumpsys activity service %s", ANDROID_CLIENT_SERVICE); in fetchServiceDumpsys()
|
D | CarWifiHostTest.java | 107 executeCommand(ENABLE_PERSISTENT_TETHERING); in testPersistTetheringCarSetting_enablingWithCapability_autoShutdownDisabled() 118 executeCommand(DISABLE_PERSISTENT_TETHERING); in testPersistTetheringCarSetting_disablingWithCapability_autoShutdownEnabled() 130 executeCommand(ENABLE_PERSISTENT_TETHERING); in testPersistTetheringCarSetting_enablingNoCapability_autoShutdownUnchanged() 142 executeCommand(DISABLE_PERSISTENT_TETHERING); in testPersistTetheringCarSetting_disablingNoCapability_autoShutdownUnchanged() 210 executeCommand(hotspotCommand); in enablePersistTetheringAndReboot() 212 executeCommand(ENABLE_PERSISTENT_TETHERING); in enablePersistTetheringAndReboot()
|
D | UiModeHostTest.java | 72 executeCommand("cmd car_service day-night-mode day"); in setDayMode() 79 executeCommand("cmd car_service day-night-mode night"); in setNightMode()
|
D | CarUserManagerHostTest.java | 61 String result = executeCommand("cmd car_service remove-user %d", newUserid); in testRemoveUser() 85 String output = executeCommand("cmd car_service switch-user %d %s", userId, options); in switchUser()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | ShellCommandUtilsTest.java | 51 assertThat(ShellCommandUtils.executeCommand(LIST_USERS_COMMAND)) in executeCommand_returnsOutput() 61 () -> ShellCommandUtils.executeCommand(INVALID_COMMAND_LEGACY_OUTPUT)); in executeCommand_invalidCommand_legacyOutput_throwsException() 72 assertThat(ShellCommandUtils.executeCommand(INVALID_COMMAND_LEGACY_OUTPUT)) in executeCommand_invalidCommand_legacyOutput_preAndroid11_throwsException() 95 () -> ShellCommandUtils.executeCommand(INVALID_COMMAND_CORRECT_OUTPUT)); in executeCommand_invalidCommand_correctOutput_throwsException()
|
/cts/hostsidetests/car/util/src/android/car/cts/ |
D | CarHostJUnit4TestCase.java | 214 existingUsers = "Existing users: " + executeCommand("cmd user list --all -v"); in failCannotCreateUsers() 226 protected String executeCommand(String command, Object... args) throws Exception { in executeCommand() method in CarHostJUnit4TestCase 236 String output = executeCommand(command, args); in executeAndParseCommand() 247 String output = executeCommand(command, args); in executeAndParseCommand() 261 String output = executeCommand(command, args); in executeAndParseCommand() 309 executeCommand("setprop fw.max_users %d", numUsers); in setMaxNumberUsers() 427 String output = executeCommand("cmd car_service switch-user %d", userId); in switchUser() 504 String result = executeCommand("cmd car_service remove-user %d", userId); in removeUser() 516 String output = executeCommand("cmd user list --all -v"); in removeUsers() 621 return !executeCommand("pidof %s", packageName).isEmpty(); in isPackageRunning()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/testcore/ |
D | VoiceInteractionSessionControl.java | 71 executeCommand(Utils.VOICE_INTERACTION_SESSION_CMD_FINISH, in stopVoiceInteractionSession() 76 protected Bundle executeCommand(@NonNull String action, @Nullable DirectAction directAction, in executeCommand() method in VoiceInteractionSessionControl
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | ShellCommandUtils.java | 85 static String executeCommand(String command) throws AdbException { in executeCommand() method in ShellCommandUtils 86 return executeCommand(command, /* allowEmptyOutput=*/ false, /* stdInBytes= */ null); in executeCommand() 127 static String executeCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) in executeCommand() method in ShellCommandUtils 235 String output = executeCommand(command, allowEmptyOutput, stdInBytes); in executeCommandAndValidateOutput()
|
D | ShellCommand.java | 231 return ShellCommandUtils.executeCommand( in executeSync()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | DirectActionsTest.java | 196 final Bundle result = executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_GET_ACTIONS, in getDirectActions() 204 return executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION, in performDirectAction() 210 return executeCommand(Utils.DIRECT_ACTIONS_SESSION_CMD_PERFORM_ACTION_CANCEL, in performDirectActionAndCancel() 217 final Bundle result = executeCommand( in detectDirectActionsInvalidated()
|
D | VoiceInteractionSessionVisibleActivityTest.java | 273 final Bundle result = executeCommand( in registerVisibleActivityCallback() 280 final Bundle result = executeCommand( in unregisterVisibleActivityCallback()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | IPCThreadState.h | 114 status_t executeCommand(int32_t command);
|
/cts/hostsidetests/locale/src/android/localemanager/cts/ |
D | ApplicationLocalesChangedAtomTests.java | 386 private void executeCommand(String cmd) throws Exception { in executeCommand() method in ApplicationLocalesChangedAtomTests
|