/frameworks/base/services/java/com/android/server/ |
TextServicesManagerService.java | 40 import android.os.Binder; 219 final int uid = Binder.getCallingUid(); 406 final int uid = Binder.getCallingUid(); 447 final long ident = Binder.clearCallingIdentity(); 452 Binder.restoreCallingIdentity(ident); 590 final long ident = Binder.clearCallingIdentity(); 595 Binder.restoreCallingIdentity(ident); 611 final long ident = Binder.clearCallingIdentity(); 615 Binder.restoreCallingIdentity(ident); 623 final long ident = Binder.clearCallingIdentity() [all...] |
WallpaperManagerService.java | 43 import android.os.Binder; 135 long origId = Binder.clearCallingIdentity(); 138 Binder.restoreCallingIdentity(origId); 216 final Binder mToken = new Binder(); 272 long ident = Binder.clearCallingIdentity(); 276 Binder.restoreCallingIdentity(ident); 576 final long ident = Binder.clearCallingIdentity(); 589 Binder.restoreCallingIdentity(ident); 609 long ident = Binder.clearCallingIdentity() [all...] |
BluetoothManagerService.java | 35 import android.os.Binder; 347 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 380 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); 395 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 412 long callingIdentity = Binder.clearCallingIdentity(); 414 Binder.restoreCallingIdentity(callingIdentity); 424 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 438 long callingIdentity = Binder.clearCallingIdentity(); 440 Binder.restoreCallingIdentity(callingIdentity); 536 if ((Binder.getCallingUid() != Process.SYSTEM_UID) & [all...] |
DevicePolicyManagerService.java | 52 import android.os.Binder; 590 long token = Binder.clearCallingIdentity(); 602 Binder.restoreCallingIdentity(token); 634 final int callingUid = Binder.getCallingUid(); 644 + Binder.getCallingUid()); 661 + Binder.getCallingUid() + " for policy #" + reqPolicy); [all...] |
TelephonyRegistry.java | 27 import android.os.Binder; 69 IBinder binder; field in class:TelephonyRegistry.Record 211 if (b == r.binder) { 216 r.binder = b; 230 remove(r.binder); 239 remove(r.binder); 246 remove(r.binder); 253 remove(r.binder); 261 remove(r.binder); 268 remove(r.binder); [all...] |
EntropyMixer.java | 30 import android.os.Binder; 52 public class EntropyMixer extends Binder {
|
RecognitionManagerService.java | 30 import android.os.Binder; 40 public class RecognitionManagerService extends Binder {
|
AppOpsService.java | 37 import android.os.Binder; 250 Binder.getCallingPid(), Binder.getCallingUid(), null); 275 Binder.getCallingPid(), Binder.getCallingUid(), null); 379 Binder.getCallingPid(), Binder.getCallingUid(), null); 580 if (uid == Binder.getCallingUid()) { 583 if (Binder.getCallingPid() == Process.myPid()) { 587 Binder.getCallingPid(), Binder.getCallingUid(), null) [all...] |
/frameworks/base/services/java/com/android/server/accounts/ |
AccountManagerService.java | 55 import android.os.Binder; 468 + ", caller's uid " + Binder.getCallingUid() 469 + ", pid " + Binder.getCallingPid()); 508 + ", caller's uid " + Binder.getCallingUid() 509 + ", pid " + Binder.getCallingPid()); 526 + "caller's uid " + Binder.getCallingUid() 527 + ", pid " + Binder.getCallingPid()); 552 + ", caller's uid " + Binder.getCallingUid() 553 + ", pid " + Binder.getCallingPid()); 752 + ", caller's uid " + Binder.getCallingUid( [all...] |
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 25 import android.os.Binder; 464 if (Binder.getCallingPid() == Process.myPid()) { 468 Binder.getCallingPid(), Binder.getCallingUid(), null); 485 + Binder.getCallingPid() + ", uid=" + Binder.getCallingUid()
|
ActiveServices.java | 47 import android.os.Binder; 222 + " (pid=" + Binder.getCallingPid() 276 + " (pid=" + Binder.getCallingPid() 282 Binder.getCallingPid(), Binder.getCallingUid(), userId, false); 285 final long origId = Binder.clearCallingIdentity(); 289 Binder.restoreCallingIdentity(origId); 301 Binder.getCallingPid(), Binder.getCallingUid(), 310 + " from pid=" + Binder.getCallingPid( 495 IBinder binder = connection.asBinder(); local 614 IBinder binder = connection.asBinder(); local 1307 IBinder binder = c.conn.asBinder(); local [all...] |
ReceiverList.java | 21 import android.os.Binder; 111 sb.append((receiver.asBinder() instanceof Binder) ? " local:" : " remote:");
|
TransferPipe.java | 24 import android.os.Binder; 80 if ((iface.asBinder()) instanceof Binder) { 98 static void goDump(IBinder binder, FileDescriptor out, 100 goDump(binder, out, args, DEFAULT_TIMEOUT); 103 static void goDump(IBinder binder, FileDescriptor out, 105 if (binder instanceof Binder) { 108 binder.dump(out, args); 116 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args);
|
ProviderMap.java | 20 import android.os.Binder; 66 Slog.i(TAG, "getProviderByName: " + name + " , callingUid = " + Binder.getCallingUid()); 84 Slog.i(TAG, "getProviderByClass: " + name + ", callingUid = " + Binder.getCallingUid()); 98 Slog.i(TAG, "putProviderByName: " + name + " , callingUid = " + Binder.getCallingUid() 111 Slog.i(TAG, "putProviderByClass: " + name + " , callingUid = " + Binder.getCallingUid()
|
/cts/tests/tests/content/src/android/content/cts/ |
ContextWrapperTest.java | 42 import android.os.Binder; 376 mContextWrapper.enforceUriPermission(uri, Binder.getCallingPid(), 377 Binder.getCallingUid(), Intent.FLAG_GRANT_WRITE_URI_PERMISSION, 390 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), Binder.getCallingUid(), 572 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), 573 Binder.getCallingUid(), 585 int retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(), 0, 589 retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(), 590 Binder.getCallingUid(), Intent.FLAG_GRANT_WRITE_URI_PERMISSION) [all...] |
/frameworks/native/libs/binder/ |
Android.mk | 18 Binder.cpp \
|
/packages/apps/Phone/src/com/android/phone/ |
EmergencyCallbackModeService.java | 29 import android.os.Binder; 223 public class LocalBinder extends Binder {
|
PhoneInterfaceManager.java | 27 import android.os.Binder; 94 * inbound binder threads to the main thread in the phone process. The Binder thread 280 if (mAppOps.noteOp(AppOpsManager.OP_CALL_PHONE, Binder.getCallingUid(), callingPackage) 305 long callingId = Binder.clearCallingIdentity(); 324 Binder.restoreCallingIdentity(callingId); 668 if (mAppOps.noteOp(AppOpsManager.OP_NEIGHBORING_CELLS, Binder.getCallingUid(), 724 boolean self = Binder.getCallingUid() == Process.myUid(); 729 long ident = Binder.clearCallingIdentity(); 743 Binder.restoreCallingIdentity(ident) [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/ |
ControllerService.java | 28 import android.os.Binder; 112 public class ControllerBinder extends Binder {
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
MiscService.java | 21 import android.os.Binder;
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityManager.java | 22 import android.os.Binder; 262 // client using it is called through Binder from another process. Example: MMS 264 long identityToken = Binder.clearCallingIdentity(); 266 Binder.restoreCallingIdentity(identityToken);
|
/frameworks/base/media/java/android/media/ |
Ringtone.java | 25 import android.os.Binder; 63 private final Binder mRemoteToken; 78 mRemoteToken = allowRemote ? new Binder() : null;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
Utils.java | 22 import android.os.Binder; 186 long ident = Binder.clearCallingIdentity(); 196 Binder.restoreCallingIdentity(ident);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
ShortcutsProvider.java | 28 import android.os.Binder; 131 if (DBG) Log.d(TAG, "Adding (PID: " + Binder.getCallingPid() + "): " + shortcut); 148 int callingUid = Binder.getCallingUid();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerSession.java | 19 import android.os.Binder; 137 long ident = Binder.clearCallingIdentity(); 157 Binder.restoreCallingIdentity(ident);
|