Home
last modified time | relevance | path

Searched refs:observerToken (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/binder/
DActivityManager.cpp92 /*out*/ sp<IBinder>& observerToken) { in registerUidObserverForUids() argument
96 nUids, observerToken); in registerUidObserverForUids()
112 status_t ActivityManager::addUidToObserver(const sp<IBinder>& observerToken, in addUidToObserver() argument
116 return service->addUidToObserver(observerToken, callingPackage, uid); in addUidToObserver()
122 status_t ActivityManager::removeUidFromObserver(const sp<IBinder>& observerToken, in removeUidFromObserver() argument
126 return service->removeUidFromObserver(observerToken, callingPackage, uid); in removeUidFromObserver()
DIActivityManager.cpp84 /*out*/ sp<IBinder>& observerToken) { in registerUidObserverForUids() argument
97 err = reply.readStrongBinder(&observerToken); in registerUidObserverForUids()
116 virtual status_t addUidToObserver(const sp<IBinder>& observerToken, in addUidToObserver() argument
120 data.writeStrongBinder(observerToken); in addUidToObserver()
130 virtual status_t removeUidFromObserver(const sp<IBinder>& observerToken, in removeUidFromObserver() argument
134 data.writeStrongBinder(observerToken); in removeUidFromObserver()
/frameworks/native/libs/binder/include_activitymanager/binder/
DIActivityManager.h42 /*out*/ sp<IBinder>& observerToken) = 0;
44 virtual status_t addUidToObserver(const sp<IBinder>& observerToken,
46 virtual status_t removeUidFromObserver(const sp<IBinder>& observerToken,
DActivityManager.h88 /*out*/ sp<IBinder>& observerToken);
90 status_t addUidToObserver(const sp<IBinder>& observerToken, const String16& callingPackage,
92 status_t removeUidFromObserver(const sp<IBinder>& observerToken, const String16& callingPackage,
/frameworks/base/services/core/java/com/android/server/am/
DUidObserverController.java108 final void addUidToObserver(@NonNull IBinder observerToken, int uid) { in addUidToObserver() argument
110 uid, /*arg2*/ 0, observerToken); in addUidToObserver()
121 public final void addUidToObserverImpl(@NonNull IBinder observerToken, int uid) { in addUidToObserverImpl() argument
125 if (reg.getToken().equals(observerToken)) { in addUidToObserverImpl()
137 final void removeUidFromObserver(@NonNull IBinder observerToken, int uid) { in removeUidFromObserver() argument
139 uid, /*arg2*/ 0, observerToken); in removeUidFromObserver()
150 public final void removeUidFromObserverImpl(@NonNull IBinder observerToken, int uid) { in removeUidFromObserverImpl() argument
154 if (reg.getToken().equals(observerToken)) { in removeUidFromObserverImpl()
/frameworks/base/core/java/android/app/
DIActivityManager.aidl130 void addUidToObserver(in IBinder observerToken, String callingPackage, int uid); in addUidToObserver() argument
140 void removeUidFromObserver(in IBinder observerToken, String callingPackage, int uid); in removeUidFromObserver() argument