HomeSort by relevance Sort by last modified time
    Searched full:binder (Results 201 - 225 of 1344) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/native/include/batteryservice/
IBatteryPropertiesListener.h 20 #include <binder/IBinder.h>
21 #include <binder/IInterface.h>
  /frameworks/native/libs/binder/
ProcessInfoService.cpp 17 #include <binder/ProcessInfoService.h>
18 #include <binder/IServiceManager.h>
Parcel.cpp 20 #include <binder/Parcel.h>
22 #include <binder/IPCThreadState.h>
23 #include <binder/Binder.h>
24 #include <binder/BpBinder.h>
25 #include <binder/ProcessState.h>
26 #include <binder/TextOutput.h>
37 #include <private/binder/binder_module.h>
38 #include <private/binder/Static.h>
103 if (obj.binder) {
    [all...]
  /frameworks/native/services/inputflinger/host/
InputFlinger.cpp 28 #include <binder/IPCThreadState.h>
29 #include <binder/PermissionCache.h>
  /frameworks/support/v4/donut/android/support/v4/app/
BundleCompatDonut.java 61 public static void putBinder(Bundle bundle, String key, IBinder binder) {
75 sPutIBinderMethod.invoke(bundle, key, binder);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
AccountServiceProxy.java 36 public void onConnected(IBinder binder) {
37 mService = IAccountService.Stub.asInterface(binder);
  /packages/apps/Nfc/src/com/android/nfc/
NfcUnlockManager.java 59 IBinder binder = iterator.next(); local
60 UnlockHandlerWrapper handlerWrapper = mUnlockHandlers.get(binder);
  /packages/apps/Terminal/src/com/android/terminal/
TerminalService.java 21 import android.os.Binder;
32 public class ServiceBinder extends Binder {
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
SQLiteContentProvider.java 29 import android.os.Binder;
294 * Call {@link android.os.Binder#clearCallingIdentity()}, while caching the calling package
300 int callingUid = Binder.getCallingUid();
312 return Binder.clearCallingIdentity();
316 * Call {@link Binder#restoreCallingIdentity(long)}.
319 * {@link android.os.Binder#clearCallingIdentity()}, then the cached calling package will also
324 Binder.restoreCallingIdentity(identity);
326 int callingUid = Binder.getCallingUid();
  /system/core/fingerprintd/
IFingerprintDaemonCallback.h 22 #include <binder/IInterface.h>
23 #include <binder/Parcel.h>
  /frameworks/base/core/java/android/app/backup/
IRestoreSession.aidl 23 * Binder interface used by clients who wish to manage a restore operation. Every
32 * @param observer This binder points to an object whose onRestoreSetsAvailable()
49 * @param observer If non-null, this binder points to an object that will receive
65 * @param observer If non-null, this binder points to an object that will receive
85 * @param observer If non-null, this binder points to an object that will receive
91 * End this restore session. After this method is called, the IRestoreSession binder
  /frameworks/base/core/java/android/os/
ServiceManagerNative.java 27 public abstract class ServiceManagerNative extends Binder implements IServiceManager
30 * Cast a Binder object into a service manager interface, generating
124 IBinder binder = reply.readStrongBinder(); local
127 return binder;
136 IBinder binder = reply.readStrongBinder(); local
139 return binder;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/media/
RingtonePlayer.java 26 import android.os.Binder;
99 + Binder.getCallingUid() + ")");
105 final UserHandle user = Binder.getCallingUserHandle();
159 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
171 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
179 final UserHandle user = Binder.getCallingUserHandle();
  /frameworks/native/include/gui/
SensorManager.h 25 #include <binder/IBinder.h>
26 #include <binder/IPCThreadState.h>
27 #include <binder/IServiceManager.h>
73 sp<IBinder> binder = defaultServiceManager()->getService(String16("permission")); local
74 if (binder != 0) {
77 interface_cast<IPermissionController>(binder)->getPackagesForUid(uid, packages);
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/
BaseBindingActivity.java 43 * Returns the binder. Activities can use that to query the controller service.
45 * The binder is only valid between calls {@link #onServiceConnected()} and
91 * When this is called, {@link #getServiceBinder()} returns a non-null binder that
100 * When this is called, {@link #getServiceBinder()} returns a null binder and
101 * the activity should stop using that binder and remove any reference to it.
115 * Allows us to retrieve the binder to talk to the service.
MainActivity.java 190 ControllerBinder binder = getServiceBinder(); local
191 String error = binder == null ? "" : binder.getServiceError();
201 ControllerBinder binder = getServiceBinder(); local
202 boolean connected = binder == null ? false : binder.isEmuConnected();
  /cts/tests/tests/widget/src/android/widget/cts/
SimpleCursorAdapterTest.java 125 // the binder take care of binding
127 MockViewBinder binder = new MockViewBinder(true); local
128 simpleCursorAdapter.setViewBinder(binder);
129 binder.reset();
132 assertTrue(binder.hasCalledSetViewValueCalledCount());
135 // the binder try to bind but fail
136 binder = new MockViewBinder(false);
137 simpleCursorAdapter.setViewBinder(binder);
140 assertTrue(binder.hasCalledSetViewValueCalledCount());
161 MockViewBinder binder = new MockViewBinder(true) local
    [all...]
  /frameworks/av/camera/tests/
CameraBinderTests.cpp 20 #include <binder/IInterface.h>
21 #include <binder/IServiceManager.h>
22 #include <binder/Parcel.h>
23 #include <binder/ProcessState.h>
240 // Exercise basic binder calls for the camera service
244 sp<IBinder> binder = sm->getService(String16("media.camera")); local
245 ASSERT_NOT_NULL(binder);
246 sp<ICameraService> service = interface_cast<ICameraService>(binder);
252 // Check listener binder calls
259 // We only care about binder calls for the Camera2 API. Camera1 is deprecated
343 sp<IBinder> binder = sm->getService(String16("media.camera")); local
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
RemotePrintService.java 24 import android.os.Binder;
692 final long identity = Binder.clearCallingIdentity();
697 Binder.restoreCallingIdentity(identity);
707 final long identity = Binder.clearCallingIdentity();
712 Binder.restoreCallingIdentity(identity);
722 final long identity = Binder.clearCallingIdentity();
726 Binder.restoreCallingIdentity(identity);
736 final long identity = Binder.clearCallingIdentity();
740 Binder.restoreCallingIdentity(identity);
750 final long identity = Binder.clearCallingIdentity()
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiServiceImpl.java 51 import android.os.Binder;
449 long callingIdentity = Binder.clearCallingIdentity();
454 Binder.restoreCallingIdentity(callingIdentity);
473 mWifiStateMachine.startScan(Binder.getCallingUid(), scanRequestCounter++,
491 public boolean requestBatchedScan(BatchedScanSettings requested, IBinder binder,
571 Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid()
572 + ", uid=" + Binder.getCallingUid());
582 long ident = Binder.clearCallingIdentity();
589 Binder.restoreCallingIdentity(ident);
790 return mWifiStateMachine.syncGetConfiguredNetworks(Binder.getCallingUid()
1770 super(Binder.getCallingUid(), tag, binder, null); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/media/
MediaSessionService.java 44 import android.os.Binder;
81 /* package */final IBinder mICallback = new Binder();
286 * 5. We need to unlink to death from the cb binder
419 * 1. Its callback binder needs a link to death
645 final int pid = Binder.getCallingPid();
646 final int uid = Binder.getCallingUid();
647 final long token = Binder.clearCallingIdentity();
658 Binder.restoreCallingIdentity(token);
664 final int pid = Binder.getCallingPid();
665 final int uid = Binder.getCallingUid()
    [all...]
  /system/extras/tests/binder/benchmarks/
binderAddInts.cpp 19 * Binder add integers benchmark
21 * Measures the rate at which a short binder IPC operation can be
48 #include <binder/IPCThreadState.h>
49 #include <binder/ProcessState.h>
50 #include <binder/IServiceManager.h>
250 sp<IBinder> binder; local
252 binder = sm->getService(serviceName);
253 if (binder != 0) break;
275 if ((rv = binder->transact(AddIntsService::ADD_INTS,
277 cerr << "binder->transact failed, rv: " << r
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
NotificationManagerService.java 62 import android.os.Binder;
207 final IBinder mForegroundToken = new Binder();
438 * Unchecked. Not exposed via Binder, but can be called in the course of enqueue*().
499 long identity = Binder.clearCallingIdentity();
507 Binder.restoreCallingIdentity(identity);
510 identity = Binder.clearCallingIdentity();
514 Binder.restoreCallingIdentity(identity);
593 long identity = Binder.clearCallingIdentity();
601 Binder.restoreCallingIdentity(identity);
606 identity = Binder.clearCallingIdentity()
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
WindowManager_LayoutParamsTest.java 21 import android.os.Binder;
70 IBinder binder = new Binder(); local
72 mLayoutParams.token = binder;
198 IBinder binder = new Binder(); local
207 mLayoutParams.token = binder;
  /external/deqp/modules/glshared/
glsLifetimeTests.cpp 161 class QueryBinder : public Binder
164 QueryBinder (Context& ctx) : Binder(ctx) {}
274 Binder& binder = *getElementType().binder(); local
279 binder.enableLogging(false);
280 binder.bind(element);
282 binder.bind(0);
283 binder.enableLogging(true);
740 Binder& binder (void) { return *m_type.binder(); function in class:deqp::gls::LifetimeTests::details::LifeTest
972 const Binder* const binder = type.binder(); local
    [all...]

Completed in 2005 milliseconds

1 2 3 4 5 6 7 891011>>