Home
last modified time | relevance | path

Searched refs:mClientId (Results 1 – 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DActionBatch.java97 private final String mClientId; field in ActionBatch.StartDownloadAction
102 mClientId = clientId; in StartDownloadAction()
113 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
163 private final String mClientId; field in ActionBatch.InstallAfterDownloadAction
171 mClientId = clientId; in InstallAfterDownloadAction()
190 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
207 private final String mClientId; field in ActionBatch.EnableAction
213 mClientId = clientId; in EnableAction()
224 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); in execute()
243 private final String mClientId; field in ActionBatch.DisableAction
[all …]
DDictionarySettingsFragment.java66 private String mClientId; field in DictionarySettingsFragment
100 mClientId = activity.getIntent().getStringExtra(DICT_SETTINGS_FRAGMENT_CLIENT_ID_ARGUMENT); in onActivityCreated()
113 return MetadataDbHelper.getMetadataUriAsString(getActivity(), mClientId); in onCreateOptionsMenu()
147 if (!MetadataDbHelper.isClientKnown(activity, mClientId)) { in onResume()
148 Log.i(TAG, "Unknown dictionary pack client: " + mClientId in onResume()
153 DictionaryPackConstants.DICTIONARY_PROVIDER_CLIENT_EXTRA, mClientId); in onResume()
237 createInstalledDictSettingsCollection(mClientId); in refreshInterface()
349 mClientId, wordlistId, version, locale, description, status, in createInstalledDictSettingsCollection()
400 UpdateHandler.cancelUpdate(context, mClientId); in cancelRefresh()
DWordListPreference.java61 private final String mClientId; field in WordListPreference
75 mClientId = clientId; in WordListPreference()
172 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()
221 progressBar.setIds(mClientId, mWordlistId); in onBindView()
DDownloadOverMeteredDialog.java42 private String mClientId; field in DownloadOverMeteredDialog
49 mClientId = intent.getStringExtra(CLIENT_ID_KEY); in onCreate()
83 UpdateHandler.installIfNeverRequested(this, mClientId, mWordListToDownload); in onClickAllow()
DDictionaryDownloadProgressBar.java35 private String mClientId; field in DictionaryDownloadProgressBar
49 mClientId = clientId; in setIds()
77 getDownloadManagerPendingIdFromWordlistId(getContext(), mClientId, mWordlistId); in updateReporterThreadRunningStatusAccordingToVisibility()
DDownloadRecord.java25 public final String mClientId; field in DownloadRecord
31 mClientId = clientId; in DownloadRecord()
DUpdateHandler.java451 final SQLiteDatabase db = MetadataDbHelper.getDb(context, record.mClientId); in downloadFinished()
453 db, record.mAttributes, record.mClientId); in downloadFinished()
524 DebugLogUtils.l("Data D/L'd is metadata for", downloadRecord.mClientId); in handleDownloadedFile()
527 manager.openDownloadedFile(fileId)), downloadRecord.mClientId); in handleDownloadedFile()
627 MetadataDbHelper.DESCRIPTION_COLUMN), "for", downloadRecord.mClientId); in handleWordList()
630 + " for " + downloadRecord.mClientId); in handleWordList()
DMetadataDbHelper.java186 mClientId = clientId; in MetadataDbHelper()
190 private final String mClientId; field in MetadataDbHelper
207 if (!TextUtils.isEmpty(mClientId)) return; in createClientTable()
275 if (TextUtils.isEmpty(mClientId)) { in onUpgrade()
288 if (TextUtils.isEmpty(mClientId)) { in onUpgrade()
DDictionaryService.java206 final String mClientId = context.getString(R.string.dictionary_pack_client_id); in dispatchBroadcast() local
207 BinaryDictionaryFileDumper.initializeClientRecordHelper(context, mClientId); in dispatchBroadcast()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpLease.java43 private final byte[] mClientId; field in DhcpLease
59 mClientId = (clientId == null ? null : Arrays.copyOf(clientId, clientId.length)); in DhcpLease()
74 if (mClientId == null) { in getClientId()
77 return Arrays.copyOf(mClientId, mClientId.length); in getClientId()
111 return new DhcpLease(mClientId, mHwAddr, mNetAddr, mPrefixLength, in renewedLease()
122 if (mClientId != null) { in matchesClient()
123 return Arrays.equals(mClientId, clientId); in matchesClient()
135 return Arrays.equals(mClientId, other.mClientId) in equals()
145 return Objects.hash(mClientId, mHwAddr, mNetAddr, mPrefixLength, mHostname, mExpTime); in hashCode()
163 clientIdToString(mClientId), mHwAddr.toString(), inet4AddrToString(mNetAddr), in toString()
[all …]
DDhcpPacket.java301 protected byte[] mClientId; field in DhcpPacket
409 return mClientId != null; in hasExplicitClientId()
427 clientId = Arrays.copyOf(mClientId, mClientId.length); in getClientId()
1277 newPacket.mClientId = clientId; in decodeFullPacket()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java763 assertTrue(Arrays.equals(discoverPacket.mClientId, clientId)); in testExplicitClientId()