Home
last modified time | relevance | path

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

12

/external/setupcompat/main/java/com/google/android/setupcompat/portal/
DPortalHelper.java22 import android.content.ServiceConnection;
59 @NonNull Context context, @NonNull ServiceConnection connection) { in bindSetupNotificationService()
87 ServiceConnection connection = in registerProgressService()
88 new ServiceConnection() { in registerProgressService()
96 final ServiceConnection serviceConnection = this; in registerProgressService()
146 ServiceConnection connection = in isPortalAvailable()
147 new ServiceConnection() { in isPortalAvailable()
184 ServiceConnection connection = in isProgressServiceAlive()
185 new ServiceConnection() { in isProgressServiceAlive()
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
DReflectionUtilities.java20 import android.content.ServiceConnection;
51 ServiceConnection.class, in canUseReflectedApis()
75 Context context, Intent bindIntent, ServiceConnection connection, UserHandle otherUserHandle) in bindServiceAsUser()
84 ServiceConnection.class, in bindServiceAsUser()
DConnectionBinder.java20 import android.content.ServiceConnection;
38 ServiceConnection connection, in tryBind()
DDpcProfileBinder.java25 import android.content.ServiceConnection;
47 ServiceConnection connection, in tryBind()
DAbstractProfileBinder.java23 import android.content.ServiceConnection;
58 ServiceConnection connection, in tryBind()
DCrossProfileSender.java26 import android.content.ServiceConnection;
290 private final ServiceConnection connection =
291 new ServiceConnection() {
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextImplTest.java18 import android.content.ServiceConnection;
180 ServiceConnection serviceConnection = buildServiceConnection(); in bindServiceAsUser()
194 ServiceConnection serviceConnection = buildServiceConnection(); in bindService()
206 ServiceConnection serviceConnection = buildServiceConnection(); in bindService_unbindable()
213 private ServiceConnection buildServiceConnection() { in buildServiceConnection()
214 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/
DKeepAliveHttpsTransportSE.java43 public ServiceConnection getServiceConnection() throws IOException { in getServiceConnection()
44 ServiceConnection serviceConnection = in getServiceConnection()
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()
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()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
DTransport.java52 protected int timeout = ServiceConnection.DEFAULT_TIMEOUT;
66 private int bufferLength = ServiceConnection.DEFAULT_BUFFER_SIZE;
297 abstract public ServiceConnection getServiceConnection() throws IOException; in getServiceConnection()
DServiceConnection.java32 public interface ServiceConnection { interface
/external/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/
DMainActivity.java28 import android.content.ServiceConnection;
49 private ServiceConnection mServiceConnection = null;
76 mServiceConnection = new ServiceConnection() { in onCreate()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
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>
481 final Intent intent, final ServiceConnection serviceConnection, int i) {
508 protected void unbindService(final ServiceConnection serviceConnection) {
531 protected List<ServiceConnection> getBoundServiceConnections() {
539 protected List<ServiceConnection> getUnboundServiceConnections() {
DShadowApplication.java14 import android.content.ServiceConnection;
117 public List<ServiceConnection> getBoundServiceConnections() { in getBoundServiceConnections()
125 public List<ServiceConnection> getUnboundServiceConnections() { in getUnboundServiceConnections()
DShadowContextImpl.java22 import android.content.ServiceConnection;
287 protected boolean bindService(Intent intent, final ServiceConnection serviceConnection, int i) { in bindService()
294 Intent intent, final ServiceConnection serviceConnection, int i, UserHandle userHandle) { in bindServiceAsUser()
299 protected void unbindService(final ServiceConnection serviceConnection) { in unbindService()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java23 import android.content.ServiceConnection;
213 final ServiceConnection serviceConnection =
214 new ServiceConnection() {
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptProcessMonitor.java23 import android.content.ServiceConnection;
67 private ServiceConnection mConnection = new ServiceConnection() {
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java31 import android.content.ServiceConnection;
203 ServiceConnection serviceConnection = getServiceConnection(); in simulateDisconnectingServiceConnection()
210 private ServiceConnection getServiceConnection() { in getServiceConnection()
217 private List<ServiceConnection> getBoundServiceConnections() { in getBoundServiceConnections()
/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 …]

12