/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 | 77 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()
|
D | ShellCommand.java | 41 public static Builder builder(String command) { in builder() 52 public static Builder builderForUser(@Nullable UserReference userReference, String command) { in builderForUser() 70 private Builder(String command) { in Builder()
|
/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/tests/media/misc/src/android/media/misc/cts/ |
D | Session2CommandTest.java | 49 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
|
D | HandlerExecutor.java | 32 public void execute(Runnable command) { in execute()
|
/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/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/tests/app/app/src/android/app/stubs/ |
D | LocalForegroundService.java | 82 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()
|
/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/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/os/src/android/os/cts/ |
D | SystemClockSntpTest.java | 177 private static void executeShellCommand(String command) { in executeShellCommand() 182 String command, String expectedOutput) { in executeShellCommandAndAssertOutput() 189 private static void runWithShellPermissionIdentity(ThrowingRunnable command) in runWithShellPermissionIdentity()
|
/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/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 166 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess() local 178 String command = " cmd package " + (suspend ? "suspend " in suspendPackage() local 187 String command = " cmd notification " + (on ? "allow_listener " : "disallow_listener ") in toggleListenerAccess() local 198 private void runCommand(String command, Instrumentation instrumentation) throws IOException { in runCommand()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | WiredHeadsetTest.java | 122 final String command = "input keyevent " + (longPress ? "--longpress 3" : "--shortpress") in sendMediaButtonPress() local 124 TestUtils.executeShellCommand(getInstrumentation(), command); in sendMediaButtonPress() local
|
/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/quicksettings/src/android/quicksettings/cts/ |
D | BaseTileServiceTest.java | 111 String command = " cmd statusbar " + (on ? "add-tile " : "remove-tile ") in toggleServiceAccess() local 117 public String executeShellCommand(String command) throws IOException { in executeShellCommand() 118 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
|