Searched refs:binder (Results 351 - 375 of 888) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/binder/
H A DParcel.cpp33 #include <binder/Binder.h>
34 #include <binder/BpBinder.h>
35 #include <binder/IPCThreadState.h>
36 #include <binder/Parcel.h>
37 #include <binder/ProcessState.h>
38 #include <binder/Status.h>
39 #include <binder/TextOutput.h>
40 #include <binder/Value.h>
50 #include <private/binder/binder_module.h>
51 #include <private/binder/Stati
209 flatten_binder(const sp<ProcessState>& , const sp<IBinder>& binder, Parcel* out) argument
248 flatten_binder(const sp<ProcessState>& , const wp<IBinder>& binder, Parcel* out) argument
[all...]
H A DIPermissionController.cpp19 #include <binder/IPermissionController.h>
22 #include <binder/Parcel.h>
25 #include <private/binder/Static.h>
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DMmTelFeatureConnection.java53 * A container of the IImsServiceController binder, which implements all of the ImsFeatures that
79 Log.w(TAG, "DeathRecipient triggered, binder died.");
229 IImsMmTelFeature binder;
232 binder = getServiceInterface(mBinder);
234 if (binder != null) {
235 binder.addCapabilityCallback(mCallbackAdapter);
238 Log.w(TAG, "create: Couldn't get IImsMmTelFeature binder");
245 IImsMmTelFeature binder = null;
249 binder = getServiceInterface(mBinder);
251 // binder i
446 setBinder(IBinder binder) argument
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.rc56 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction/enable
57 chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction/enable
58 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_transaction_received/enable
59 chmod 0666 /sys/kernel/tracing/events/binder/binder_transaction_received/enable
60 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_lock/enable
61 chmod 0666 /sys/kernel/tracing/events/binder/binder_lock/enable
62 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_locked/enable
63 chmod 0666 /sys/kernel/tracing/events/binder/binder_locked/enable
64 chmod 0666 /sys/kernel/debug/tracing/events/binder/binder_unlock/enable
65 chmod 0666 /sys/kernel/tracing/events/binder/binder_unloc
[all...]
/frameworks/native/services/vr/hardware_composer/tests/
H A Dvr_composer_test.cpp2 #include <binder/IServiceManager.h>
38 binder::Status onNewFrame(
42 return binder::Status::ok();
56 binder::Status onNewFrame(
59 binder::Status status = TestComposerCallback::onNewFrame(frame, fence);
/frameworks/native/cmds/installd/
H A DInstalldNativeService.cpp111 static binder::Status ok() {
112 return binder::Status::ok();
115 static binder::Status exception(uint32_t code, const std::string& msg) {
117 return binder::Status::fromExceptionCode(code, String8(msg.c_str()));
120 static binder::Status error() {
121 return binder::Status::fromServiceSpecificError(errno);
124 static binder::Status error(const std::string& msg) {
126 return binder::Status::fromServiceSpecificError(errno, String8(msg.c_str()));
129 static binder::Status error(uint32_t code, const std::string& msg) {
131 return binder
[all...]
/frameworks/base/core/java/android/os/
H A DRemoteCallbackList.java121 IBinder binder = callback.asBinder();
124 binder.linkToDeath(cb, 0);
125 mCallbacks.put(binder, cb);
/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java136 final ViewBinder binder = mViewBinder;
145 if (binder != null) {
146 bound = binder.setViewValue(v, cursor, from[i]);
171 * @return a ViewBinder or null if the binder does not exist
181 * Sets the binder used to bind data to views.
183 * @param viewBinder the binder used to bind data to views, can be null to
184 * remove the existing binder
H A DSimpleCursorTreeAdapter.java65 * View binder, if supplied
192 * @return a ViewBinder or null if the binder does not exist
201 * Sets the binder used to bind data to views.
203 * @param viewBinder the binder used to bind data to views, can be null to
204 * remove the existing binder
213 final ViewBinder binder = mViewBinder;
219 if (binder != null) {
220 bound = binder.setViewValue(v, cursor, from[i]);
/frameworks/native/libs/binder/tests/
H A DbinderTextOutputTest.cpp27 #include <binder/Parcel.h>
28 #include <binder/TextOutput.h>
29 #include <binder/Debug.h>
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
H A DImsServiceControllerTest.java160 IBinder binder = mMockServiceControllerBinder.getBinder().asBinder();
161 verify(binder).linkToDeath(any(), anyInt());
189 IBinder binder = mMockServiceControllerBinder.getBinder().asBinder();
190 verify(binder).linkToDeath(any(), anyInt());
246 IBinder binder = mMockServiceControllerBinder.getBinder().asBinder();
247 verify(binder).unlinkToDeath(any(), anyInt());
248 // binder already disconnected, removeImsFeatures shouldn't be called.
275 IBinder binder = mMockServiceControllerBinder.getBinder().asBinder();
276 verify(binder).unlinkToDeath(any(), anyInt());
288 * Ensures that imsServiceFeatureRemoved is called when the binder die
[all...]
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
H A DSimpleCursorAdapter.java126 final ViewBinder binder = mViewBinder;
135 if (binder != null) {
136 bound = binder.setViewValue(v, cursor, from[i]);
161 * @return a ViewBinder or null if the binder does not exist
171 * Sets the binder used to bind data to views.
173 * @param viewBinder the binder used to bind data to views, can be null to
174 * remove the existing binder
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPacManager.java314 public void onServiceConnected(ComponentName component, IBinder binder) {
318 + binder.getInterfaceDescriptor());
322 ServiceManager.addService(PAC_SERVICE_NAME, binder);
323 mProxyService = IProxyService.Stub.asInterface(binder);
348 public void onServiceConnected(ComponentName component, IBinder binder) {
349 IProxyCallback callbackService = IProxyCallback.Stub.asInterface(binder);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceMigrationTest.java124 final long ident = mContext.binder.clearCallingIdentity();
133 mContext.binder.restoreCallingIdentity(ident);
237 final long ident = mContext.binder.clearCallingIdentity();
246 mContext.binder.restoreCallingIdentity(ident);
303 final long ident = mContext.binder.clearCallingIdentity();
312 mContext.binder.restoreCallingIdentity(ident);
H A DDpmMockContext.java143 public final MockBinder binder; field in class:DpmMockContext
161 binder = new MockBinder();
225 if (UserHandle.isSameApp(binder.getCallingUid(), SYSTEM_UID)) {
228 List<String> permissions = binder.callingPermissions.get(binder.getCallingUid());
234 // "Caller UID " + binder.getCallingUid() + " doesn't exist");
305 if (binder.callingPid != SYSTEM_PID) {
309 Assert.assertEquals(UserHandle.getUserId(binder.getCallingUid()), user.getIdentifier());
427 return UserHandle.getUserId(binder.getCallingUid());
/frameworks/native/libs/vr/libdvr/
H A Ddvr_hardware_composer_client.cpp6 #include <binder/IServiceManager.h>
27 // accesses from binder thread callbacks.
34 android::binder::Status onNewFrame(
40 // access needs to be protected otherwise binder threads may access an invalid
59 android::binder::Status HwcCallback::onNewFrame(
66 return android::binder::Status::ok();
73 return android::binder::Status::ok();
94 android::binder::Status status = client->composer->registerObserver(
106 // shared pointer that could be referenced from a binder thread. But the
/frameworks/av/media/libmedia/include/media/omx/1.0/
H A DWGraphicBufferSource.h23 #include <binder/Binder.h>
62 typedef ::android::binder::Status BnStatus;
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp28 #include <binder/IPCThreadState.h>
29 #include <binder/IServiceManager.h>
30 #include <binder/MemoryHeapBase.h>
31 #include <binder/MemoryBase.h>
461 sp<IBinder> binder = (sCameraVerified || !sCameraChecked) local
464 if (binder != NULL) {
466 mCameraDeathListener = new ServiceDeathNotifier(binder, listener,
468 binder->linkToDeath(mCameraDeathListener);
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
H A DAppWidget.java150 IBinder binder = ServiceManager.getService(Context.APPWIDGET_SERVICE);
151 IAppWidgetService appWidgetService = IAppWidgetService.Stub.asInterface(binder);
/frameworks/base/libs/storage/include/storage/
H A DIMountService.h26 #include <binder/IInterface.h>
27 #include <binder/Parcel.h>
/frameworks/base/lowpan/java/android/net/lowpan/
H A DLowpanCommissioningSession.java114 ILowpanInterface binder, LowpanBeaconInfo beaconInfo, Looper looper) {
115 mBinder = binder;
113 LowpanCommissioningSession( ILowpanInterface binder, LowpanBeaconInfo beaconInfo, Looper looper) argument
/frameworks/base/wifi/java/android/net/wifi/rtt/
H A DWifiRttManager.java147 Binder binder = new Binder();
149 mService.startRanging(binder, mContext.getOpPackageName(), workSource, request,
/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp252 /*out */ binder::Status* binder_result = nullptr, int32_t uid = -1) {
269 binder::Status result = service_->dexopt(path,
307 binder::Status result = service_->reconcileSecondaryDexFile(
341 binder::Status* binder_result = nullptr,
360 binder::Status* binder_result = nullptr,
382 /*out */ binder::Status* binder_result) {
397 binder::Status prof_binder_result = service_->prepareAppProfile(
404 binder::Status result = service_->dexopt(apk_path_,
491 binder::Status status;
499 binder
[all...]
/frameworks/native/include/gui/
H A DIGraphicBufferConsumer.h21 #include <binder/IInterface.h>
22 #include <binder/SafeInterface.h>
/frameworks/native/libs/gui/include/gui/
H A DIGraphicBufferConsumer.h21 #include <binder/IInterface.h>
22 #include <binder/SafeInterface.h>

Completed in 692 milliseconds

<<11121314151617181920>>