Home
last modified time | relevance | path

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

1234

/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/hostsidetests/incident/src/com/android/server/cts/
DProtoDumpTestCase.java76 public <T extends Message> T getDump(Parser<T> parser, String command) in getDump()
152 protected Matcher execCommandAndFind(String command, String pattern, int patternFlags) in execCommandAndFind()
166 protected Matcher execCommandAndFind(String command, String pattern) throws Exception { in execCommandAndFind()
174 protected String execCommandAndGetFirstGroup(String command, String pattern) throws Exception { in execCommandAndGetFirstGroup()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java173 protected void executeShellCommand(final String command) throws Exception { in executeShellCommand()
194 String command = "pm list users"; in getUserFlags() local
387 String command = "pm list features"; in hasDeviceFeature() local
421 String command ="pm create-user " + (guest ? "--guest " : "") in createUser() local
461 String command = "pm create-user --profileOf " + parentUserId + " --managed " in getCreateManagedProfileCommandOutput() local
495 String command = "dpm set-profile-owner --user " + userId + " '" + componentName + "'"; in setProfileOwner() local
530 String command = "dpm set-active-admin --user " + userId + " '" + componentName + "'"; in setDeviceAdminInner() local
554 String command = "dpm set-device-owner --user " + userId + " '" + componentName + "'"; in setDeviceOwner() local
579 String command = "settings --user " + userId + " get " + namespace + " " + name; in getSettings() local
587 String command = "settings --user " + userId + " put " + namespace + " " + name in putSettings() local
[all …]
DManagedProfileTest.java220 String command = "am start -W --user " + mProfileUserId + " " + MANAGED_PROFILE_PKG in testCrossProfileIntentFilters() local
715 String command = "content call --uri " + DIRECTORY_PRIVOIDER_URI in setDirectoryPrefix() local
803 String command = "appops set --user " + userId + " " + pkg in givePackageWriteSettingsPermission() local
900 String command = "am start -W --user " + userId in disableActivityForUser() local
920 String command = "cmd deviceidle whitelist " + (enabled ? "+" : "-") + packageName; in setIdleWhitelist() local
925 private String changeCrossProfileWidgetForUser(String packageName, String command, int userId) in changeCrossProfileWidgetForUser()
940 String command = "pm set-app-link --user " + userId + " " + packageName + " " + status; in changeVerificationStatus() local
946 String command = "am startservice --user " + mParentUserId in startWidgetHostService() local
DBaseLauncherAppsTest.java51 String command = "am startservice --user " + mPrimaryUserId in startCallbackService() local
DDeviceAndProfileOwnerTest.java593 String command = "rm " + TEST_APP_LOCATION + apk.getName(); in testPackageInstallUserRestrictions() local
729 String command = "am start -a android.intent.action.MAIN" in executeAccountTest() local
752 private void changeAccountManagement(String command, String accountType, int userId) in changeAccountManagement()
781 String command = "appops set --user " + userId + " " + packageName + " " + in setInstallPackageAppOps() local
787 private void changePolicyOrFail(String command, String extras, int userId) in changePolicyOrFail()
798 String command = "am start -W --user " + userId + " " + TEST_APP_PKG + "/" in startSimpleActivityAsUser() local
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java86 final int command = Equalizer.PARAM_GET_PRESET_NAME; in testParamPresetName() local
119 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel() local
131 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel_long() local
260 private boolean eqGetParam(int media, int command, int band, byte[] reply) { in eqGetParam()
288 private boolean eqGetParam(int media, int command, int band, int[] reply) { in eqGetParam()
316 private void testGetParam(int media, int command, int[] bandArray, int value0, int value1) { in testGetParam()
329 private boolean eqSetParam(int media, int command, int band, short[] value) { in eqSetParam()
DVisualizerEffectTest.java62 Method command = AudioEffect.class.getDeclaredMethod("command", int.class, in testVisualizer_MalformedConstructor() local
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java75 final String command = "pm create-user --profileOf " + userId + " --restricted " in createRestrictedProfile() local
98 final String command = "pm create-user " in createUser() 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/hostsidetests/security/src/android/security/cts/
DPoc16_12.java245 String command = in testPocCVE_2016_8451() local
255 String command = in testPoc32659848() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DLocationUtils.java29 StringBuilder command = new StringBuilder(); in registerMockLocationProvider() local
/cts/tests/app/app/src/android/app/stubs/
DLocalForegroundService.java61 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onStart() local
110 public static Bundle newCommand(IBinder stateReceiver, int command) { in newCommand()
/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/backup/src/android/backup/cts/
DBackupQuotaTest.java153 private String exec(String command) throws Exception { in exec()
155 try (InputStream in = executeStreamedShellCommand(getInstrumentation(), command)) { in exec() argument
167 String command) throws Exception { in executeStreamedShellCommand()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DImeCommandReceiver.java67 final String command = intent.getStringExtra(ImeCommandConstants.EXTRA_COMMAND); in onReceive() local
69 Log.d(mIme.getClass().getSimpleName(), "onReceive: command=" + command); in onReceive() local
/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/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java178 protected @Nonnull String executeShellCommand(final String command) throws Exception { in executeShellCommand()
186 String command = "pm create-user" + extraParam + " TestUser_" + System.currentTimeMillis(); in createAndStartUser() local
354 String command = "pm list features"; in hasDeviceFeature() local
/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java100 private Intent buildCommandIntent(String command) { in buildCommandIntent()
106 int commandButtonRes, String command) { in buildCommandTest()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java95 final String command = "cmd package list packages " + packageName; in assertPackageUninstalled() local
179 protected String runCommand(String command) throws DeviceNotAvailableException { in runCommand()

1234