Home
last modified time | relevance | path

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

123456

/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/camera/src/android/hardware/camera2/cts/
DIdleUidTest.java197 final String command = "cmd media.camera reset-uid-state " in makeMyPackageActive() local
200 SystemUtil.runShellCommand(InstrumentationRegistry.getInstrumentation(), command); in makeMyPackageActive() local
204 final String command = "cmd media.camera set-uid-state " in makeMyPackageIdle() local
207 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/tests/security/src/android/security/cts/
DEffectBundleTest.java126 final int command = Equalizer.PARAM_GET_PRESET_NAME; in testParamPresetName() local
163 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel() local
179 final int command = Equalizer.PARAM_BAND_LEVEL; in testEqualizer_setParamBandLevel_long() local
368 private boolean eqGetParam(int media, int command, int band, byte[] reply) { in eqGetParam()
396 private boolean eqGetParam(int media, int command, int band, int[] reply) { in eqGetParam()
424 private void testGetParam(int media, int command, int[] bandArray, int value0, int value1) { in testGetParam()
437 private boolean eqSetParam(int media, int command, int band, short[] value) { in eqSetParam()
500 java.lang.reflect.Method command = AudioEffect.class.getDeclaredMethod( in verifyZeroPVSizeRejectedForSetParameter() local
521 private void executeSetParameter(AudioEffect ae, java.lang.reflect.Method command, in executeSetParameter()
/cts/tests/tests/telephony/current/LocationAccessingApp/aidl/android/telephony/cts/locationaccessingapp/
DICtsLocationAccessControl.aidl22 List performCommand(String command); in performCommand()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java227 protected void executeShellCommand(final String command) throws Exception { in executeShellCommand()
259 String command = "pm list users"; in getUserFlags() local
520 String command = "pm list features"; in hasDeviceFeature() local
554 String command ="pm create-user " + (guest ? "--guest " : "") in createUser() local
594 String command = "pm create-user --profileOf " + parentUserId + " --managed " in getCreateManagedProfileCommandOutput() local
628 String command = "dpm set-profile-owner --user " + userId + " '" + componentName + "'"; in setProfileOwner() local
663 String command = "dpm set-active-admin --user " + userId + " '" + componentName + "'"; in setDeviceAdminInner() local
687 String command = "dpm set-device-owner --user " + userId + " '" + componentName + "'"; in setDeviceOwner() local
712 String command = "settings --user " + userId + " get " + namespace + " " + name; in getSettings() local
720 String command = "settings --user " + userId + " put " + namespace + " " + name in putSettings() local
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsRoleManagerAdapter.java68 String command = String.format("%s %s %d", in addCompanionAppRoleHolder() local
79 String command = String.format("%s %s %d", in removeCompanionAppRoleHolder() local
91 String command = String.format("%s %s", in addAutomotiveRoleHolder() local
108 String command = String.format("%s %s", in removeAutomotiveRoleHolder() local
DWiredHeadsetTest.java122 final String command = "input keyevent " + (longPress ? "--longpress" : "--shortpress") in sendMediaButtonPress() local
124 TestUtils.executeShellCommand(getInstrumentation(), command); in sendMediaButtonPress() local
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java156 String command = " cmd notification " + (on ? "allow_dnd " : "disallow_dnd ") + packageName; in toggleNotificationPolicyAccess() local
168 String command = " cmd package " + (suspend ? "suspend " in suspendPackage() local
177 String command = " cmd notification " + (on ? "allow_listener " : "disallow_listener ") in toggleListenerAccess() local
188 private void runCommand(String command, Instrumentation instrumentation) throws IOException { in runCommand()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java59 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onReceive() local
112 int command = LocalForegroundService.COMMAND_START_FOREGROUND; in doStartForegroundService() local
119 int command = LocalForegroundServiceLocation.COMMAND_START_FOREGROUND_WITH_TYPE; in doStartForegroundServiceWithType() local
138 public static void sendCommand(Context context, int command, String sourcePackage, in sendCommand()
DLocalForegroundService.java67 int command = intent.getIntExtra(EXTRA_COMMAND, -1); in onStart() local
116 public static Bundle newCommand(IBinder stateReceiver, int command) { in newCommand()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DAppOpsUtils.java72 String command = "appops set " + packageName + " " + opStr + " " + modeStr; in setOpMode() local
129 private static String runCommand(String command) throws IOException { in runCommand()
DLocationUtils.java29 StringBuilder command = new StringBuilder(); in registerMockLocationProvider() local
/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()
DLocationUtils.java29 StringBuilder command = new StringBuilder(); in registerMockLocationProvider() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DLaunchSomeWhere.java78 String command = "am start"; in launchSomeWhere() 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()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java87 final String command = "pm create-user --profileOf " + userId + " --restricted " in createRestrictedProfile() local
110 final String command = "pm create-user " in createUser() local
/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/tests/net/src/android/net/cts/
DNetworkWatchlistTest.java144 private static String runCommand(String command) throws IOException { in runCommand()
148 private static ParcelFileDescriptor[] runRwCommand(String command) { in runRwCommand()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java84 public ShellCommandBuilder addCommand(String command) { in addCommand()
91 public static void execShellCommand(UiAutomation automation, String command) { in execShellCommand()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseDeviceOwnerTest.java65 protected String executeShellCommand(String... command) throws Exception { in executeShellCommand()

123456