Home
last modified time | relevance | path

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

12345678

/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommandUtils.java77 static String executeCommand(String command) throws AdbException { in executeCommand()
81 static String executeCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) in executeCommand()
116 static byte[] executeCommandForBytes(String command) throws AdbException { in executeCommandForBytes()
120 static byte[] executeCommandForBytes(String command, byte[] stdInBytes) throws AdbException { in executeCommandForBytes()
150 private static void logCommand(String command, boolean allowEmptyOutput, byte[] stdInBytes) { in logCommand()
179 String command, Function<String, Boolean> outputSuccessChecker) throws AdbException { in executeCommandAndValidateOutput() argument
187 String command, in executeCommandAndValidateOutput()
213 String command, boolean allowEmptyOutput, byte[] stdIn) throws AdbException { in executeCommandPreS()
245 String command, byte[] stdInBytes) throws AdbException { in executeCommandForBytesPreS()
DShellCommand.java41 public static Builder builder(String command) { in builder()
52 public static Builder builderForUser(@Nullable UserReference userReference, String command) { in builderForUser()
71 private Builder(String command) { in Builder()
/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/tests/media/src/android/media/cts/
DSession2CommandTest.java49 Session2Command command = new Session2Command(Session2Command.COMMAND_CODE_CUSTOM); in testConstructorWithCommandCodeCustom() local
59 Session2Command command = new Session2Command(null, null); in testConstructorWithNullAction() local
99 Session2Command command = new Session2Command(TEST_COMMAND_CODE); in testDescribeContents() local
105 Session2Command command = new Session2Command(TEST_CUSTOM_ACTION, null); in testWriteToParcel() local
DHandlerExecutor.java32 public void execute(Runnable command) { in execute()
/cts/hostsidetests/incident/src/com/android/server/cts/
DProtoDumpTestCase.java99 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/
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/security/src/android/security/cts/
DEffectBundleTest.java125 final int command = Equalizer.PARAM_GET_PRESET_NAME; in testParamPresetName() local
162 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel() local
178 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel_long() local
367 private boolean eqGetParam(int media, int command, int band, byte[] reply) { in eqGetParam()
395 private boolean eqGetParam(int media, int command, int band, int[] reply) { in eqGetParam()
423 private void testGetParam(int media, int command, int[] bandArray, int value0, int value1) { in testGetParam()
436 private boolean eqSetParam(int media, int command, int band, short[] value) { in eqSetParam()
499 java.lang.reflect.Method command = AudioEffect.class.getDeclaredMethod( in verifyZeroPVSizeRejectedForSetParameter() local
520 private void executeSetParameter(AudioEffect ae, java.lang.reflect.Method command, in executeSetParameter()
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundService.java82 final int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onStartCommand() local
129 Log.e(getTag(), "Unknown command: " + command); in onStartCommand() local
147 public static Bundle newCommand(IBinder stateReceiver, int command) { in newCommand()
154 public static Bundle newCommand(int command) { in newCommand()
DCommandReceiver.java106 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onReceive() local
198 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundService() local
221 int command = LocalForegroundServiceLocation.COMMAND_START_FOREGROUND_WITH_TYPE; in doStartForegroundServiceWithType() local
236 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundServiceSticky() local
293 int command = LocalForegroundServiceLocation.COMMAND_START_FOREGROUND_WITH_TYPE; in doCreateFgslPendingIntent() local
382 public static void sendCommand(Context context, int command, String sourcePackage, in sendCommand()
389 public static void sendCommandWithResultReceiver(Context context, int command, in sendCommandWithResultReceiver()
398 public static void sendCommandWithBroadcastOptions(Context context, int command, in sendCommandWithBroadcastOptions()
406 private static Intent makeIntent(int command, String sourcePackage, in makeIntent()
/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/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/telephony/current/LocationAccessingApp/aidl/android/telephony/cts/locationaccessingapp/
DICtsLocationAccessControl.aidl22 List performCommand(String command); in performCommand()
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DTvTestBase.kt102 val command = composeAmShellCommand( in onSetUp() constant
111 val command = composeAmShellCommand("start-foreground-service", service, action) in startForegroundService() constant
122 val command = composeAmShellCommand( in sendBroadcast() constant
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java147 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess() local
159 String command = " cmd package " + (suspend ? "suspend " in suspendPackage() local
168 String command = " cmd notification " + (on ? "allow_listener " : "disallow_listener ") in toggleListenerAccess() local
179 private void runCommand(String command, Instrumentation instrumentation) throws IOException { in runCommand()
/cts/tests/tests/telecom/src/android/telecom/cts/
DWiredHeadsetTest.java122 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress") in sendMediaButtonPress() local
124 TestUtils.executeShellCommand(getInstrumentation(), command); in sendMediaButtonPress() local
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAppOpsUtils.java73 String command = "appops set " + packageName + " " + opStr + " " + modeStr; in setOpMode() local
130 private static String runCommand(String command) throws IOException { in runCommand()
DProtoUtils.java34 public static <T> T getProto(UiAutomation automation, Class<T> clazz, String command) in getProto()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp151 void RemoteAudio::sendCommand(android::sp<android::MessageHandler>& command) in sendCommand()
156 bool RemoteAudio::waitForCompletion(android::sp<android::MessageHandler>& command, int timeInMSec) in waitForCompletion()
190 android::sp<android::MessageHandler> command(new CommandHandler(*this, (int)id)); in doStop() local
331 android::sp<android::MessageHandler> command(new CommandHandler(*this, CommandHandler::EExit)); in release() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DLaunchSomeWhere.java78 String command = "am start"; in launchSomeWhere() local
DPoc18_07.java45 String command = in testPocCVE_2017_18275() local
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java95 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

12345678