Home
last modified time | relevance | path

Searched refs:serviceConnection (Results 1 – 7 of 7) sorted by relevance

/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DKeepAliveHttpsTransportSE.java44 ServiceConnection serviceConnection = in getServiceConnection() local
46 serviceConnection.setRequestProperty("Connection", "keep-alive"); in getServiceConnection()
47 return serviceConnection; in getServiceConnection()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextImplTest.java179 ServiceConnection serviceConnection = buildServiceConnection(); in bindServiceAsUser() local
184 serviceIntent, serviceConnection, flags, Process.myUserHandle())) in bindServiceAsUser()
193 ServiceConnection serviceConnection = buildServiceConnection(); in bindService() local
196 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isTrue(); in bindService()
205 ServiceConnection serviceConnection = buildServiceConnection(); in bindService_unbindable() local
209 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isFalse(); in bindService_unbindable()
/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() argument
241 return getShadowInstrumentation().bindService(intent, serviceConnection, i); in bindService()
247 Intent intent, final ServiceConnection serviceConnection, int i, UserHandle userHandle) { in bindServiceAsUser() argument
248 return getShadowInstrumentation().bindService(intent, serviceConnection, i); in bindServiceAsUser()
252 protected void unbindService(final ServiceConnection serviceConnection) { in unbindService() argument
253 getShadowInstrumentation().unbindService(serviceConnection); in unbindService()
DShadowInstrumentation.java476 final Intent intent, final ServiceConnection serviceConnection, int i) {
477 boundServiceConnections.add(serviceConnection);
478 unboundServiceConnections.remove(serviceConnection);
494 serviceConnection, serviceConnectionDataWrapper);
495 serviceConnection.onServiceConnected(
503 protected void unbindService(final ServiceConnection serviceConnection) {
508 unboundServiceConnections.add(serviceConnection);
509 boundServiceConnections.remove(serviceConnection);
514 if (serviceConnectionDataForServiceConnection.containsKey(serviceConnection)) {
516 serviceConnectionDataForServiceConnection.get(serviceConnection);
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java134 context.unbindService(serviceConnection); in requestServiceBind()
140 context.bindService(COMPAT_SERVICE_INTENT, serviceConnection, Context.BIND_AUTO_CREATE); in requestServiceBind()
217 final ServiceConnection serviceConnection = field in SetupCompatServiceProvider
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java324 public boolean bindService(Intent intent, ServiceConnection serviceConnection, int i) { in bindService() argument
329 public void unbindService(ServiceConnection serviceConnection) { in unbindService() argument
/external/ksoap2/
D0001-ksoap2-update.patch2218 - private ServiceConnection serviceConnection;
2525 - if (serviceConnection == null) {
2527 - serviceConnection = new ServiceConnectionSE(proxy, url, timeout);
2529 - return serviceConnection;
2763 - private ServiceConnection serviceConnection = null;
2799 - if (serviceConnection == null) {
2800 - serviceConnection = new HttpsServiceConnectionSE(host, port, file, timeout);
2802 - return serviceConnection;
2861 - private ServiceConnection serviceConnection;
2877 - if (serviceConnection == null) {
[all …]