HomeSort by relevance Sort by last modified time
    Searched refs:Binder (Results 176 - 200 of 532) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/base/core/java/android/os/
UpdateLock.java 77 mToken = new Binder();
  /frameworks/base/services/core/java/com/android/server/
CommonTimeManagementService.java 30 import android.os.Binder;
47 class CommonTimeManagementService extends Binder {
184 "pid=%d, uid=%d", Binder.getCallingPid(), Binder.getCallingUid()));
InputMethodManagerService.java 78 import android.os.Binder;
756 long ident = Binder.clearCallingIdentity();
760 Binder.restoreCallingIdentity(ident);
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsApplication.java 34 import android.os.Binder;
173 final int callingUid = Binder.getCallingUid();
207 final long token = Binder.clearCallingIdentity();
211 Binder.restoreCallingIdentity(token);
514 final long token = Binder.clearCallingIdentity();
518 Binder.restoreCallingIdentity(token);
    [all...]
  /packages/experimental/StrictModeTest/src/com/android/strictmodetest/
ServiceBase.java 21 import android.os.Binder;
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaThumbRequest.java 34 import android.os.Binder;
61 int mCallingPid = Binder.getCallingPid();
151 final long identity = Binder.clearCallingIdentity();
162 Binder.restoreCallingIdentity(identity);
  /system/core/include/binderwrapper/
stub_binder_wrapper.h 25 #include <binder/Binder.h>
26 #include <binder/IBinder.h>
35 // First, assuming a base IFoo binder interface, create a stub class that
56 // sp<IBinder> binder(foo);
57 // wrapper->SetBinderForService("foo", binder);
61 // sp<IBinder> binder = BinderWrapper::Get()->GetService("foo");
62 // CHECK(binder.get());
63 // sp<IFoo> foo = interface_cast<IFoo>(binder);
68 // local_binders() to check that they're passed as expected in binder calls
    [all...]
  /system/nativepower/client/
wake_lock_unittest.cc 21 #include <binder/Binder.h>
22 #include <binder/IBinder.h>
  /frameworks/base/services/core/java/com/android/server/power/
