Home
last modified time | relevance | path

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

12345678910>>...43

/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h61 sp<IBinder> connection() const;
67 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient,
71 static status_t getDisplayConfigs(const sp<IBinder>& display,
75 static status_t getDisplayInfo(const sp<IBinder>& display,
80 static int getActiveConfig(const sp<IBinder>& display);
84 static status_t setActiveConfig(const sp<IBinder>& display, int id);
87 static status_t getDisplayColorModes(const sp<IBinder>& display,
91 static android_color_mode_t getActiveColorMode(const sp<IBinder>& display);
94 static status_t setActiveColorMode(const sp<IBinder>& display, android_color_mode_t colorMode);
97 static void setDisplayPowerMode(const sp<IBinder>& display, int mode);
[all …]
DISurfaceComposer.h103 virtual sp<IBinder> createDisplay(const String8& displayName,
109 virtual void destroyDisplay(const sp<IBinder>& display) = 0;
114 virtual sp<IBinder> getBuiltInDisplay(int32_t id) = 0;
139 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0;
143 virtual status_t getDisplayConfigs(const sp<IBinder>& display,
149 virtual status_t getDisplayStats(const sp<IBinder>& display,
154 virtual int getActiveConfig(const sp<IBinder>& display) = 0;
158 virtual status_t setActiveConfig(const sp<IBinder>& display, int id) = 0;
160 virtual status_t getDisplayColorModes(const sp<IBinder>& display,
162 virtual android_color_mode_t getActiveColorMode(const sp<IBinder>& display) = 0;
[all …]
/frameworks/native/include/powermanager/
DIPowerManager.h34 ACQUIRE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION,
35 ACQUIRE_WAKE_LOCK_UID = IBinder::FIRST_CALL_TRANSACTION + 1,
36 RELEASE_WAKE_LOCK = IBinder::FIRST_CALL_TRANSACTION + 2,
37 UPDATE_WAKE_LOCK_UIDS = IBinder::FIRST_CALL_TRANSACTION + 3,
38 POWER_HINT = IBinder::FIRST_CALL_TRANSACTION + 4,
39 UPDATE_WAKE_LOCK_SOURCE = IBinder::FIRST_CALL_TRANSACTION + 5,
40 IS_WAKE_LOCK_LEVEL_SUPPORTED = IBinder::FIRST_CALL_TRANSACTION + 6,
41 USER_ACTIVITY = IBinder::FIRST_CALL_TRANSACTION + 7,
42 WAKE_UP = IBinder::FIRST_CALL_TRANSACTION + 8,
43 GO_TO_SLEEP = IBinder::FIRST_CALL_TRANSACTION + 9,
[all …]
/frameworks/base/core/java/android/app/
DIActivityManager.aidl60 import android.os.IBinder;
91 void handleApplicationCrash(in IBinder app, in handleApplicationCrash()
94 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivity()
98 boolean finishActivity(in IBinder token, int code, in Intent data, int finishTask); in finishActivity()
108 oneway void finishReceiver(in IBinder who, int resultCode, in String resultData, in Bundle map, in finishReceiver()
111 oneway void activityIdle(in IBinder token, in Configuration config, in activityIdle()
113 void activityPaused(in IBinder token); in activityPaused()
114 oneway void activityStopped(in IBinder token, in Bundle state, in activityStopped()
116 String getCallingPackage(in IBinder token); in getCallingPackage()
117 ComponentName getCallingActivity(in IBinder token); in getCallingActivity()
[all …]
DIApplicationThread.aidl36 import android.os.IBinder;
55 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, in schedulePauseActivity()
57 void scheduleStopActivity(IBinder token, boolean showWindow, in scheduleStopActivity()
59 void scheduleWindowVisibility(IBinder token, boolean showWindow); in scheduleWindowVisibility()
60 void scheduleResumeActivity(IBinder token, int procState, boolean isForward, in scheduleResumeActivity()
62 void scheduleSendResult(IBinder token, in List<ResultInfo> results); in scheduleSendResult()
63 void scheduleLaunchActivity(in Intent intent, IBinder token, int ident, in scheduleLaunchActivity()
70 in List<ReferrerIntent> intent, IBinder token, boolean andPause); in scheduleNewIntent()
71 void scheduleDestroyActivity(IBinder token, boolean finished, in scheduleDestroyActivity()
77 void scheduleCreateService(IBinder token, in ServiceInfo info, in scheduleCreateService()
[all …]
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp65 class DeathObserver : public IBinder::DeathRecipient { in connectLocked()
67 virtual void binderDied(const wp<IBinder>& who) { in connectLocked()
137 const sp<SurfaceComposerClient>& client, const sp<IBinder>& id);
139 DisplayState& getDisplayStateLocked(const sp<IBinder>& token);
142 sp<IBinder> createDisplay(const String8& displayName, bool secure);
143 void destroyDisplay(const sp<IBinder>& display);
144 sp<IBinder> getBuiltInDisplay(int32_t id);
146 status_t setPosition(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
148 status_t setSize(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
150 status_t setLayer(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id,
[all …]
/frameworks/base/core/java/android/view/
DSurfaceControl.java26 import android.os.IBinder;
46 private static native Bitmap nativeScreenshot(IBinder displayToken, in nativeScreenshot()
49 private static native GraphicBuffer nativeScreenshotToBuffer(IBinder displayToken, in nativeScreenshotToBuffer()
52 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot()
61 private static native void nativeSetRelativeLayer(long nativeObject, IBinder relativeTo, in nativeSetRelativeLayer()
80 private static native IBinder nativeGetBuiltInDisplay(int physicalDisplayId); in nativeGetBuiltInDisplay()
81 private static native IBinder nativeCreateDisplay(String name, boolean secure); in nativeCreateDisplay()
82 private static native void nativeDestroyDisplay(IBinder displayToken); in nativeDestroyDisplay()
84 IBinder displayToken, long nativeSurfaceObject); in nativeSetDisplaySurface()
86 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack()
[all …]
DWindowManagerInternal.java24 import android.os.IBinder;
122 public int onAppTransitionStartingLocked(int transit, IBinder openToken, IBinder closeToken, in onAppTransitionStartingLocked()
132 public void onAppTransitionFinishedLocked(IBinder token) {} in onAppTransitionFinishedLocked()
198 IBinder windowToken); in getCompatibleMagnificationSpecForWindow()
221 public abstract IBinder getFocusedWindowToken(); in getFocusedWindowToken()
239 public abstract void getWindowFrame(IBinder token, Rect outBounds); in getWindowFrame()
259 public abstract void addWindowToken(android.os.IBinder token, int type, int displayId); in addWindowToken()
268 public abstract void removeWindowToken(android.os.IBinder token, boolean removeWindows, in removeWindowToken()
318 public abstract void updateInputMethodWindowStatus(@NonNull IBinder imeToken, in updateInputMethodWindowStatus()
320 @Nullable IBinder targetWindowToken); in updateInputMethodWindowStatus()
/frameworks/base/media/java/android/media/tv/
DITvInputManager.aidl62 void releaseSession(in IBinder sessionToken, int userId); in releaseSession()
64 void setMainSession(in IBinder sessionToken, int userId); in setMainSession()
65 void setSurface(in IBinder sessionToken, in Surface surface, int userId); in setSurface()
66 void dispatchSurfaceChanged(in IBinder sessionToken, int format, int width, int height, in dispatchSurfaceChanged()
68 void setVolume(in IBinder sessionToken, float volume, int userId); in setVolume()
69 void tune(in IBinder sessionToken, in Uri channelUri, in Bundle params, int userId); in tune()
70 void setCaptionEnabled(in IBinder sessionToken, boolean enabled, int userId); in setCaptionEnabled()
71 void selectTrack(in IBinder sessionToken, int type, in String trackId, int userId); in selectTrack()
73 void sendAppPrivateCommand(in IBinder sessionToken, in String action, in Bundle data, in sendAppPrivateCommand()
76 void createOverlayView(in IBinder sessionToken, in IBinder windowToken, in Rect frame, in createOverlayView()
[all …]
DITvRemoteServiceInput.aidl24 void openInputBridge(IBinder token, String name, int width, int height, int maxPointers); in openInputBridge()
25 void closeInputBridge(IBinder token); in closeInputBridge()
26 void clearInputBridge(IBinder token); in clearInputBridge()
27 void sendTimestamp(IBinder token, long timestamp); in sendTimestamp()
28 void sendKeyDown(IBinder token, int keyCode); in sendKeyDown()
29 void sendKeyUp(IBinder token, int keyCode); in sendKeyUp()
30 void sendPointerDown(IBinder token, int pointerId, int x, int y); in sendPointerDown()
31 void sendPointerUp(IBinder token, int pointerId); in sendPointerUp()
32 void sendPointerSync(IBinder token); in sendPointerSync()
/frameworks/base/core/java/android/content/
DIContentProvider.java24 import android.os.IBinder;
52 IBinder callerToken) in openFile()
79 static final int QUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
80 static final int GET_TYPE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1;
81 static final int INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2;
82 static final int DELETE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 3;
83 static final int UPDATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 9;
84 static final int BULK_INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 12;
85 static final int OPEN_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 13;
86 static final int OPEN_ASSET_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 14;
[all …]
/frameworks/native/libs/binder/include/binder/
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;
46 CHECK_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION,
47 NOTE_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+1,
48 START_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+2,
49 FINISH_OPERATION_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+3,
50 START_WATCHING_MODE_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+4,
51 STOP_WATCHING_MODE_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+5,
52 GET_TOKEN_TRANSACTION = IBinder::FIRST_CALL_TRANSACTION+6,
[all …]
DProcessState.h45 void setContextObject(const sp<IBinder>& object);
46 sp<IBinder> getContextObject(const sp<IBinder>& caller);
48 void setContextObject(const sp<IBinder>& object,
50 sp<IBinder> getContextObject(const String16& name,
51 const sp<IBinder>& caller);
56 const sp<IBinder>& caller,
64 sp<IBinder> getStrongProxyForHandle(int32_t handle);
65 wp<IBinder> getWeakProxyForHandle(int32_t handle);
66 void expungeHandle(int32_t handle, IBinder* binder);
88 IBinder* binder;
[all …]
DIInterface.h31 static sp<IBinder> asBinder(const IInterface*);
32 static sp<IBinder> asBinder(const sp<IInterface>&);
36 virtual IBinder* onAsBinder() = 0;
42 inline sp<INTERFACE> interface_cast(const sp<IBinder>& obj) in interface_cast()
57 virtual IBinder* onAsBinder();
66 explicit 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>();
50 public static IBinder getService(String name) { in getService()
52 IBinder service = sCache.get(name); in getService()
70 public static IBinder getServiceOrThrow(String name) throws ServiceNotFoundException { in getServiceOrThrow()
71 final IBinder binder = getService(name); in getServiceOrThrow()
86 public static void addService(String name, IBinder service) { in addService()
103 public static void addService(String name, IBinder service, boolean allowIsolated) { in addService()
115 public static IBinder checkService(String name) { in checkService()
117 IBinder service = sCache.get(name); in checkService()
151 public static void initServiceCache(Map<String, IBinder> cache) { in initServiceCache()
/frameworks/base/services/core/java/com/android/server/tv/
DUinputBridge.java20 import android.os.IBinder;
32 private IBinder mToken = null;
44 public UinputBridge(IBinder token, String name, int width, int height, int maxPointers) in UinputBridge()
76 public void close(IBinder token) { in close()
88 public IBinder getToken() { in getToken()
92 protected boolean isTokenValid(IBinder token) { in isTokenValid()
96 public void sendTimestamp(IBinder token, long timestamp) { in sendTimestamp()
102 public void sendKeyDown(IBinder token, int keyCode) { in sendKeyDown()
108 public void sendKeyUp(IBinder token, int keyCode) { in sendKeyUp()
114 public void sendPointerDown(IBinder token, int pointerId, int x, int y) { in sendPointerDown()
[all …]
DTvRemoteProviderProxy.java27 import android.os.IBinder;
176 public void onServiceConnected(ComponentName name, IBinder service) { in onServiceConnected()
240 public void inputBridgeConnected(IBinder token) { in inputBridgeConnected()
251 void openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, in openInputBridge()
254 void closeInputBridge(TvRemoteProviderProxy provider, IBinder token); in closeInputBridge()
256 void clearInputBridge(TvRemoteProviderProxy provider, IBinder token); in clearInputBridge()
258 void sendTimeStamp(TvRemoteProviderProxy provider, IBinder token, long timestamp); in sendTimeStamp()
260 void sendKeyDown(TvRemoteProviderProxy provider, IBinder token, int keyCode); in sendKeyDown()
262 void sendKeyUp(TvRemoteProviderProxy provider, IBinder token, int keyCode); in sendKeyUp()
264 void sendPointerDown(TvRemoteProviderProxy provider, IBinder token, int pointerId, int x, in sendPointerDown()
[all …]
DTvRemoteService.java21 import android.os.IBinder;
46 private Map<IBinder, UinputBridge> mBridgeMap = new ArrayMap();
47 private Map<IBinder, TvRemoteProviderProxy> mProviderMap = new ArrayMap();
89 private void informInputBridgeConnected(IBinder token) { in informInputBridgeConnected()
94 private void openInputBridgeInternalLocked(TvRemoteProviderProxy provider, IBinder token, in openInputBridgeInternalLocked()
124 private void closeInputBridgeInternalLocked(IBinder token) { in closeInputBridgeInternalLocked()
139 private void clearInputBridgeInternalLocked(IBinder token) { in clearInputBridgeInternalLocked()
150 private void sendTimeStampInternalLocked(IBinder token, long timestamp) { in sendTimeStampInternalLocked()
157 private void sendKeyDownInternalLocked(IBinder token, int keyCode) { in sendKeyDownInternalLocked()
168 private void sendKeyUpInternalLocked(IBinder token, int keyCode) { in sendKeyUpInternalLocked()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl60 in IInputMethodClient client, in IBinder windowToken, int controlFlags, in startInputOrWindowGainedFocus()
68 void setInputMethod(in IBinder token, String id); in setInputMethod()
69 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype()
70 void hideMySoftInput(in IBinder token, int flags); in hideMySoftInput()
71 void showMySoftInput(in IBinder token, int flags); in showMySoftInput()
72 void updateStatusIcon(in IBinder token, String packageName, int iconId); in updateStatusIcon()
73 void setImeWindowStatus(in IBinder token, in IBinder startInputToken, int vis, in setImeWindowStatus()
79 boolean switchToLastInputMethod(in IBinder token); in switchToLastInputMethod()
80 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme); in switchToNextInputMethod()
81 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token); in shouldOfferSwitchingToNextInputMethod()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeIInputMethodManager.java26 import android.os.IBinder;
93 public void hideMySoftInput(IBinder arg0, int arg1) throws RemoteException { in hideMySoftInput()
138 public void setImeWindowStatus(IBinder arg0, IBinder arg1, int arg2, int arg3) in setImeWindowStatus()
144 public void setInputMethod(IBinder arg0, String arg1) throws RemoteException { in setInputMethod()
150 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2) in setInputMethodAndSubtype()
177 public void showMySoftInput(IBinder arg0, int arg1) throws RemoteException { in showMySoftInput()
190 public boolean switchToLastInputMethod(IBinder arg0) throws RemoteException { in switchToLastInputMethod()
196 public boolean switchToNextInputMethod(IBinder arg0, boolean arg1) throws RemoteException { in switchToNextInputMethod()
202 public boolean shouldOfferSwitchingToNextInputMethod(IBinder arg0) throws RemoteException { in shouldOfferSwitchingToNextInputMethod()
219 public void updateStatusIcon(IBinder arg0, String arg1, int arg2) throws RemoteException { in updateStatusIcon()
[all …]
DBridgeWindowSession.java23 import android.os.IBinder;
130 public IBinder prepareDrag(IWindow window, int flags, in prepareDrag()
138 public boolean performDrag(IWindow window, IBinder dragToken, in performDrag()
159 public void cancelDragAndDrop(IBinder dragToken) throws RemoteException { in cancelDragAndDrop()
174 public void setWallpaperPosition(IBinder window, float x, float y, in setWallpaperPosition()
180 public void wallpaperOffsetsComplete(IBinder window) { in wallpaperOffsetsComplete()
185 public void setWallpaperDisplayOffset(IBinder windowToken, int x, int y) { in setWallpaperDisplayOffset()
190 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, in sendWallpaperCommand()
197 public void wallpaperCommandComplete(IBinder window, Bundle result) { in wallpaperCommandComplete()
202 public IBinder asBinder() { in asBinder()
[all …]
/frameworks/base/core/java/android/service/quicksettings/
DIQSService.aidl26 Tile getTile(in IBinder tile); in getTile()
27 void updateQsTile(in Tile tile, in IBinder service); in updateQsTile()
28 void updateStatusIcon(in IBinder tile, in Icon icon, in updateStatusIcon()
30 void onShowDialog(in IBinder tile); in onShowDialog()
31 void onStartActivity(in IBinder tile); in onStartActivity()
34 void startUnlockAndRun(in IBinder tile); in startUnlockAndRun()
36 void onDialogHidden(in IBinder tile); in onDialogHidden()
37 void onStartSuccessful(in IBinder tile); in onStartSuccessful()
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
DTvRemoteProvider.java23 import android.os.IBinder;
90 public IBinder getBinder() { in getBinder()
99 public void onInputBridgeConnected(IBinder token) { in onInputBridgeConnected()
126 public void openRemoteInputBridge(IBinder token, String name, int width, int height, in openRemoteInputBridge()
141 public void closeInputBridge(IBinder token) throws RuntimeException { in closeInputBridge()
157 public void clearInputBridge(IBinder token) throws RuntimeException { in clearInputBridge()
174 public void sendTimestamp(IBinder token, long timestamp) throws RuntimeException { in sendTimestamp()
191 public void sendKeyUp(IBinder token, int keyCode) throws RuntimeException { in sendKeyUp()
207 public void sendKeyDown(IBinder token, int keyCode) throws RuntimeException { in sendKeyDown()
225 public void sendPointerUp(IBinder token, int pointerId) throws RuntimeException { in sendPointerUp()
[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;

12345678910>>...43