Home
last modified time | relevance | path

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

12

/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()
DSimpleScriptExec.cpp70 android::String8 command; in runScript() local
/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/
DBaseDevicePolicyTest.java107 String command = "am start-user " + userId; in startUser() local
117 String command = "pm get-max-users"; in getMaxNumberOfUsersSupported() local
130 String command = "pm list users"; in listUsers() local
240 String command = "am instrument --user " + userId + " " + params + " -w -r " in doRunTestsAsUser() local
265 String command = "pm list features"; in hasDeviceFeature() local
289 String command ="pm create-user TestUser_"+ System.currentTimeMillis(); in createUser() local
302 String command = in createManagedProfile() local
337 String command = "dpm set-profile-owner --user " + userId + " '" + componentName + "'"; in setProfileOwner() local
352 String command = "dpm set-active-admin '" + componentName + "'"; in setDeviceAdmin() local
360 String command = "dpm set-device-owner '" + componentName + "'"; in setDeviceOwner() local
[all …]
DManagedProfileTest.java170 String command = "am start -W --user " + mUserId + " " + MANAGED_PROFILE_PKG in testCrossProfileIntentFilters() local
563 String command = "add-restriction"; in testNfcRestriction() local
619 String command = "am start -W --user " + userId in disableActivityForUser() local
627 private String changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser()
640 private String changeCrossProfileWidgetForUser(String packageName, String command, int userId) in changeCrossProfileWidgetForUser()
656 String command = "pm set-app-link --user " + userId + " " + packageName + " " + status; in changeVerificationStatus() local
662 String command = "am startservice --user 0 " in startWidgetHostService() local
DMixedProfileOwnerTest.java69 String command = "am start -W --user 0 " + DEVICE_ADMIN_PKG + "/" in testScreenCaptureDisabled_allowedPrimaryUser() local
DDeviceAndProfileOwnerTest.java190 String command = "am start -a android.intent.action.MAIN -c android.intent.category.HOME"; in testAccountManagement() local
252 String command = "rm " + TEST_APP_LOCATION + apk.getName(); in testPackageInstallUserRestrictions() local
271 private void changeUserRestrictionForUser(String key, String command, int userId) in changeUserRestrictionForUser()
DBaseLauncherAppsTest.java49 String command = "am startservice --user 0 " in startCallbackService() local
DCustomDeviceOwnerTest.java148 String command = "rm " + TEST_APP_LOCATION + apk.getName(); in testSilentPackageInstall() local
/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.java132 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress") in sendMediaButtonPress() local
134 TestUtils.executeShellCommand(getInstrumentation(), command); in sendMediaButtonPress() local
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java32 StringBuilder command = new StringBuilder(); in setDefaultSmsApp() local
/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/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUserRestrictionActivity.java64 String command = intent.getStringExtra(EXTRA_COMMAND); in handleIntent() local
DApplicationRestrictionsTest.java205 private void startTestActivity(String command) { in startTestActivity()
/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/suite/cts/hostTests/jank/app/src/com/android/cts/jank/
DCtsJankTestBase.java49 protected void runShellCommand(String command) throws Exception { in runShellCommand()
/cts/suite/audio_quality/executable/src/
Dmain.cpp44 android::String8 command = android::String8::format("cd %s;zip -r ../%s.zip *", in ~CleanupStatics() local
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DSetPolicyActivity.java68 String command = intent.getStringExtra(EXTRA_COMMAND); in handleIntent() local
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java159 final String command = MessageFormat.format(APPOPS_SET_SHELL_COMMAND, in setAppOpsMode() local
172 final String command = MessageFormat.format(APPOPS_GET_SHELL_COMMAND, in getAppOpsMode() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceOwnerPositiveTestActivity.java254 private Intent createDeviceOwnerIntentWithBooleanParameter(String command, boolean value) { in createDeviceOwnerIntentWithBooleanParameter()
271 String command = intent.getStringExtra(EXTRA_COMMAND); in onCreate() local
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DWrappedGTest.java117 … String command = String.format("am instrument -w %s%s/.%s", options, mAppNameSpace, mRunner); in runTest() local

12