/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeCoreService.java | 21 import android.os.Binder; 25 final Binder mBinder = new Binder();
|
/cts/tests/src/android/os/cts/ |
EmptyService.java | 21 import android.os.Binder; 26 private final Binder mToken = new Binder();;
|
/external/robolectric/src/main/java/android/os/ |
ShadowBinderBridge.java | 7 private Binder realBinder; 9 public ShadowBinderBridge(Binder realBinder) {
|
/frameworks/base/core/java/android/hardware/location/ |
GeofenceHardwareService.java | 24 import android.os.Binder; 89 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 99 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 107 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 115 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType); 124 checkPermission(Binder.getCallingPid(), Binder.getCallingUid(), monitoringType) [all...] |
/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();
|
RemoteCallbackListTest.java | 3 import android.os.Binder; 32 return new Binder();
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ServiceUserTarget.java | 21 import android.os.Binder; 27 Binder mBinder = new Binder();
|
SingleUserService.java | 21 import android.os.Binder; 27 Binder mBinder = new Binder();
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
VibratorServicePermissionTest.java | 21 import android.os.Binder; 50 mVibratorService.vibrate(Process.myUid(), null, 2000, new Binder()); 66 mVibratorService.vibratePattern(Process.myUid(), null, new long[] {0}, 0, new Binder()); 81 mVibratorService.cancelVibrate(new Binder());
|
ServiceManagerPermissionTests.java | 21 import android.os.Binder; 39 Binder binder = new Binder(); local 40 ServiceManager.addService("activity", binder);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBinder.java | 3 import android.os.Binder; 12 @Implements(android.os.Binder.class) 15 Binder realObject;
|
/frameworks/base/services/java/com/android/server/os/ |
SchedulingPolicyService.java | 20 import android.os.Binder; 48 if (Binder.getCallingUid() != Process.MEDIA_UID || prio < PRIORITY_MIN || 54 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ?
|
/cts/tests/src/android/app/cts/ |
MockService.java | 21 import android.os.Binder; 28 public class MockBinder extends Binder {
|
IntentServiceStub.java | 22 import android.os.Binder; 86 return new Binder();
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
BatchService.java | 21 import android.os.Binder; 28 public class LocalBinder extends Binder {
|
/frameworks/base/core/java/android/app/ |
UiAutomationConnection.java | 24 import android.os.Binder; 52 private final Binder mToken = new Binder(); 71 mOwningUid = Binder.getCallingUid(); 100 final long identity = Binder.clearCallingIdentity(); 104 Binder.restoreCallingIdentity(identity); 115 final long identity = Binder.clearCallingIdentity(); 126 Binder.restoreCallingIdentity(identity); 138 final long identity = Binder.clearCallingIdentity(); 142 Binder.restoreCallingIdentity(identity) [all...] |
/frameworks/base/services/java/com/android/server/ |
UpdateLockService.java | 22 import android.os.Binder; 76 long oldIdent = Binder.clearCallingIdentity(); 84 Binder.restoreCallingIdentity(oldIdent); 110 + " uid=" + Binder.getCallingUid() 111 + " pid=" + Binder.getCallingPid() + '}'; 119 + Binder.getCallingPid() 120 + ", uid=" + Binder.getCallingUid());
|
ClipboardService.java | 36 import android.os.Binder; 157 if (mAppOps.noteOp(AppOpsManager.OP_WRITE_CLIPBOARD, Binder.getCallingUid(), 161 checkDataOwnerLocked(clip, Binder.getCallingUid()); 187 if (mAppOps.noteOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(), 191 addActiveOwnerLocked(Binder.getCallingUid(), pkg); 198 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(), 209 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(), 221 new ListenerInfo(Binder.getCallingUid(), callingPackage)); 233 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(), 250 long ident = Binder.clearCallingIdentity() [all...] |
/frameworks/base/services/java/com/android/server/dreams/ |
DreamManagerService.java | 29 import android.os.Binder; 63 private Binder mCurrentDreamToken; 108 @Override // Binder call 113 final long ident = Binder.clearCallingIdentity(); 117 Binder.restoreCallingIdentity(ident); 121 @Override // Binder call 126 final long ident = Binder.clearCallingIdentity(); 133 Binder.restoreCallingIdentity(ident); 137 @Override // Binder call 142 final long ident = Binder.clearCallingIdentity() [all...] |
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputBindingTest.java | 20 import android.os.Binder; 32 Binder binder = new Binder(); local 35 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid); 38 assertSame(binder, inputBinding.getConnectionToken()); 51 assertSame(binder, target.getConnectionToken());
|
/cts/tests/tests/os/src/android/os/cts/ |
BinderTest.java | 28 import android.os.Binder; 47 private Binder mStartReceiver; 56 mStartReceiver = new Binder() { 314 new Binder(); 316 assertEquals(Process.myPid(), Binder.getCallingPid()); 317 assertEquals(Process.myUid(), Binder.getCallingUid()); 335 Binder.flushPendingCommands(); 344 long token = Binder.clearCallingIdentity(); 346 Binder.restoreCallingIdentity(token); 368 return new Binder(); [all...] |
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
NfcExecutionEnvironment.java | 21 import android.os.Binder; 29 private final Binder mToken; 124 mToken = new Binder();
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiService.java | 40 import android.os.Binder; 302 mWifiStateMachine.startScan(Binder.getCallingUid()); 336 Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid() 337 + ", uid=" + Binder.getCallingUid()); 347 long ident = Binder.clearCallingIdentity(); 354 Binder.restoreCallingIdentity(ident); 552 int uid = Binder.getCallingUid(); 553 long ident = Binder.clearCallingIdentity(); 566 Binder.restoreCallingIdentity(ident); 600 final long token = Binder.clearCallingIdentity() 1135 super(Binder.getCallingUid(), tag, binder, null); local [all...] |
/cts/tests/src/android/content/cts/ |
MockContextWrapperService.java | 22 import android.os.Binder; 39 private final IBinder mBinder = new Binder();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalService.java | 24 import android.os.Binder; 57 public class LocalBinder extends Binder {
|