Home
last modified time | relevance | path

Searched refs:bindService (Results 1 – 25 of 44) 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.java192 public void bindService() throws Exception { in bindService() method in ShadowContextImplTest
197 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isTrue(); in bindService()
210 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.java287 protected boolean bindService(Intent intent, final ServiceConnection serviceConnection, int i) { in bindService() method in ShadowContextImpl
288 return getShadowInstrumentation().bindService(intent, serviceConnection, i); in bindService()
295 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/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/
DMainActivity.java120bindService(new Intent(getBaseContext(), LwsService.class), mServiceConnection, Context.BIND_AUTO_… in onStart()
/external/setupcompat/main/java/com/google/android/setupcompat/portal/
DPortalHelper.java63 return context.bindService(NOTIFICATION_SERVICE_INTENT, connection, Context.BIND_AUTO_CREATE); in bindSetupNotificationService()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java139 context.bindService(COMPAT_SERVICE_INTENT, serviceConnection, Context.BIND_AUTO_CREATE); in requestServiceBind()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DAbstractServerImplBuilder.java146 return addService(bindableService.bindService()); in addService()
/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/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/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/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/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
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/
DChildProcessConnection.java122 mBound = mContext.bindService(mBindIntent, this, mBindFlags); in bind()

12