Home
last modified time | relevance | path

Searched refs:clientId (Results 1 – 14 of 14) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java192 final String clientId = cursor.getString(0); in tryUpdate() local
194 MetadataDbHelper.getMetadataUriAsString(context, clientId); in tryUpdate()
195 PrivateLog.log("Update for clientId " + DebugLogUtils.s(clientId)); in tryUpdate()
196 DebugLogUtils.l("Update for clientId", clientId, " which uses URI ", metadataUri); in tryUpdate()
305 public static void cancelUpdate(final Context context, final String clientId) { in cancelUpdate() argument
307 final String metadataUri = MetadataDbHelper.getMetadataUriAsString(context, clientId); in cancelUpdate()
488 final String clientId) { in publishUpdateWordListCompleted() argument
492 actions.add(new ActionBatch.InstallAfterDownloadAction(clientId, in publishUpdateWordListCompleted()
590 final String clientId) throws IOException, BadFormatException { in handleMetadata() argument
604 final ActionBatch actions = computeUpgradeTo(context, clientId, newMetadata); in handleMetadata()
[all …]
DActionBatch.java100 public StartDownloadAction(final String clientId, final WordListMetadata wordList) { in StartDownloadAction() argument
101 DebugLogUtils.l("New download action for client ", clientId, " : ", wordList); in StartDownloadAction()
102 mClientId = clientId; in StartDownloadAction()
167 public InstallAfterDownloadAction(final String clientId, in InstallAfterDownloadAction() argument
169 DebugLogUtils.l("New InstallAfterDownloadAction for client ", clientId, " : ", in InstallAfterDownloadAction()
171 mClientId = clientId; in InstallAfterDownloadAction()
211 public EnableAction(final String clientId, final WordListMetadata wordList) { in EnableAction() argument
212 DebugLogUtils.l("New EnableAction for client ", clientId, " : ", wordList); in EnableAction()
213 mClientId = clientId; in EnableAction()
246 public DisableAction(final String clientId, final WordListMetadata wordlist) { in DisableAction() argument
[all …]
DMetadataDbHelper.java172 final String clientId = null != clientIdOrNull ? clientIdOrNull : ""; in getInstance() local
174 MetadataDbHelper helper = sInstanceMap.get(clientId); in getInstance()
176 helper = new MetadataDbHelper(context, clientId); in getInstance()
177 sInstanceMap.put(clientId, helper); in getInstance()
181 private MetadataDbHelper(final Context context, final String clientId) { in MetadataDbHelper() argument
183 METADATA_DATABASE_NAME_STEM + (TextUtils.isEmpty(clientId) ? "" : "." + clientId), in MetadataDbHelper()
186 mClientId = clientId; in MetadataDbHelper()
201 public static SQLiteDatabase getDb(final Context context, final String clientId) { in getDb() argument
202 return getInstance(context, clientId).getWritableDatabase(); in getDb()
340 public static boolean isClientKnown(final Context context, final String clientId) { in isClientKnown() argument
[all …]
DDictionaryProvider.java230 final String clientId = getClientId(uri); in query() local
235 final Cursor c = MetadataDbHelper.queryDictionaries(getContext(), clientId); in query()
242 if (!MetadataDbHelper.isClientKnown(getContext(), clientId)) return null; in query()
247 getDictionaryWordListsForLocale(clientId, locale); in query()
269 private ContentValues getWordlistMetadataForWordlistId(final String clientId, in getWordlistMetadataForWordlistId() argument
273 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in getWordlistMetadataForWordlistId()
301 final String clientId = getClientId(uri); in openAssetFile() local
302 final ContentValues wordList = getWordlistMetadataForWordlistId(clientId, wordlistId); in openAssetFile()
342 private Collection<WordListInfo> getDictionaryWordListsForLocale(final String clientId, in getDictionaryWordListsForLocale() argument
347 clientId); in getDictionaryWordListsForLocale()
[all …]
DMetadataHandler.java94 final String clientId) { in getCurrentMetadata() argument
97 final Cursor results = MetadataDbHelper.queryCurrentMetadata(context, clientId); in getCurrentMetadata()
118 final String clientId, final String wordListId, final int version) { in getCurrentMetadataForWordList() argument
120 MetadataDbHelper.getDb(context, clientId), wordListId, version); in getCurrentMetadataForWordList()
126 clientId, wordListId, version)); in getCurrentMetadataForWordList()
DDictionaryDownloadProgressBar.java48 public void setIds(final String clientId, final String wordlistId) { in setIds() argument
49 mClientId = clientId; in setIds()
54 final String clientId, final String wordlistId) { in getDownloadManagerPendingIdFromWordlistId() argument
55 final SQLiteDatabase db = MetadataDbHelper.getDb(context, clientId); in getDownloadManagerPendingIdFromWordlistId()
DDownloadRecord.java30 public DownloadRecord(final String clientId, final ContentValues attributes) { in DownloadRecord() argument
31 mClientId = clientId; in DownloadRecord()
DWordListPreference.java70 final DictionaryListInterfaceState dictionaryListInterfaceState, final String clientId, in WordListPreference() argument
75 mClientId = clientId; in WordListPreference()
DDictionarySettingsFragment.java279 final String clientId) { in createInstalledDictSettingsCollection() argument
287 .appendPath(clientId) in createInstalledDictSettingsCollection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java129 private static Uri.Builder getContentUriBuilderForType(final String clientId, in getContentUriBuilderForType() argument
134 final Uri.Builder uriV2Builder = getProviderUriBuilder(clientId); in getContentUriBuilderForType()
150 final String clientId = context.getString(R.string.dictionary_pack_client_id); in getWordListWordListInfos() local
156 final Uri.Builder builder = getContentUriBuilderForType(clientId, client, in getWordListWordListInfos()
168 reinitializeClientRecordInDictionaryContentProvider(context, client, clientId); in getWordListWordListInfos()
241 final String clientId = context.getString(R.string.dictionary_pack_client_id); in installWordListToStaging() local
244 wordListUriBuilder = getContentUriBuilderForType(clientId, in installWordListToStaging()
367 reportBrokenFileToDictionaryProvider(providerClient, clientId, wordlistId); in installWordListToStaging()
371 final ContentProviderClient providerClient, final String clientId, in reportBrokenFileToDictionaryProvider() argument
374 final Uri.Builder wordListUriBuilder = getContentUriBuilderForType(clientId, in reportBrokenFileToDictionaryProvider()
[all …]
/packages/apps/Email/provider_src/com/android/email/activity/setup/
DAccountSettingsUtils.java129 b.appendQueryParameter("client_id", provider.clientId); in createOAuthRegistrationRequest()
169 provider.clientId = getXmlAttribute(context, xml, "client_id"); in getAllOAuthProviders()
220 provider.clientId = getXmlAttribute(context, xml, "client_id"); in findOAuthProvider()
/packages/apps/Email/provider_src/com/android/email/mail/internet/
DOAuthAuthenticator.java95 nvp.add(new BasicNameValuePair(OAUTH_REQUEST_CLIENT_ID, provider.clientId)); in requestAccess()
124 nvp.add(new BasicNameValuePair(OAUTH_REQUEST_CLIENT_ID, provider.clientId)); in requestRefresh()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DVendorPolicyLoader.java206 public String clientId; field in VendorPolicyLoader.OAuthProvider
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt43792 01-13 23:16:55.630 219 219 D RILD : RIL_Init argc = 5 clientId = 0
92303 01-13 23:17:28 removeResource(pid 1419, clientId 2727649696)
92304 01-13 23:17:28 removeResource(pid 1419, clientId 2727649696)
92305 01-13 23:17:28 removeResource(pid 1419, clientId 2727649696)
92306 01-13 23:17:28 removeResource(pid 1419, clientId 2727642752)
92307 01-13 23:17:28 removeResource(pid 1419, clientId 2727642752)
92308 01-13 23:17:28 removeResource(pid 1419, clientId 2727642752)
92309 01-13 23:17:28 removeResource(pid 1419, clientId 2730582752)
92310 01-13 23:17:28 removeResource(pid 1419, clientId 2730582752)
92311 01-13 23:17:28 removeResource(pid 1419, clientId 2730582752)
[all …]