/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockPackageManager.java | 25 import android.os.Binder; 34 * to help test security models. Because {@link Binder#getCallingUid()}
|
/system/core/libbinderwrapper/ |
real_binder_wrapper.cc | 20 #include <binder/Binder.h> 21 #include <binder/IBinder.h> 22 #include <binder/IPCThreadState.h> 23 #include <binder/IServiceManager.h> 27 // Class that handles binder death notifications. libbinder wants the recipient 42 // Callback to run in response to binder death. 58 sp<IBinder> binder = local 60 if (!binder.get()) 62 return binder; [all...] |
/system/security/keystore/ |
operation.h | 22 #include <binder/Binder.h> 23 #include <binder/IBinder.h> 42 * keymaster2_device_t's to opaque binder tokens that can be used to reference
|
/frameworks/base/services/core/java/com/android/server/audio/ |
AudioService.java | 80 import android.os.Binder; 437 // List of binder death handlers for setMode() client processes. 6085 private static IBinder binder(IVolumeController controller) { method in class:AudioService.VolumeController [all...] |
/frameworks/base/services/core/java/com/android/server/ |
BluetoothManagerService.java | 41 import android.os.Binder; 416 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 434 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 453 if (DBG) Slog.d(TAG, "Binder is dead - unregister Ble App"); 592 long callingIdentity = Binder.clearCallingIdentity(); 594 Binder.restoreCallingIdentity(callingIdentity); 643 int callingAppId = UserHandle.getAppId(Binder.getCallingUid()); 658 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 685 if ((Binder.getCallingUid() != Process.SYSTEM_UID) && 699 long callingIdentity = Binder.clearCallingIdentity() [all...] |
ConnectivityService.java | 82 import android.os.Binder; 541 * - getNetworkForType() can be called at any time on binder threads. It is synchronized 710 NetworkRequestInfo defaultNRI = new NetworkRequestInfo(null, mDefaultRequest, new Binder()); 5457 intervalSeconds, messenger, binder, local [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Tethering.java | 47 import android.os.Binder; 508 final long ident = Binder.clearCallingIdentity(); 512 Binder.restoreCallingIdentity(ident); 552 final long ident = Binder.clearCallingIdentity(); 556 Binder.restoreCallingIdentity(ident); 571 final long ident = Binder.clearCallingIdentity(); 575 Binder.restoreCallingIdentity(ident); 584 final long ident = Binder.clearCallingIdentity(); 588 Binder.restoreCallingIdentity(ident); [all...] |
/frameworks/base/core/java/android/view/ |
AccessibilityInteractionController.java | 22 import android.os.Binder; 164 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { 176 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { 258 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { 269 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { 376 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { 387 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { 498 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) { 509 if (interactiveRegion != null && android.os.Process.myPid() == Binder.getCallingPid()) { 583 if (spec != null && android.os.Process.myPid() != Binder.getCallingPid()) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
RemoteVirtualDisplayService.java | 26 import android.os.Binder; 54 mBinder = new Binder() { 72 Log.e(TAG, "unrecognized binder command " + code);
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
BluetoothLeService.java | 31 import android.os.Binder; 155 public class LocalBinder extends Binder {
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
BluetoothLeService.java | 31 import android.os.Binder; 155 public class LocalBinder extends Binder {
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssService.java | 24 import android.os.Binder; 257 private final IBinder mBinder = new Binder() {
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
BluetoothLeService.java | 31 import android.os.Binder; 155 public class LocalBinder extends Binder {
|
/external/guice/core/src/com/google/inject/internal/ |
BindingBuilder.java | 22 import com.google.inject.Binder; 27 import com.google.inject.binder.AnnotatedBindingBuilder; 28 import com.google.inject.binder.ScopedBindingBuilder; 46 public BindingBuilder(Binder binder, List<Element> elements, Object source, Key<T> key) { 47 super(binder, elements, source, key); 80 // lookup the injection points, adding any errors to the binder's errors list 90 binder.addError(BINDING_TO_NULL); 107 // lookup the injection points, adding any errors to the binder's errors list 180 binder.addError(message) [all...] |
/external/guice/core/test/com/googlecode/guice/ |
BytecodeGenTest.java | 22 import com.google.inject.Binder; 221 public void configure(Binder binder) { 222 binder.bind(ProxyTest.class).to(ProxyTestImpl.class);
|
/external/guice/extensions/struts2/src/com/google/inject/struts2/ |
GuiceObjectFactory.java | 20 import com.google.inject.Binder; 149 interceptor.validate(binder()); 202 void validate(Binder binder) { 205 binder.addError("Scoping interceptors is not currently supported." 212 binder.addError(interceptorClass.getName() + " must implement "
|
/frameworks/base/core/java/android/app/usage/ |
NetworkStatsManager.java | 29 import android.os.Binder; 354 new Binder());
|
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 37 import android.os.Binder; 188 * Binder object that deals with remoting. 523 if (getContext().checkPermission(permission, Binder.getCallingPid(), Binder.getCallingUid(), 540 final int pid = Binder.getCallingPid(); 541 final int uid = Binder.getCallingUid(); 617 final int pid = Binder.getCallingPid(); 618 final int uid = Binder.getCallingUid(); 715 * @see Binder#getCallingUid() 723 mTransport.mAppOpsManager.checkPackage(Binder.getCallingUid(), pkg) [all...] |
/frameworks/base/core/java/android/database/ |
BulkCursorNative.java | 19 import android.os.Binder; 32 public abstract class BulkCursorNative extends Binder implements IBulkCursor 40 * Cast a Binder object into a content resolver interface, generating
|
/frameworks/base/core/java/android/speech/ |
RecognitionService.java | 24 import android.os.Binder; 59 /** Binder of the recognition service */ 326 * is being processed. This is obtained from {@link Binder#getCallingUid()}. 333 /** Binder of the recognition service */ 348 recognizerIntent, listener, Binder.getCallingUid())));
|
/frameworks/base/media/java/android/media/midi/ |
MidiManager.java | 20 import android.os.Binder; 62 private final IBinder mToken = new Binder(); 67 // Binder stub for receiving device notifications from MidiService
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
CameraBinderTest.java | 28 import android.os.Binder; 138 static abstract class DummyBase extends Binder implements android.os.IInterface {
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityStartInterceptor.java | 42 import android.os.Binder; 221 Binder.getCallingUid(), userId, null, null, 0, new Intent[]{ intent },
|
/frameworks/base/services/core/java/com/android/server/camera/ |
CameraService.java | 25 import android.os.Binder; 89 private static final IBinder nfcInterfaceToken = new Binder();
|
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionRecord.java | 41 import android.os.Binder; 148 * Get the binder for the {@link MediaSession}. 150 * @return The session binder apps talk to. 157 * Get the binder for the {@link MediaController}. 159 * @return The controller binder apps talk to. 411 * removing the death observer from the callback binder. 681 IBinder binder = cb.asBinder(); local 683 if (binder.equals(mControllerCallbacks.get(i).asBinder())) { 696 uid = Binder.getCallingUid(); [all...] |