/frameworks/base/core/java/android/app/ |
D | IActivityManager.java | 44 import android.os.IBinder; 65 String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, in startActivity() 68 String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, in startActivityAsUser() 71 Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, in startActivityAsCaller() 74 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityAndWait() 78 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityWithConfig() 83 IBinder resultTo, String resultWho, int requestCode, in startActivityIntentSender() 89 public boolean startNextMatchingActivity(IBinder callingActivity, in startNextMatchingActivity() 92 public boolean finishActivity(IBinder token, int code, Intent data, boolean finishTask) in finishActivity() 94 …public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteExcep… in finishSubActivity() [all …]
|
D | IApplicationThread.java | 34 import android.os.IBinder; 52 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, in schedulePauseActivity() 54 void scheduleStopActivity(IBinder token, boolean showWindow, in scheduleStopActivity() 56 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; in scheduleWindowVisibility() 57 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; in scheduleSleeping() 58 void scheduleResumeActivity(IBinder token, int procState, boolean isForward, Bundle resumeArgs) in scheduleResumeActivity() 60 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; in scheduleSendResult() 61 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, in scheduleLaunchActivity() 67 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, in scheduleRelaunchActivity() 70 void scheduleNewIntent(List<ReferrerIntent> intent, IBinder token) throws RemoteException; in scheduleNewIntent() [all …]
|
D | ApplicationThreadNative.java | 35 import android.os.IBinder; 54 static public IApplicationThread asInterface(IBinder obj) { in asInterface() 78 IBinder b = data.readStrongBinder(); in onTransact() 90 IBinder b = data.readStrongBinder(); in onTransact() 100 IBinder b = data.readStrongBinder(); in onTransact() 109 IBinder b = data.readStrongBinder(); in onTransact() 118 IBinder b = data.readStrongBinder(); in onTransact() 129 IBinder b = data.readStrongBinder(); in onTransact() 139 IBinder b = data.readStrongBinder(); in onTransact() 165 IBinder b = data.readStrongBinder(); in onTransact() [all …]
|
/frameworks/native/include/gui/ |
D | SurfaceComposerClient.h | 60 sp<IBinder> connection() const; 66 status_t linkToComposerDeath(const sp<IBinder::DeathRecipient>& recipient, 70 static status_t getDisplayConfigs(const sp<IBinder>& display, 74 static status_t getDisplayInfo(const sp<IBinder>& display, 79 static int getActiveConfig(const sp<IBinder>& display); 83 static status_t setActiveConfig(const sp<IBinder>& display, int id); 86 static void setDisplayPowerMode(const sp<IBinder>& display, int mode); 101 static sp<IBinder> createDisplay(const String8& displayName, bool secure); 104 static void destroyDisplay(const sp<IBinder>& display); 108 static sp<IBinder> getBuiltInDisplay(int32_t id); [all …]
|
D | ISurfaceComposer.h | 88 virtual sp<IBinder> createDisplay(const String8& displayName, 94 virtual void destroyDisplay(const sp<IBinder>& display) = 0; 99 virtual sp<IBinder> getBuiltInDisplay(int32_t id) = 0; 119 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0; 123 virtual status_t getDisplayConfigs(const sp<IBinder>& display, 129 virtual status_t getDisplayStats(const sp<IBinder>& display, 134 virtual int getActiveConfig(const sp<IBinder>& display) = 0; 138 virtual status_t setActiveConfig(const sp<IBinder>& display, int id) = 0; 143 virtual status_t captureScreen(const sp<IBinder>& display, 170 BOOT_FINISHED = IBinder::FIRST_CALL_TRANSACTION,
|
/frameworks/base/core/java/android/content/ |
D | IContentProvider.java | 23 import android.os.IBinder; 51 IBinder callerToken) in openFile() 74 static final int QUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION; 75 static final int GET_TYPE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1; 76 static final int INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2; 77 static final int DELETE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 3; 78 static final int UPDATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 9; 79 static final int BULK_INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 12; 80 static final int OPEN_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 13; 81 static final int OPEN_ASSET_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 14; [all …]
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 62 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/native/services/powermanager/ |
D | IPowerManager.cpp | 32 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, 36 POWER_HINT = IBinder::FIRST_CALL_TRANSACTION + 4, 42 BpPowerManager(const sp<IBinder>& impl) in BpPowerManager() 47 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, in acquireWakeLock() 60 isOneWay ? IBinder::FLAG_ONEWAY : 0); in acquireWakeLock() 63 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, in acquireWakeLockWithUid() 75 isOneWay ? IBinder::FLAG_ONEWAY : 0); in acquireWakeLockWithUid() [all …]
|
/frameworks/native/include/binder/ |
D | ProcessState.h | 37 void setContextObject(const sp<IBinder>& object); 38 sp<IBinder> getContextObject(const sp<IBinder>& caller); 40 void setContextObject(const sp<IBinder>& object, 42 sp<IBinder> getContextObject(const String16& name, 43 const sp<IBinder>& caller); 48 const sp<IBinder>& caller, 56 sp<IBinder> getStrongProxyForHandle(int32_t handle); 57 wp<IBinder> getWeakProxyForHandle(int32_t handle); 58 void expungeHandle(int32_t handle, IBinder* binder); 76 IBinder* binder; [all …]
|
D | IAppOpsService.h | 35 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,
|
D | IInterface.h | 31 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/ |
D | IServiceManager.java | 36 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;
|
D | ServiceManager.java | 31 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()
|
D | ServiceManagerNative.java | 33 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 …]
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 76 void pauseKeyDispatching(IBinder token); in pauseKeyDispatching() 77 void resumeKeyDispatching(IBinder token); in resumeKeyDispatching() 79 void addWindowToken(IBinder token, int type); in addWindowToken() 80 void removeWindowToken(IBinder token); in removeWindowToken() 84 void setAppGroupId(IBinder token, int groupId); in setAppGroupId() 87 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp() 101 void setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow() 103 int icon, int logo, int windowFlags, IBinder transferFrom, boolean createIfNeeded); in setAppStartingWindow() 104 void setAppWillBeHidden(IBinder token); in setAppWillBeHidden() 105 void setAppVisibility(IBinder token, boolean visible); in setAppVisibility() [all …]
|
D | SurfaceControl.java | 23 import android.os.IBinder; 40 private static native Bitmap nativeScreenshot(IBinder displayToken, in nativeScreenshot() 43 private static native void nativeScreenshot(IBinder displayToken, Surface consumer, in nativeScreenshot() 66 private static native IBinder nativeGetBuiltInDisplay(int physicalDisplayId); in nativeGetBuiltInDisplay() 67 private static native IBinder nativeCreateDisplay(String name, boolean secure); in nativeCreateDisplay() 68 private static native void nativeDestroyDisplay(IBinder displayToken); in nativeDestroyDisplay() 70 IBinder displayToken, long nativeSurfaceObject); in nativeSetDisplaySurface() 72 IBinder displayToken, int layerStack); in nativeSetDisplayLayerStack() 74 IBinder displayToken, int orientation, in nativeSetDisplayProjection() 77 private static native void nativeSetDisplaySize(IBinder displayToken, int width, int height); in nativeSetDisplaySize() [all …]
|
/frameworks/base/core/java/android/database/ |
D | IBulkCursor.java | 20 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/base/media/java/android/media/tv/ |
D | ITvInputManager.aidl | 56 void releaseSession(in IBinder sessionToken, int userId); in releaseSession() 58 void setMainSession(in IBinder sessionToken, int userId); in setMainSession() 59 void setSurface(in IBinder sessionToken, in Surface surface, int userId); in setSurface() 60 void dispatchSurfaceChanged(in IBinder sessionToken, int format, int width, int height, in dispatchSurfaceChanged() 62 void setVolume(in IBinder sessionToken, float volume, int userId); in setVolume() 63 void tune(in IBinder sessionToken, in Uri channelUri, in Bundle params, int userId); in tune() 64 void setCaptionEnabled(in IBinder sessionToken, boolean enabled, int userId); in setCaptionEnabled() 65 void selectTrack(in IBinder sessionToken, int type, in String trackId, int userId); in selectTrack() 67 void sendAppPrivateCommand(in IBinder sessionToken, in String action, in Bundle data, in sendAppPrivateCommand() 70 void createOverlayView(in IBinder sessionToken, in IBinder windowToken, in Rect frame, in createOverlayView() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 27 import android.os.IBinder; 82 public void addWindowToken(IBinder arg0, int arg1) throws RemoteException { in addWindowToken() 120 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { in disableKeyguard() 236 public void pauseKeyDispatching(IBinder arg0) throws RemoteException { in pauseKeyDispatching() 248 public void reenableKeyguard(IBinder arg0) throws RemoteException { in reenableKeyguard() 254 public void removeAppToken(IBinder arg0) throws RemoteException { in removeAppToken() 260 public void removeWindowToken(IBinder arg0) throws RemoteException { in removeWindowToken() 266 public void resumeKeyDispatching(IBinder arg0) throws RemoteException { in resumeKeyDispatching() 272 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, in screenshotApplications() 296 public void setAppGroupId(IBinder arg0, int arg1) throws RemoteException { in setAppGroupId() [all …]
|
/frameworks/native/libs/binder/ |
D | IMemory.cpp | 40 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/ |
D | BridgeIInputMethodManager.java | 24 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() 141 public void setInputMethod(IBinder arg0, String arg1) throws RemoteException { in setInputMethod() 147 public void setInputMethodAndSubtype(IBinder arg0, String arg1, InputMethodSubtype arg2) in setInputMethodAndSubtype() 173 public void showMySoftInput(IBinder arg0, int arg1) throws RemoteException { in showMySoftInput() 193 public boolean switchToLastInputMethod(IBinder arg0) throws RemoteException { in switchToLastInputMethod() 199 public boolean switchToNextInputMethod(IBinder arg0, boolean arg1) throws RemoteException { in switchToNextInputMethod() 205 public boolean shouldOfferSwitchingToNextInputMethod(IBinder arg0) throws RemoteException { in shouldOfferSwitchingToNextInputMethod() 222 public void updateStatusIcon(IBinder arg0, String arg1, int arg2) throws RemoteException { in updateStatusIcon() [all …]
|
D | BridgeWindowSession.java | 24 import android.os.IBinder; 134 public IBinder prepareDrag(IWindow window, int flags, in prepareDrag() 142 public boolean performDrag(IWindow window, IBinder dragToken, in performDrag() 166 public void setWallpaperPosition(IBinder window, float x, float y, in setWallpaperPosition() 172 public void wallpaperOffsetsComplete(IBinder window) { in wallpaperOffsetsComplete() 177 public void setWallpaperDisplayOffset(IBinder windowToken, int x, int y) { in setWallpaperDisplayOffset() 182 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, in sendWallpaperCommand() 189 public void wallpaperCommandComplete(IBinder window, Bundle result) { in wallpaperCommandComplete() 194 public void setUniverseTransform(IBinder window, float alpha, float offx, float offy, in setUniverseTransform() 200 public IBinder asBinder() { in asBinder() [all …]
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 24 import android.os.IBinder; 54 private ArrayMap<IBinder, ClientData> mClients = new ArrayMap<IBinder, ClientData>(); 85 IBinder getToken() { return tokenWatcher.getToken(); } in getToken() 88 private class TokenWatcher implements IBinder.DeathRecipient { 89 WeakReference<IBinder> token; 91 TokenWatcher(IBinder token) { in TokenWatcher() 92 this.token = new WeakReference<IBinder>(token); in TokenWatcher() 95 IBinder getToken() { return token.get(); } in getToken() 216 void startEnroll(IBinder token, long timeout, int userId) { in startEnroll() 227 void startEnrollCancel(IBinder token, int userId) { in startEnrollCancel() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 58 InputBindResult windowGainedFocus(in IInputMethodClient client, in IBinder windowToken, in windowGainedFocus() 64 void setInputMethod(in IBinder token, String id); in setInputMethod() 65 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype() 66 void hideMySoftInput(in IBinder token, int flags); in hideMySoftInput() 67 void showMySoftInput(in IBinder token, int flags); in showMySoftInput() 68 void updateStatusIcon(in IBinder token, String packageName, int iconId); in updateStatusIcon() 69 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); in setImeWindowStatus() 74 boolean switchToLastInputMethod(in IBinder token); in switchToLastInputMethod() 75 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme); in switchToNextInputMethod() 76 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token); in shouldOfferSwitchingToNextInputMethod()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.h | 47 void attachLayer(const sp<IBinder>& handle, const sp<Layer>& layer); 51 sp<Layer> getLayerUser(const sp<IBinder>& handle) const; 58 sp<IBinder>* handle, 61 virtual status_t destroySurface(const sp<IBinder>& handle); 63 virtual status_t clearLayerFrameStats(const sp<IBinder>& handle) const; 65 virtual status_t getLayerFrameStats(const sp<IBinder>& handle, FrameStats* outStats) const; 74 DefaultKeyedVector< wp<IBinder>, wp<Layer> > mLayers;
|