Home | History | Annotate | Download | only in wifi

Lines Matching refs:Binder

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();
604 Binder.restoreCallingIdentity(token);
622 final long token = Binder.clearCallingIdentity();
626 Binder.restoreCallingIdentity(token);
831 + Binder.getCallingPid()
832 + ", uid=" + Binder.getCallingUid());
877 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) {
878 super(lockMode, tag, binder, ws);
888 return "WifiLock{" + mTag + " type=" + mMode + " binder=" + mBinder + "}";
931 private WifiLock removeLock(IBinder binder) {
932 int index = findLockByBinder(binder);
942 private int findLockByBinder(IBinder binder) {
945 if (mList.get(i).mBinder == binder)
967 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) {
980 enforceWakeSourcePermission(Binder.getCallingUid(), Binder.getCallingPid());
983 ws = new WorkSource(Binder.getCallingUid());
985 WifiLock wifiLock = new WifiLock(lockMode, tag, binder, ws);
1016 long ident = Binder.clearCallingIdentity();
1036 Binder.restoreCallingIdentity(ident);
1041 int uid = Binder.getCallingUid();
1042 int pid = Binder.getCallingPid();
1049 long ident = Binder.clearCallingIdentity();
1063 Binder.restoreCallingIdentity(ident);
1083 long ident = Binder.clearCallingIdentity();
1102 Binder.restoreCallingIdentity(ident);
1115 DeathRecipient(int mode, String tag, IBinder binder, WorkSource ws) {
1119 mBinder = binder;
1134 Multicaster(String tag, IBinder binder) {
1135 super(Binder.getCallingUid(), tag, binder, null);
1149 return "Multicaster{" + mTag + " binder=" + mBinder + "}";
1170 public void acquireMulticastLock(IBinder binder, String tag) {
1175 mMulticasters.add(new Multicaster(tag, binder));
1183 int uid = Binder.getCallingUid();
1184 final long ident = Binder.clearCallingIdentity();
1189 Binder.restoreCallingIdentity(ident);
1196 int uid = Binder.getCallingUid();
1220 final long ident = Binder.clearCallingIdentity();
1225 Binder.restoreCallingIdentity(ident);