HomeSort by relevance Sort by last modified time
    Searched defs:Binder (Results 1 - 25 of 42) sorted by null

1 2

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
BinderTest.java 7 import android.os.Binder;
21 assertThat(Binder.getCallingPid(), equalTo(47));
26 int pid = Binder.getCallingPid();
  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
VibratorServicePermissionTest.java 22 import android.os.Binder;
52 new Binder());
69 AudioManager.STREAM_ALARM, new Binder());
84 mVibratorService.cancelVibrate(new Binder());
  /cts/tests/tests/os/src/android/os/cts/
BinderTest.java 26 import android.os.Binder;
45 private Binder mStartReceiver;
55 mStartReceiver = new Binder() {
313 new Binder();
315 assertEquals(Process.myPid(), Binder.getCallingPid());
316 assertEquals(Process.myUid(), Binder.getCallingUid());
334 Binder.flushPendingCommands();
343 long token = Binder.clearCallingIdentity();
345 Binder.restoreCallingIdentity(token);
367 return new Binder();
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
TelecomServiceImpl.java 35 import android.os.Binder;
75 long token = Binder.clearCallingIdentity();
92 Binder.restoreCallingIdentity(token);
121 long token = Binder.clearCallingIdentity();
128 Binder.restoreCallingIdentity(token);
141 long token = Binder.clearCallingIdentity();
152 Binder.restoreCallingIdentity(token);
165 long token = Binder.clearCallingIdentity();
175 Binder.restoreCallingIdentity(token);
259 long token = Binder.clearCallingIdentity()
    [all...]
  /frameworks/base/core/java/android/os/
Looper.java 131 Binder.clearCallingIdentity();
132 final long ident = Binder.clearCallingIdentity();
156 final long newIdent = Binder.clearCallingIdentity();
Binder.java 38 * interface, having it generate the appropriate Binder subclass. You can,
39 * however, derive directly from Binder to implement your own custom RPC
40 * protocol or simply instantiate a raw Binder object directly to use as a
51 * could go away, and thus require that you later re-create a new Binder and re-attach
55 * create a new Binder and hand it back to the correct place again; you need to be
58 * to create a new Binder.</p>
62 public class Binder implements IBinder {
65 * that extend this Binder class and that are not static. These kind
70 static final String TAG = "Binder";
147 * here) for propagation via Binder calls. This is a littl
    [all...]
MessageQueue.java 320 Binder.flushPendingCommands();
  /external/deqp/modules/glshared/
glsLifetimeTests.hpp 98 class Binder : public ContextWrapper
101 virtual ~Binder (void) {}
107 Binder (const Context& ctx) : ContextWrapper(ctx) {}
110 class SimpleBinder : public Binder
118 : Binder (ctx)
143 virtual Binder* binder (void) const { return DE_NULL; } function in class:deqp::gls::LifetimeTests::details::Type
157 Binder* binder_ = DE_NULL, bool genCreates_ = false)
169 Binder* binder (void) const { return m_binder; function in class:deqp::gls::LifetimeTests::details::SimpleType
    [all...]
  /frameworks/base/core/java/android/database/
CursorWindow.java 24 import android.os.Binder;
112 recordNewWindow(Binder.getCallingPid(), mWindowPtr);
138 + "created from binder.");
  /frameworks/base/services/core/java/com/android/server/
Watchdog.java 20 import android.os.Binder;
193 /** Monitor for checking the availability of binder threads. The monitor will block until
194 * there is a binder thread available to process in coming IPCs to make sure other processes
200 Binder.blockUntilThreadAvailable();
242 // Initialize monitor for Binder threads.
457 Binder.setDumpDisabled("Service dumps disabled due to hung system process.");
MountService.java 48 import android.os.Binder;
474 // Token of remote Binder caller
507 sb.append(",binder=").append(getBinder());
752 final long token = Binder.clearCallingIdentity();
765 Binder.restoreCallingIdentity(token);
2717 final IBinder binder = obbState.getBinder(); local
2753 final IBinder binder = obbState.getBinder(); local
    [all...]
  /frameworks/base/services/core/java/com/android/server/clipboard/
ClipboardService.java 37 import android.os.Binder;
165 final int callingUid = Binder.getCallingUid();
206 final long origId = Binder.clearCallingIdentity();
213 Binder.restoreCallingIdentity(origId);
224 final long ident = Binder.clearCallingIdentity();
243 Binder.restoreCallingIdentity(ident);
249 if (mAppOps.noteOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
253 addActiveOwnerLocked(Binder.getCallingUid(), pkg);
260 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
271 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid()
    [all...]
  /frameworks/base/core/java/android/content/
ContentProvider.java 37 import android.os.Binder;
187 * Binder object that deals with remoting.
520 if (getContext().checkPermission(permission, Binder.getCallingPid(), Binder.getCallingUid(),
537 final int pid = Binder.getCallingPid();
538 final int uid = Binder.getCallingUid();
614 final int pid = Binder.getCallingPid();
615 final int uid = Binder.getCallingUid();
712 * @see Binder#getCallingUid()
720 mTransport.mAppOpsManager.checkPackage(Binder.getCallingUid(), pkg)
    [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/opt/net/voip/src/java/com/android/server/sip/
SipService.java 36 import android.os.Binder;
147 localProfile.setCallingUid(Binder.getCallingUid());
164 localProfile.setCallingUid(Binder.getCallingUid());
187 return (profile.getCallingUid() == Binder.getCallingUid());
195 return (Binder.getCallingUid() == Process.PHONE_UID);
269 localProfile.setCallingUid(Binder.getCallingUid());
470 return mAppOps.noteOp(AppOpsManager.OP_USE_SIP, Binder.getCallingUid(),
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageInstallerService.java 59 import android.os.Binder;
575 final int callingUid = Binder.getCallingUid();
646 final long ident = Binder.clearCallingIdentity();
651 Binder.restoreCallingIdentity(ident);
    [all...]
PackageManagerService.java 148 import android.os.Binder;
    [all...]
  /frameworks/base/services/appwidget/java/com/android/server/appwidget/
AppWidgetServiceImpl.java 49 import android.os.Binder;
452 + Binder.getCallingPid()
453 + ", uid=" + Binder.getCallingUid());
504 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage);
540 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage);
572 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage);
610 Binder.getCallingUid(), callingPackage);
698 Binder.getCallingUid(), callingPackage);
718 final long identity = Binder.clearCallingIdentity();
726 Binder.restoreCallingIdentity(identity)
    [all...]
  /external/valgrind/VEX/pub/
libvex_ir.h 1935 Int binder; member in struct:_IRExpr::__anon20052::__anon20053
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java 56 import android.os.Binder;
    [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
sisu-guice-3.1.3-no_aop.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/
sisu-guice-2.1.7-noaop.jar 
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/10/
android.jar 

Completed in 625 milliseconds

1 2