Searched refs:getBoundServiceConnections (Results 1 – 5 of 5) sorted by relevance
211 if (getBoundServiceConnections().isEmpty()) { in getServiceConnection()214 return getBoundServiceConnections().get(0); in getServiceConnection()217 private List<ServiceConnection> getBoundServiceConnections() { in getBoundServiceConnections() method in RobolectricTestUtilities218 return shadowOf(context).getBoundServiceConnections(); in getBoundServiceConnections()
525 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()
188 assertThat(shadowOf(context).getBoundServiceConnections()).hasSize(1); in bindServiceAsUser()199 assertThat(shadowOf(context).getBoundServiceConnections()).hasSize(1); in bindService()
117 public List<ServiceConnection> getBoundServiceConnections() { in getBoundServiceConnections() method in ShadowApplication118 return getShadowInstrumentation().getBoundServiceConnections(); in getBoundServiceConnections()
531 protected List<ServiceConnection> getBoundServiceConnections() {