OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:serviceConnection
(Results
1 - 10
of
10
) sorted by null
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
KeepAliveHttpsTransportSE.java
43
public
ServiceConnection
getServiceConnection() throws IOException {
44
ServiceConnection
serviceConnection
=
46
serviceConnection
.setRequestProperty("Connection", "keep-alive");
47
return
serviceConnection
;
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
BindDeviceAdminServiceFailsTest.java
24
import android.content.
ServiceConnection
;
38
private static final
ServiceConnection
EMPTY_SERVICE_CONNECTION = new
ServiceConnection
() {
78
private boolean bind(Intent serviceIntent,
ServiceConnection
serviceConnection
,
81
serviceIntent,
serviceConnection
, Context.BIND_AUTO_CREATE, userHandle);
BindDeviceAdminServiceGoodSetupTest.java
29
import android.content.
ServiceConnection
;
53
private static final
ServiceConnection
EMPTY_SERVICE_CONNECTION = new
ServiceConnection
() {
183
final
ServiceConnection
serviceConnection
= new
ServiceConnection
() {
203
assertTrue(bind(serviceIntent,
serviceConnection
, targetUserHandle));
213
mContext.unbindService(
serviceConnection
);
217
private boolean bind(Intent serviceIntent,
ServiceConnection
serviceConnection
,
[
all
...]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowContextImplTest.java
18
import android.content.
ServiceConnection
;
179
ServiceConnection
serviceConnection
= buildServiceConnection();
184
serviceIntent,
serviceConnection
, flags, Process.myUserHandle()))
193
ServiceConnection
serviceConnection
= buildServiceConnection();
196
assertThat(context.bindService(serviceIntent,
serviceConnection
, flags)).isTrue();
205
ServiceConnection
serviceConnection
= buildServiceConnection();
209
assertThat(context.bindService(serviceIntent,
serviceConnection
, flags)).isFalse()
[
all
...]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowContextImpl.java
21
import android.content.
ServiceConnection
;
240
protected boolean bindService(Intent intent, final
ServiceConnection
serviceConnection
, int i) {
241
return getShadowInstrumentation().bindService(intent,
serviceConnection
, i);
247
Intent intent, final
ServiceConnection
serviceConnection
, int i, UserHandle userHandle) {
248
return getShadowInstrumentation().bindService(intent,
serviceConnection
, i);
252
protected void unbindService(final
ServiceConnection
serviceConnection
) {
253
getShadowInstrumentation().unbindService(
serviceConnection
);
[
all
...]
ShadowInstrumentation.java
27
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) {
477
boundServiceConnections.add(
serviceConnection
);
478
unboundServiceConnections.remove(
serviceConnection
);
494
serviceConnection
, serviceConnectionDataWrapper);
495
serviceConnection
.onServiceConnected
[
all
...]
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
SetupCompatServiceProvider.java
23
import android.content.
ServiceConnection
;
46
* receiving the stub reference via {@link
ServiceConnection
#onServiceConnected(ComponentName,
134
context.unbindService(
serviceConnection
);
140
context.bindService(COMPAT_SERVICE_INTENT,
serviceConnection
, Context.BIND_AUTO_CREATE);
147
// Robolectric calls
ServiceConnection
#onServiceConnected inline during Context#bindService.
217
final
ServiceConnection
serviceConnection
=
218
new
ServiceConnection
() {
256
* Attempt to call {@link Context#bindService(Intent,
ServiceConnection
, int)} failed because,
264
*
ServiceConnection
#onServiceConnected(ComponentName, IBinder)}
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DeviceAdminTestReceiver.java
28
import android.content.
ServiceConnection
;
224
final
ServiceConnection
serviceConnection
= new
ServiceConnection
() {
238
serviceConnection
, Context.BIND_AUTO_CREATE, primaryUser);
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/mock/
MockContext.java
324
public boolean bindService(Intent intent,
ServiceConnection
serviceConnection
, int i) {
329
public void unbindService(
ServiceConnection
serviceConnection
) {
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
CreateAndManageUserTest.java
27
import android.content.
ServiceConnection
;
526
final
ServiceConnection
serviceConnection
= new
ServiceConnection
() {
549
serviceConnection
,
Completed in 508 milliseconds