/frameworks/base/core/java/android/service/dreams/ |
D | DreamManagerService.java | 15 import android.os.Binder; 46 private Binder mCurrentDreamToken; 57 throw new SecurityException("Access denied to process: " + Binder.getCallingPid() in checkPermission() 67 final long ident = Binder.clearCallingIdentity(); in dream() 71 Binder.restoreCallingIdentity(ident); in dream() 100 + " pid=" + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()); in testDream() 103 final long ident = Binder.clearCallingIdentity(); in testDream() 107 Binder.restoreCallingIdentity(ident); in testDream() 124 + " pid=" + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()); in bindDreamComponentL() 138 mCurrentDreamToken = new Binder(); in bindDreamComponentL()
|
/frameworks/base/services/java/com/android/server/ |
D | UpdateLockService.java | 22 import android.os.Binder; 75 long oldIdent = Binder.clearCallingIdentity(); in sendLockChangedBroadcast() 83 Binder.restoreCallingIdentity(oldIdent); in sendLockChangedBroadcast() 109 + " uid=" + Binder.getCallingUid() in makeTag() 110 + " pid=" + Binder.getCallingPid() + '}'; in makeTag() 118 + Binder.getCallingPid() in dump() 119 + ", uid=" + Binder.getCallingUid()); in dump()
|
D | NotificationManagerService.java | 44 import android.os.Binder; 114 final IBinder mForegroundToken = new Binder(); 407 long identity = Binder.clearCallingIdentity(); 415 Binder.restoreCallingIdentity(identity); 418 identity = Binder.clearCallingIdentity(); 422 Binder.restoreCallingIdentity(identity); 448 long identity = Binder.clearCallingIdentity(); 456 Binder.restoreCallingIdentity(identity); 461 identity = Binder.clearCallingIdentity(); 465 Binder.restoreCallingIdentity(identity); [all …]
|
D | ClipboardService.java | 33 import android.os.Binder; 144 checkDataOwnerLocked(clip, Binder.getCallingUid()); in setPrimaryClip() 164 addActiveOwnerLocked(Binder.getCallingUid(), pkg); in getPrimaryClip() 209 long ident = Binder.clearCallingIdentity(); in checkUriOwnerLocked() 215 Binder.restoreCallingIdentity(ident); in checkUriOwnerLocked() 237 long ident = Binder.clearCallingIdentity(); in grantUriLocked() 243 Binder.restoreCallingIdentity(ident); in grantUriLocked() 279 long ident = Binder.clearCallingIdentity(); in revokeUriLocked() 286 Binder.restoreCallingIdentity(ident); in revokeUriLocked()
|
D | WifiService.java | 48 import android.os.Binder; 545 int uid = Binder.getCallingUid(); in startScan() 581 Slog.d(TAG, "setWifiEnabled: " + enable + " pid=" + Binder.getCallingPid() in setWifiEnabled() 582 + ", uid=" + Binder.getCallingUid()); in setWifiEnabled() 597 long ident = Binder.clearCallingIdentity(); in setWifiEnabled() 599 Binder.restoreCallingIdentity(ident); in setWifiEnabled() 1173 + Binder.getCallingPid() in dump() 1174 + ", uid=" + Binder.getCallingUid()); in dump() 1321 enforceWakeSourcePermission(Binder.getCallingUid(), Binder.getCallingPid()); in acquireWifiLock() 1324 ws = new WorkSource(Binder.getCallingUid()); in acquireWifiLock() [all …]
|
D | TelephonyRegistry.java | 24 import android.os.Binder; 543 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()); in dump() 576 long ident = Binder.clearCallingIdentity(); in broadcastServiceStateChanged() 582 Binder.restoreCallingIdentity(ident); in broadcastServiceStateChanged() 593 long ident = Binder.clearCallingIdentity(); in broadcastSignalStrengthChanged() 599 Binder.restoreCallingIdentity(ident); in broadcastSignalStrengthChanged() 611 long ident = Binder.clearCallingIdentity(); in broadcastCallStateChanged() 621 Binder.restoreCallingIdentity(ident); in broadcastCallStateChanged() 677 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid(); in checkNotifyPermission()
|
D | PowerManagerService.java | 43 import android.os.Binder; 368 mToken = new Binder(); in UnsynchronizedWakeLock() 374 long ident = Binder.clearCallingIdentity(); in acquire() 380 Binder.restoreCallingIdentity(ident); in acquire() 537 long token = Binder.clearCallingIdentity(); in PowerManagerService() 540 Binder.restoreCallingIdentity(token); in PowerManagerService() 797 int uid = Binder.getCallingUid(); in acquireWakeLock() 798 int pid = Binder.getCallingPid(); in acquireWakeLock() 805 long ident = Binder.clearCallingIdentity(); in acquireWakeLock() 811 Binder.restoreCallingIdentity(ident); in acquireWakeLock() [all …]
|
D | DevicePolicyManagerService.java | 46 import android.os.Binder; 490 long token = Binder.clearCallingIdentity(); in setExpirationAlarmCheckLocked() 501 Binder.restoreCallingIdentity(token); in setExpirationAlarmCheckLocked() 533 final int callingUid = Binder.getCallingUid(); in getActiveAdminForCallerLocked() 541 + Binder.getCallingUid()); in getActiveAdminForCallerLocked() 558 + Binder.getCallingUid() + " for policy #" + reqPolicy); in getActiveAdminForCallerLocked() 877 long token = Binder.clearCallingIdentity(); in syncDeviceCapabilitiesLocked() 884 Binder.restoreCallingIdentity(token); in syncDeviceCapabilitiesLocked() 928 long ident = Binder.clearCallingIdentity(); in setActiveAdmin() 954 Binder.restoreCallingIdentity(ident); in setActiveAdmin() [all …]
|
D | VibratorService.java | 32 import android.os.Binder; 162 int uid = Binder.getCallingUid(); in vibrate() 197 int uid = Binder.getCallingUid(); in vibratePattern() 199 long identity = Binder.clearCallingIdentity(); in vibratePattern() 239 Binder.restoreCallingIdentity(identity); in vibratePattern() 249 long identity = Binder.clearCallingIdentity(); in cancelVibrate() 260 Binder.restoreCallingIdentity(identity); in cancelVibrate()
|
D | TextServicesManagerService.java | 35 import android.os.Binder; 295 final int uid = Binder.getCallingUid(); in getSpellCheckerService() 336 final long ident = Binder.clearCallingIdentity(); in getSpellCheckerService() 341 Binder.restoreCallingIdentity(ident); in getSpellCheckerService() 460 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerLocked() 466 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerLocked() 482 final long ident = Binder.clearCallingIdentity(); in setCurrentSpellCheckerSubtypeLocked() 487 Binder.restoreCallingIdentity(ident); in setCurrentSpellCheckerSubtypeLocked() 495 final long ident = Binder.clearCallingIdentity(); in setSpellCheckerEnabledLocked() 500 Binder.restoreCallingIdentity(ident); in setSpellCheckerEnabledLocked() [all …]
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | VibratorServicePermissionTest.java | 21 import android.os.Binder; 49 mVibratorService.vibrate(2000, new Binder()); in testVibrate() 65 mVibratorService.vibratePattern(new long[] {0}, 0, new Binder()); in testVibratePattern() 80 mVibratorService.cancelVibrate(new Binder()); in testCancelVibrate()
|
D | ServiceManagerPermissionTests.java | 21 import android.os.Binder; 39 Binder binder = new Binder(); in testAddService()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Session.java | 29 import android.os.Binder; 66 mUid = Binder.getCallingUid(); in Session() 67 mPid = Binder.getCallingPid(); in Session() 83 long ident = Binder.clearCallingIdentity(); in Session() 103 Binder.restoreCallingIdentity(ident); in Session() 157 + Binder.getCallingPid()); in relayout() 163 + Binder.getCallingPid()); in relayout() 210 long ident = Binder.clearCallingIdentity(); in performHapticFeedback() 216 Binder.restoreCallingIdentity(ident); in performHapticFeedback() 312 long ident = Binder.clearCallingIdentity(); in reportDropResult() [all …]
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
D | FakeCoreService.java | 21 import android.os.Binder; 25 final Binder mBinder = new Binder();
|
/frameworks/base/core/java/android/os/ |
D | SchedulingPolicyService.java | 21 import android.os.Binder; 49 if (Binder.getCallingUid() != Process.MEDIA_UID || prio < PRIORITY_MIN || in requestPriority() 55 Process.setThreadGroup(tid, Binder.getCallingPid() == pid ? in requestPriority()
|
D | Looper.java | 120 Binder.clearCallingIdentity(); in loop() 121 final long ident = Binder.clearCallingIdentity(); in loop() 145 final long newIdent = Binder.clearCallingIdentity(); in loop()
|
D | SystemVibrator.java | 30 private final Binder mToken = new Binder();
|
/frameworks/base/services/java/com/android/server/am/ |
D | ProviderMap.java | 20 import android.os.Binder; 63 Slog.i(TAG, "getProviderByName: " + name + " , callingUid = " + Binder.getCallingUid()); in getProviderByName() 81 Slog.i(TAG, "getProviderByClass: " + name + ", callingUid = " + Binder.getCallingUid()); in getProviderByClass() 95 Slog.i(TAG, "putProviderByName: " + name + " , callingUid = " + Binder.getCallingUid() in putProviderByName() 108 Slog.i(TAG, "putProviderByClass: " + name + " , callingUid = " + Binder.getCallingUid() in putProviderByClass() 129 + (optionalUserId == -1 ? Binder.getOrigCallingUser() : optionalUserId)); in removeProviderByName() 143 + (optionalUserId == -1 ? Binder.getOrigCallingUser() : optionalUserId)); in removeProviderByClass() 150 ? optionalUserId : Binder.getOrigCallingUser(); in getProvidersByName() 163 ? optionalUserId : Binder.getOrigCallingUser(); in getProvidersByClass()
|
D | UriPermissionOwner.java | 21 import android.os.Binder; 31 Binder externalToken; 36 class ExternalToken extends Binder { 47 Binder getExternalTokenLocked() { in getExternalTokenLocked()
|
D | ActivityManagerService.java | 91 import android.os.Binder; 1430 static class MemBinder extends Binder { 1441 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in dump() 1451 static class GraphicsBinder extends Binder { 1462 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in dump() 1471 static class DbBinder extends Binder { 1482 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in dump() 1491 static class CpuBinder extends Binder { 1502 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid() in dump() 2225 if (UserId.isIsolated(Binder.getCallingUid())) { in enforceNotIsolatedCaller() [all …]
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
D | NfcExecutionEnvironment.java | 21 import android.os.Binder; 29 private final Binder mToken; 115 mToken = new Binder(); in NfcExecutionEnvironment()
|
/frameworks/base/core/java/android/app/backup/ |
D | BackupAgent.java | 24 import android.os.Binder; 484 long ident = Binder.clearCallingIdentity(); in doBackup() 498 Binder.restoreCallingIdentity(ident); in doBackup() 512 long ident = Binder.clearCallingIdentity(); in doRestore() 525 Binder.restoreCallingIdentity(ident); in doRestore() 538 long ident = Binder.clearCallingIdentity(); in doFullBackup() 561 Binder.restoreCallingIdentity(ident); in doFullBackup() 574 long ident = Binder.clearCallingIdentity(); in doRestoreFile() 580 Binder.restoreCallingIdentity(ident); in doRestoreFile()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManagerService.java | 43 import android.os.Binder; 405 + ", caller's uid " + Binder.getCallingUid() in getPassword() 406 + ", pid " + Binder.getCallingPid()); in getPassword() 445 + ", caller's uid " + Binder.getCallingUid() in getUserData() 446 + ", pid " + Binder.getCallingPid()); in getUserData() 463 + "caller's uid " + Binder.getCallingUid() in getAuthenticatorTypes() 464 + ", pid " + Binder.getCallingPid()); in getAuthenticatorTypes() 487 + ", caller's uid " + Binder.getCallingUid() in addAccount() 488 + ", pid " + Binder.getCallingPid()); in addAccount() 565 + ", caller's uid " + Binder.getCallingUid() in hasFeatures() [all …]
|
/frameworks/base/services/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 46 import android.os.Binder; 425 return (OWN_PROCESS_ID != Binder.getCallingPid()); in sendAccessibilityEvent() 1358 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfoByViewId() 1359 final long identityToken = Binder.clearCallingIdentity(); in findAccessibilityNodeInfoByViewId() 1369 Binder.restoreCallingIdentity(identityToken); in findAccessibilityNodeInfoByViewId() 1402 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfosByText() 1403 final long identityToken = Binder.clearCallingIdentity(); in findAccessibilityNodeInfosByText() 1413 Binder.restoreCallingIdentity(identityToken); in findAccessibilityNodeInfosByText() 1446 final int interrogatingPid = Binder.getCallingPid(); in findAccessibilityNodeInfoByAccessibilityId() 1447 final long identityToken = Binder.clearCallingIdentity(); in findAccessibilityNodeInfoByAccessibilityId() [all …]
|
/frameworks/base/services/java/com/android/server/connectivity/ |
D | Vpn.java | 35 import android.os.Binder; 115 long identity = Binder.clearCallingIdentity(); in prepare() 118 Binder.restoreCallingIdentity(identity); in prepare() 152 if (Binder.getCallingUid() != app.uid) { in protect() 175 if (Binder.getCallingUid() != app.uid) { in establish() 245 long identity = Binder.clearCallingIdentity(); in establish() 248 Binder.restoreCallingIdentity(identity); in establish() 274 long identity = Binder.clearCallingIdentity(); in interfaceRemoved() 277 Binder.restoreCallingIdentity(identity); in interfaceRemoved() 296 if (Binder.getCallingUid() == Process.SYSTEM_UID) { in enforceControlPermission() [all …]
|