Searched refs:ProcessObserverCallback (Results 1 – 9 of 9) sorted by relevance
23 import android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback;58 void registerProcessObserverCallback(ProcessObserverCallback callback); in registerProcessObserverCallback()59 void unregisterProcessObserverCallback(ProcessObserverCallback callback); in unregisterProcessObserverCallback()68 private final ProcessObserverCallback mProcessObserver = new ProcessObserver();85 private final List<ProcessObserverCallback> mCustomProcessObservers = new ArrayList<>();172 public void registerProcessObserverCallback(ProcessObserverCallback callback) { in registerProcessObserverCallback()179 public void unregisterProcessObserverCallback(ProcessObserverCallback callback) { in unregisterProcessObserverCallback()188 ProcessObserverCallback callback = mCustomProcessObservers.get(i); in handleForegroundActivitiesChanged()207 ProcessObserverCallback callback = mCustomProcessObservers.get(i); in handleProcessDied()314 private class ProcessObserver extends ProcessObserverCallback {[all …]
27 import android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback;207 ProcessObserverCallback customCallback = mock(ProcessObserverCallback.class); in testRegisterProcessRunningStateCallback()210 ProcessObserverCallback cb = verifyAndGetProcessObserverCallback(); in testRegisterProcessRunningStateCallback()243 ProcessObserverCallback customCallback = mock(ProcessObserverCallback.class); in testUnregisterProcessRunningStateCallback()247 ProcessObserverCallback cb = verifyAndGetProcessObserverCallback(); in testUnregisterProcessRunningStateCallback()269 private ProcessObserverCallback verifyAndGetProcessObserverCallback() { in verifyAndGetProcessObserverCallback()270 ArgumentCaptor<ProcessObserverCallback> cbCaptor = ArgumentCaptor.forClass( in verifyAndGetProcessObserverCallback()271 ProcessObserverCallback.class); in verifyAndGetProcessObserverCallback()
237 public abstract static class ProcessObserverCallback { class in ActivityManagerHelper248 ProcessObserverCallback.this.onForegroundActivitiesChanged(266 ProcessObserverCallback.this.onProcessDied(pid, uid);275 public static void registerProcessObserverCallback(ProcessObserverCallback callback) { in registerProcessObserverCallback()288 public static void unregisterProcessObserverCallback(ProcessObserverCallback callback) { in unregisterProcessObserverCallback()
61 import android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback;500 ProcessObserverCallback[] processObserver = new ProcessObserverCallback[1]; in testAppStateChanged()503 processObserver[0] = (ProcessObserverCallback) args[0]; in testAppStateChanged()561 ProcessObserverCallback[] processObserver = new ProcessObserverCallback[1]; in testProcessObserverCallbackInvokedBeforeOccupantZoneCallback()564 processObserver[0] = (ProcessObserverCallback) args[0]; in testProcessObserverCallbackInvokedBeforeOccupantZoneCallback()
106 method TIRAMISU_0 void registerProcessObserverCallback(ProcessObserverCallback callback);107 method TIRAMISU_0 void unregisterProcessObserverCallback(ProcessObserverCallback callback);109 class ActivityManagerHelper.ProcessObserverCallback package android.car.builtin.app114 ProcessObserverCallback.this.onForegroundActivitiesChanged(pid, uid, foregroundActivities);124 ProcessObserverCallback.this.onProcessDied(pid, uid);
33 import android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback;205 private final ProcessObserverCallback mProcessObserver = new ProcessObserverCallback() {
505 any(ActivityManagerHelper.ProcessObserverCallback.class))); in testStopFixedActivityMode()509 any(ActivityManagerHelper.ProcessObserverCallback.class))); in testStopFixedActivityMode()516 any(ActivityManagerHelper.ProcessObserverCallback.class)), never()); in testStopFixedActivityMode_invalidDisplayId()
50 import android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback;174 private final ProcessObserverCallback mProcessObserver = new ProcessObserver();221 private final class ProcessObserver extends ProcessObserverCallback {
41 …sterProcessObserverCallback(android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback);51 …sterProcessObserverCallback(android.car.builtin.app.ActivityManagerHelper.ProcessObserverCallback);56 public abstract static class ActivityManagerHelper.ProcessObserverCallback {57 ctor public ActivityManagerHelper.ProcessObserverCallback();