Home | History | Annotate | Download | only in phone

Lines Matching refs:Binder

31 import android.os.Binder;
240 * inbound binder threads to the main thread in the phone process. The Binder thread
1006 if (mAppOps.noteOp(AppOpsManager.OP_CALL_PHONE, Binder.getCallingUid(), callingPackage)
1506 if (mAppOps.noteOp(AppOpsManager.OP_COARSE_LOCATION, Binder.getCallingUid(),
1578 if (mAppOps.noteOp(AppOpsManager.OP_COARSE_LOCATION, Binder.getCallingUid(),
1583 if (mAppOps.noteOp(AppOpsManager.OP_NEIGHBORING_CELLS, Binder.getCallingUid(),
1614 if (mAppOps.noteOp(AppOpsManager.OP_COARSE_LOCATION, Binder.getCallingUid(),
1673 boolean self = Binder.getCallingUid() == Process.myUid();
1678 long ident = Binder.clearCallingIdentity();
1692 Binder.restoreCallingIdentity(ident);
1904 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage);
1925 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage);
1933 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage);
1941 mAppOps.checkPackage(Binder.getCallingUid(), callingPackage);
2719 final long identity = Binder.clearCallingIdentity();
2726 Binder.restoreCallingIdentity(identity);
2963 if (mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(),
2977 Binder.getCallingUid(), callingPackage) == AppOpsManager.MODE_ALLOWED) {
2987 Binder.getCallingUid(), callingPackage) == AppOpsManager.MODE_ALLOWED;
2991 throw new SecurityException(message + ": Neither user " + Binder.getCallingUid() +
3005 final long identity = Binder.clearCallingIdentity();
3019 Binder.restoreCallingIdentity(identity);
3085 final long identity = Binder.clearCallingIdentity();
3090 Binder.restoreCallingIdentity(identity);
3095 final long identity = Binder.clearCallingIdentity();
3100 Binder.restoreCallingIdentity(identity);
3345 + Binder.getCallingPid()
3346 + ", uid=" + Binder.getCallingUid()