Home
last modified time | relevance | path

Searched refs:UpdateHandler (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsFragment.java57 implements UpdateHandler.UpdateEventListener {
137 UpdateHandler.registerUpdateEventListener(this); in onResume()
164 UpdateHandler.unregisterUpdateEventListener(this); in onPause()
379 UpdateHandler.registerUpdateEventListener(this); in startRefresh()
387 if (!UpdateHandler.tryUpdate(activity)) { in startRefresh()
395 UpdateHandler.unregisterUpdateEventListener(this); in cancelRefresh()
400 UpdateHandler.cancelUpdate(context, mClientId); in cancelRefresh()
DDictionaryService.java203 UpdateHandler.tryUpdate(context); in dispatchBroadcast()
210 UpdateHandler.tryUpdate(context); in dispatchBroadcast()
212 UpdateHandler.downloadFinished(context, intent); in dispatchBroadcast()
261 UpdateHandler.tryUpdate(context); in updateNowIfNotUpdatedInAVeryLongTime()
DDownloadOverMeteredDialog.java73 UpdateHandler.setDownloadOverMeteredSetting(this, false); in onClickDeny()
82 UpdateHandler.setDownloadOverMeteredSetting(this, true); in onClickAllow()
83 UpdateHandler.installIfNeverRequested(this, mClientId, mWordListToDownload); in onClickAllow()
DDictionaryProvider.java377 wordListCategory = UpdateHandler.MAIN_DICTIONARY_CATEGORY; in getDictionaryWordListsForLocale()
408 UpdateHandler.installIfNeverRequested(context, clientId, wordListId); in getDictionaryWordListsForLocale()
461 UpdateHandler.markAsDeleted(getContext(), clientId, wordlistId, version, status); in deleteDataFile()
471 UpdateHandler.markAsBrokenOrRetrying(getContext(), clientId, wordlistId, version); in deleteDataFile()
519 UpdateHandler.publishUpdateMetadataCompleted(getContext(), true); in insert()
DWordListPreference.java172 UpdateHandler.markAsUnused(context, mClientId, mWordlistId, mVersion, mStatus); in disableDict()
189 UpdateHandler.markAsUsed(context, mClientId, mWordlistId, mVersion, mStatus, true); in enableDict()
210 UpdateHandler.markAsDeleting(context, mClientId, mWordlistId, mVersion, mStatus); in deleteDict()
DMetadataDbHelper.java214 defaultMetadataValues.put(CLIENT_PENDINGID_COLUMN, UpdateHandler.NOT_AN_ID); in createClientTable()
546 result.put(FORMATVERSION_COLUMN, UpdateHandler.MAXIMUM_SUPPORTED_FORMAT_VERSION); in completeWithDefaultValues()
719 Integer.toString(UpdateHandler.MAXIMUM_SUPPORTED_FORMAT_VERSION) in getContentValuesByWordListId()
896 values.put(CLIENT_PENDINGID_COLUMN, UpdateHandler.NOT_AN_ID); in updateClientInfo()
DMetadataHandler.java164 && wordList.mFormatVersion <= UpdateHandler.MAXIMUM_SUPPORTED_FORMAT_VERSION in findWordListById()
DUpdateHandler.java71 public final class UpdateHandler { class
72 static final String TAG = "DictionaryProvider:" + UpdateHandler.class.getSimpleName();
DActionBatch.java148 final long downloadId = UpdateHandler.registerDownloadRequest(manager, request, db, in execute()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java32 import com.android.inputmethod.dictionarypack.UpdateHandler;
536 UpdateHandler.handleMetadata(context, inputStream, clientId); in reinitializeClientRecordInDictionaryContentProvider()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java28 import com.android.inputmethod.dictionarypack.UpdateHandler;
64 private static final String TEMP_DICT_FILE_SUB = UpdateHandler.TEMP_DICT_FILE_SUB;