Home
last modified time | relevance | path

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

12345678910>>...32

/frameworks/base/core/java/android/app/
DIActivityManager.java46 import android.os.IBinder;
68 String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, in startActivity()
71 String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, in startActivityAsUser()
74 Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, in startActivityAsCaller()
78 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityAndWait()
82 Intent intent, String resolvedType, IBinder resultTo, String resultWho, in startActivityWithConfig()
87 IBinder resultTo, String resultWho, int requestCode, in startActivityIntentSender()
93 public boolean startNextMatchingActivity(IBinder callingActivity, in startNextMatchingActivity()
96 public boolean finishActivity(IBinder token, int code, Intent data, boolean finishTask) in finishActivity()
98 …public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteExcep… in finishSubActivity()
[all …]
DIApplicationThread.java34 import android.os.IBinder;
51 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, in schedulePauseActivity()
53 void scheduleStopActivity(IBinder token, boolean showWindow, in scheduleStopActivity()
55 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; in scheduleWindowVisibility()
56 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; in scheduleSleeping()
57 void scheduleResumeActivity(IBinder token, int procState, boolean isForward, Bundle resumeArgs) in scheduleResumeActivity()
59 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; in scheduleSendResult()
60 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, in scheduleLaunchActivity()
66 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, in scheduleRelaunchActivity()
69 void scheduleNewIntent(List<ReferrerIntent> intent, IBinder token) throws RemoteException; in scheduleNewIntent()
[all …]
DApplicationThreadNative.java35 import android.os.IBinder;
57 static public IApplicationThread asInterface(IBinder obj) { in asInterface()
81 IBinder b = data.readStrongBinder(); in onTransact()
93 IBinder b = data.readStrongBinder(); in onTransact()
103 IBinder b = data.readStrongBinder(); in onTransact()
112 IBinder b = data.readStrongBinder(); in onTransact()
121 IBinder b = data.readStrongBinder(); in onTransact()
132 IBinder b = data.readStrongBinder(); in onTransact()
142 IBinder b = data.readStrongBinder(); in onTransact()
172 IBinder b = data.readStrongBinder(); in onTransact()
[all …]
/frameworks/native/include/gui/
DSurfaceComposerClient.h60 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 …]
DISurfaceComposer.h87 virtual sp<IBinder> createDisplay(const String8& displayName,
93 virtual void destroyDisplay(const sp<IBinder>& display) = 0;
98 virtual sp<IBinder> getBuiltInDisplay(int32_t id) = 0;
118 virtual void setPowerMode(const sp<IBinder>& display, int mode) = 0;
122 virtual status_t getDisplayConfigs(const sp<IBinder>& display,
128 virtual status_t getDisplayStats(const sp<IBinder>& display,
133 virtual int getActiveConfig(const sp<IBinder>& display) = 0;
137 virtual status_t setActiveConfig(const sp<IBinder>& display, int id) = 0;
142 virtual status_t captureScreen(const sp<IBinder>& display,
169 BOOT_FINISHED = IBinder::FIRST_CALL_TRANSACTION,
/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/media/java/android/media/tv/
DITvInputManager.aidl59 void releaseSession(in IBinder sessionToken, int userId); in releaseSession()
61 void setMainSession(in IBinder sessionToken, int userId); in setMainSession()
62 void setSurface(in IBinder sessionToken, in Surface surface, int userId); in setSurface()
63 void dispatchSurfaceChanged(in IBinder sessionToken, int format, int width, int height, in dispatchSurfaceChanged()
65 void setVolume(in IBinder sessionToken, float volume, int userId); in setVolume()
66 void tune(in IBinder sessionToken, in Uri channelUri, in Bundle params, int userId); in tune()
67 void setCaptionEnabled(in IBinder sessionToken, boolean enabled, int userId); in setCaptionEnabled()
68 void selectTrack(in IBinder sessionToken, int type, in String trackId, int userId); in selectTrack()
70 void sendAppPrivateCommand(in IBinder sessionToken, in String action, in Bundle data, in sendAppPrivateCommand()
73 void createOverlayView(in IBinder sessionToken, in IBinder windowToken, in Rect frame, in createOverlayView()
[all …]
/frameworks/base/core/java/android/content/
DIContentProvider.java24 import android.os.IBinder;
52 IBinder callerToken) in openFile()
76 static final int QUERY_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION;
77 static final int GET_TYPE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 1;
78 static final int INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 2;
79 static final int DELETE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 3;
80 static final int UPDATE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 9;
81 static final int BULK_INSERT_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 12;
82 static final int OPEN_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 13;
83 static final int OPEN_ASSET_FILE_TRANSACTION = IBinder.FIRST_CALL_TRANSACTION + 14;
[all …]
/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,
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/
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.h39 void setContextObject(const sp<IBinder>& object);
40 sp<IBinder> getContextObject(const sp<IBinder>& caller);
42 void setContextObject(const sp<IBinder>& object,
44 sp<IBinder> getContextObject(const String16& name,
45 const sp<IBinder>& caller);
50 const sp<IBinder>& caller,
58 sp<IBinder> getStrongProxyForHandle(int32_t handle);
59 wp<IBinder> getWeakProxyForHandle(int32_t handle);
60 void expungeHandle(int32_t handle, IBinder* binder);
78 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 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 …]
/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()
86 void setAppTask(IBinder token, int taskId); in setAppTask()
89 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp()
105 void setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow()
107 int icon, int logo, int windowFlags, IBinder transferFrom, boolean createIfNeeded); in setAppStartingWindow()
108 void setAppWillBeHidden(IBinder token); in setAppWillBeHidden()
109 void setAppVisibility(IBinder token, boolean visible); in setAppVisibility()
[all …]
DSurfaceControl.java23 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 …]
DWindowManagerInternal.java22 import android.os.IBinder;
111 public void onAppTransitionStartingLocked(IBinder openToken, IBinder closeToken, in onAppTransitionStartingLocked()
119 public void onAppTransitionFinishedLocked(IBinder token) {} in onAppTransitionFinishedLocked()
163 IBinder windowToken); in getCompatibleMagnificationSpecForWindow()
186 public abstract IBinder getFocusedWindowToken(); in getFocusedWindowToken()
199 public abstract void getWindowFrame(IBinder token, Rect outBounds); in getWindowFrame()
218 public abstract void addWindowToken(android.os.IBinder token, int type); in addWindowToken()
226 public abstract void removeWindowToken(android.os.IBinder token, boolean removeWindows); in removeWindowToken()
/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/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java28 import android.os.IBinder;
83 public void addWindowToken(IBinder arg0, int arg1) throws RemoteException { in addWindowToken()
121 public void disableKeyguard(IBinder arg0, String arg1) throws RemoteException { in disableKeyguard()
243 public void pauseKeyDispatching(IBinder arg0) throws RemoteException { in pauseKeyDispatching()
255 public void reenableKeyguard(IBinder arg0) throws RemoteException { in reenableKeyguard()
261 public void removeAppToken(IBinder arg0) throws RemoteException { in removeAppToken()
267 public void removeWindowToken(IBinder arg0) throws RemoteException { in removeWindowToken()
273 public void resumeKeyDispatching(IBinder arg0) throws RemoteException { in resumeKeyDispatching()
286 public Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, in screenshotApplications()
310 public void setAppTask(IBinder arg0, int arg1) throws RemoteException { in setAppTask()
[all …]
/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/core/java/android/os/storage/
DIMountServiceListener.java20 import android.os.IBinder;
45 public static IMountServiceListener asInterface(IBinder obj) { in asInterface()
56 public IBinder asBinder() { in asBinder()
128 private IBinder mRemote;
130 Proxy(IBinder remote) { in Proxy()
134 public IBinder asBinder() { in asBinder()
154 _reply, android.os.IBinder.FLAG_ONEWAY); in onUsbMassStorageConnectionChanged()
181 android.os.IBinder.FLAG_ONEWAY); in onStorageStateChanged()
200 android.os.IBinder.FLAG_ONEWAY); in onVolumeStateChanged()
216 android.os.IBinder.FLAG_ONEWAY); in onVolumeRecordChanged()
[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()
141 public void setInputMethod(IBinder arg0, String arg1) throws RemoteException { in setInputMethod()
147 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()
223 public void updateStatusIcon(IBinder arg0, String arg1, int arg2) throws RemoteException { in updateStatusIcon()
[all …]
/frameworks/base/media/java/android/media/midi/
DMidiDevice.java20 import android.os.IBinder;
42 private final IBinder mClientToken;
43 private final IBinder mDeviceToken;
54 private final IBinder mInputPortToken;
55 private final IBinder mOutputPortToken;
59 MidiConnection(IBinder outputPortToken, MidiInputPort inputPort) { in MidiConnection()
95 IMidiManager midiManager, IBinder clientToken, IBinder deviceToken) { in MidiDevice()
126 IBinder token = new Binder(); in openInputPort()
149 IBinder token = new Binder(); in openOutputPort()
183 IBinder token = new Binder(); in connectPorts()
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl29 void authenticate(IBinder token, long sessionId, int userId, in authenticate()
33 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication()
36 …void enroll(IBinder token, in byte [] cryptoToken, int groupId, IFingerprintServiceReceiver receiv… in enroll()
40 void cancelEnrollment(IBinder token); in cancelEnrollment()
43 void remove(IBinder token, int fingerId, int groupId, IFingerprintServiceReceiver receiver); in remove()
55 long preEnroll(IBinder token); in preEnroll()
58 int postEnroll(IBinder token); in postEnroll()

12345678910>>...32