/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | UpdateHandler.java | 192 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 …]
|
D | MetadataDbHelper.java | 172 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 …]
|
D | ActionBatch.java | 100 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 …]
|
D | DictionaryProvider.java | 230 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 …]
|
D | MetadataHandler.java | 94 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()
|
D | DictionaryDownloadProgressBar.java | 48 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()
|
D | DownloadRecord.java | 30 public DownloadRecord(final String clientId, final ContentValues attributes) { in DownloadRecord() argument 31 mClientId = clientId; in DownloadRecord()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpLeaseRepository.java | 188 public DhcpLease getOffer(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getOffer() argument 197 final DhcpLease currentLease = findByClient(clientId, hwAddr); in getOffer() 204 newLease = new DhcpLease(clientId, hwAddr, reqAddr, mPrefixLength, expTime, hostname); in getOffer() 207 newLease = makeNewOffer(clientId, hwAddr, expTime, hostname); in getOffer() 223 public DhcpLease getCommittedLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getCommittedLease() argument 226 final DhcpLease newLease = getOffer(clientId, hwAddr, relayAddr, null /* reqAddr */, in getCommittedLease() 249 private DhcpLease findByClient(@Nullable byte[] clientId, @NonNull MacAddress hwAddr) { in findByClient() argument 251 if (lease.matchesClient(clientId, hwAddr)) { in findByClient() 277 public DhcpLease requestLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in requestLease() argument 284 final DhcpLease assignedLease = findByClient(clientId, hwAddr); in requestLease() [all …]
|
D | DhcpLease.java | 56 public DhcpLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in DhcpLease() argument 59 mClientId = (clientId == null ? null : Arrays.copyOf(clientId, clientId.length)); in DhcpLease() 121 public boolean matchesClient(@Nullable byte[] clientId, @NonNull MacAddress hwAddr) { in matchesClient() argument 123 return Arrays.equals(mClientId, clientId); in matchesClient() 125 return clientId == null && mHwAddr.equals(hwAddr); in matchesClient() 172 p.clientId = mClientId == null ? null : Arrays.copyOf(mClientId, mClientId.length); in toParcelable()
|
D | DhcpPacket.java | 425 final byte[] clientId; in getClientId() 427 clientId = Arrays.copyOf(mClientId, mClientId.length); in getClientId() 429 clientId = new byte[mClientMac.length + 1]; in getClientId() 430 clientId[0] = CLIENT_ID_ETHER; in getClientId() 431 System.arraycopy(mClientMac, 0, clientId, 1, mClientMac.length); in getClientId() 433 return clientId; in getClientId() 916 byte[] clientId = null; in decodeFullPacket() 1185 clientId = new byte[optionLen]; in decodeFullPacket() 1186 packet.get(clientId); in decodeFullPacket() 1277 newPacket.mClientId = clientId; in decodeFullPacket()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 129 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/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreService.java | 198 public void storeBlob(@Nullable final String l2Key, @Nullable final String clientId, in storeBlob() argument 205 null /* NetworkAttributes */, clientId, name, data); in storeBlob() 223 @Nullable final String clientId, in storeNetworkAttributesAndBlobSync() argument 227 if (null != data && (null == clientId || null == name)) return ERROR_ILLEGAL_ARGUMENT; in storeNetworkAttributesAndBlobSync() 238 return IpMemoryStoreDatabase.storeBlob(mDb, l2Key, clientId, name, data); in storeNetworkAttributesAndBlobSync() 243 + "} ; clientId {" + (null == clientId ? "null" : clientId) in storeNetworkAttributesAndBlobSync() 385 public void retrieveBlob(@NonNull final String l2Key, @NonNull final String clientId, in retrieveBlob() argument 401 b.data = IpMemoryStoreDatabase.retrieveBlob(mDb, l2Key, clientId, name); in retrieveBlob()
|
D | IpMemoryStoreDatabase.java | 287 @NonNull final String clientId, @NonNull final String name, in toContentValues() argument 291 values.put(PrivateDataContract.COLNAME_CLIENT, clientId); in toContentValues() 390 @NonNull final String clientId, @NonNull final String name, in storeBlob() argument 393 toContentValues(key, clientId, name, data), SQLiteDatabase.CONFLICT_REPLACE); in storeBlob() 421 @NonNull final String clientId, @NonNull final String name) { in retrieveBlob() argument 427 new String[] { key, clientId, name }, // selectionArgs in retrieveBlob() argument
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioFocus.java | 551 for (String clientId : mapToQuery.keySet()) { in getAudioFocusListForUid() 552 AudioFocusInfo afi = mapToQuery.get(clientId).mAfi; in getAudioFocusListForUid() 598 for (String clientId : mFocusHolders.keySet()) { in dump() 599 writer.printf("%s\t%s - %s\n", innerIndent, clientId, in dump() 600 mFocusHolders.get(clientId).getUsageName()); in dump() 604 for (String clientId : mFocusLosers.keySet()) { in dump() 605 writer.printf("%s\t%s - %s\n", innerIndent, clientId, in dump() 606 mFocusLosers.get(clientId).getUsageName()); in dump()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | IpMemoryStoreClient.java | 112 public void storeBlob(@NonNull final String l2Key, @NonNull final String clientId, in storeBlob() argument 117 () -> service.storeBlob(l2Key, clientId, name, data, in storeBlob() 208 public void retrieveBlob(@NonNull final String l2Key, @NonNull final String clientId, in retrieveBlob() argument 212 () -> service.retrieveBlob(l2Key, clientId, name, in retrieveBlob()
|
D | IIpMemoryStore.aidl | 59 void storeBlob(String l2Key, String clientId, String name, in Blob data, in storeBlob() argument 111 void retrieveBlob(String l2Key, String clientId, String name, in retrieveBlob() argument
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpLeaseRepositoryTest.java | 254 final byte[] clientId = new byte[] { 1, 2 }; in testGetOffer_ClientIdHasExistingLease() 255 mRepo.requestLease(clientId, TEST_MAC_1, IPV4_ADDR_ANY /* clientAddr */, in testGetOffer_ClientIdHasExistingLease() 260 DhcpLease offer = mRepo.getOffer(clientId, TEST_MAC_2, in testGetOffer_ClientIdHasExistingLease() 337 final byte[] clientId = new byte[] { 1 }; in testGetOffer_StaticClientAddressInUse() 338 final DhcpLease lease = mRepo.requestLease(clientId, TEST_MAC_1, in testGetOffer_StaticClientAddressInUse() 653 p.clientId, in fromParcelable()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/2/android/net/ |
D | IIpMemoryStore.aidl | 4 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 8 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/1/android/net/ |
D | IIpMemoryStore.aidl | 4 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 8 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/3/android/net/ |
D | IIpMemoryStore.aidl | 21 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 25 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/6/android/net/ |
D | IIpMemoryStore.aidl | 22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/4/android/net/ |
D | IIpMemoryStore.aidl | 4 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 8 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/5/android/net/ |
D | IIpMemoryStore.aidl | 22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/7/android/net/ |
D | IIpMemoryStore.aidl | 22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/current/android/net/ |
D | IIpMemoryStore.aidl | 22 …oneway void storeBlob(String l2Key, String clientId, String name, in android.net.ipmemorystore.Blo… in storeBlob() argument 26 …oneway void retrieveBlob(String l2Key, String clientId, String name, android.net.ipmemorystore.IOn… in retrieveBlob() argument
|