OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:connectionsMap
(Results
1 - 2
of
2
) sorted by null
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowSQLiteConnectionTest.java
114
final Map<Long, SQLiteConnection>
connectionsMap
= ReflectionHelpers.getField(CONNECTIONS, "
connectionsMap
");
116
assertThat(
connectionsMap
).named("connections before").isNotEmpty();
119
assertThat(
connectionsMap
).named("connections after").isEmpty();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowSQLiteConnection.java
358
private final Map<Long, SQLiteConnection>
connectionsMap
= new HashMap<>();
364
final SQLiteConnection connection =
connectionsMap
.get(connectionPtr);
367
+ ". Current pointers for thread " + Thread.currentThread() + " " +
connectionsMap
.keySet());
404
connectionsMap
.put(connectionPtr, dbConnection);
440
connectionsMap
.remove(connectionPtr);
450
openConnections = new ArrayList<>(
connectionsMap
.values());
453
connectionsMap
.clear();
Completed in 44 milliseconds