/external/guice/core/src/com/google/inject/internal/ |
PrivateElementsImpl.java | 28 import com.google.inject.Binder; 114 public void applyTo(Binder binder) { 115 PrivateBinder privateBinder = binder.withSource(source).newPrivateBinder();
|
ProviderInstanceBindingImpl.java | 21 import com.google.inject.Binder; 94 public void applyTo(Binder binder) { 96 binder.withSource(getSource()).bind(getKey()).toProvider(getUserSuppliedProvider()));
|
/external/guice/core/test/com/google/inject/spi/ |
ElementSourceTest.java | 7 import com.google.inject.Binder; 159 public void configure(Binder binder) { 160 binder.install(new C());
|
/external/guice/extensions/struts2/src/com/google/inject/struts2/ |
Struts2Factory.java | 20 import com.google.inject.Binder; 134 interceptor.validate(binder()); 186 void validate(Binder binder) { 189 binder.addError("Scoping interceptors is not currently supported." 196 binder.addError(interceptorClass.getName() + " must implement "
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
CheckedProviderMethod.java | 20 import com.google.inject.Binder; 26 import com.google.inject.binder.ScopedBindingBuilder; 79 void configure(Binder binder) { 80 binder = binder.withSource(method); 83 ThrowingProviderBinder.create(binder) 97 // the cast is safe 'cause the only binder we have implements PrivateBinder. If there's a 98 // misplaced @Exposed, calling this will add an error to the binder's error queue 99 ((PrivateBinder) binder).expose(sbinder.getKey()) [all...] |
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
TriggerService.java | 24 import android.os.Binder; 64 public class LocalBinder extends Binder {
|
/frameworks/base/core/java/android/app/ |
KeyguardManager.java | 25 import android.os.Binder; 127 private final IBinder mToken = new Binder();
|
StatusBarManager.java | 22 import android.os.Binder; 98 private IBinder mToken = new Binder();
|
/frameworks/base/core/java/android/os/ |
CommonClock.java | 20 import android.os.Binder; 103 * Name of the underlying native binder service 272 * service encounters a fatal error and needs to restart, the binder connection from the 314 private class TimelineChangedListener extends Binder {
|
/frameworks/base/services/core/java/com/android/server/ |
EntropyMixer.java | 29 import android.os.Binder; 59 public class EntropyMixer extends Binder {
|
NetworkTimeUpdateService.java | 29 import android.os.Binder; 57 public class NetworkTimeUpdateService extends Binder { 329 + Binder.getCallingPid() 330 + ", uid=" + Binder.getCallingUid()
|
TextServicesManagerService.java | 46 import android.os.Binder; 301 final int uid = Binder.getCallingUid(); 307 + mSettings.getCurrentUserId() + ", calling pid = " + Binder.getCallingPid()); 552 final int uid = Binder.getCallingUid(); 593 final long ident = Binder.clearCallingIdentity(); 598 Binder.restoreCallingIdentity(ident); 736 final long ident = Binder.clearCallingIdentity(); 741 Binder.restoreCallingIdentity(ident); 757 final long ident = Binder.clearCallingIdentity(); 761 Binder.restoreCallingIdentity(ident) [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ReceiverList.java | 20 import android.os.Binder; 108 sb.append((receiver.asBinder() instanceof Binder) ? " local:" : " remote:");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkManagementServiceTest.java | 23 import android.os.Binder; 90 doReturn(new Binder()).when(observer).asBinder(); // Used by registerObserver.
|
/packages/services/Telephony/src/com/android/phone/ |
NetworkQueryService.java | 24 import android.os.Binder; 67 public class LocalBinder extends Binder {
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/ |
ControllerService.java | 28 import android.os.Binder; 112 public class ControllerBinder extends Binder {
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Vpn.java | 58 import android.os.Binder; 336 final long token = Binder.clearCallingIdentity(); 344 Binder.restoreCallingIdentity(token); 479 long token = Binder.clearCallingIdentity(); 523 Binder.restoreCallingIdentity(token); 540 long token = Binder.clearCallingIdentity(); 550 Binder.restoreCallingIdentity(token); 560 return appOps.noteOpNoThrow(AppOpsManager.OP_ACTIVATE_VPN, Binder.getCallingUid(), 655 long token = Binder.clearCallingIdentity(); 665 Binder.restoreCallingIdentity(token) [all...] |
/frameworks/base/services/core/java/com/android/server/job/ |
JobSchedulerService.java | 56 import android.os.Binder; [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityManager.java | 25 import android.os.Binder; 194 if (Binder.getCallingUid() == Process.SYSTEM_UID 327 // client using it is called through Binder from another process. Example: MMS 329 long identityToken = Binder.clearCallingIdentity(); 331 Binder.restoreCallingIdentity(identityToken);
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
MiscService.java | 21 import android.os.Binder;
|
/system/connectivity/shill/vpn/ |
vpn_service.h | 85 std::unique_ptr<Connection::Binder> connection_binder_;
|
/system/core/libbinderwrapper/ |
stub_binder_wrapper.cc | 20 #include <binder/Binder.h> 21 #include <binder/IBinder.h> 32 const sp<IBinder>& binder) { 33 services_to_return_[service_name] = binder; 42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) { 43 const auto it = death_callbacks_.find(binder); 54 const sp<IBinder>& binder) { 55 registered_services_[service_name] = binder; 60 sp<BBinder> binder(new BBinder()) [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
AppWidgetServiceImpl.java | 59 import android.os.Binder; 463 final long identity = Binder.clearCallingIdentity(); 501 Binder.restoreCallingIdentity(identity); 535 final long identity = Binder.clearCallingIdentity(); 551 Binder.restoreCallingIdentity(identity); 588 final long identity = Binder.clearCallingIdentity(); 622 Binder.restoreCallingIdentity(identity); 708 + Binder.getCallingPid() 709 + ", uid=" + Binder.getCallingUid()); 760 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage) [all...] |
/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/ |
BoundFieldModule.java | 21 import com.google.inject.Binder; 26 import com.google.inject.binder.AnnotatedBindingBuilder; 27 import com.google.inject.binder.LinkedBindingBuilder; 101 // Note that binder is not initialized until configure() is called. 102 private Binder binder; field in class:BoundFieldModule 268 // has multiple BindingAnnotations, relying on the binder to throw an error in this case. 280 * to {@link Binder#bind}. 304 AnnotatedBindingBuilder<?> annotatedBinder = binder.bind(fieldInfo.boundType); 305 LinkedBindingBuilder<?> binder = verifyBindingAnnotations(fieldInfo.field, annotatedBinder) local [all...] |
/frameworks/base/core/java/android/content/pm/ |
ParceledListSlice.java | 19 import android.os.Binder; 144 * and should not be used anymore. This is so we can pass this to a Binder 169 Binder retriever = new Binder() {
|