Home
last modified time | relevance | path

Searched defs:command (Results 1 – 25 of 249) sorted by relevance

12345678910

/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/
DDeviceShellCommandExecutor.java28 public final String executeToString(@NonNull String command) throws Exception { in executeToString()
37 public final String executeToTrimmedString(@NonNull String command) throws Exception { in executeToTrimmedString()
49 public final boolean executeToBoolean(@NonNull String command) throws Exception { in executeToBoolean()
58 public final byte[] executeToBytes(@NonNull String command) throws Exception { in executeToBytes()
66 protected abstract byte[] executeToBytesInternal(@NonNull String command) throws Exception; in executeToBytesInternal()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/exceptions/
DAdbException.java30 public AdbException(String message, String command, String output) { in AdbException()
34 public AdbException(String message, String command, String output, String err) { in AdbException()
44 public AdbException(String message, String command, Throwable cause) { in AdbException()
48 public AdbException(String message, String command, String output, Throwable cause) { in AdbException()
58 public String command() { in command() method in AdbException
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DShellCommandHelper.java27 public static void executeShellCommand(String command) { in executeShellCommand()
43 public static String executeShellCommandAndGetStdout(String command) { in executeShellCommandAndGetStdout()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommandUtils.java85 static String executeCommand(String command) throws AdbException { in executeCommand()
96 private static ParcelFileDescriptor[] executeShellCommandRwe(String command) { in executeShellCommandRwe()
107 public static StreamingShellOutput executeCommandForStream(String command, byte[] stdInBytes) in executeCommandForStream()
127 static String executeCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) in executeCommand()
160 static byte[] executeCommandForBytes(String command) throws AdbException { in executeCommandForBytes()
164 static byte[] executeCommandForBytes(String command, byte[] stdInBytes) throws AdbException { in executeCommandForBytes()
194 private static void logCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) { in logCommand()
223 String command, Function<String, Boolean> outputSuccessChecker) throws AdbException { in executeCommandAndValidateOutput() argument
231 String command, in executeCommandAndValidateOutput()
258 String command, boolean allowEmptyOutput, byte[] stdIn) throws AdbException { in executeCommandPreS()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DIdleUidTest.java198 final String command = "cmd media.camera reset-uid-state " in makeMyPackageActive() local
201 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), command); in makeMyPackageActive() local
205 final String command = "cmd media.camera set-uid-state " in makeMyPackageIdle() local
208 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), command); in makeMyPackageIdle() local
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java86 public ShellCommandBuilder addCommand(String command) { in addCommand()
93 public ShellCommandBuilder addCommandPrintOnLogCat(String command) { in addCommandPrintOnLogCat()
100 public static void execShellCommandAndPrintOnLogcat(UiAutomation automation, String command) { in execShellCommandAndPrintOnLogcat()
112 public static void execShellCommand(UiAutomation automation, String command) { in execShellCommand()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DLogShellCommandRule.java45 String command = String.format(commandFormat, commandArgs); in addCommand() local
53 public void runAndLog(String reason, String command) { in runAndLog()
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java144 final int command = Equalizer.PARAM_GET_PRESET_NAME; in testParamPresetName() local
179 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel() local
196 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel_long() local
393 private int eqGetParam(int media, int command, int band, byte[] reply) { in eqGetParam()
420 private int eqGetParam(int media, int command, int band, int[] reply) { in eqGetParam()
447 private void testGetParam(int media, int command, int[] bandArray, int value0, int value1) { in testGetParam()
458 private boolean eqSetParam(int media, int command, int band, short[] value) { in eqSetParam()
523 java.lang.reflect.Method command = AudioEffect.class.getDeclaredMethod( in verifyZeroPVSizeRejectedForSetParameter() local
545 private void executeSetParameter(AudioEffect ae, java.lang.reflect.Method command, in executeSetParameter()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java91 protected String executeShellCommandWithLog(String command) throws DeviceNotAvailableException { in executeShellCommandWithLog()
174 final String command = "pm create-user --profileOf " + parentUserId in createProfile() local
262 private String runCommand(String command) throws Exception { in runCommand()
266 private String runCommand(String command, String expectedOutputPattern) throws Exception { in runCommand()
270 private String runCommandAndNotMatch(String command, String expectedOutputPattern) in runCommandAndNotMatch()
275 private String runCommand(String command, String expectedOutputPattern, in runCommand()
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundService.java86 final int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onStartCommand() local
135 Log.e(getTag(), "Unknown command: " + command); in onStartCommand() local
153 public static Bundle newCommand(IBinder stateReceiver, int command) { in newCommand()
160 public static Bundle newCommand(int command) { in newCommand()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseLauncherAppsTest.java51 String command = "am startservice --user " + userId in startCallbackService() local
58 String command = "dumpsys activity services " + LAUNCHER_TESTS_SUPPORT_COMPONENT in isCallbackServiceReady() local
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DUtils.java48 private static String executeShellCommand(String command) { in executeShellCommand()
62 private static void executeShellCommandAndAssert(String command) { in executeShellCommandAndAssert()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DTvTestBase.kt103 val command = composeAmShellCommand( in onSetUp() constant
112 val command = composeAmShellCommand("start-foreground-service", service, action) in startForegroundService() constant
123 val command = composeAmShellCommand( in sendBroadcast() constant
/cts/tests/tests/telephony/current/LocationAccessingApp/aidl/android/telephony/cts/locationaccessingapp/
DICtsLocationAccessControl.aidl22 List performCommand(String command); in performCommand()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java90 private Intent buildCommandIntent(String command) { in buildCommandIntent()
95 private Intent buildCommandIntentForCurrentUser(String command) { in buildCommandIntentForCurrentUser()
102 int commandButtonRes, String command) { in buildCommandTest()
/cts/tests/tests/telecom/src/android/telecom/cts/
DWiredHeadsetTest.java133 final String command = "input keyevent " + (longPress ? "--longpress 3" : "--shortpress") in sendMediaButtonPress() local
135 TestUtils.executeShellCommand(getInstrumentation(), command); in sendMediaButtonPress() local
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DHandlerExecutor.java32 public void execute(Runnable command) { in execute()
/cts/hostsidetests/adpf/common/src/android/adpf/common/
DADPFHintSessionUtils.java21 public static String addCommandExtra(String command, String key, Object value) { in addCommandExtra()
/cts/tests/quicksettings/src/android/quicksettings/cts/
DBaseTileServiceTest.java107 String command = " cmd statusbar " + (on ? "add-tile " : "remove-tile ") in toggleServiceAccess() local
113 public String executeShellCommand(String command) throws IOException { in executeShellCommand()
114 Log.i(getTag(), "Shell command: " + command); in executeShellCommand() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DProtoUtils.java34 public static <T> T getProto(UiAutomation automation, Class<T> clazz, String command) in getProto()
DShellUtils.java45 public static String runShellCommandWithTimeout(@NonNull String command, long timeoutInSecond) in runShellCommandWithTimeout()
83 final String command = String.format(template, args); in runShellCommand() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DPoc18_07.java48 String command = in testPocCVE_2017_18275() local
DLaunchSomeWhere.java78 String command = "am start"; in launchSomeWhere() local
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DImeCommandReceiver.java68 final String command = intent.getStringExtra(ImeCommandConstants.EXTRA_COMMAND); in onReceive() local
70 Log.d(mIme.getClass().getSimpleName(), "onReceive: command=" + command); in onReceive() local
/cts/apps/CameraITS/utils/
Dits_device_utils.py33 def run_adb_shell_command(device_id, command): argument

12345678910