Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/base/core/java/android/app/
DIActivityManager.java37 import android.os.IBinder;
55 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivity()
59 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityAndWait()
63 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityWithConfig()
68 IBinder resultTo, String resultWho, int requestCode, in startActivityIntentSender()
70 public boolean startNextMatchingActivity(IBinder callingActivity, in startNextMatchingActivity()
72 public boolean finishActivity(IBinder token, int code, Intent data) in finishActivity()
74 …public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteExcep… in finishSubActivity()
75 public boolean finishActivityAffinity(IBinder token) throws RemoteException; in finishActivityAffinity()
76 public boolean willActivityBeVisible(IBinder token) throws RemoteException; in willActivityBeVisible()
[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.aidl70 void pauseKeyDispatching(IBinder token); in pauseKeyDispatching()
71 void resumeKeyDispatching(IBinder token); in resumeKeyDispatching()
73 void addWindowToken(IBinder token, int type); in addWindowToken()
74 void removeWindowToken(IBinder token); in removeWindowToken()
77 void setAppGroupId(IBinder token, int groupId); in setAppGroupId()
80 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp()
90 void setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow()
92 int icon, int windowFlags, IBinder transferFrom, boolean createIfNeeded); in setAppStartingWindow()
93 void setAppWillBeHidden(IBinder token); in setAppWillBeHidden()
94 void setAppVisibility(IBinder token, boolean visible); in setAppVisibility()
[all …]
/frameworks/base/core/java/android/content/
DIContentProvider.java23 import android.os.IBinder;
65 static final int QUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
66 static final int GET_TYPE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1;
67 static final int INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2;
68 static final int DELETE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 3;
69 static final int UPDATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 9;
70 static final int BULK_INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 12;
71 static final int OPEN_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 13;
72 static final int OPEN_ASSET_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 14;
73 static final int APPLY_BATCH_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 19;
[all …]
/frameworks/native/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);
85 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/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, boolean allowIsolated) in addService()
65 int GET_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
66 int CHECK_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+1;
67 int ADD_SERVICE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+2;
68 int LIST_SERVICES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+3;
69 int CHECK_SERVICES_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+4;
70 int SET_PERMISSION_CONTROLLER_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION+5;
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()
87 public static void addService(String name, IBinder service, boolean allowIsolated) { in addService()
99 public static IBinder checkService(String name) { in checkService()
101 IBinder service = sCache.get(name); in checkService()
133 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
DServiceManagerNative.java33 static public IServiceManager asInterface(IBinder obj) in asInterface()
59 IBinder service = getService(name); in onTransact()
67 IBinder service = checkService(name); in onTransact()
75 IBinder service = data.readStrongBinder(); in onTransact()
103 public IBinder asBinder() in asBinder()
110 public ServiceManagerProxy(IBinder remote) { in ServiceManagerProxy()
114 public IBinder asBinder() { in asBinder()
118 public IBinder getService(String name) throws RemoteException { in getService()
124 IBinder binder = reply.readStrongBinder(); in getService()
130 public IBinder checkService(String name) throws RemoteException { in checkService()
[all …]
DTokenWatcher.java68 public void acquire(IBinder token, String tag) in acquire()
90 public void cleanup(IBinder token, boolean unlink) in cleanup()
106 public void release(IBinder token) in release()
136 Set<IBinder> keys = mTokens.keySet(); in dumpInternal()
139 for (IBinder b: keys) { in dumpInternal()
180 private class Death implements IBinder.DeathRecipient
182 IBinder token;
185 Death(IBinder token, String tag) in Death()
210 private WeakHashMap<IBinder,Death> mTokens = new WeakHashMap<IBinder,Death>();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeWindowManager.java26 import android.os.IBinder;
108 public void addWindowToken(IBinder arg0, int arg1) throws RemoteException { in addWindowToken()
126 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { in disableKeyguard()
204 public void moveAppToken(int arg0, IBinder arg1) throws RemoteException { in moveAppToken()
210 public void moveAppTokensToBottom(List<IBinder> arg0) throws RemoteException { in moveAppTokensToBottom()
216 public void moveAppTokensToTop(List<IBinder> arg0) throws RemoteException { in moveAppTokensToTop()
248 public void pauseKeyDispatching(IBinder arg0) throws RemoteException { in pauseKeyDispatching()
260 public void reenableKeyguard(IBinder arg0) throws RemoteException { in reenableKeyguard()
266 public void removeAppToken(IBinder arg0) throws RemoteException { in removeAppToken()
272 public void removeWindowToken(IBinder arg0) throws RemoteException { in removeWindowToken()
[all …]
DBridgeIInputMethodManager.java24 import android.os.IBinder;
91 public void hideMySoftInput(IBinder arg0, int arg1) throws RemoteException { in hideMySoftInput()
136 public void setImeWindowStatus(IBinder arg0, int arg1, int arg2) throws RemoteException { in setImeWindowStatus()
142 public void setInputMethod(IBinder arg0, String arg1) throws RemoteException { in setInputMethod()
148 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2) in setInputMethodAndSubtype()
174 public void showMySoftInput(IBinder arg0, int arg1) throws RemoteException { in showMySoftInput()
194 public boolean switchToLastInputMethod(IBinder arg0) throws RemoteException { in switchToLastInputMethod()
200 public boolean switchToNextInputMethod(IBinder arg0, boolean arg1) throws RemoteException { in switchToNextInputMethod()
206 public void updateStatusIcon(IBinder arg0, String arg1, int arg2) throws RemoteException { in updateStatusIcon()
212 public InputBindResult windowGainedFocus(IInputMethodClient client, IBinder windowToken, in windowGainedFocus()
[all …]
DBridgeWindowSession.java24 import android.os.IBinder;
115 public IBinder prepareDrag(IWindow window, int flags, in prepareDrag()
123 public boolean performDrag(IWindow window, IBinder dragToken, in performDrag()
147 public void setWallpaperPosition(IBinder window, float x, float y, in setWallpaperPosition()
153 public void wallpaperOffsetsComplete(IBinder window) { in wallpaperOffsetsComplete()
158 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, in sendWallpaperCommand()
165 public void wallpaperCommandComplete(IBinder window, Bundle result) { in wallpaperCommandComplete()
170 public IBinder asBinder() { in asBinder()
DBridgePowerManager.java19 import android.os.IBinder;
36 public IBinder asBinder() { in asBinder()
42 public void acquireWakeLock(int arg0, IBinder arg1, String arg2, WorkSource arg3) in acquireWakeLock()
84 public void releaseWakeLock(IBinder arg0, int arg1) throws RemoteException { in releaseWakeLock()
109 public void setPokeLock(int arg0, IBinder arg1, String arg2) throws RemoteException { in setPokeLock()
119 public void updateWakeLockWorkSource(IBinder arg0, WorkSource arg1) throws RemoteException { in updateWakeLockWorkSource()
/frameworks/base/core/java/android/database/
DIBulkCursor.java20 import android.os.IBinder;
59 static final int GET_CURSOR_WINDOW_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
60 static final int DEACTIVATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1;
61 static final int REQUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2;
62 static final int ON_MOVE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 3;
63 static final int GET_EXTRAS_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 4;
64 static final int RESPOND_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 5;
65 static final int CLOSE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 6;
/frameworks/native/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.cpp84 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
89 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& caller) in getContextObject()
94 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
100 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
103 sp<IBinder> object( in getContextObject()
183 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) in getStrongProxyForHandle()
185 sp<IBinder> result; in getStrongProxyForHandle()
195 IBinder* b = e->binder; in getStrongProxyForHandle()
213 wp<IBinder> ProcessState::getWeakProxyForHandle(int32_t handle) in getWeakProxyForHandle()
215 wp<IBinder> result; in getWeakProxyForHandle()
[all …]
DBinder.cpp31 IBinder::IBinder() in IBinder() function in android::IBinder
36 IBinder::~IBinder() in ~IBinder()
42 sp<IInterface> IBinder::queryLocalInterface(const String16& descriptor) in queryLocalInterface()
47 BBinder* IBinder::localBinder() in localBinder()
52 BpBinder* IBinder::remoteBinder() in remoteBinder()
57 bool IBinder::checkSubclass(const void* /*subclassID*/) const in checkSubclass()
223 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.aidl54 InputBindResult windowGainedFocus(in IInputMethodClient client, in IBinder windowToken, in windowGainedFocus()
60 void setInputMethod(in IBinder token, String id); in setInputMethod()
61 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype()
62 void hideMySoftInput(in IBinder token, int flags); in hideMySoftInput()
63 void showMySoftInput(in IBinder token, int flags); in showMySoftInput()
64 void updateStatusIcon(in IBinder token, String packageName, int iconId); in updateStatusIcon()
65 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); in setImeWindowStatus()
70 boolean switchToLastInputMethod(in IBinder token); in switchToLastInputMethod()
71 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme); in switchToNextInputMethod()
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechService.aidl39 int speak(in IBinder callingInstance, in String text, in int queueMode, in Bundle params); in speak()
50 int synthesizeToFile(in IBinder callingInstance, in String text, in synthesizeToFile()
62 int playAudio(in IBinder callingInstance, in Uri audioUri, in int queueMode, in Bundle params); in playAudio()
73 … int playSilence(in IBinder callingInstance, in long duration, in int queueMode, in Bundle params); in playSilence()
87 int stop(in IBinder callingInstance); in stop()
153 void setCallback(in IBinder caller, ITextToSpeechCallback cb); in setCallback()
/frameworks/native/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()

12345678910>>...18