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

12 3 4 5 6 7 8 91011>>

  /external/guice/core/src/com/google/inject/spi/
RequireExactBindingAnnotationsOption.java 21 import com.google.inject.Binder;
40 public void applyTo(Binder binder) {
41 binder.withSource(getSource()).requireExactBindingAnnotations();
RequireExplicitBindingsOption.java 21 import com.google.inject.Binder;
40 public void applyTo(Binder binder) {
41 binder.withSource(getSource()).requireExplicitBindings();
ModuleAnnotatedMethodScannerBinding.java 21 import com.google.inject.Binder;
25 * Represents a call to {@link Binder#scanModulesForAnnotatedMethods} in a module.
51 public void applyTo(Binder binder) {
52 binder.withSource(getSource()).scanModulesForAnnotatedMethods(scanner);
ScopeBinding.java 21 import com.google.inject.Binder;
28 * explicitly in a module using {@link com.google.inject.Binder#bindScope(Class, Scope) bindScope()}
64 public void applyTo(Binder binder) {
65 binder.withSource(getSource()).bindScope(annotationType, scope);
StaticInjectionRequest.java 21 import com.google.inject.Binder;
28 * explicitly in a module using {@link com.google.inject.Binder#requestStaticInjection(Class[])
69 public void applyTo(Binder binder) {
70 binder.withSource(getSource()).requestStaticInjection(type);
TypeListenerBinding.java 19 import com.google.inject.Binder;
25 * a module using {@link com.google.inject.Binder#bindListener(Matcher, TypeListener)} statements:
64 public void applyTo(Binder binder) {
65 binder.withSource(getSource()).bindListener(typeMatcher, listener);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
BatchService.java 21 import android.os.Binder;
28 public class LocalBinder extends Binder {
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
OverlayTouchActivity.java 20 import android.os.Binder;
24 private final IBinder mToken = new Binder();
  /frameworks/base/core/java/android/app/
UiAutomationConnection.java 25 import android.os.Binder;
71 private final Binder mToken = new Binder();
91 mOwningUid = Binder.getCallingUid();
120 final long identity = Binder.clearCallingIdentity();
124 Binder.restoreCallingIdentity(identity);
135 final long identity = Binder.clearCallingIdentity();
146 Binder.restoreCallingIdentity(identity);
158 final long identity = Binder.clearCallingIdentity();
162 Binder.restoreCallingIdentity(identity)
    [all...]
  /external/guice/core/src/com/google/inject/
PrivateBinder.java 19 import com.google.inject.binder.AnnotatedElementBuilder;
22 * Returns a binder whose configuration information is hidden from its environment by default. See
28 public interface PrivateBinder extends Binder {
35 * com.google.inject.binder.AnnotatedElementBuilder#annotatedWith(Class) annotatedWith()} to expose {@code type} with a
  /frameworks/base/services/core/java/com/android/server/
UpdateLockService.java 22 import android.os.Binder;
75 long oldIdent = Binder.clearCallingIdentity();
83 Binder.restoreCallingIdentity(oldIdent);
109 + " uid=" + Binder.getCallingUid()
110 + " pid=" + Binder.getCallingPid() + '}';
118 + Binder.getCallingPid()
119 + ", uid=" + Binder.getCallingUid());
  /frameworks/support/v4/java/android/support/v4/content/
PermissionChecker.java 21 import android.os.Binder;
142 if (Binder.getCallingPid() == Process.myPid()) {
145 return checkPermission(context, permission, Binder.getCallingPid(),
146 Binder.getCallingUid(), packageName);
160 String packageName = (Binder.getCallingPid() == Process.myPid())
162 return checkPermission(context, permission, Binder.getCallingPid(),
163 Binder.getCallingUid(), packageName);
  /system/connectivity/shill/
connection.h 52 // Clients can instantiate and use Binder to bind to a Connection and get
55 // Connection is destroyed or signals disconnect. The Binder unbinds itself
56 // from the underlying Connection when the Binder instance is destructed.
57 class Binder {
59 Binder(const std::string& name, const base::Closure& disconnect_callback);
60 ~Binder();
63 // any. Pass nullptr to just unbind this Binder.
72 FRIEND_TEST(ConnectionTest, Binder);
81 DISALLOW_COPY_AND_ASSIGN(Binder);
94 // Return the connection used by the lower binder
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
ContactsPermissions.java 22 import android.os.Binder;
41 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) {
50 + " caller=" + Binder.getCallingPid()
85 if (ALLOW_SELF_CALL && Binder.getCallingPid() == Process.myPid()) {
94 + " caller=" + Binder.getCallingPid()
  /frameworks/base/services/print/java/com/android/server/print/
PrintManagerService.java 35 import android.os.Binder;
136 final long identity = Binder.clearCallingIdentity();
141 Binder.restoreCallingIdentity(identity);
158 final long identity = Binder.clearCallingIdentity();
162 Binder.restoreCallingIdentity(identity);
183 final long identity = Binder.clearCallingIdentity();
187 Binder.restoreCallingIdentity(identity);
204 final long identity = Binder.clearCallingIdentity();
208 Binder.restoreCallingIdentity(identity);
229 final long identity = Binder.clearCallingIdentity()
    [all...]
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionManagerService.java 39 import android.os.Binder;
168 // implementation entry point and binder service
187 final long caller = Binder.clearCallingIdentity();
205 Binder.restoreCallingIdentity(caller);
212 final long caller = Binder.clearCallingIdentity();
216 Binder.restoreCallingIdentity(caller);
546 final long caller = Binder.clearCallingIdentity();
550 Binder.restoreCallingIdentity(caller);
563 final long caller = Binder.clearCallingIdentity();
567 Binder.restoreCallingIdentity(caller)
    [all...]
  /frameworks/base/services/core/java/com/android/server/tv/
TvRemoteProviderProxy.java 25 import android.os.Binder;
200 Slog.e(TAG, this + ": Service returned invalid remote-control provider binder");
328 if (mActiveConnection == this && Binder.getCallingUid() == mUid) {
333 final long idToken = Binder.clearCallingIdentity();
340 Binder.restoreCallingIdentity(idToken);
345 "openInputBridge, Invalid connection or incorrect uid: " + Binder
354 if (mActiveConnection == this && Binder.getCallingUid() == mUid) {
359 final long idToken = Binder.clearCallingIdentity();
365 Binder.restoreCallingIdentity(idToken);
371 Binder.getCallingUid())
    [all...]
  /frameworks/base/services/core/java/com/android/server/webkit/
WebViewUpdateService.java 24 import android.os.Binder;
154 @Override // Binder call
159 if (Binder.getCallingUid() != Process.SHARED_RELRO_UID &&
160 Binder.getCallingUid() != Process.SYSTEM_UID) {
164 long callingId = Binder.clearCallingIdentity();
168 Binder.restoreCallingIdentity(callingId);
176 @Override // Binder call
182 if (Binder.getCallingPid() == Process.myPid()) {
192 @Override // Binder call
198 + Binder.getCallingPid(
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
ConnectionServiceWrapper.java 22 import android.os.Binder;
70 long token = Binder.clearCallingIdentity();
78 Binder.restoreCallingIdentity(token);
86 long token = Binder.clearCallingIdentity();
98 Binder.restoreCallingIdentity(token);
106 long token = Binder.clearCallingIdentity();
118 Binder.restoreCallingIdentity(token);
126 long token = Binder.clearCallingIdentity();
136 Binder.restoreCallingIdentity(token);
144 long token = Binder.clearCallingIdentity()
    [all...]
  /external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DaggerAdapter.java 19 import com.google.inject.Binder;
76 @Override public void configure(Binder binder) {
78 binder.install(ProviderMethodsModule.forModule(module, DaggerMethodScanner.INSTANCE));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
RemoteCallbackListTest.java 3 import android.os.Binder;
32 return new Binder();
  /frameworks/base/location/lib/java/com/android/location/provider/
ActivityRecognitionProviderClient.java 22 import android.os.Binder;
42 int callingUid = Binder.getCallingUid();
59 * Gets the binder needed to interact with proxy provider in the platform.
  /packages/apps/Terminal/src/com/android/terminal/
TerminalService.java 21 import android.os.Binder;
32 public class ServiceBinder extends Binder {
  /frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
PacService.java 20 import android.os.Binder;
96 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
105 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
114 if (Binder.getCallingUid() != Process.SYSTEM_UID) {
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
InputBindingTest.java 20 import android.os.Binder;
32 Binder binder = new Binder(); local
35 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid);
38 assertSame(binder, inputBinding.getConnectionToken());
51 assertSame(binder, target.getConnectionToken());

Completed in 428 milliseconds

12 3 4 5 6 7 8 91011>>