Home
last modified time | relevance | path

Searched refs:IUidObserver (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/native/libs/binder/
DIUidObserver.cpp25 class BpUidObserver : public BpInterface<IUidObserver>
29 : BpInterface<IUidObserver>(impl) in BpUidObserver()
36 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); in onUidGone()
45 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); in onUidActive()
53 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); in onUidIdle()
62 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); in onUidStateChanged()
81 CHECK_INTERFACE(IUidObserver, data, reply); in onTransact()
89 CHECK_INTERFACE(IUidObserver, data, reply); in onTransact()
96 CHECK_INTERFACE(IUidObserver, data, reply); in onTransact()
103 CHECK_INTERFACE(IUidObserver, data, reply); in onTransact()
DIActivityManager.cpp60 virtual void registerUidObserver(const sp<IUidObserver>& observer, in registerUidObserver()
74 virtual void unregisterUidObserver(const sp<IUidObserver>& observer) in unregisterUidObserver()
DActivityManager.cpp64 void ActivityManager::registerUidObserver(const sp<IUidObserver>& observer, in registerUidObserver()
75 void ActivityManager::unregisterUidObserver(const sp<IUidObserver>& observer) in unregisterUidObserver()
DAndroid.bp61 "IUidObserver.cpp",
92 "IUidObserver.cpp",
/frameworks/native/libs/binder/include/binder/
DIActivityManager.h35 virtual void registerUidObserver(const sp<IUidObserver>& observer,
39 virtual void unregisterUidObserver(const sp<IUidObserver>& observer) = 0;
DIUidObserver.h29 class IUidObserver : public IInterface
49 class BnUidObserver : public BnInterface<IUidObserver>
DActivityManager.h73 void registerUidObserver(const sp<IUidObserver>& observer,
77 void unregisterUidObserver(const sp<IUidObserver>& observer);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java56 import android.app.IUidObserver;
484 final IUidObserver[] observers = new IUidObserver.Stub[changesToObserve.length]; in testDispatchUids_dispatchNeededChanges()
486 observers[i] = Mockito.mock(IUidObserver.Stub.class); in testDispatchUids_dispatchNeededChanges()
523 final IUidObserver observerToTest = observers[i]; in testDispatchUids_dispatchNeededChanges()
580 void verify(IUidObserver observer, UidRecord.ChangeItem changeItem) throws RemoteException; in verify()
583 private void verifyObserverReceivedChanges(IUidObserver observer, int[] changesToVerify, in verifyObserverReceivedChanges()
598 final IUidObserver observer = Mockito.mock(IUidObserver.Stub.class); in testDispatchUidChanges_procStateCutpoint()
689 final IUidObserver observer = Mockito.mock(IUidObserver.Stub.class); in testDispatchUidChanges_validateUidsUpdated()
/frameworks/base/core/java/android/app/
DIUidObserver.aidl20 oneway interface IUidObserver { interface
DIActivityManager.aidl33 import android.app.IUidObserver;
95 void registerUidObserver(in IUidObserver observer, int which, int cutpoint, in registerUidObserver()
97 void unregisterUidObserver(in IUidObserver observer); in unregisterUidObserver()
DIActivityTaskManager.aidl34 import android.app.IUidObserver;
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java28 import android.app.IUidObserver;
288 mAm.registerUidObserver(new IUidObserver.Stub() { in registerUidListener()
DVibratorService.java21 import android.app.IUidObserver;
169 private final IUidObserver mUidObserver = new IUidObserver.Stub() {
DAppStateTracker.java24 import android.app.IUidObserver;
634 private final class UidObserver extends IUidObserver.Stub {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java45 import android.app.IUidObserver;
183 private IUidObserver mIUidObserver;
247 ArgumentCaptor<IUidObserver> uidObserverArgumentCaptor = in callStart()
248 ArgumentCaptor.forClass(IUidObserver.class); in callStart()
DAlarmManagerServiceTest.java65 import android.app.IUidObserver;
281 verify(mIActivityManager).registerUidObserver(any(IUidObserver.class), anyInt(), anyInt(), in setUp()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java31 import android.app.IUidObserver;
309 private final IUidObserver mUidObserver = new IUidObserver.Stub() {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java44 import android.app.IUidObserver;
233 IUidObserver mUidObserver;
332 void injectRegisterUidObserver(IUidObserver observer, int which) { in injectRegisterUidObserver()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java89 import android.app.IUidObserver;
244 private IUidObserver mUidObserver;
364 mUidObserver = (IUidObserver) invocation.getArguments()[0]; in callSystemReady()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java53 import android.app.IUidObserver;
112 private IUidObserver mUidObserver;
183 ArgumentCaptor<IUidObserver> uidObserverCaptor = in setUp()
184 ArgumentCaptor.forClass(IUidObserver.class); in setUp()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java37 import android.app.IUidObserver;
475 private final IUidObserver mUidObserver = new IUidObserver.Stub() {
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java26 import android.app.IUidObserver;
496 final private IUidObserver mUidObserver = new IUidObserver.Stub() {
4344 void injectRegisterUidObserver(IUidObserver observer, int which) { in injectRegisterUidObserver()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java30 import android.app.IUidObserver;
923 final private IUidObserver mUidObserver = new IUidObserver.Stub() {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java36 import android.app.IUidObserver;
1428 static final class MyUidObserver extends IUidObserver.Stub
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java123 import android.app.IUidObserver;
910 final private IUidObserver mUidObserver = new IUidObserver.Stub() {

12