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

1 2 3 4 56 7 8 91011>>

  /frameworks/base/services/core/java/com/android/server/audio/
MediaFocusControl.java 27 import android.os.Binder;
387 Log.i(TAG, " AudioFocus requestAudioFocus() from uid/pid " + Binder.getCallingUid()
388 + "/" + Binder.getCallingPid()
392 // we need a valid binder callback for clients
398 if (mAppOps.noteOp(AppOpsManager.OP_TAKE_AUDIO_FOCUS, Binder.getCallingUid(),
425 Log.w(TAG, "AudioFocus requestAudioFocus() could not link to "+cb+" binder death");
454 clientId, afdh, callingPackageName, Binder.getCallingUid(), this);
485 Log.i(TAG, " AudioFocus abandonAudioFocus() from uid/pid " + Binder.getCallingUid()
486 + "/" + Binder.getCallingPid()
  /frameworks/base/services/core/java/com/android/server/search/
SearchManagerService.java 34 import android.os.Binder;
118 final long token = Binder.clearCallingIdentity();
128 Binder.restoreCallingIdentity(token);
277 userHandle = ActivityManager.handleIncomingUser(Binder.getCallingPid(),
278 Binder.getCallingUid(), userHandle, true, false, "getLegacyAssistComponent", null);
305 long ident = Binder.clearCallingIdentity();
314 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();
229 Binder.restoreCallingIdentity(callingId);
253 long callingId = Binder.clearCallingIdentity();
306 Binder.restoreCallingIdentity(callingId);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SubscriptionController.java 28 import android.os.Binder;
225 return mAppOps.noteOp(AppOpsManager.OP_READ_PHONE_STATE, Binder.getCallingUid(),
404 final long identity = Binder.clearCallingIdentity();
424 Binder.restoreCallingIdentity(identity);
443 final long identity = Binder.clearCallingIdentity();
461 Binder.restoreCallingIdentity(identity);
481 final long identity = Binder.clearCallingIdentity();
505 Binder.restoreCallingIdentity(identity);
526 final long identity = Binder.clearCallingIdentity();
537 Binder.restoreCallingIdentity(identity)
    [all...]
  /frameworks/base/services/core/java/com/android/server/
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);
  /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;
358 * from binder. All calls must be permission-checked.
415 return mServiceCache.registerAidGroupForService(userId, Binder.getCallingUid(), service,
427 return mServiceCache.getAidGroupForService(userId, Binder.getCallingUid(), service,
439 return mServiceCache.removeAidGroupForService(userId, Binder.getCallingUid(), service,
460 Binder.getCallingUid());
467 Binder.getCallingUid());
478 * from binder. All calls must be permission-checked.
490 userId, Binder.getCallingUid(), service);
503 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());
  /frameworks/base/services/core/java/com/android/server/pm/
LauncherAppsService.java 44 import android.os.Binder;
134 return Binder.clearCallingIdentity();
140 Binder.restoreCallingIdentity(token);
157 Log.d(TAG, "Adding listener from " + Binder.getCallingUserHandle());
180 Log.d(TAG, "Removing listener from " + Binder.getCallingUserHandle());
255 if (packageUid != Binder.getCallingUid()) {
288 long ident = Binder.clearCallingIdentity();
296 Binder.restoreCallingIdentity(ident);
308 long ident = Binder.clearCallingIdentity();
316 Binder.restoreCallingIdentity(ident)
    [all...]
  /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/core/java/android/app/backup/
BackupAgent.java 24 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;
57 if (Binder.getCallingUid() == Process.SYSTEM_UID) return;
62 throw new SecurityException("Access denied to process: " + Binder.getCallingPid()
69 @Override // Binder interface
75 @Override // Binder interface
83 @Override // Binder interface
92 @Override // Binder interface
100 @Override // Binder interface
106 @Override // Binder interface
112 @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 157 import android.os.Binder;
683 public class PendingAssistExtras extends Binder implements Runnable {
    [all...]

Completed in 1517 milliseconds

1 2 3 4 56 7 8 91011>>