OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:MetadataDbHelper
(Results
1 - 3
of
3
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
ActionBatch.java
114
final SQLiteDatabase db =
MetadataDbHelper
.getDb(context, mClientId);
115
final ContentValues values =
MetadataDbHelper
.getContentValuesByWordListId(db,
117
final int status = values.getAsInteger(
MetadataDbHelper
.STATUS_COLUMN);
120
if (
MetadataDbHelper
.STATUS_DOWNLOADING == status) {
126
manager.remove(values.getAsLong(
MetadataDbHelper
.PENDINGID_COLUMN));
128
MetadataDbHelper
.markEntryAsAvailable(db, mWordList.mId, mWordList.mVersion);
129
} else if (
MetadataDbHelper
.STATUS_AVAILABLE != status) {
209
final int status = mWordListValues.getAsInteger(
MetadataDbHelper
.STATUS_COLUMN);
210
if (
MetadataDbHelper
.STATUS_DOWNLOADING != status) {
211
final String id = mWordListValues.getAsString(
MetadataDbHelper
.WORDLISTID_COLUMN)
[
all
...]
UpdateHandler.java
139
MetadataDbHelper
.registerMetadataDownloadId(context, uri, downloadId);
178
final Cursor cursor =
MetadataDbHelper
.queryClientIds(context);
185
MetadataDbHelper
.getMetadataUriAsString(context, clientId);
281
MetadataDbHelper
.getMetadataDownloadIdForClient(context, clientId);
285
MetadataDbHelper
.getMetadataUriAsString(context, clientId), NOT_AN_ID);
334
MetadataDbHelper
.markEntryAsDownloading(db, id, version, downloadId);
385
MetadataDbHelper
.getDownloadRecordsForDownloadId(context,
397
MetadataDbHelper
.saveLastUpdateTimeOfUri(context, downloadInfo.mUri);
447
final SQLiteDatabase db =
MetadataDbHelper
.getDb(context, record.mClientId);
492
MetadataDbHelper
.deleteDownloadingEntry(db, fileId)
[
all
...]
MetadataDbHelper.java
38
public class
MetadataDbHelper
extends SQLiteOpenHelper {
41
private static final String TAG =
MetadataDbHelper
.class.getSimpleName();
153
private static TreeMap<String,
MetadataDbHelper
> sInstanceMap = null;
154
public static synchronized
MetadataDbHelper
getInstance(final Context context,
162
if (null == sInstanceMap) sInstanceMap = new TreeMap<String,
MetadataDbHelper
>();
163
MetadataDbHelper
helper = sInstanceMap.get(clientId);
165
helper = new
MetadataDbHelper
(context, clientId);
170
private
MetadataDbHelper
(final Context context, final String clientId) {
287
SQLiteDatabase defaultDb =
MetadataDbHelper
.getDb(context, null);
288
final Cursor cursor = defaultDb.query(
MetadataDbHelper
.CLIENT_TABLE_NAME
[
all
...]
Completed in 158 milliseconds