Home
last modified time | relevance | path

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

123

/cts/suite/audio_quality/lib/src/
DAdb.cpp34 android::String8 command; in setPortForwarding() local
46 android::String8 command; in launchClient() local
64 int Adb::executeCommand(const android::String8& command) in executeCommand()
/cts/tests/tests/calllog/src/android/calllog/cts/
DTestUtils.java40 String command) throws Exception { in executeShellCommand()
42 try (InputStream in = executeStreamedShellCommand(instrumentation, command)) { in executeShellCommand() argument
58 String command) throws Exception { in executeStreamedShellCommand()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedManagedProfileOwnerTest.java82 String command = "am start -W --user " + mParentUserId + " " + DEVICE_ADMIN_PKG + "/" in testScreenCaptureDisabled_allowedPrimaryUser() local
95 String command = "dumpsys window displays"; in runDumpsysWindow() local
DBaseDevicePolicyTest.java145 private void executeShellCommand(final String command) throws Exception { in executeShellCommand()
166 String command = "pm list users"; in getUserFlags() local
303 String command = "pm list features"; in hasDeviceFeature() local
337 String command ="pm create-user " + (guest ? "--guest " : "") in createUser() local
351 String command = "pm create-user --profileOf " + parentUserId + " --managed " in createManagedProfile() local
391 String command = "dpm set-profile-owner --user " + userId + " '" + componentName + "'"; in setProfileOwner() local
414 String command = "dpm set-active-admin --user " + userId + " '" + componentName + "'"; in setDeviceAdminInner() local
438 String command = "dpm set-device-owner --user " + userId + " '" + componentName + "'"; in setDeviceOwner() local
453 String command = "settings --user " + userId + " get " + namespace + " " + name; in getSettings() local
461 String command = "settings --user " + userId + " put " + namespace + " " + name in putSettings() local
[all …]
DManagedProfileTest.java184 String command = "am start -W --user " + mProfileUserId + " " + MANAGED_PROFILE_PKG in testCrossProfileIntentFilters() local
539 String command = "add-restriction"; in testNfcRestriction() local
614 String command = "content call --uri " + DIRECTORY_PRIVOIDER_URI in setDirectoryPrefix() local
725 String command = "am start -W --user " + userId in disableActivityForUser() local
733 private String changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser()
746 private String changeCrossProfileWidgetForUser(String packageName, String command, int userId) in changeCrossProfileWidgetForUser()
761 String command = "pm set-app-link --user " + userId + " " + packageName + " " + status; in changeVerificationStatus() local
767 String command = "am startservice --user " + mParentUserId in startWidgetHostService() local
DDeviceAndProfileOwnerTest.java508 String command = "rm " + TEST_APP_LOCATION + apk.getName(); in testPackageInstallUserRestrictions() local
581 String command = "am start -a android.intent.action.MAIN" in executeAccountTest() local
591 private void changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser()
596 private void changeAccountManagement(String command, String accountType, int userId) in changeAccountManagement()
608 private void changePolicy(String command, String extras, int userId) in changePolicy()
DBaseLauncherAppsTest.java51 String command = "am startservice --user " + mPrimaryUserId in startCallbackService() local
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundService.java47 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onStart() local
80 public static Bundle newCommand(IBinder stateReceiver, int command) { in newCommand()
/cts/libs/deviceutil/src/android/cts/util/
DLocationUtils.java29 StringBuilder command = new StringBuilder(); in registerMockLocationProvider() local
/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/tests/backup/src/android/backup/cts/
DBackupQuotaTest.java140 private String exec(String command) throws Exception { in exec()
142 try (InputStream in = executeStreamedShellCommand(getInstrumentation(), command)) { in exec() argument
158 String command) throws Exception { in executeStreamedShellCommand()
/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
DAudioProtocol.cpp58 uint32_t command = ntohl(data[0]); in handleReplyHeader() local
77 bool AudioProtocol::checkHeaderId(const uint32_t* data, uint32_t command) in checkHeaderId()
DAudioLocal.cpp83 bool AudioLocal::issueCommandAndWaitForCompletion(AudioCommand command) in issueCommandAndWaitForCompletion()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DShellCommandBuilder.java67 public ShellCommandBuilder addCommand(String command) { in addCommand()
72 private static void execShellCommand(UiAutomation automation, String command) { in execShellCommand()
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java34 StringBuilder command = new StringBuilder(); in setDefaultSmsApp() local
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h86 CommandHandler* toCommandHandler(android::sp<android::MessageHandler>& command) { in toCommandHandler()
114 CommandHandler(RemoteAudio& thread, int command) in CommandHandler()
/cts/tests/tests/provider/src/android/provider/cts/
DProviderTestUtils.java43 String command = String.format( in setDefaultSmsApp() local
48 static String executeShellCommand(String command, UiAutomation uiAutomation) in executeShellCommand()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java71 final String command = "pm create-user --profileOf " + userId + " --restricted " in createRestrictedProfile() local
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java370 protected String executeShellCommand(String command) throws Exception { in executeShellCommand()
379 protected void executeSilentShellCommand(String command) throws Exception { in executeSilentShellCommand()
387 protected void assertDelayedShellCommand(String command, final String expectedResult) in assertDelayedShellCommand()
392 protected void assertDelayedShellCommand(String command, int maxTries, int napTimeSeconds, in assertDelayedShellCommand()
408 protected void assertDelayedShellCommand(String command, ExpectResultChecker checker) in assertDelayedShellCommand()
412 protected void assertDelayedShellCommand(String command, int maxTries, int napTimeSeconds, in assertDelayedShellCommand()
516 final String command = "cmd netpolicy list wifi-networks"; in assertWifiMeteredStatus() local
726 final String command = String.format( in setPendingIntentWhitelistDuration() local
/cts/hostsidetests/compilation/src/android/cts/compilation/
DAdbRootDependentCompilationTest.java225 List<String> command = new ArrayList<>(Arrays.asList("shell", "cmd", "package", "compile", in executeCompile() local
318 private String[] executeAdbCommand(int numLinesOutputExpected, String... command) in executeAdbCommand()
329 private String[] executeAdbCommand(String... command) throws DeviceNotAvailableException { in executeAdbCommand()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java96 final String command = "cmd package list packages " + packageName; in assertPackageUninstalled() local
180 protected String runCommand(String command) throws DeviceNotAvailableException { in runCommand()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/
DDeviceInfoCollector.java139 String command = String.format("adb -s %s pull %s %s", device.getSerialNumber(), in pullExtendedDeviceInfoResults() local
146 private static boolean execute(String command) { in execute()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java186 String command = String.format( in enablePhoneAccountForUser() local
200 String command = String.format("appops set --user %d %s WRITE_SMS %s", userId, in setTestAppAsDefaultSmsAppForUser() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DSetPolicyActivity.java68 String command = intent.getStringExtra(EXTRA_COMMAND); in handleIntent() local

123