Home
last modified time | relevance | path

Searched refs:serviceConnection (Results 1 – 9 of 9) 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.java180 ServiceConnection serviceConnection = buildServiceConnection(); in bindServiceAsUser() local
185 serviceIntent, serviceConnection, flags, Process.myUserHandle())) in bindServiceAsUser()
194 ServiceConnection serviceConnection = buildServiceConnection(); in bindService() local
197 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isTrue(); in bindService()
206 ServiceConnection serviceConnection = buildServiceConnection(); in bindService_unbindable() local
210 assertThat(context.bindService(serviceIntent, serviceConnection, flags)).isFalse(); in bindService_unbindable()
/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() argument
288 return getShadowInstrumentation().bindService(intent, serviceConnection, i); in bindService()
294 Intent intent, final ServiceConnection serviceConnection, int i, UserHandle userHandle) { in bindServiceAsUser() argument
295 return getShadowInstrumentation().bindService(intent, serviceConnection, i); in bindServiceAsUser()
299 protected void unbindService(final ServiceConnection serviceConnection) { in unbindService() argument
300 getShadowInstrumentation().unbindService(serviceConnection); in unbindService()
DShadowInstrumentation.java481 final Intent intent, final ServiceConnection serviceConnection, int i) {
482 boundServiceConnections.add(serviceConnection);
483 unboundServiceConnections.remove(serviceConnection);
499 serviceConnection, serviceConnectionDataWrapper);
500 serviceConnection.onServiceConnected(
508 protected void unbindService(final ServiceConnection serviceConnection) {
513 unboundServiceConnections.add(serviceConnection);
514 boundServiceConnections.remove(serviceConnection);
519 if (serviceConnectionDataForServiceConnection.containsKey(serviceConnection)) {
521 serviceConnectionDataForServiceConnection.get(serviceConnection);
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java133 context.unbindService(serviceConnection); in requestServiceBind()
139 context.bindService(COMPAT_SERVICE_INTENT, serviceConnection, Context.BIND_AUTO_CREATE); in requestServiceBind()
213 final ServiceConnection serviceConnection = field in SetupCompatServiceProvider
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java203 ServiceConnection serviceConnection = getServiceConnection(); in simulateDisconnectingServiceConnection() local
204 if (serviceConnection == null) { in simulateDisconnectingServiceConnection()
207 serviceConnection.onServiceDisconnected(new ComponentName("", "")); in simulateDisconnectingServiceConnection()
/external/setupcompat/main/java/com/google/android/setupcompat/portal/
DPortalHelper.java96 final ServiceConnection serviceConnection = this; in registerProgressService()
112 context.unbindService(serviceConnection); in registerProgressService()
/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 …]