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()
63 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); in onUidStateChanged()
83 CHECK_INTERFACE(IUidObserver, data, reply); in onTransact()
91 CHECK_INTERFACE(IUidObserver, data, reply); in onTransact()
98 CHECK_INTERFACE(IUidObserver, data, reply); in onTransact()
105 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.bp50 "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
50 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.java58 import android.app.IUidObserver;
519 final IUidObserver[] observers = new IUidObserver.Stub[changesToObserve.length]; in testDispatchUids_dispatchNeededChanges()
521 observers[i] = mock(IUidObserver.Stub.class); in testDispatchUids_dispatchNeededChanges()
558 final IUidObserver observerToTest = observers[i]; in testDispatchUids_dispatchNeededChanges()
616 void verify(IUidObserver observer, UidRecord.ChangeItem changeItem) throws RemoteException; in verify()
619 private void verifyObserverReceivedChanges(IUidObserver observer, int[] changesToVerify, in verifyObserverReceivedChanges()
634 final IUidObserver observer = mock(IUidObserver.Stub.class); in testDispatchUidChanges_procStateCutpoint()
728 final IUidObserver observer = mock(IUidObserver.Stub.class); in testDispatchUidChanges_validateUidsUpdated()
/frameworks/base/core/java/android/app/
DIUidObserver.aidl20 oneway interface IUidObserver { interface
DIActivityManager.aidl34 import android.app.IUidObserver;
97 void registerUidObserver(in IUidObserver observer, int which, int cutpoint, in registerUidObserver()
99 void unregisterUidObserver(in IUidObserver observer); in unregisterUidObserver()
DIActivityTaskManager.aidl34 import android.app.IUidObserver;
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java27 import android.app.IUidObserver;
323 mAm.registerUidObserver(new IUidObserver.Stub() { in registerUidListener()
DAppStateTracker.java24 import android.app.IUidObserver;
635 private final class UidObserver extends IUidObserver.Stub {
DVibratorService.java24 import android.app.IUidObserver;
196 private final IUidObserver mUidObserver = new 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.java68 import android.app.IUidObserver;
293 verify(mIActivityManager).registerUidObserver(any(IUidObserver.class), anyInt(), anyInt(), in setUp()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java38 import android.app.IUidObserver;
446 private final IUidObserver mUidObserver = new IUidObserver.Stub() {
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java45 import android.app.IUidObserver;
237 IUidObserver mUidObserver;
336 void injectRegisterUidObserver(IUidObserver observer, int which) { in injectRegisterUidObserver()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java89 import android.app.IUidObserver;
250 private IUidObserver mUidObserver;
371 mUidObserver = (IUidObserver) invocation.getArguments()[0]; in callSystemReady()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java54 import android.app.IUidObserver;
114 private IUidObserver mUidObserver;
184 ArgumentCaptor<IUidObserver> uidObserverCaptor = in setUp()
185 ArgumentCaptor.forClass(IUidObserver.class); in setUp()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java38 import android.app.IUidObserver;
385 private final IUidObserver mUidObserver = new IUidObserver.Stub() {
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java29 import android.app.IUidObserver;
935 final private IUidObserver mUidObserver = new IUidObserver.Stub() {
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java26 import android.app.IUidObserver;
515 final private IUidObserver mUidObserver = new IUidObserver.Stub() {
4832 void injectRegisterUidObserver(IUidObserver observer, int which) { in injectRegisterUidObserver()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java37 import android.app.IUidObserver;
1485 static final class MyUidObserver extends IUidObserver.Stub
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java127 import android.app.IUidObserver;
919 final private IUidObserver mUidObserver = new IUidObserver.Stub() {

12