Home
last modified time | relevance | path

Searched refs:ServiceConnection (Results 1 – 22 of 22) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextImplTest.java18 import android.content.ServiceConnection;
179 ServiceConnection serviceConnection = buildServiceConnection(); in bindServiceAsUser()
193 ServiceConnection serviceConnection = buildServiceConnection(); in bindService()
205 ServiceConnection serviceConnection = buildServiceConnection(); in bindService_unbindable()
212 private ServiceConnection buildServiceConnection() { in buildServiceConnection()
213 return new ServiceConnection() { in buildServiceConnection()
DShadowServiceTest.java13 import android.content.ServiceConnection;
48 ServiceConnection conn = Shadow.newInstanceOf(MediaScannerConnection.class); in shouldUnbindServiceAtShadowApplication()
57 ServiceConnection conn = Shadow.newInstanceOf(MediaScannerConnection.class); in shouldUnbindServiceSuccessfully()
64 ServiceConnection conn = Shadow.newInstanceOf(MediaScannerConnection.class); in shouldUnbindServiceWithExceptionWhenRequested()
DTestService.java6 import android.content.ServiceConnection;
9 class TestService extends Service implements ServiceConnection {
DShadowApplicationTest.java26 import android.content.ServiceConnection;
523 final ServiceConnection expectedServiceConnection = new EmptyServiceConnection(); in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnections()
535 final ServiceConnection expectedServiceConnection = new EmptyServiceConnection(); in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnectionsEvenIfServiceUnboundable()
548 final ServiceConnection expectedServiceConnection = new EmptyServiceConnection(); in unbindServiceShouldRemoveServiceConnectionFromListOfBoundServiceConnections()
603 private static class EmptyServiceConnection implements ServiceConnection {
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
DServiceConnectionSE.java37 public class ServiceConnectionSE implements ServiceConnection {
47 this(null, url, ServiceConnection.DEFAULT_TIMEOUT); in ServiceConnectionSE()
51 this(proxy, url, ServiceConnection.DEFAULT_TIMEOUT); in ServiceConnectionSE()
DKeepAliveHttpsTransportSE.java43 public ServiceConnection getServiceConnection() throws IOException { in getServiceConnection()
44 ServiceConnection serviceConnection = in getServiceConnection()
DHttpTransportSE.java156 ServiceConnection connection = getServiceConnection(); in call()
293 protected void sendData(byte[] requestData, ServiceConnection connection, SoapEnvelope envelope) in sendData()
356 public ServiceConnection getServiceConnection() throws IOException { in getServiceConnection()
DHttpsTransportSE.java53 public ServiceConnection getServiceConnection() throws IOException { in getServiceConnection()
DHttpsServiceConnectionSE.java36 public class HttpsServiceConnectionSE implements ServiceConnection {
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
DTransport.java54 protected int timeout = ServiceConnection.DEFAULT_TIMEOUT;
68 private int bufferLength = ServiceConnection.DEFAULT_BUFFER_SIZE;
299 abstract public ServiceConnection getServiceConnection() throws IOException; in getServiceConnection()
DServiceConnection.java32 public interface ServiceConnection { interface
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContextImpl.java21 import android.content.ServiceConnection;
240 protected boolean bindService(Intent intent, final ServiceConnection serviceConnection, int i) { in bindService()
247 Intent intent, final ServiceConnection serviceConnection, int i, UserHandle userHandle) { in bindServiceAsUser()
252 protected void unbindService(final ServiceConnection serviceConnection) { in unbindService()
DShadowInstrumentation.java27 import android.content.ServiceConnection;
69 private List<ServiceConnection> boundServiceConnections = new ArrayList<>();
70 private List<ServiceConnection> unboundServiceConnections = new ArrayList<>();
83 private Map<ServiceConnection, ServiceConnectionDataWrapper>
476 final Intent intent, final ServiceConnection serviceConnection, int i) {
503 protected void unbindService(final ServiceConnection serviceConnection) {
526 protected List<ServiceConnection> getBoundServiceConnections() {
534 protected List<ServiceConnection> getUnboundServiceConnections() {
DShadowApplication.java14 import android.content.ServiceConnection;
117 public List<ServiceConnection> getBoundServiceConnections() { in getBoundServiceConnections()
125 public List<ServiceConnection> getUnboundServiceConnections() { in getUnboundServiceConnections()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java23 import android.content.ServiceConnection;
217 final ServiceConnection serviceConnection =
218 new ServiceConnection() {
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptProcessMonitor.java23 import android.content.ServiceConnection;
67 private ServiceConnection mConnection = new ServiceConnection() {
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
DMockContext.java324 public boolean bindService(Intent intent, ServiceConnection serviceConnection, int i) { in bindService()
329 public void unbindService(ServiceConnection serviceConnection) { in unbindService()
/external/ksoap2/
D0001-ksoap2-update.patch24 .../ksoap2/transport/ServiceConnection.java | 13 +-
1826 …/main/java/org/ksoap2/transport/ServiceConnection.java b/ksoap2-base/src/main/java/org/ksoap2/tran…
1828 --- a/ksoap2-base/src/main/java/org/ksoap2/transport/ServiceConnection.java
1829 +++ b/ksoap2-base/src/main/java/org/ksoap2/transport/ServiceConnection.java
1842 @@ -58,6 +60,13 @@ public interface ServiceConnection {
1856 @@ -88,6 +97,8 @@ public interface ServiceConnection {
1898 private int bufferLength = ServiceConnection.DEFAULT_BUFFER_SIZE;
2105 abstract public ServiceConnection getServiceConnection() throws IOException;
2218 - private ServiceConnection serviceConnection;
2298 ServiceConnection connection = getServiceConnection();
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java30 import android.content.ServiceConnection;
136 private final ServiceConnection mConnection = new ServiceConnection() {
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DStackListener.java34 import android.content.ServiceConnection;
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsStackAdaptor.java44 import android.content.ServiceConnection;
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DLoopbackActivity.java27 import android.content.ServiceConnection;
202 private final ServiceConnection mServiceConnection = new ServiceConnection() {