Home
last modified time | relevance | path

Searched refs:bindService (Results 1 – 25 of 41) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowApplicationTest.java202 context.bindService(new Intent(""), service, Context.BIND_AUTO_CREATE); in bindServiceShouldCallOnServiceConnectedWithDefaultValues()
213 context.bindService(new Intent(""), service, Context.BIND_AUTO_CREATE); in bindServiceShouldCallOnServiceConnectedWithNullValues()
229 assertThat(context.bindService(expectedIntent, service, Context.BIND_AUTO_CREATE)).isTrue(); in bindServiceShouldCallOnServiceConnectedWhenNotPaused()
249 context.bindService(expectedIntent, service, Context.BIND_AUTO_CREATE); in unbindServiceShouldCallOnServiceDisconnectedWhenNotPaused()
266 context.bindService(expectedIntent, service, Context.BIND_AUTO_CREATE); in unbindServiceAddsEntryToUnboundServicesCollection()
282 assertFalse(context.bindService(expectedIntent, service, Context.BIND_AUTO_CREATE)); in declaringServiceUnbindableMakesBindServiceReturnFalse()
301 context.bindService(expectedIntentOne, service, Context.BIND_AUTO_CREATE); in bindServiceWithMultipleIntentsMapping()
304 context.bindService(expectedIntentTwo, service, Context.BIND_AUTO_CREATE); in bindServiceWithMultipleIntentsMapping()
321 context.bindService(expectedIntentOne, service, Context.BIND_AUTO_CREATE); in bindServiceWithMultipleIntentsMappingWithDefault()
324 context.bindService(expectedIntentTwo, service, Context.BIND_AUTO_CREATE); in bindServiceWithMultipleIntentsMappingWithDefault()
[all …]
DShadowContextImplTest.java191 public void bindService() throws Exception { in bindService() method in ShadowContextImplTest
196 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isTrue(); in bindService()
209 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isFalse(); in bindService_unbindable()
DShadowServiceTest.java49 service.bindService(new Intent("dummy"), conn, 0); in shouldUnbindServiceAtShadowApplication()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerInterceptors.java50 return interceptForward(bindableService.bindService(), Arrays.asList(interceptors)); in interceptForward()
73 return interceptForward(bindableService.bindService(), interceptors); in interceptForward()
93 return intercept(bindableService.bindService(), Arrays.asList(interceptors)); in intercept()
122 return intercept(bindableService.bindService(), interceptors); in intercept()
DBindableService.java40 ServerServiceDefinition bindService(); in bindService() method
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java240 protected boolean bindService(Intent intent, final ServiceConnection serviceConnection, int i) { in bindService() method in ShadowContextImpl
241 return getShadowInstrumentation().bindService(intent, serviceConnection, i); in bindService()
248 return getShadowInstrumentation().bindService(intent, serviceConnection, i); in bindServiceAsUser()
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DMutableHandlerRegistry.java64 return addService(bindableService.bindService()); in addService()
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/
DHelloJsonServer.java102 public ServerServiceDefinition bindService() { in bindService() method in HelloJsonServer.GreeterImpl
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java140 context.bindService(COMPAT_SERVICE_INTENT, serviceConnection, Context.BIND_AUTO_CREATE); in requestServiceBind()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DMutableHandlerRegistryTest.java126 public ServerServiceDefinition bindService() { in simpleLookupWithBindable()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptProcessMonitor.java88 bindService(new Intent(this, ScriptingLayerService.class), mConnection, 0); in onCreate()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractServerImplBuilder.java146 return addService(bindableService.bindService()); in addService()
/external/grpc-grpc-java/services/src/test/java/io/grpc/protobuf/services/
DProtoReflectionServiceTest.java69 (new DynamicServiceGrpc.DynamicServiceImplBase() {}).bindService();
71 (new AnotherDynamicServiceGrpc.AnotherDynamicServiceImplBase() {}).bindService();
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java324 public boolean bindService(Intent intent, ServiceConnection serviceConnection, int i) { in bindService() method in MockContext.MockContext2
/external/grpc-grpc-java/grpclb/src/generated/main/grpc/io/grpc/lb/v1/
DLoadBalancerGrpc.java99 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in LoadBalancerGrpc.LoadBalancerImplBase
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/reflection/v1alpha/
DServerReflectionGrpc.java100 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in ServerReflectionGrpc.ServerReflectionImplBase
/external/grpc-grpc-java/alts/src/generated/main/grpc/io/grpc/alts/internal/
DHandshakerServiceGrpc.java104 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in HandshakerServiceGrpc.HandshakerServiceImplBase
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/health/v1/
DHealthGrpc.java96 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in HealthGrpc.HealthImplBase
/external/grpc-grpc-java/services/src/generated/test/grpc/io/grpc/reflection/testing/
DReflectableServiceGrpc.java96 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in ReflectableServiceGrpc.ReflectableServiceImplBase
DDynamicServiceGrpc.java105 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in DynamicServiceGrpc.DynamicServiceImplBase
DAnotherDynamicServiceGrpc.java105 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in AnotherDynamicServiceGrpc.AnotherDynamicServiceImplBase
/external/grpc-grpc-java/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/
DReportQpsScenarioServiceGrpc.java99 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in ReportQpsScenarioServiceGrpc.ReportQpsScenarioServiceImplBase
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/
DUnimplementedServiceGrpc.java107 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in UnimplementedServiceGrpc.UnimplementedServiceImplBase
DReconnectServiceGrpc.java141 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in ReconnectServiceGrpc.ReconnectServiceImplBase
DMetricsServiceGrpc.java142 @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { in bindService() method in MetricsServiceGrpc.MetricsServiceImplBase

12