Home
last modified time | relevance | path

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

12345678910>>...23

/frameworks/base/core/java/android/app/
DIActivityManager.java42 import android.os.IBinder;
60 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivity()
64 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityAsUser()
68 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityAndWait()
72 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityWithConfig()
77 IBinder resultTo, String resultWho, int requestCode, in startActivityIntentSender()
79 public boolean startNextMatchingActivity(IBinder callingActivity, in startNextMatchingActivity()
81 public boolean finishActivity(IBinder token, int code, Intent data) in finishActivity()
83 …public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteExcep… in finishSubActivity()
84 public boolean finishActivityAffinity(IBinder token) throws RemoteException; in finishActivityAffinity()
[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, int procState, boolean isForward) in scheduleResumeActivity()
55 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; in scheduleSendResult()
56 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, in scheduleLaunchActivity()
62 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, in scheduleRelaunchActivity()
65 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()
123 IBinder b = data.readStrongBinder(); in onTransact()
133 IBinder b = data.readStrongBinder(); in onTransact()
156 IBinder b = data.readStrongBinder(); in onTransact()
[all …]
/frameworks/native/include/gui/
DSurfaceComposerClient.h59 sp<IBinder> connection() const;
65 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
69 static status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info);
72 static void blankDisplay(const sp<IBinder>& display);
75 static void unblankDisplay(const sp<IBinder>& display);
90 static sp<IBinder> createDisplay(const String8& displayName, bool secure);
93 static void destroyDisplay(const sp<IBinder>& display);
97 static sp<IBinder> getBuiltInDisplay(int32_t id);
115 status_t hide(const sp<IBinder>& id);
116 status_t show(const sp<IBinder>& id);
[all …]
DISurfaceComposer.h76 virtual sp<IBinder> createDisplay(const String8& displayName,
82 virtual void destroyDisplay(const sp<IBinder>& display) = 0;
87 virtual sp<IBinder> getBuiltInDisplay(int32_t id) = 0;
106 virtual void blank(const sp<IBinder>& display) = 0;
111 virtual void unblank(const sp<IBinder>& display) = 0;
115 virtual status_t getDisplayInfo(const sp<IBinder>& display, DisplayInfo* info) = 0;
120 virtual status_t captureScreen(const sp<IBinder>& display,
133 BOOT_FINISHED = IBinder::FIRST_CALL_TRANSACTION,
/frameworks/base/core/java/android/view/
DIWindowManager.aidl75 void pauseKeyDispatching(IBinder token); in pauseKeyDispatching()
76 void resumeKeyDispatching(IBinder token); in resumeKeyDispatching()
78 void addWindowToken(IBinder token, int type); in addWindowToken()
79 void removeWindowToken(IBinder token); in removeWindowToken()
83 void setAppGroupId(IBinder token, int groupId); in setAppGroupId()
86 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp()
96 void setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow()
98 int icon, int logo, int windowFlags, IBinder transferFrom, boolean createIfNeeded); in setAppStartingWindow()
99 void setAppWillBeHidden(IBinder token); in setAppWillBeHidden()
100 void setAppVisibility(IBinder token, boolean visible); in setAppVisibility()
[all …]
DSurfaceControl.java24 import android.os.IBinder;
42 private static native Bitmap nativeScreenshot(IBinder displayToken, in nativeScreenshot()
44 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot()
61 private static native IBinder nativeGetBuiltInDisplay(int physicalDisplayId); in nativeGetBuiltInDisplay()
62 private static native IBinder nativeCreateDisplay(String name, boolean secure); in nativeCreateDisplay()
63 private static native void nativeDestroyDisplay(IBinder displayToken); in nativeDestroyDisplay()
65 IBinder displayToken, int nativeSurfaceObject); in nativeSetDisplaySurface()
67 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack()
69 IBinder displayToken, int orientation, in nativeSetDisplayProjection()
73 IBinder displayToken, SurfaceControl.PhysicalDisplayInfo outInfo); in nativeGetDisplayInfo()
[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/core/java/android/content/
DIContentProvider.java23 import android.os.IBinder;
73 static final int QUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
74 static final int GET_TYPE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1;
75 static final int INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2;
76 static final int DELETE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 3;
77 static final int UPDATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 9;
78 static final int BULK_INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 12;
79 static final int OPEN_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 13;
80 static final int OPEN_ASSET_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 14;
81 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);
87 IBinder* binder;
[all …]
DIAppOpsService.h35 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid,
37 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid,
42 virtual sp<IBinder> getToken(const sp<IBinder>& clientToken) = 0;
45 CHECK_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION,
46 NOTE_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+1,
47 START_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+2,
48 FINISH_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+3,
49 START_WATCHING_MODE_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+4,
50 STOP_WATCHING_MODE_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+5,
51 GET_TOKEN_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+6,
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/native/libs/gui/
DSurfaceComposerClient.cpp62 class DeathObserver : public IBinder::DeathRecipient { in connectLocked()
64 virtual void binderDied(const wp<IBinder>& who) { in connectLocked()
132 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id);
134 DisplayState& getDisplayStateLocked(const sp<IBinder>& token);
137 sp<IBinder> createDisplay(const String8& displayName, bool secure);
138 void destroyDisplay(const sp<IBinder>& display);
139 sp<IBinder> getBuiltInDisplay(int32_t id);
141 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
143 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
145 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java28 import android.os.IBinder;
91 public void addWindowToken(IBinder arg0, int arg1) throws RemoteException { in addWindowToken()
129 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { in disableKeyguard()
233 public void pauseKeyDispatching(IBinder arg0) throws RemoteException { in pauseKeyDispatching()
245 public void reenableKeyguard(IBinder arg0) throws RemoteException { in reenableKeyguard()
251 public void removeAppToken(IBinder arg0) throws RemoteException { in removeAppToken()
257 public void removeWindowToken(IBinder arg0) throws RemoteException { in removeWindowToken()
263 public void resumeKeyDispatching(IBinder arg0) throws RemoteException { in resumeKeyDispatching()
269 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, in screenshotApplications()
288 public void setAppGroupId(IBinder arg0, int arg1) throws RemoteException { in setAppGroupId()
[all …]
/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/services/powermanager/
DIPowerManager.cpp32 ACQUIRE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION,
33 ACQUIRE_WAKE_LOCK_UID = IBinder::FIRST_CALL_TRANSACTION + 1,
34 RELEASE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION + 2,
35 UPDATE_WAKE_LOCK_UIDS = IBinder::FIRST_CALL_TRANSACTION + 3,
41 BpPowerManager(const sp<IBinder>& impl) in BpPowerManager()
46 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, in acquireWakeLock()
60 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, in acquireWakeLockWithUid()
74 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) in releaseWakeLock()
83 virtual status_t updateWakeLockUids(const sp<IBinder>& lock, int len, const int *uids) { in updateWakeLockUids()
90 return remote()->transact(UPDATE_WAKE_LOCK_UIDS, data, &reply, IBinder::FLAG_ONEWAY); in updateWakeLockUids()
/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 …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
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 boolean shouldOfferSwitchingToNextInputMethod(IBinder arg0) throws RemoteException { in shouldOfferSwitchingToNextInputMethod()
212 public void updateStatusIcon(IBinder arg0, String arg1, int arg2) throws RemoteException { in updateStatusIcon()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl56 InputBindResult windowGainedFocus(in IInputMethodClient client, in IBinder windowToken, in windowGainedFocus()
62 void setInputMethod(in IBinder token, String id); in setInputMethod()
63 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype()
64 void hideMySoftInput(in IBinder token, int flags); in hideMySoftInput()
65 void showMySoftInput(in IBinder token, int flags); in showMySoftInput()
66 void updateStatusIcon(in IBinder token, String packageName, int iconId); in updateStatusIcon()
67 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); in setImeWindowStatus()
72 boolean switchToLastInputMethod(in IBinder token); in switchToLastInputMethod()
73 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme); in switchToNextInputMethod()
74 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token); in shouldOfferSwitchingToNextInputMethod()
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechService.aidl40 int speak(in IBinder callingInstance, in String text, in int queueMode, in Bundle params); in speak()
52 int synthesizeToFileDescriptor(in IBinder callingInstance, in String text, in synthesizeToFileDescriptor()
64 int playAudio(in IBinder callingInstance, in Uri audioUri, in int queueMode, in Bundle params); in playAudio()
75 … int playSilence(in IBinder callingInstance, in long duration, in int queueMode, in Bundle params); in playSilence()
89 int stop(in IBinder callingInstance); in stop()
160 int loadLanguage(in IBinder caller, in String lang, in String country, in String variant); in loadLanguage()
170 void setCallback(in IBinder caller, ITextToSpeechCallback cb); in setCallback()
/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);
/frameworks/base/services/java/com/android/server/display/
DVirtualDisplayAdapter.java22 import android.os.IBinder;
23 import android.os.IBinder.DeathRecipient;
41 private final ArrayMap<IBinder, VirtualDisplayDevice> mVirtualDisplayDevices =
42 new ArrayMap<IBinder, VirtualDisplayDevice>();
50 public DisplayDevice createVirtualDisplayLocked(IBinder appToken, in createVirtualDisplayLocked()
54 IBinder displayToken = SurfaceControl.createDisplay(name, secure); in createVirtualDisplayLocked()
72 public DisplayDevice releaseVirtualDisplayLocked(IBinder appToken) { in releaseVirtualDisplayLocked()
84 private void handleBinderDiedLocked(IBinder appToken) { in handleBinderDiedLocked()
96 private final IBinder mAppToken;
108 public VirtualDisplayDevice(IBinder displayToken, in VirtualDisplayDevice()
[all …]

12345678910>>...23