HomeSort by relevance Sort by last modified time
    Searched refs:Binder (Results 126 - 150 of 515) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/services/core/java/com/android/server/pm/
LauncherAppsService.java 43 import android.os.Binder;
130 return Binder.clearCallingIdentity();
136 Binder.restoreCallingIdentity(token);
153 Log.d(TAG, "Adding listener from " + Binder.getCallingUserHandle());
176 Log.d(TAG, "Removing listener from " + Binder.getCallingUserHandle());
251 if (packageUid != Binder.getCallingUid()) {
284 long ident = Binder.clearCallingIdentity();
292 Binder.restoreCallingIdentity(ident);
304 long ident = Binder.clearCallingIdentity();
312 Binder.restoreCallingIdentity(ident)
    [all...]
  /frameworks/base/services/core/java/com/android/server/
LocationManagerService.java 76 import android.os.Binder;
971 IBinder binder = listener.asBinder(); local
1534 IBinder binder = listener.asBinder(); local
    [all...]
VibratorService.java 36 import android.os.Binder;
264 @Override // Binder call
270 if (uid == Binder.getCallingUid()) {
273 if (Binder.getCallingPid() == Process.myPid()) {
277 Binder.getCallingPid(), Binder.getCallingUid(), null);
280 @Override // Binder call
304 final long ident = Binder.clearCallingIdentity();
313 Binder.restoreCallingIdentity(ident);
327 @Override // Binder cal
    [all...]
GraphicsStatsService.java 21 import android.os.Binder;
81 int uid = Binder.getCallingUid();
82 int pid = Binder.getCallingPid();
84 long callingIdentity = Binder.clearCallingIdentity();
91 Binder.restoreCallingIdentity(callingIdentity);
  /frameworks/base/services/core/java/com/android/server/audio/
MediaFocusControl.java 27 import android.os.Binder;
390 Log.i(TAG, " AudioFocus requestAudioFocus() from uid/pid " + Binder.getCallingUid()
391 + "/" + Binder.getCallingPid()
395 // we need a valid binder callback for clients
401 if (mAppOps.noteOp(AppOpsManager.OP_TAKE_AUDIO_FOCUS, Binder.getCallingUid(),
427 Log.w(TAG, "AudioFocus requestAudioFocus() could not link to "+cb+" binder death");
456 clientId, afdh, callingPackageName, Binder.getCallingUid(), this);
487 Log.i(TAG, " AudioFocus abandonAudioFocus() from uid/pid " + Binder.getCallingUid()
488 + "/" + Binder.getCallingPid()
  /frameworks/base/services/core/java/com/android/server/search/
SearchManagerService.java 34 import android.os.Binder;
109 final long token = Binder.clearCallingIdentity();
119 Binder.restoreCallingIdentity(token);
263 userHandle = ActivityManager.handleIncomingUser(Binder.getCallingPid(),
264 Binder.getCallingUid(), userHandle, true, false, "getLegacyAssistComponent", null);
291 long ident = Binder.clearCallingIdentity();
300 Binder.restoreCallingIdentity(ident);
  /packages/apps/Email/provider_src/com/android/email/provider/
AttachmentProvider.java 29 import android.os.Binder;
104 long callingId = Binder.clearCallingIdentity();
128 Binder.restoreCallingIdentity(callingId);
166 long callingId = Binder.clearCallingIdentity();
225 Binder.restoreCallingIdentity(callingId);
249 long callingId = Binder.clearCallingIdentity();
302 Binder.restoreCallingIdentity(callingId);
  /packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
BluetoothMapEmailProvider.java 28 import android.os.Binder;
321 long callingId = Binder.clearCallingIdentity();
335 Binder.restoreCallingIdentity(callingId);
407 long callingId = Binder.clearCallingIdentity();
416 Binder.restoreCallingIdentity(callingId);
449 long callingId = Binder.clearCallingIdentity();
462 Binder.restoreCallingIdentity(callingId);
500 long callingId = Binder.clearCallingIdentity();
516 Binder.restoreCallingIdentity(callingId);
587 long callingId = Binder.clearCallingIdentity()
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
CardEmulationManager.java 32 import android.os.Binder;
348 * from binder. All calls must be permission-checked.
405 return mServiceCache.registerAidGroupForService(userId, Binder.getCallingUid(), service,
417 return mServiceCache.getAidGroupForService(userId, Binder.getCallingUid(), service,
429 return mServiceCache.removeAidGroupForService(userId, Binder.getCallingUid(), service,
450 Binder.getCallingUid());
457 Binder.getCallingUid());
468 * from binder. All calls must be permission-checked.
480 userId, Binder.getCallingUid(), service);
493 userId, Binder.getCallingUid(), service, systemCode)
    [all...]
  /external/guice/examples/src/example/xml/
XmlBeanModule.java 6 import com.google.inject.Binder;
28 Binder originalBinder;
35 public void configure(Binder binder) {
36 this.originalBinder = binder;
60 Binder sourced = originalBinder.withSource(xmlSource());
105 Binder sourced = originalBinder.withSource(xmlSource());
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
MediaSetSource.java 21 import android.os.Binder;
150 long token = Binder.clearCallingIdentity();
157 Binder.restoreCallingIdentity(token);
193 long token = Binder.clearCallingIdentity();
197 Binder.restoreCallingIdentity(token);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
SQLiteContentProvider.java 29 import android.os.Binder;
295 * Call {@link android.os.Binder#clearCallingIdentity()}, while caching the calling package
301 int callingUid = Binder.getCallingUid();
312 return Binder.clearCallingIdentity();
316 * Call {@link Binder#restoreCallingIdentity(long)}.
319 * {@link android.os.Binder#clearCallingIdentity()}, then the cached calling package will also
324 Binder.restoreCallingIdentity(identity);
326 int callingUid = Binder.getCallingUid();
  /packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
CallScreeningServiceFilter.java 25 import android.os.Binder;
82 long token = Binder.clearCallingIdentity();
99 Binder.restoreCallingIdentity(token);
111 long token = Binder.clearCallingIdentity();
130 Binder.restoreCallingIdentity(token);
  /frameworks/base/services/core/java/com/android/server/accounts/
AccountManagerService.java 65 import android.os.Binder;
    [all...]
  /external/guice/core/src/com/google/inject/
AbstractModule.java 22 import com.google.inject.binder.AnnotatedBindingBuilder;
23 import com.google.inject.binder.AnnotatedConstantBindingBuilder;
24 import com.google.inject.binder.LinkedBindingBuilder;
38 * {@link Binder}. For example:
55 Binder binder; field in class:AbstractModule
57 public final synchronized void configure(Binder builder) {
58 checkState(this.binder == null, "Re-entry is not allowed.");
60 this.binder = checkNotNull(builder, "builder");
65 this.binder = null
77 protected Binder binder() { method in class:AbstractModule
    [all...]
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Multibinder.java 32 import com.google.inject.Binder;
41 import com.google.inject.binder.LinkedBindingBuilder;
69 * = Multibinder.newSetBinder(binder(), Snack.class);
123 public static <T> Multibinder<T> newSetBinder(Binder binder, TypeLiteral<T> type) {
124 return newRealSetBinder(binder, Key.get(type));
131 public static <T> Multibinder<T> newSetBinder(Binder binder, Class<T> type) {
132 return newRealSetBinder(binder, Key.get(type));
140 Binder binder, TypeLiteral<T> type, Annotation annotation)
270 private Binder binder; field in class:Multibinder.RealMultibinder
    [all...]
MultibindingsScanner.java 21 import com.google.inject.Binder;
48 * {@code binder().scanModulesForAnnotatedMethods(MultibindingsScanner.scanner())}.
53 binder().scanModulesForAnnotatedMethods(Scanner.INSTANCE);
78 public <T> Key<T> prepareMethod(Binder binder, Annotation annotation, Key<T> key,
81 AnnotationOrError mapKey = findMapKeyAnnotation(binder, method);
84 binder.addError("Found a MapKey annotation on non map binding at %s.", method);
86 return Multibinder.newRealSetBinder(binder, key).getKeyForNewItem();
94 binder.addError("No MapKey found for map binding at %s.", method);
98 return MapBinder.newRealMapBinder(binder, typeAndValue.type, key
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
KeyguardService.java 21 import android.os.Binder;
56 if (Binder.getCallingUid() == Process.SYSTEM_UID) return;
61 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
68 @Override // Binder interface
74 @Override // Binder interface
80 @Override // Binder interface
87 @Override // Binder interface
93 @Override // Binder interface
99 @Override // Binder interface
105 @Override // Binder interfac
    [all...]
  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
WindowManagerPermissionTests.java 20 import android.os.Binder;
219 Binder token = new Binder();
  /frameworks/opt/net/ethernet/java/com/android/server/ethernet/
EthernetServiceImpl.java 26 import android.os.Binder;
172 + Binder.getCallingPid()
173 + ", uid=" + Binder.getCallingUid());
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageIconProvider.java 30 import android.os.Binder;
148 final int pid = Binder.getCallingPid();
149 final int uid = Binder.getCallingUid();
  /external/guice/core/src/com/google/inject/internal/
ProviderMethodsModule.java 26 import com.google.inject.Binder;
59 Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) {
122 public synchronized void configure(Binder binder) {
123 for (ProviderMethod<?> providerMethod : getProviderMethods(binder)) {
124 providerMethod.configure(binder);
128 public List<ProviderMethod<?>> getProviderMethods(Binder binder) {
142 Optional<Annotation> annotation = isProvider(binder, method)
    [all...]
ConstantBindingBuilderImpl.java 20 import com.google.inject.Binder;
22 import com.google.inject.binder.AnnotatedConstantBindingBuilder;
23 import com.google.inject.binder.ConstantBindingBuilder;
40 public ConstantBindingBuilderImpl(Binder binder, List<Element> elements, Object source) {
41 super(binder, elements, source, (Key<T>) NULL_KEY);
106 binder.addError(CONSTANT_VALUE_ALREADY_SET);
121 binder.addError(BINDING_TO_NULL);
  /frameworks/base/media/java/android/media/midi/
MidiDeviceServer.java 19 import android.os.Binder;
159 // Binder interface stub for receiving connection requests from clients
165 if (Binder.getCallingUid() != Process.myUid()) {
204 if (Binder.getCallingUid() != Process.myUid()) {
283 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
331 // clear calling identity, since we may be in a Binder call from one of our clients
332 long identityToken = Binder.clearCallingIdentity();
344 Binder.restoreCallingIdentity(identityToken);
  /frameworks/base/services/core/java/com/android/server/am/
ActivityManagerService.java 156 import android.os.Binder;
667 public class PendingAssistExtras extends Binder implements Runnable {
    [all...]

Completed in 558 milliseconds

1 2 3 4 56 7 8 91011>>