HomeSort by relevance Sort by last modified time
    Searched refs:Binder (Results 26 - 50 of 236) sorted by null

12 3 4 5 6 7 8 910

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ShadowBinderTest.java 3 import android.os.Binder;
29 static class TestBinder extends Binder {
  /frameworks/base/core/java/android/app/
KeyguardManager.java 19 import android.os.Binder;
47 private IBinder mToken = new Binder();
  /frameworks/base/services/java/com/android/server/am/
ContentProviderConnection.java 19 import android.os.Binder;
26 public class ContentProviderConnection extends Binder {
UriPermissionOwner.java 21 import android.os.Binder;
31 Binder externalToken;
36 class ExternalToken extends Binder {
47 Binder getExternalTokenLocked() {
  /packages/apps/HTMLViewer/src/com/android/htmlviewer/
FileContentProvider.java 27 import android.os.Binder;
53 if (Process.myUid() != Binder.getCallingUid()) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/media/
RingtonePlayer.java 25 import android.os.Binder;
98 + Binder.getCallingUid() + ")");
104 final UserHandle user = Binder.getCallingUserHandle();
143 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
153 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
  /frameworks/base/services/java/com/android/server/wm/
Session.java 30 import android.os.Binder;
71 mUid = Binder.getCallingUid();
72 mPid = Binder.getCallingPid();
97 long ident = Binder.clearCallingIdentity();
117 Binder.restoreCallingIdentity(ident);
189 + Binder.getCallingPid());
195 + Binder.getCallingPid());
242 long ident = Binder.clearCallingIdentity();
248 Binder.restoreCallingIdentity(ident);
346 long ident = Binder.clearCallingIdentity()
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/provider/
GalleryProvider.java 26 import android.os.Binder;
90 long token = Binder.clearCallingIdentity();
96 Binder.restoreCallingIdentity(token);
116 long token = Binder.clearCallingIdentity();
131 Binder.restoreCallingIdentity(token);
175 long token = Binder.clearCallingIdentity();
191 Binder.restoreCallingIdentity(token);
  /frameworks/base/services/java/com/android/server/power/
PowerManagerService.java 42 import android.os.Binder;
574 @Override // Binder call
589 final int uid = Binder.getCallingUid();
590 final int pid = Binder.getCallingPid();
591 final long ident = Binder.clearCallingIdentity();
595 Binder.restoreCallingIdentity(ident);
652 @Override // Binder call
660 final long ident = Binder.clearCallingIdentity();
664 Binder.restoreCallingIdentity(ident);
729 @Override // Binder cal
    [all...]
  /frameworks/base/core/java/com/android/internal/os/
BinderInternal.java 19 import android.os.Binder;
33 * Private and debugging Binder APIs.
93 forceGc("Binder");
  /frameworks/base/services/java/com/android/server/display/
DisplayManagerService.java 28 import android.os.Binder;
403 @Override // Binder call
417 @Override // Binder call
429 @Override // Binder call
436 int callingPid = Binder.getCallingPid();
444 IBinder binder = callback.asBinder(); local
445 binder.linkToDeath(record, 0);
461 @Override // Binder call
463 final long token = Binder.clearCallingIdentity();
471 Binder.restoreCallingIdentity(token)
    [all...]
  /frameworks/base/services/java/com/android/server/
VibratorService.java 33 import android.os.Binder;
182 if (uid == Binder.getCallingUid()) {
185 if (Binder.getCallingPid() == Process.myPid()) {
189 Binder.getCallingPid(), Binder.getCallingUid(), null);
210 final long ident = Binder.clearCallingIdentity();
219 Binder.restoreCallingIdentity(ident);
241 long identity = Binder.clearCallingIdentity();
281 Binder.restoreCallingIdentity(identity);
291 long identity = Binder.clearCallingIdentity()
    [all...]
NotificationManagerService.java 53 import android.os.Binder;
137 final IBinder mForegroundToken = new Binder();
437 * Unchecked. Not exposed via Binder, but can be called in the course of enqueue*().
500 int uid = Binder.getCallingUid();
528 int uid = Binder.getCallingUid();
651 * Register a listener binder directly with the notification manager.
755 * Remove a listener binder directly
759 // no need to check permissions; if your listener binder is in the list,
    [all...]
  /cts/tests/src/android/app/cts/
LocalService.java 21 import android.os.Binder;
45 private final IBinder mBinder = new Binder() {
68 mReportObject = parcelable.binder;
  /development/samples/Alarm/src/com/example/android/newalarm/
AlarmService.java 24 import android.os.Binder;
38 * Runnable does a synchronized lock on the service's Binder object for 15 seconds, then issues
76 // A Binder, used as the lock object for the worker thread.
109 * Makes a full concrete subclass of Binder, rather than doing it in line, for readability.
111 public class AlarmBinder extends Binder {
168 // Returns the service's binder object to clients that issue onBind().
  /development/samples/ApiDemos/src/com/example/android/apis/app/
AlarmService_Service.java 28 import android.os.Binder;
123 private final IBinder mBinder = new Binder() {
NotifyingService.java 28 import android.os.Binder;
119 private final IBinder mBinder = new Binder() {
  /frameworks/base/core/java/android/os/
SystemVibrator.java 33 private final Binder mToken = new Binder();
Binder.java 36 * interface, having it generate the appropriate Binder subclass. You can,
37 * however, derive directly from Binder to implement your own custom RPC
38 * protocol or simply instantiate a raw Binder object directly to use as a
43 public class Binder implements IBinder {
46 * that extend this Binder class and that are not static. These kind
50 private static final String TAG = "Binder";
127 * here) for propagation via Binder calls. This is a little
146 * Flush any Binder commands pending in the current thread to the kernel
172 public Binder() {
176 final Class<? extends Binder> klass = getClass()
    [all...]
  /frameworks/base/core/java/android/os/storage/
IMountShutdownObserver.java 19 import android.os.Binder;
32 public static abstract class Stub extends Binder implements IMountShutdownObserver {
IObbActionListener.java 19 import android.os.Binder;
33 public static abstract class Stub extends Binder implements IObbActionListener {
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
PowerTest.java 19 import android.os.Binder;
33 IBinder mPokeToken = new Binder();
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
IccSmsInterfaceManager.java 24 import android.os.Binder;
168 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(),
219 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_ICC_SMS, Binder.getCallingUid(),
251 if (mAppOps.noteOp(AppOpsManager.OP_READ_ICC_SMS, Binder.getCallingUid(),
314 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(),
356 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(),
402 if (mAppOps.noteOp(AppOpsManager.OP_SEND_SMS, Binder.getCallingUid(),
  /packages/apps/Email/src/com/android/email/provider/
AttachmentProvider.java 37 import android.os.Binder;
100 long callingId = Binder.clearCallingIdentity();
124 Binder.restoreCallingIdentity(callingId);
162 long callingId = Binder.clearCallingIdentity();
221 Binder.restoreCallingIdentity(callingId);
245 long callingId = Binder.clearCallingIdentity();
298 Binder.restoreCallingIdentity(callingId);
  /frameworks/base/core/java/android/app/backup/
BackupAgent.java 25 import android.os.Binder;
551 // ----- IBackupService binder interface -----
561 long ident = Binder.clearCallingIdentity();
580 Binder.restoreCallingIdentity(ident);
594 long ident = Binder.clearCallingIdentity();
610 Binder.restoreCallingIdentity(ident);
623 long ident = Binder.clearCallingIdentity();
653 Binder.restoreCallingIdentity(ident);
666 long ident = Binder.clearCallingIdentity();
675 Binder.restoreCallingIdentity(ident)
    [all...]

Completed in 756 milliseconds

12 3 4 5 6 7 8 910