| /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/common/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
| D | ShellCommandUtils.java | 83 static String executeCommand(String command) throws AdbException { in executeCommand() 94 private static ParcelFileDescriptor[] executeShellCommandRwe(String command) { in executeShellCommandRwe() 105 public static StreamingShellOutput executeCommandForStream(String command, byte[] stdInBytes) in executeCommandForStream() 125 static String executeCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) in executeCommand() 158 static byte[] executeCommandForBytes(String command) throws AdbException { in executeCommandForBytes() 162 static byte[] executeCommandForBytes(String command, byte[] stdInBytes) throws AdbException { in executeCommandForBytes() 192 private static void logCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) { in logCommand() 221 String command, Function<String, Boolean> outputSuccessChecker) throws AdbException { in executeCommandAndValidateOutput() argument 229 String command, in executeCommandAndValidateOutput() 256 String command, boolean allowEmptyOutput, byte[] stdIn) throws AdbException { in executeCommandPreS() [all …]
|
| /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/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/hostsidetests/incident/src/com/android/server/cts/ |
| D | ProtoDumpTestCase.java | 99 public <T extends MessageLite> T getDump(Parser<T> parser, String command) throws Exception { in getDump() 173 protected String execCommandAndGet(String command) throws Exception { in execCommandAndGet() 183 protected Matcher execCommandAndFind(String command, String pattern, int patternFlags) in execCommandAndFind() 195 protected Matcher execCommandAndFind(String command, String pattern) throws Exception { in execCommandAndFind() 203 protected String execCommandAndGetFirstGroup(String command, String pattern) throws Exception { in execCommandAndGetFirstGroup()
|
| /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 | 140 final int command = Equalizer.PARAM_GET_PRESET_NAME; in testParamPresetName() local 178 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel() local 195 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel_long() local 391 private boolean eqGetParam(int media, int command, int band, byte[] reply) { in eqGetParam() 419 private boolean 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() 460 private boolean eqSetParam(int media, int command, int band, short[] value) { in eqSetParam() 525 java.lang.reflect.Method command = AudioEffect.class.getDeclaredMethod( in verifyZeroPVSizeRejectedForSetParameter() local 547 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()
|
| D | CommandReceiver.java | 116 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onReceive() local 215 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundService() local 238 int command = LocalForegroundServiceLocation.COMMAND_START_FOREGROUND_WITH_TYPE; in doStartForegroundServiceWithType() local 253 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundServiceSticky() local 310 int command = LocalForegroundServiceLocation.COMMAND_START_FOREGROUND_WITH_TYPE; in doCreateFgslPendingIntent() local 404 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundServiceSpoofPackageName() local 487 public static void sendCommand(Context context, int command, String sourcePackage, in sendCommand() 494 public static void sendCommandWithResultReceiver(Context context, int command, in sendCommandWithResultReceiver() 503 public static void sendCommandWithBroadcastOptions(Context context, int command, in sendCommandWithBroadcastOptions() 511 private static Intent makeIntent(int command, String sourcePackage, in makeIntent()
|
| /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/telephony/current/LocationAccessingApp/aidl/android/telephony/cts/locationaccessingapp/ |
| D | ICtsLocationAccessControl.aidl | 22 List performCommand(String command); in performCommand()
|
| /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/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/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/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/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()
|
| /cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/ |
| D | PackageManagerMultiUserTestBase.java | 95 String command = "pm create-user TestUser_" + System.currentTimeMillis(); in createUser() local 116 String command = "pm remove-user " + userId; in removeUser() local 123 String command = "pm install-existing --user " + userId + " " + pkgName; in installExistingPackageForUser() 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
|