PowerManagerService.java 37 import android.os.Binder;
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
OptionalBinder.java 28 import com.google.inject.Binder;
36 import com.google.inject.binder.LinkedBindingBuilder;
100 * OptionalBinder.newOptionalBinder(binder(), Renamer.class);
120 * OptionalBinder.newOptionalBinder(binder(), Renamer.class)
131 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class))
140 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class))
152 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class))
194 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Class<T> type) {
195 return newRealOptionalBinder(binder, Key.get(type))
310 private Binder binder; field in class:OptionalBinder.RealOptionalBinder
    [all...]
MapBinder.java 38 import com.google.inject.Binder;
46 import com.google.inject.binder.LinkedBindingBuilder;
77 * = MapBinder.newMapBinder(binder(), String.class, Snack.class);
143 public static <K, V> MapBinder<K, V> newMapBinder(Binder binder,
145 binder = binder.skipSources(MapBinder.class, RealMapBinder.class);
146 return newRealMapBinder(binder, keyType, valueType, Key.get(mapOf(keyType, valueType)),
147 Multibinder.newSetBinder(binder, entryOfProviderOf(keyType, valueType)));
154 public static <K, V> MapBinder<K, V> newMapBinder(Binder binder
326 private Binder binder; field in class:MapBinder.RealMapBinder
    [all...]
  /frameworks/base/services/core/java/com/android/server/dreams/
DreamController.java 26 import android.os.Binder;
121 public void startDream(Binder token, ComponentName name,
278 void onDreamStopped(Binder token);
282 public final Binder mToken;
296 public DreamRecord(Binder token, ComponentName name,
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
SmsProvider.java 33 import android.os.Binder;
117 getContext(), getCallingPackage(), Binder.getCallingUid());
322 long token = Binder.clearCallingIdentity();
326 Binder.restoreCallingIdentity(token);
349 long token = Binder.clearCallingIdentity();
353 Binder.restoreCallingIdentity(token);
413 final int callerUid = Binder.getCallingUid();
415 long token = Binder.clearCallingIdentity();
432 Binder.restoreCallingIdentity(token);
438 final int callerUid = Binder.getCallingUid()
    [all...]
  /frameworks/base/services/core/java/com/android/server/media/
MediaRouterService.java 35 import android.os.Binder;
116 // Binder call
123 final int uid = Binder.getCallingUid();
128 final int pid = Binder.getCallingPid();
134 final long token = Binder.clearCallingIdentity();
140 Binder.restoreCallingIdentity(token);
144 // Binder call
151 final long token = Binder.clearCallingIdentity();
157 Binder.restoreCallingIdentity(token);
161 // Binder cal
313 final IBinder binder = client.asBinder(); local
360 final IBinder binder = client.asBinder(); local
414 final IBinder binder = client.asBinder(); local
424 final IBinder binder = client.asBinder(); local
    [all...]
  /frameworks/base/services/usage/java/com/android/server/usage/
UsageStatsService.java 50 import android.os.Binder;
612 * Called by the Binder stub
622 * Called by the Binder stub.
702 * Called by the Binder stub.
711 * Called by the Binder stub.
723 * Called by the Binder stub.
739 * Called by the Binder stub.
756 * Called by the Binder stub.
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
RemotePrintSpooler.java 28 import android.os.Binder;
921 final long identity = Binder.clearCallingIdentity();
925 Binder.restoreCallingIdentity(identity);
    [all...]
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbService.java 32 import android.os.Binder;
350 final long ident = Binder.clearCallingIdentity();
354 Binder.restoreCallingIdentity(ident);
363 final long ident = Binder.clearCallingIdentity();
367 Binder.restoreCallingIdentity(ident);
377 final long ident = Binder.clearCallingIdentity();
383 Binder.restoreCallingIdentity(ident);
392 final long ident = Binder.clearCallingIdentity();
594 Binder.restoreCallingIdentity(ident);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadProvider.java 46 import android.os.Binder;
589 Binder.getCallingPid(), Binder.getCallingUid(),
640 int uid = Binder.getCallingUid();
664 filteredValues.put(Constants.UID, Binder.getCallingUid());
665 if (Binder.getCallingUid() == 0) {
706 grantAllDownloadsPermission(rowID, Binder.getCallingUid());
709 final long token = Binder.clearCallingIdentity();
713 Binder.restoreCallingIdentity(token);
    [all...]
  /system/connectivity/shill/
connection.cc 77 Connection::Binder::Binder(const string& name,
82 Connection::Binder::~Binder() {
86 void Connection::Binder::Attach(const ConnectionRefPtr& to_connection) {
101 void Connection::Binder::OnDisconnect() {
665 // Pop the binder first and then notify it to ensure that each binder is
667 Binder* binder = binders_.front() local
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContextWrapperTest.java 41 import android.os.Binder;
379 mContextWrapper.enforceUriPermission(uri, Binder.getCallingPid(),
380 Binder.getCallingUid(), Intent.FLAG_GRANT_WRITE_URI_PERMISSION,
393 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(), Binder.getCallingUid(),
575 PERMISSION_HARDWARE_TEST, Binder.getCallingPid(),
576 Binder.getCallingUid(),
588 int retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(), 0,
592 retValue = mContextWrapper.checkUriPermission(uri, Binder.getCallingPid(),
593 Binder.getCallingUid(), Intent.FLAG_GRANT_WRITE_URI_PERMISSION)
    [all...]
  /frameworks/base/core/java/android/speech/tts/
TextToSpeechService.java 24 import android.os.Binder;
205 * In <= Android 4.2 (<= API 17) can be called on main and service binder threads.
539 * Called on a service binder thread.
595 * Called on a service binder thread.
    [all...]
  /frameworks/base/services/midi/java/com/android/server/midi/
MidiService.java 39 import android.os.Binder;
88 // list of all our clients, keyed by Binder token
130 // Binder token for this client
145 mUid = Binder.getCallingUid();
146 mPid = Binder.getCallingPid();
325 IBinder binder = server.asBinder(); local
330 binder.linkToDeath(this, 0);
336 mDevicesByServer.put(binder, this);
341 IBinder binder = server.asBinder(); local
342 mDevicesByServer.remove(binder);
    [all...]
  /external/guice/core/src/com/google/inject/internal/
AbstractBindingProcessor.java 21 import com.google.inject.Binder;
47 Binder.class,
InstanceBindingImpl.java 21 import com.google.inject.Binder;
86 public void applyTo(Binder binder) {
88 binder.withSource(getSource()).bind(getKey()).toInstance(instance);
LinkedProviderBindingImpl.java 21 import com.google.inject.Binder;
92 public void applyTo(Binder binder) {
93 getScoping().applyTo(binder.withSource(getSource())

Completed in 1926 milliseconds

1 2 3 4 5 6 78 91011>>