/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 46 import android.app.stubs.CommandReceiver; 180 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 181 CommandReceiver.COMMAND_START_FOREGROUND_SERVICE_LOCATION, in testFgsLocationStartFromBG() 189 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 190 CommandReceiver.COMMAND_STOP_FOREGROUND_SERVICE_LOCATION, in testFgsLocationStartFromBG() 199 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 200 CommandReceiver.COMMAND_START_FOREGROUND_SERVICE, in testFgsLocationStartFromBG() 203 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() 204 CommandReceiver.COMMAND_START_FOREGROUND_SERVICE_LOCATION, in testFgsLocationStartFromBG() 212 CommandReceiver.sendCommand(mContext, in testFgsLocationStartFromBG() [all …]
|
D | ActivityManagerProcessStateTest.java | 48 import android.app.stubs.CommandReceiver; 204 CommandReceiver.sendCommandWithResultReceiver(mContext, CommandReceiver.COMMAND_EMPTY, in drainOrderedBroadcastQueue() 1601 CommandReceiver.sendCommand(mContext, in testCycleFgs() 1602 CommandReceiver.COMMAND_START_FOREGROUND_SERVICE, in testCycleFgs() 1606 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_BIND_SERVICE, in testCycleFgs() 1612 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_BIND_SERVICE, in testCycleFgs() 1624 CommandReceiver.sendCommand(mContext, CommandReceiver in testCycleFgs() 1633 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_UNBIND_SERVICE, in testCycleFgs() 1635 CommandReceiver.sendCommand(mContext, CommandReceiver.COMMAND_UNBIND_SERVICE, in testCycleFgs() 1666 CommandReceiver.sendCommand(mContext, in testCycleFgsTriangle() [all …]
|
D | ActivityManagerTest.java | 50 import android.app.stubs.CommandReceiver; 873 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_SELF_INDUCED_ANR, in testAppNotResponding() 1025 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_START_ACTIVITY, in testKillingAppChildProcess() 1039 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_STOP_ACTIVITY, in testKillingAppChildProcess() 1058 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_START_ACTIVITY, in testKillingAppChildProcess() 1072 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_STOP_ACTIVITY, in testKillingAppChildProcess() 1150 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_START_ACTIVITY, in testTrimAppChildProcess() 1164 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_START_ACTIVITY, in testTrimAppChildProcess() 1178 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_STOP_ACTIVITY, in testTrimAppChildProcess() 1194 CommandReceiver.sendCommand(mTargetContext, CommandReceiver.COMMAND_START_ACTIVITY, in testTrimAppChildProcess() [all …]
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsTestIme.java | 60 private CommandReceiver mReceiver; 72 mReceiver = new CommandReceiver(mContext); in onCreate() 156 private final class CommandReceiver extends BroadcastReceiver { class in CtsTestIme 160 CommandReceiver(Context context) { in CommandReceiver() method in CtsTestIme.CommandReceiver
|
/cts/tests/app/app/src/android/app/stubs/ |
D | TrimMemService.java | 41 mCallback = extras.getBinder(CommandReceiver.EXTRA_CALLBACK); in onBind() 106 extras.putBinder(CommandReceiver.EXTRA_CALLBACK, in bindToTrimMemService()
|
D | SimpleActivity.java | 39 mCallback = extras.getBinder(CommandReceiver.EXTRA_CALLBACK); in onCreate()
|
D | LocalForegroundService.java | 172 final IBinder binder = extras.getBinder(CommandReceiver.EXTRA_MESSENGER); in handleIncomingMessengerIfNeeded() 178 reply.putBinder(CommandReceiver.EXTRA_MESSENGER, mMessenger.getBinder()); in handleIncomingMessengerIfNeeded()
|
D | CommandReceiver.java | 36 public class CommandReceiver extends BroadcastReceiver { class
|
/cts/tests/appsearch/helper-app/src/com/android/cts/appsearch/helper/ |
D | AppSearchTestService.java | 72 return new CommandReceiver(); in onBind() 75 private class CommandReceiver extends ICommandReceiver.Stub { class in AppSearchTestService
|
/cts/tests/BlobStore/helper-app/src/com/android/cts/blob/helper/ |
D | BlobStoreTestService.java | 52 return new CommandReceiver(); in onBind() 55 private class CommandReceiver extends ICommandReceiver.Stub { class in BlobStoreTestService
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | CommandSession.java | 541 interface CommandReceiver { 551 private CommandReceiver mCallback; 556 CommandReceiver callback) { 583 private static void dispatchCommand(CommandReceiver callback, Intent intent) { 599 void setCallback(CommandReceiver callback) { 678 public static class CommandSessionActivity extends Activity implements CommandReceiver {
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | MockIme.java | 121 private static final class CommandReceiver extends BroadcastReceiver { class in MockIme 127 CommandReceiver(@NonNull String actionName, in CommandReceiver() method in MockIme.CommandReceiver 465 private CommandReceiver mCommandReceiver; 539 mCommandReceiver = new CommandReceiver(actionName, this::onReceiveCommand); in onCreate()
|