Home | History | Annotate | Download | only in telecom

Lines Matching defs:Binder

38 import android.os.Binder;
95 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
96 long token = Binder.clearCallingIdentity();
104 Binder.restoreCallingIdentity(token);
117 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
135 UserHandle callingUserHandle = Binder.getCallingUserHandle();
136 long token = Binder.clearCallingIdentity();
144 Binder.restoreCallingIdentity(token);
161 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
162 long token = Binder.clearCallingIdentity();
170 Binder.restoreCallingIdentity(token);
186 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
187 long token = Binder.clearCallingIdentity();
195 Binder.restoreCallingIdentity(token);
212 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(),
218 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
219 long token = Binder.clearCallingIdentity();
227 Binder.restoreCallingIdentity(token);
238 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
239 long token = Binder.clearCallingIdentity();
248 Binder.restoreCallingIdentity(token);
257 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
258 long token = Binder.clearCallingIdentity();
272 Binder.restoreCallingIdentity(token);
286 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(),
315 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(),
320 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
321 long token = Binder.clearCallingIdentity();
328 Binder.restoreCallingIdentity(token);
344 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(),
350 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
351 long token = Binder.clearCallingIdentity();
358 Binder.restoreCallingIdentity(token);
370 long token = Binder.clearCallingIdentity();
376 Binder.restoreCallingIdentity(token);
388 final int callingUid = Binder.getCallingUid();
389 long token = Binder.clearCallingIdentity();
396 Binder.restoreCallingIdentity(token);
444 final long token = Binder.clearCallingIdentity();
448 Binder.restoreCallingIdentity(token);
468 final long token = Binder.clearCallingIdentity();
472 Binder.restoreCallingIdentity(token);
490 .clearAccounts(packageName, Binder.getCallingUserHandle());
512 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
518 long token = Binder.clearCallingIdentity();
525 Binder.restoreCallingIdentity(token);
545 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
580 final UserHandle callingUserHandle = Binder.getCallingUserHandle();
587 long token = Binder.clearCallingIdentity();
596 Binder.restoreCallingIdentity(token);
614 long token = Binder.clearCallingIdentity();
620 Binder.restoreCallingIdentity(token);
657 final long token = Binder.clearCallingIdentity();
662 Binder.restoreCallingIdentity(token);
774 if (!enforceAnswerCallPermission(callingPackage, Binder.getCallingUid())) {
778 long token = Binder.clearCallingIdentity();
782 Binder.restoreCallingIdentity(token);
798 if (!enforceAnswerCallPermission(packageName, Binder.getCallingUid())) return;
800 long token = Binder.clearCallingIdentity();
804 Binder
821 if (!enforceAnswerCallPermission(packageName, Binder.getCallingUid())) return;
823 long token = Binder.clearCallingIdentity();
827 Binder.restoreCallingIdentity(token);
848 long token = Binder.clearCallingIdentity();
852 Binder.restoreCallingIdentity(token);
869 UserHandle userHandle = Binder.getCallingUserHandle();
870 long token = Binder.clearCallingIdentity();
874 Binder.restoreCallingIdentity(token);
893 long token = Binder.clearCallingIdentity();
898 Binder.restoreCallingIdentity(token);
919 UserHandle callingUserHandle = Binder.getCallingUserHandle();
928 long token = Binder.clearCallingIdentity();
935 Binder.restoreCallingIdentity(token);
955 Binder.getCallingUserHandle())) {
962 long token = Binder.clearCallingIdentity();
969 Binder.restoreCallingIdentity(token);
1038 Binder.getCallingUid(),
1043 Binder.getCallingUserHandle());
1056 long token = Binder.clearCallingIdentity();
1069 Binder.restoreCallingIdentity(token);
1095 Binder.getCallingUid(),
1099 Binder.getCallingUserHandle());
1109 Binder.getCallingUid())) {
1114 long token = Binder.clearCallingIdentity();
1118 Binder.restoreCallingIdentity(token);
1141 EventLog.writeEvent(0x534e4554, "62347125", Binder.getCallingUid(),
1150 Binder.getCallingUid(),
1156 Binder.getCallingUserHandle());
1157 long token = Binder.clearCallingIdentity();
1170 Binder.restoreCallingIdentity(token);
1229 Binder.getCallingUid(), callingPackage) == AppOpsManager.MODE_ALLOWED;
1242 final UserHandle userHandle = Binder.getCallingUserHandle();
1243 long token = Binder.clearCallingIdentity();
1257 Binder.restoreCallingIdentity(token);
1274 long token = Binder.clearCallingIdentity();
1279 Binder.restoreCallingIdentity(token);
1294 long token = Binder.clearCallingIdentity();
1308 Binder.restoreCallingIdentity(token);
1340 "from from pid=" + Binder.getCallingPid() + ", uid=" +
1341 Binder.getCallingUid());
1392 long token = Binder.clearCallingIdentity();
1396 Binder.restoreCallingIdentity(token);
1413 long token = Binder.clearCallingIdentity();
1417 Binder.restoreCallingIdentity(token);
1436 long token = Binder.clearCallingIdentity();
1441 Binder.restoreCallingIdentity(token);
1537 int uid = Binder.getCallingUid();
1601 EventLog.writeEvent(0x534e4554, "26864502", Binder.getCallingUid(), "R");
1605 EventLog.writeEvent(0x534e4554, "26864502", Binder.getCallingUid(), "E");
1641 mAppOpsManager.checkPackage(Binder.getCallingUid(), packageName);
1675 if (!Binder.getCallingUserHandle().equals(accountHandle.getUserHandle())) {
1714 Binder.getCallingUid(), callingPackage) == AppOpsManager.MODE_ALLOWED;
1739 Binder.getCallingUid(), callingPackage) == AppOpsManager.MODE_ALLOWED;
1743 long token = Binder.clearCallingIdentity();
1748 Binder.restoreCallingIdentity(token);
1754 Binder.getCallingUid(), accountHandle.getComponentName().getPackageName());
1763 mAppOpsManager.checkPackage(Binder.getCallingUid(), callingPackage);
1765 callingPackage, Binder.getCallingUserHandle().getIdentifier());