Home
last modified time | relevance | path

Searched refs:sendCommand (Results 1 – 24 of 24) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerFgsBgStartTest.java242 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
252 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
262 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
266 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
276 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
280 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
287 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
297 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
301 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
310 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG()
[all …]
DActivityManagerProcessStateTest.java1653 CommandReceiver.sendCommand(mContext, in testCycleFgs()
1658 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_BIND_SERVICE, in testCycleFgs()
1664 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_BIND_SERVICE, in testCycleFgs()
1676 CommandReceiver.sendCommand(mContext, CommandReceiver in testCycleFgs()
1685 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_UNBIND_SERVICE, in testCycleFgs()
1687 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_UNBIND_SERVICE, in testCycleFgs()
1722 CommandReceiver.sendCommand(mContext, in testCycleFgsTriangle()
1727 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_BIND_SERVICE, in testCycleFgsTriangle()
1733 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_BIND_SERVICE, in testCycleFgsTriangle()
1738 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_BIND_SERVICE, in testCycleFgsTriangle()
[all …]
DActivityManagerTest.java643 CommandReceiver.sendCommand(mTargetContext,
654 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_SELF_INDUCED_ANR,
661 monitor.sendCommand(AmMonitor.CMD_CONTINUE);
667 monitor.sendCommand(AmMonitor.CMD_CONTINUE);
698 monitor.sendCommand(AmMonitor.CMD_CONTINUE);
1134 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_SELF_INDUCED_ANR, in testAppNotResponding()
1143 monitor.sendCommand(AmMonitor.CMD_KILL); in testAppNotResponding()
1183 monitor.sendCommand(AmMonitor.CMD_KILL); in testAppNotRespondingOnStartup()
1336 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_START_ACTIVITY, in testKillingAppChildProcess()
1350 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_STOP_ACTIVITY, in testKillingAppChildProcess()
[all …]
DActivityManagerFgsDelegateTest.java143 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_START_SERVICE, in prepareProcess()
190 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_STOP_SERVICE, in testFgsDelegate()
236 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_STOP_SERVICE, in testFgsDelegateNotAllowedWhenAppCanNotStartFGS()
764 CommandReceiver.sendCommand( in sendCommandReceiverCommand()
814 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_STOP_SERVICE, in cleanupResources()
DForceStopTest.java324 CommandReceiver.sendCommand(mTargetContext, in testBootCompletedBroadcasts_broadcast()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAmMonitor.java128 sendCommand(CMD_KILL); in waitFor()
138 sendCommand(CMD_QUIT); in finish()
154 public void sendCommand(final String cmd) { in sendCommand() method in AmMonitor
172 sendCommand(CMD_KILL); in run()
/cts/hostsidetests/appsecurity/test-apps/SessionInspector/src/com/android/cts/sessioninspector/
DSessionInspectorTest.java72 Bundle result = sendCommand(new Intent(ACTION_CREATE_SESSION).setComponent( in createSession()
79 Bundle result = sendCommand(new Intent(ACTION_GET_SESSION).putExtra( in getSessionInfo()
86 sendCommand(new Intent(ACTION_ABANDON_SESSION).putExtra(PackageInstaller.EXTRA_SESSION_ID, in abandonSession()
90 private Bundle sendCommand(Intent intent) throws Exception { in sendCommand() method in SessionInspectorTest
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/
DOtherUserActivity.java71sendCommand("start", "--user", "0", "-d", "content://android.security.cts.CVE_2021_0327.BadProvide… in doStuff()
75 void sendCommand(String... args) { in sendCommand() method in OtherUserActivity
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3746/
Dpoc.cpp71 err = mOMXNode->sendCommand(OMX_CommandStateSet, OMX_StateIdle); in fuzzIOMXQcomVpx()
125 err = mOMXNode->sendCommand(OMX_CommandStateSet, OMX_StateExecuting); in fuzzIOMXQcomVpx()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3747/
Dpoc.cpp82 err = node->sendCommand(OMX_CommandStateSet, 2); in fuzzIOMXQcomEnc()
118 err = node->sendCommand(OMX_CommandStateSet, 3); in fuzzIOMXQcomEnc()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityVisibilityTests.java823 activity.sendCommand(ACTION_CONVERT_FROM_TRANSLUCENT); in testConvertTranslucentOnTranslucentActivity()
826 activity.sendCommand(ACTION_CONVERT_TO_TRANSLUCENT); in testConvertTranslucentOnTranslucentActivity()
841 activity.sendCommand(ACTION_CONVERT_FROM_TRANSLUCENT); in testConvertTranslucentOnNonTopTranslucentActivity()
844 activity.sendCommand(ACTION_CONVERT_TO_TRANSLUCENT); in testConvertTranslucentOnNonTopTranslucentActivity()
856 activity.sendCommand(ACTION_CONVERT_TO_TRANSLUCENT); in testConvertTranslucentOnOpaqueActivity()
859 activity.sendCommand(ACTION_CONVERT_FROM_TRANSLUCENT); in testConvertTranslucentOnOpaqueActivity()
874 activity.sendCommand(ACTION_CONVERT_TO_TRANSLUCENT); in testConvertTranslucentOnNonTopOpaqueActivity()
877 activity.sendCommand(ACTION_CONVERT_FROM_TRANSLUCENT); in testConvertTranslucentOnNonTopOpaqueActivity()
DStartActivityTests.java255 activitySession3.sendCommand(COMMAND_NAVIGATE_UP_TO, data); in verifyNavigateUpTo()
486 activity.sendCommand(COMMAND_START_ACTIVITIES, intentBundle); in startActivitiesAndGetTaskIds()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTestsBase.java99 Result sendCommand(@NonNull String sourcePackageName, @Nullable String targetPackageName, in sendCommand() method in AppEnumerationTestsBase
174 final Result result = sendCommand(sourcePackageName, targetPackageName, in sendCommandBlocking()
182 final Result result = sendCommand(sourcePackageName, null /* targetPackageName */, in sendCommandBlocking()
DMediaSessionEnumerationTests.java70 final Bundle bundle = sendCommand( in isTrustedForMediaControl()
DAppEnumerationTests.java822 final Result result = sendCommand(QUERIES_NOTHING, TARGET_FILTERS, in broadcastAdded_notVisibleDoesNotReceive()
836 final Result result = sendCommand(QUERIES_ACTIVITY_ACTION, TARGET_FILTERS, in broadcastAdded_visibleReceives()
851 final Result result = sendCommand(QUERIES_NOTHING, TARGET_FILTERS, in reinstallTarget_broadcastRemoved_notVisibleDoesNotReceive()
865 final Result result = sendCommand(QUERIES_ACTIVITY_ACTION, TARGET_FILTERS, in reinstallTarget_broadcastRemoved_visibleReceives()
881 final Result result = sendCommand(QUERIES_NOTHING, TARGET_STUB, in uninstallTarget_broadcastRemoved_notVisibleDoesNotReceive()
896 final Result result = sendCommand(QUERIES_NOTHING_PERM, TARGET_STUB, in uninstallTarget_broadcastRemoved_visibleReceives()
912 final Result result = sendCommand(QUERIES_NOTHING, TARGET_STUB, in uninstallTarget_broadcastFullyRemoved_notVisibleDoesNotReceive()
927 final Result result = sendCommand(QUERIES_NOTHING_PERM, TARGET_STUB, in uninstallTarget_broadcastFullyRemoved_visibleReceives()
943 final Result result = sendCommand(QUERIES_NOTHING, TARGET_STUB, in clearTargetData_broadcastDataCleared_notVisibleDoesNotReceive()
958 final Result result = sendCommand(QUERIES_NOTHING_PERM, TARGET_STUB, in clearTargetData_broadcastDataCleared_visibleReceives()
[all …]
DLauncherAppsEnumerationTests.java523 final Result result = sendCommand(sourcePackageName, null /* targetPackageName */, in sendCommandAndWaitForLauncherAppsCallback()
533 final Result result = sendCommand(sourcePackageName, null /* targetPackageName */, in sendCommandAndWaitForLauncherAppsSessionCallback()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java255 public void sendCommand(String command) {
256 sendCommand(command, null /* data */);
260 public void sendCommand(String command, Bundle data) {
306 sendCommand(command, data);
353 sendCommand(COMMAND_FINISH);
/cts/hostsidetests/securitybulletin/securityPatch/includes/
DomxUtils.cpp158 int ret = mOMXNode->sendCommand(cmd, param); in omxUtilsSendCommand()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaControllerTest.java195 mController.sendCommand(command, extras, new ResultReceiver(null)); in testSendCommand()
211 () -> mController.sendCommand(/*command=*/ null, args, resultReceiver)); in testSendCommandWithIllegalArgumentsThrowsIAE()
214 () -> mController.sendCommand(/*command=*/ "", args, resultReceiver)); in testSendCommandWithIllegalArgumentsThrowsIAE()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DSplashscreenTests.java152 starter.sendCommand(COMMAND_START_ACTIVITIES, data); in startActivitiesFromStarter()
167 starter.sendCommand(COMMAND_START_ACTIVITY, data); in startActivityFromStarter()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java717 public static void sendCommand(Context context, int command, String sourcePackage, in sendCommand() method in CommandReceiver
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java664 monitor.sendCommand(AmMonitor.CMD_CONTINUE); in testAnr()
668 monitor.sendCommand(AmMonitor.CMD_KILL); in testAnr()
/cts/tools/release-parser/tests/resources/
DShell.apk.pb.txt5739 name: "sendCommand"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt26607 …method public void sendCommand(@NonNull String, @Nullable android.os.Bundle, @Nullable android.os.…