/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/ |
D | DeviceShellCommandExecutor.java | 28 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/ |
D | AdbException.java | 30 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/ |
D | ShellCommandHelper.java | 27 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/ |
D | ShellCommandUtils.java | 85 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/ |
D | IdleUidTest.java | 198 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/ |
D | ShellCommandBuilder.java | 86 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/ |
D | LogShellCommandRule.java | 45 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/ |
D | EffectBundleTest.java | 144 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/ |
D | BaseShortcutManagerHostTest.java | 91 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/ |
D | LocalForegroundService.java | 86 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/ |
D | BaseLauncherAppsTest.java | 51 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/ |
D | Utils.java | 48 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/ |
D | TvTestBase.kt | 103 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/ |
D | ICtsLocationAccessControl.aidl | 22 List performCommand(String command); in performCommand()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | EnterprisePrivacyTestListActivity.java | 90 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/ |
D | WiredHeadsetTest.java | 133 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/ |
D | HandlerExecutor.java | 32 public void execute(Runnable command) { in execute()
|
/cts/hostsidetests/adpf/common/src/android/adpf/common/ |
D | ADPFHintSessionUtils.java | 21 public static String addCommandExtra(String command, String key, Object value) { in addCommandExtra()
|
/cts/tests/quicksettings/src/android/quicksettings/cts/ |
D | BaseTileServiceTest.java | 107 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/ |
D | ProtoUtils.java | 34 public static <T> T getProto(UiAutomation automation, Class<T> clazz, String command) in getProto()
|
D | ShellUtils.java | 45 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/ |
D | Poc18_07.java | 48 String command = in testPocCVE_2017_18275() local
|
D | LaunchSomeWhere.java | 78 String command = "am start"; in launchSomeWhere() local
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | ImeCommandReceiver.java | 68 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/ |
D | its_device_utils.py | 33 def run_adb_shell_command(device_id, command): argument
|