HomeSort by relevance Sort by last modified time
    Searched refs:CONNECTIONS (Results 1 - 2 of 2) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowSQLiteConnection.java 56 private static final Connections CONNECTIONS = new Connections();
72 return castNativePtr(CONNECTIONS.open(path));
89 return CONNECTIONS.prepareStatement(connectionPtr, newSql);
102 CONNECTIONS.reset();
113 CONNECTIONS.close(connectionPtr);
123 CONNECTIONS.finalizeStmt(connectionPtr, statementPtr);
133 return CONNECTIONS.getParameterCount(connectionPtr, statementPtr);
143 return CONNECTIONS.isReadOnly(connectionPtr, statementPtr)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowSQLiteConnectionTest.java 35 private ShadowSQLiteConnection.Connections CONNECTIONS;
114 final Map<Long, SQLiteConnection> connectionsMap = ReflectionHelpers.getField(CONNECTIONS, "connectionsMap");
116 assertThat(connectionsMap).named("connections before").isNotEmpty();
119 assertThat(connectionsMap).named("connections after").isEmpty();
124 final Map<Long, SQLiteStatement> statementsMap = ReflectionHelpers.getField(CONNECTIONS, "statementsMap");
177 CONNECTIONS = ReflectionHelpers.getStaticField(ShadowSQLiteConnection.class, "CONNECTIONS");
178 return CONNECTIONS.getConnection(ptr);

Completed in 44 milliseconds