Home
last modified time | relevance | path

Searched refs:getBoundServiceConnections (Results 1 – 5 of 5) sorted by relevance

/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DRobolectricTestUtilities.java211 if (getBoundServiceConnections().isEmpty()) { in getServiceConnection()
214 return getBoundServiceConnections().get(0); in getServiceConnection()
217 private List<ServiceConnection> getBoundServiceConnections() { in getBoundServiceConnections() method in RobolectricTestUtilities
218 return shadowOf(context).getBoundServiceConnections(); in getBoundServiceConnections()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowApplicationTest.java525 assertThat(shadowApplication.getBoundServiceConnections()).hasSize(0); in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnections()
527 assertThat(shadowApplication.getBoundServiceConnections()).hasSize(1); in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnections()
528 assertThat(shadowApplication.getBoundServiceConnections().get(0)) in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnections()
539 assertThat(shadowApplication.getBoundServiceConnections()).hasSize(0); in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnectionsEvenIfServiceUnboundable()
541 assertThat(shadowApplication.getBoundServiceConnections()).hasSize(1); in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnectionsEvenIfServiceUnboundable()
542 …assertThat(shadowApplication.getBoundServiceConnections().get(0)).isSameInstanceAs(expectedService… in bindServiceShouldAddServiceConnectionToListOfBoundServiceConnectionsEvenIfServiceUnboundable()
551 assertThat(shadowApplication.getBoundServiceConnections()).hasSize(1); in unbindServiceShouldRemoveServiceConnectionFromListOfBoundServiceConnections()
554 assertThat(shadowApplication.getBoundServiceConnections()).hasSize(0); in unbindServiceShouldRemoveServiceConnectionFromListOfBoundServiceConnections()
DShadowContextImplTest.java188 assertThat(shadowOf(context).getBoundServiceConnections()).hasSize(1); in bindServiceAsUser()
199 assertThat(shadowOf(context).getBoundServiceConnections()).hasSize(1); in bindService()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplication.java117 public List<ServiceConnection> getBoundServiceConnections() { in getBoundServiceConnections() method in ShadowApplication
118 return getShadowInstrumentation().getBoundServiceConnections(); in getBoundServiceConnections()
DShadowInstrumentation.java531 protected List<ServiceConnection> getBoundServiceConnections() {