Lines Matching refs:key
35 // unique key for the session
36 public static final String COLUMN_KEY = "key";
49 " TEXT primary key, " + COLUMN_CLASS + " TEXT, " +
84 private ContentValues createSessionEntry(String key, Class learner, byte[] model) {
86 entry.put(COLUMN_KEY, key);
93 boolean saveSession(String key, Class learner, byte[] model) {
94 ContentValues content = createSessionEntry(key, learner, model);
115 BordeauxSessionManager.Session getSession(String key) {
118 COLUMN_KEY + "=\"" + key + "\"", null, null, null, null, null);
125 throw new RuntimeException("Unexpected duplication in session table for key:" + key);
137 String key = cursor.getString(cursor.getColumnIndex(COLUMN_KEY));
139 sessions.put(key, session);
143 // remove all sessions that have the key that matches the given sql regular