Home | History | Annotate | Download | only in am

Lines Matching defs:Binder

131 import android.os.Binder;
395 public class PendingAssistExtras extends Binder implements Runnable {
1852 static class MemBinder extends Binder {
1863 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
1872 static class GraphicsBinder extends Binder {
1883 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
1892 static class DbBinder extends Binder {
1903 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
1912 static class CpuBinder extends Binder {
1923 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
2826 if (UserHandle.isIsolated(Binder.getCallingUid())) {
2968 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
2982 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
2998 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
3030 stack.mResumedActivity.info.applicationInfo.uid == Binder.getCallingUid()) {
3130 final long origId = Binder.clearCallingIdentity();
3135 Binder.restoreCallingIdentity(origId);
3149 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
3164 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
3176 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
3231 final long origId = Binder.clearCallingIdentity();
3241 Binder.restoreCallingIdentity(origId);
3259 * @param token The Binder token referencing the Activity we want to finish.
3295 final long origId = Binder.clearCallingIdentity();
3298 Binder.restoreCallingIdentity(origId);
3308 + Binder.getCallingPid()
3309 + ", uid=" + Binder.getCallingUid()
3342 + Binder.getCallingPid()
3343 + ", uid=" + Binder.getCallingUid()
3383 long ident = Binder.clearCallingIdentity();
3388 Binder.restoreCallingIdentity(ident);
3397 final long origId = Binder.clearCallingIdentity();
3402 Binder.restoreCallingIdentity(origId);
3409 final long origId = Binder.clearCallingIdentity();
3415 Binder.restoreCallingIdentity(origId);
3440 final long origId = Binder.clearCallingIdentity();
3448 Binder.restoreCallingIdentity(origId);
4000 int uid = Binder.getCallingUid();
4001 int pid = Binder.getCallingPid();
4004 long callingId = Binder.clearCallingIdentity();
4051 Binder.restoreCallingIdentity(callingId);
4063 + Binder.getCallingPid()
4064 + ", uid=" + Binder.getCallingUid()
4070 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(),
4072 long callingId = Binder.clearCallingIdentity();
4089 Binder.restoreCallingIdentity(callingId);
4098 + Binder.getCallingPid()
4099 + ", uid=" + Binder.getCallingUid()
4105 long callingId = Binder.clearCallingIdentity();
4137 Binder.restoreCallingIdentity(callingId);
4146 + Binder.getCallingPid()
4147 + ", uid=" + Binder.getCallingUid()
4152 final int callingPid = Binder.getCallingPid();
4153 userId = handleIncomingUser(callingPid, Binder.getCallingUid(),
4155 long callingId = Binder.clearCallingIdentity();
4184 Binder.restoreCallingIdentity(callingId);
4201 int callerUid = Binder.getCallingUid();
4223 final int pid = Binder.getCallingPid();
4224 final int uid = Binder.getCallingUid();
4225 final long origId = Binder.clearCallingIdentity();
4244 Binder.restoreCallingIdentity(origId);
4325 int callerUid = Binder.getCallingUid();
4913 int callingPid = Binder.getCallingPid();
4914 final long origId = Binder.clearCallingIdentity();
4916 Binder.restoreCallingIdentity(origId);
4922 final long origId = Binder.clearCallingIdentity();
4939 Binder.restoreCallingIdentity(origId);
4961 final long token = Binder.clearCallingIdentity();
4972 Binder.restoreCallingIdentity(token);
5070 final long origId = Binder.clearCallingIdentity();
5077 Binder.restoreCallingIdentity(origId);
5082 final long origId = Binder.clearCallingIdentity();
5089 Binder.restoreCallingIdentity(origId);
5105 final long origId = Binder.clearCallingIdentity();
5120 Binder.restoreCallingIdentity(origId);
5217 int callingUid = Binder.getCallingUid();
5219 userId = handleIncomingUser(Binder.getCallingPid(), callingUid, userId,
5234 + Binder.getCallingPid()
5235 + ", uid=" + Binder.getCallingUid()
5327 if (!UserHandle.isSameApp(uid, Binder.getCallingUid())) {
5329 + Binder.getCallingPid()
5330 + ", uid=" + Binder.getCallingUid()
5550 // We might be performing an operation on behalf of an indirect binder
5587 * Binder IPC calls go through the public entry point.
5592 Binder.getCallingPid(),
5593 UserHandle.getAppId(Binder.getCallingUid()));
5606 + Binder.getCallingPid()
5607 + ", uid=" + Binder.getCallingUid()
5758 // Another redirected-binder-call permissions check as in
6263 if (fromUid != Binder.getCallingUid()) {
6264 if (Binder.getCallingUid() != Process.myUid()) {
6413 final int callingUid = Binder.getCallingUid();
6437 final int callingUid = Binder.getCallingUid();
6496 final int callingUid = Binder.getCallingUid();
6600 + Binder.getCallingPid()
6601 + ", uid=" + Binder.getCallingUid()
6649 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
6762 long ident = Binder.clearCallingIdentity();
6770 Binder.restoreCallingIdentity(ident);
6840 long ident = Binder.clearCallingIdentity();
6861 Binder.restoreCallingIdentity(ident);
6877 if (!checkAppSwitchAllowedLocked(Binder.getCallingPid(),
6878 Binder.getCallingUid(), "Task to front")) {
6882 final long origId = Binder.clearCallingIdentity();
6886 Binder.restoreCallingIdentity(origId);
6903 if (!checkAppSwitchAllowedLocked(Binder.getCallingPid(),
6904 Binder.getCallingUid(), "Task to back")) {
6908 final long origId = Binder.clearCallingIdentity();
6912 Binder.restoreCallingIdentity(origId);
6931 final long origId = Binder.clearCallingIdentity();
6936 Binder.restoreCallingIdentity(origId);
6947 if (!checkAppSwitchAllowedLocked(Binder.getCallingPid(),
6948 Binder.getCallingUid(), "Task backwards")) {
6951 final long origId = Binder.clearCallingIdentity();
6953 Binder.restoreCallingIdentity(origId);
6968 long ident = Binder.clearCallingIdentity();
6977 Binder.restoreCallingIdentity(ident);
6991 long ident = Binder.clearCallingIdentity();
6997 Binder.restoreCallingIdentity(ident);
7006 long ident = Binder.clearCallingIdentity();
7010 Binder.restoreCallingIdentity(ident);
7063 long ident = Binder.clearCallingIdentity();
7074 Binder.restoreCallingIdentity(ident);
7082 long ident = Binder.clearCallingIdentity();
7097 Binder.restoreCallingIdentity(ident);
7115 final long origId = Binder.clearCallingIdentity();
7117 Binder.restoreCallingIdentity(origId);
7241 final int callingPid = (r != null) ? r.pid : Binder.getCallingPid();
7242 final int callingUid = (r != null) ? r.uid : Binder.getCallingUid();
7373 + " (pid=" + Binder.getCallingPid()
7400 final long origId = Binder.clearCallingIdentity();
7450 Binder.restoreCallingIdentity(origId);
7545 final long origId = Binder.clearCallingIdentity();
7586 Binder.restoreCallingIdentity(origId);
7648 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
7657 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(), userId,
7738 + " (pid=" + Binder.getCallingPid()
7742 final long origId = Binder.clearCallingIdentity();
7779 Binder.restoreCallingIdentity(origId);
7853 Slog.w(TAG, "unstableProviderDied: caller " + Binder.getCallingUid()
7876 final long ident = Binder.clearCallingIdentity();
7880 Binder.restoreCallingIdentity(ident);
7902 Binder.clearCallingIdentity();
7906 Binder.restoreCallingIdentity(token);
7946 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(),
7949 final long ident = Binder.clearCallingIdentity();
7964 Binder.restoreCallingIdentity(ident);
8051 final long origId = Binder.clearCallingIdentity();
8055 Binder.restoreCallingIdentity(origId);
8067 // We record the binder invoker's uid in thread-local storage before
8075 Binder.getCallingPid(), Binder.getCallingUid()));
8152 final long origId = Binder.clearCallingIdentity();
8161 Binder.restoreCallingIdentity(origId);
8206 long ident = Binder.clearCallingIdentity();
8212 Binder.restoreCallingIdentity(ident);
8271 long ident = Binder.clearCallingIdentity();
8300 Binder.restoreCallingIdentity(ident);
8369 final int callingPid = Binder.getCallingPid();
8497 if (activity.app.pid == Binder.getCallingPid()) {
8556 final long origId = Binder.clearCallingIdentity();
8571 Binder.restoreCallingIdentity(origId);
8577 final long origId = Binder.clearCallingIdentity();
8593 Binder.restoreCallingIdentity(origId);
8673 int MY_UID = Binder.getCallingUid();
8683 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
8736 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
8748 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
8756 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
8804 Slog.i(TAG, "Hanging system process at request of pid " + Binder.getCallingPid());
9247 long ident = Binder.clearCallingIdentity();
9270 Binder.restoreCallingIdentity(ident);
9468 EventLog.writeEvent(EventLogTags.AM_CRASH, Binder.getCallingPid(),
9469 UserHandle.getUserId(Binder.getCallingUid()), processName,
9501 // dup suppression, before the Binder call.
9517 final long origId = Binder.clearCallingIdentity();
9529 Binder.restoreCallingIdentity(origId);
9668 UserHandle.getUserId(Binder.getCallingUid()), Binder.getCallingPid(),
9708 + " from pid=" + Binder.getCallingPid()
9709 + " uid=" + Binder.getCallingUid() + ": " + app);
9894 int pid = r != null ? r.pid : Binder.getCallingPid();
9908 final long origId = Binder.clearCallingIdentity();
9920 Binder.restoreCallingIdentity(origId);
9927 Binder.restoreCallingIdentity(origId);
9939 Binder.restoreCallingIdentity(origId);
10018 Binder.getCallingUid()) == PackageManager.PERMISSION_GRANTED;
10019 int userId = UserHandle.getUserId(Binder.getCallingUid());
10107 Binder.getCallingUid()) == PackageManager.PERMISSION_GRANTED;
10108 int userId = UserHandle.getUserId(Binder.getCallingUid());
10178 proc = mPidsSelfLocked.get(Binder.getCallingPid());
10189 + Binder.getCallingPid()
10190 + ", uid=" + Binder.getCallingUid()
10239 long origId = Binder.clearCallingIdentity();
10365 Binder.restoreCallingIdentity(origId);
10399 Binder.restoreCallingIdentity(origId);
12362 final int callingPid = Binder.getCallingPid();
12363 final int callingUid = Binder.getCallingUid();
12365 final long origId = Binder.clearCallingIdentity();
12368 Binder.restoreCallingIdentity(origId);
12378 final long origId = Binder.clearCallingIdentity();
12381 Binder.restoreCallingIdentity(origId);
12394 checkValidCaller(Binder.getCallingUid(), userId);
12660 long oldIdent = Binder.clearCallingIdentity();
12671 Binder.restoreCallingIdentity(oldIdent);
12776 + " (pid=" + Binder.getCallingPid()
12788 callingUid = Binder.getCallingUid();
12789 callingPid = Binder.getCallingPid();
12887 final long origId = Binder.clearCallingIdentity();
12924 Binder.restoreCallingIdentity(origId);
13453 final int callingPid = Binder.getCallingPid();
13454 final int callingUid = Binder.getCallingUid();
13455 final long origId = Binder.clearCallingIdentity();
13461 Binder.restoreCallingIdentity(origId);
13473 final long origId = Binder.clearCallingIdentity();
13477 Binder.restoreCallingIdentity(origId);
13488 userId = handleIncomingUser(Binder.getCallingPid(),
13489 Binder.getCallingUid(), userId, true, false, "removeStickyBroadcast", null);
13495 + Binder.getCallingPid()
13496 + ", uid=" + Binder.getCallingUid()
13550 final long origId = Binder.clearCallingIdentity();
13568 Binder.restoreCallingIdentity(origId);
13581 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(),
13615 + Binder.getCallingPid()
13616 + ", uid=" + Binder.getCallingPid()
13624 final long origId = Binder.clearCallingIdentity();
13636 Binder.restoreCallingIdentity(origId);
13712 final long origId = Binder.clearCallingIdentity();
13714 Binder.restoreCallingIdentity(origId);
13763 final long origId = Binder.clearCallingIdentity();
13765 Binder.restoreCallingIdentity(origId);
13783 final long origId = Binder.clearCallingIdentity();
13788 Binder.restoreCallingIdentity(origId);
15055 long oldId = Binder.clearCallingIdentity();
15063 Binder.restoreCallingIdentity(oldId);
15720 userId = handleIncomingUser(Binder.getCallingPid(), Binder.getCallingUid(),
15822 + Binder.getCallingPid()
15823 + ", uid=" + Binder.getCallingUid()
15829 final long ident = Binder.clearCallingIdentity();
15949 Binder.restoreCallingIdentity(ident);
15956 long ident = Binder.clearCallingIdentity();
15986 Binder.restoreCallingIdentity(ident);
16127 + Binder.getCallingPid()
16128 + ", uid=" + Binder.getCallingUid()
16173 long ident = Binder.clearCallingIdentity();
16215 Binder.restoreCallingIdentity(ident);
16263 + Binder.getCallingPid()
16264 + ", uid=" + Binder.getCallingUid()
16283 + Binder.getCallingPid()
16284 + ", uid=" + Binder.getCallingUid()
16311 + Binder.getCallingPid()
16312 + ", uid=" + Binder.getCallingUid()
16349 + Binder.getCallingPid()
16350 + ", uid=" + Binder.getCallingUid()