Home
last modified time | relevance | path

Searched refs:IBinder (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/frameworks/base/core/java/android/app/
DIActivityManager.java36 import android.os.IBinder;
86 int grantedMode, IBinder resultTo, String resultWho, int requestCode, in startActivity()
91 int grantedMode, IBinder resultTo, String resultWho, int requestCode, in startActivityAndWait()
96 int grantedMode, IBinder resultTo, String resultWho, int requestCode, in startActivityWithConfig()
100 IBinder resultTo, String resultWho, int requestCode, in startActivityIntentSender()
102 public boolean startNextMatchingActivity(IBinder callingActivity, in startNextMatchingActivity()
104 public boolean finishActivity(IBinder token, int code, Intent data) in finishActivity()
106 …public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteExcep… in finishSubActivity()
107 public boolean willActivityBeVisible(IBinder token) throws RemoteException; in willActivityBeVisible()
120 …public void finishReceiver(IBinder who, int resultCode, String resultData, Bundle map, boolean abo… in finishReceiver()
[all …]
DIApplicationThread.java32 import android.os.IBinder;
47 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, in schedulePauseActivity()
49 void scheduleStopActivity(IBinder token, boolean showWindow, in scheduleStopActivity()
51 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; in scheduleWindowVisibility()
52 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; in scheduleSleeping()
53 void scheduleResumeActivity(IBinder token, boolean isForward) throws RemoteException; in scheduleResumeActivity()
54 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; in scheduleSendResult()
55 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, in scheduleLaunchActivity()
61 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, in scheduleRelaunchActivity()
64 void scheduleNewIntent(List<Intent> intent, IBinder token) throws RemoteException; in scheduleNewIntent()
[all …]
DApplicationThreadNative.java33 import android.os.IBinder;
50 static public IApplicationThread asInterface(IBinder obj) { in asInterface()
74 IBinder b = data.readStrongBinder(); in onTransact()
85 IBinder b = data.readStrongBinder(); in onTransact()
95 IBinder b = data.readStrongBinder(); in onTransact()
104 IBinder b = data.readStrongBinder(); in onTransact()
113 IBinder b = data.readStrongBinder(); in onTransact()
122 IBinder b = data.readStrongBinder(); in onTransact()
132 IBinder b = data.readStrongBinder(); in onTransact()
154 IBinder b = data.readStrongBinder(); in onTransact()
[all …]
/frameworks/base/core/java/android/view/
DIWindowManager.aidl78 void pauseKeyDispatching(IBinder token); in pauseKeyDispatching()
79 void resumeKeyDispatching(IBinder token); in resumeKeyDispatching()
81 void addWindowToken(IBinder token, int type); in addWindowToken()
82 void removeWindowToken(IBinder token); in removeWindowToken()
85 void setAppGroupId(IBinder token, int groupId); in setAppGroupId()
88 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp()
93 void setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow()
95 int icon, int windowFlags, IBinder transferFrom, boolean createIfNeeded); in setAppStartingWindow()
96 void setAppWillBeHidden(IBinder token); in setAppWillBeHidden()
97 void setAppVisibility(IBinder token, boolean visible); in setAppVisibility()
[all …]
/frameworks/base/core/java/android/database/
DIBulkCursor.java20 import android.os.IBinder;
70 static final int GET_CURSOR_WINDOW_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
71 static final int COUNT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1;
72 static final int GET_COLUMN_NAMES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2;
73 static final int DEACTIVATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 5;
74 static final int REQUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 6;
75 static final int ON_MOVE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 7;
76 static final int WANTS_ON_MOVE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 8;
77 static final int GET_EXTRAS_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 9;
78 static final int RESPOND_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 10;
[all …]
/frameworks/base/core/java/android/os/
DIServiceManager.java36 public IBinder getService(String name) throws RemoteException; in getService()
42 public IBinder checkService(String name) throws RemoteException; in checkService()
48 public void addService(String name, IBinder service) throws RemoteException; in addService()
64 int GET_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
65 int CHECK_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+1;
66 int ADD_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+2;
67 int LIST_SERVICES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+3;
68 int CHECK_SERVICES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+4;
69 int SET_PERMISSION_CONTROLLER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+5;
DTokenWatcher.java66 public void acquire(IBinder token, String tag) in acquire()
88 public void cleanup(IBinder token, boolean unlink) in cleanup()
104 public void release(IBinder token) in release()
119 Set<IBinder> keys = mTokens.keySet(); in dump()
122 for (IBinder b: keys) { in dump()
162 private class Death implements IBinder.DeathRecipient
164 IBinder token;
167 Death(IBinder token, String tag) in Death()
192 private WeakHashMap<IBinder,Death> mTokens = new WeakHashMap<IBinder,Death>();
DServiceManagerNative.java31 static public IServiceManager asInterface(IBinder obj) in asInterface()
57 IBinder service = getService(name); in onTransact()
65 IBinder service = checkService(name); in onTransact()
73 IBinder service = data.readStrongBinder(); in onTransact()
100 public IBinder asBinder() in asBinder()
107 public ServiceManagerProxy(IBinder remote) { in ServiceManagerProxy()
111 public IBinder asBinder() { in asBinder()
115 public IBinder getService(String name) throws RemoteException { in getService()
121 IBinder binder = reply.readStrongBinder(); in getService()
127 public IBinder checkService(String name) throws RemoteException { in checkService()
[all …]
DServiceManager.java31 private static HashMap<String, IBinder> sCache = new HashMap<String, IBinder>();
49 public static IBinder getService(String name) { in getService()
51 IBinder service = sCache.get(name); in getService()
70 public static void addService(String name, IBinder service) { in addService()
82 public static IBinder checkService(String name) { in checkService()
84 IBinder service = sCache.get(name); in checkService()
116 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
/frameworks/base/include/binder/
DProcessState.h42 void setContextObject(const sp<IBinder>& object);
43 sp<IBinder> getContextObject(const sp<IBinder>& caller);
45 void setContextObject(const sp<IBinder>& object,
47 sp<IBinder> getContextObject(const String16& name,
48 const sp<IBinder>& caller);
53 const sp<IBinder>& caller,
61 sp<IBinder> getStrongProxyForHandle(int32_t handle);
62 wp<IBinder> getWeakProxyForHandle(int32_t handle);
63 void expungeHandle(int32_t handle, IBinder* binder);
83 IBinder* binder;
[all …]
DIInterface.h31 sp<IBinder> asBinder();
32 sp<const IBinder> asBinder() const;
36 virtual IBinder* onAsBinder() = 0;
42 inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) in interface_cast()
57 virtual IBinder* onAsBinder();
66 BpInterface(const sp<IBinder>& remote);
69 virtual IBinder* onAsBinder();
77 const android::sp<android::IBinder>& obj); \
90 const android::sp<android::IBinder>& obj) \
129 IBinder* BnInterface<INTERFACE>::onAsBinder() in onAsBinder()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowManager.java26 import android.os.IBinder;
97 public void addWindowToken(IBinder arg0, int arg1) throws RemoteException { in addWindowToken()
112 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { in disableKeyguard()
270 public void moveAppToken(int arg0, IBinder arg1) throws RemoteException { in moveAppToken()
275 public void moveAppTokensToBottom(List<IBinder> arg0) throws RemoteException { in moveAppTokensToBottom()
280 public void moveAppTokensToTop(List<IBinder> arg0) throws RemoteException { in moveAppTokensToTop()
297 public void pauseKeyDispatching(IBinder arg0) throws RemoteException { in pauseKeyDispatching()
307 public void reenableKeyguard(IBinder arg0) throws RemoteException { in reenableKeyguard()
312 public void removeAppToken(IBinder arg0) throws RemoteException { in removeAppToken()
317 public void removeWindowToken(IBinder arg0) throws RemoteException { in removeWindowToken()
[all …]
DBridgeIInputMethodManager.java24 import android.os.IBinder;
82 public void hideMySoftInput(IBinder arg0, int arg1) throws RemoteException { in hideMySoftInput()
120 public void setImeWindowStatus(IBinder arg0, int arg1, int arg2) throws RemoteException { in setImeWindowStatus()
125 public void setInputMethod(IBinder arg0, String arg1) throws RemoteException { in setInputMethod()
130 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2) in setInputMethodAndSubtype()
152 public void showMySoftInput(IBinder arg0, int arg1) throws RemoteException { in showMySoftInput()
169 public boolean switchToLastInputMethod(IBinder arg0) throws RemoteException { in switchToLastInputMethod()
174 public void updateStatusIcon(IBinder arg0, String arg1, int arg2) throws RemoteException { in updateStatusIcon()
179 public void windowGainedFocus(IInputMethodClient arg0, IBinder arg1, boolean arg2, in windowGainedFocus()
185 public IBinder asBinder() { in asBinder()
DBridgeWindowSession.java24 import android.os.IBinder;
113 public IBinder prepareDrag(IWindow window, int flags, in prepareDrag()
120 public boolean performDrag(IWindow window, IBinder dragToken, in performDrag()
140 public void setWallpaperPosition(IBinder window, float x, float y, in setWallpaperPosition()
145 public void wallpaperOffsetsComplete(IBinder window) { in wallpaperOffsetsComplete()
149 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, in sendWallpaperCommand()
155 public void wallpaperCommandComplete(IBinder window, Bundle result) { in wallpaperCommandComplete()
163 public IBinder asBinder() { in asBinder()
168 public IBinder prepareDrag(IWindow arg0, boolean arg1, int arg2, int arg3, Surface arg4) in prepareDrag()
/frameworks/base/core/java/android/content/
DIContentProvider.java23 import android.os.IBinder;
62 static final int QUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
63 static final int GET_TYPE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1;
64 static final int INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2;
65 static final int DELETE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 3;
66 static final int UPDATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 9;
67 static final int BULK_INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 12;
68 static final int OPEN_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 13;
69 static final int OPEN_ASSET_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 14;
70 static final int APPLY_BATCH_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 19;
[all …]
/frameworks/base/libs/binder/
DIMemory.cpp40 class HeapCache : public IBinder::DeathRecipient
46 virtual void binderDied(const wp<IBinder>& who);
48 sp<IMemoryHeap> find_heap(const sp<IBinder>& binder);
49 void free_heap(const sp<IBinder>& binder);
50 sp<IMemoryHeap> get_heap(const sp<IBinder>& binder);
60 void free_heap(const wp<IBinder>& binder);
63 KeyedVector< wp<IBinder>, heap_info_t > mHeapCache;
71 HEAP_ID = IBinder::FIRST_CALL_TRANSACTION
77 BpMemoryHeap(const sp<IBinder>& impl);
91 static inline sp<IMemoryHeap> find_heap(const sp<IBinder>& binder) { in find_heap()
[all …]
DProcessState.cpp83 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
88 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& caller) in getContextObject()
93 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
99 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
102 sp<IBinder> object( in getContextObject()
182 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) in getStrongProxyForHandle()
184 sp<IBinder> result; in getStrongProxyForHandle()
194 IBinder* b = e->binder; in getStrongProxyForHandle()
212 wp<IBinder> ProcessState::getWeakProxyForHandle(int32_t handle) in getWeakProxyForHandle()
214 wp<IBinder> result; in getWeakProxyForHandle()
[all …]
DBinder.cpp30 IBinder::IBinder() in IBinder() function in android::IBinder
35 IBinder::~IBinder() in ~IBinder()
41 sp<IInterface> IBinder::queryLocalInterface(const String16& descriptor) in queryLocalInterface()
46 BBinder* IBinder::localBinder() in localBinder()
51 BpBinder* IBinder::remoteBinder() in remoteBinder()
56 bool IBinder::checkSubclass(const void* /*subclassID*/) const in checkSubclass()
216 BpRefBase::BpRefBase(const sp<IBinder>& o) in BpRefBase()
/frameworks/base/core/java/android/os/storage/
DIObbActionListener.java20 import android.os.IBinder;
45 public static IObbActionListener asInterface(IBinder obj) { in asInterface()
56 public IBinder asBinder() { in asBinder()
85 private IBinder mRemote;
87 Proxy(IBinder remote) { in Proxy()
91 public IBinder asBinder() { in asBinder()
116 android.os.IBinder.FLAG_ONEWAY); in onObbResult()
125 static final int TRANSACTION_onObbResult = (IBinder.FIRST_CALL_TRANSACTION + 0);
DIMountShutdownObserver.java20 import android.os.IBinder;
44 public static IMountShutdownObserver asInterface(IBinder obj) { in asInterface()
55 public IBinder asBinder() { in asBinder()
80 private IBinder mRemote;
82 Proxy(IBinder remote) { in Proxy()
86 public IBinder asBinder() { in asBinder()
115 static final int TRANSACTION_onShutDownComplete = (IBinder.FIRST_CALL_TRANSACTION + 0);
DIMountServiceListener.java20 import android.os.IBinder;
45 public static IMountServiceListener asInterface(IBinder obj) { in asInterface()
56 public IBinder asBinder() { in asBinder()
93 private IBinder mRemote;
95 Proxy(IBinder remote) { in Proxy()
99 public IBinder asBinder() { in asBinder()
154 …static final int TRANSACTION_onUsbMassStorageConnectionChanged = (IBinder.FIRST_CALL_TRANSACTION +…
156 static final int TRANSACTION_onStorageStateChanged = (IBinder.FIRST_CALL_TRANSACTION + 1);
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl53 void windowGainedFocus(in IInputMethodClient client, in IBinder windowToken, in windowGainedFocus()
59 void setInputMethod(in IBinder token, String id); in setInputMethod()
60 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype()
61 void hideMySoftInput(in IBinder token, int flags); in hideMySoftInput()
62 void showMySoftInput(in IBinder token, int flags); in showMySoftInput()
63 void updateStatusIcon(in IBinder token, String packageName, int iconId); in updateStatusIcon()
64 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); in setImeWindowStatus()
69 boolean switchToLastInputMethod(in IBinder token); in switchToLastInputMethod()
/frameworks/base/services/powermanager/
DIPowerManager.cpp32 ACQUIRE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION,
33 RELEASE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION + 4,
39 BpPowerManager(const sp<IBinder>& impl) in BpPowerManager()
44 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag) in acquireWakeLock()
57 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) in releaseWakeLock()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java20 import android.os.IBinder;
70 IBinder key;
82 public void addNotification(IBinder key, StatusBarNotification notification); in addNotification()
83 public void updateNotification(IBinder key, StatusBarNotification notification); in updateNotification()
84 public void removeNotification(IBinder key); in removeNotification()
90 public void setImeWindowStatus(IBinder token, int vis, int backDisposition); in setImeWindowStatus()
116 public void addNotification(IBinder key, StatusBarNotification notification) { in addNotification()
125 public void updateNotification(IBinder key, StatusBarNotification notification) { in updateNotification()
134 public void removeNotification(IBinder key) { in removeNotification()
176 public void setImeWindowStatus(IBinder token, int vis, int backDisposition) { in setImeWindowStatus()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DServiceManager.java29 public static IBinder getService(String name) { in getService()
40 public static void addService(String name, IBinder service) { in addService()
48 public static IBinder checkService(String name) { in checkService()
69 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()

12345678910>>...15