/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareServiceImpl.java | 331 final int clientId; in connect() local 333 clientId = mNextClientId++; in connect() 337 Log.v(TAG, "connect: uid=" + uid + ", clientId=" + clientId + ", configRequest" in connect() 344 if (mVerboseLoggingEnabled) Log.v(TAG, "binderDied: clientId=" + clientId); in connect() 348 mDeathRecipientsByClientId.delete(clientId); in connect() 349 mUidByClientId.delete(clientId); in connect() 352 mStateManager.disconnect(clientId); in connect() 369 mDeathRecipientsByClientId.put(clientId, dr); in connect() 370 mUidByClientId.put(clientId, uid); in connect() 373 mStateManager.connect(clientId, uid, pid, callingPackage, callingFeatureId, callback, in connect() [all …]
|
D | WifiAwareStateManager.java | 373 PairingInfo(int clientId, int sessionId, int peerId, String alias) { in PairingInfo() argument 374 mClientId = clientId; in PairingInfo() 388 BootStrppingInfo(int clientId, int sessionId, int peerId, int method, in BootStrppingInfo() argument 390 mClientId = clientId; in BootStrppingInfo() 751 /* package */ WifiAwareClientState getClient(int clientId) { in getClient() argument 752 return mClients.get(clientId); in getClient() 1023 public void setMasterPreference(int clientId, int masterPreference) { in setMasterPreference() argument 1025 WifiAwareClientState state = mClients.get(clientId); in setMasterPreference() 1038 public void getMasterPreference(int clientId, IIntegerListener listener) { in getMasterPreference() argument 1040 WifiAwareClientState state = mClients.get(clientId); in getMasterPreference() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareServiceImplTest.java | 255 int clientId = doConnect(); in testDisconnect() local 256 mDut.disconnect(clientId, mBinderMock); in testDisconnect() 258 verify(mAwareStateManagerMock).disconnect(clientId); in testDisconnect() 259 validateInternalStateCleanedUp(clientId); in testDisconnect() 278 int clientId = doConnect(); in testFailOnClearedUpClientId() local 280 mDut.disconnect(clientId, mBinderMock); in testFailOnClearedUpClientId() 282 verify(mAwareStateManagerMock).disconnect(clientId); in testFailOnClearedUpClientId() 283 validateInternalStateCleanedUp(clientId); in testFailOnClearedUpClientId() 285 mDut.disconnect(clientId, mBinderMock); in testFailOnClearedUpClientId() 296 int clientId = doConnect(); in testFailOnAccessClientIdFromWrongUid() local [all …]
|
D | WifiAwareStateManagerTest.java | 454 final int clientId = 12341; in testAwareDataPathInterfaceUpDown() local 473 mDut.connect(clientId, uid, pid, callingPackage, callingFeature, mockCallback, in testAwareDataPathInterfaceUpDown() 482 inOrder.verify(mockCallback).onConnectSuccess(clientId); in testAwareDataPathInterfaceUpDown() 485 mDut.disconnect(clientId); in testAwareDataPathInterfaceUpDown() 501 final int clientId = 12314; in testDisableUsageDisablesApis() local 529 mDut.connect(clientId, uid, pid, callingPackage, callingFeature, mockCallback, in testDisableUsageDisablesApis() 544 final int clientId = 12341; in testDisableUsageFlow() local 566 mDut.connect(clientId, uid, pid, callingPackage, callingFeature, mockCallback, in testDisableUsageFlow() 574 inOrder.verify(mockCallback).onConnectSuccess(clientId); in testDisableUsageFlow() 589 validateInternalClientInfoCleanedUp(clientId); in testDisableUsageFlow() [all …]
|
D | WifiAwareDataPathStateManagerTest.java | 324 final int clientId = 123; in testDataPathWithPortInfoOnSubscriber() local 334 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoOnSubscriber() 338 NetworkRequest nr = getSessionNetworkRequestMore(clientId, res.mSessionId, res.mPeerHandle, in testDataPathWithPortInfoOnSubscriber() 362 final int clientId = 123; in testDataPathWithPortInfoInvalidPort() local 373 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoInvalidPort() 377 NetworkRequest nr = getSessionNetworkRequestMore(clientId, res.mSessionId, res.mPeerHandle, in testDataPathWithPortInfoInvalidPort() 402 final int clientId = 123; in testDataPathWithPortInfoButNoSecurityOnPublisher() local 412 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoButNoSecurityOnPublisher() 416 NetworkRequest nr = getSessionNetworkRequestMore(clientId, res.mSessionId, res.mPeerHandle, in testDataPathWithPortInfoButNoSecurityOnPublisher() 442 final int clientId = 123; in testDestroyNdiDuringNdpSetupResponder() local [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/ |
D | ClientIdTest.java | 41 ClientId clientId = new ClientId(OCCUPANT_ZONE, USER_ID, PACKAGE_NAME); in testConstructClientId() local 43 assertThat(clientId.occupantZone).isEqualTo(OCCUPANT_ZONE); in testConstructClientId() 44 assertThat(clientId.userId).isEqualTo(USER_ID); in testConstructClientId() 45 assertThat(clientId.packageName).isEqualTo(PACKAGE_NAME); in testConstructClientId() 50 ClientId clientId = new ClientId(OCCUPANT_ZONE, USER_ID, PACKAGE_NAME); in testEquals() local 53 assertThat(clientId).isEqualTo(clientId2); in testEquals() 54 assertThat(clientId.hashCode()).isEqualTo(clientId2.hashCode()); in testEquals() 59 ClientId clientId = new ClientId(OCCUPANT_ZONE, USER_ID, PACKAGE_NAME); in testNotEqualWithDifferentZone() local 63 assertThat(clientId).isNotEqualTo(clientId2); in testNotEqualWithDifferentZone() 64 assertThat(clientId.hashCode()).isNotEqualTo(clientId2.hashCode()); in testNotEqualWithDifferentZone() [all …]
|
D | ReceiverEndpointIdTest.java | 43 assertThat(endpointId.clientId.occupantZone).isEqualTo(OCCUPANT_ZONE); in testConstructReceiverEndpointId() 44 assertThat(endpointId.clientId.userId).isEqualTo(USER_ID); in testConstructReceiverEndpointId() 45 assertThat(endpointId.clientId.packageName).isEqualTo(PACKAGE_NAME); in testConstructReceiverEndpointId() 51 ClientId clientId = new ClientId(OCCUPANT_ZONE, USER_ID, PACKAGE_NAME); in testEquals() local 53 new ReceiverEndpointId(clientId, RECEIVER_ENDPOINT_ID); in testEquals() 55 new ReceiverEndpointId(clientId, RECEIVER_ENDPOINT_ID); in testEquals() 63 ClientId clientId = new ClientId(OCCUPANT_ZONE, USER_ID, PACKAGE_NAME); in testNotEqualWithDifferentClientId() local 65 new ReceiverEndpointId(clientId, RECEIVER_ENDPOINT_ID); in testNotEqualWithDifferentClientId() 76 ClientId clientId = new ClientId(OCCUPANT_ZONE, USER_ID, PACKAGE_NAME); in testNotEqualWithDifferentId() local 78 new ReceiverEndpointId(clientId, RECEIVER_ENDPOINT_ID); in testNotEqualWithDifferentId() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/ |
D | NsdService.java | 195 MdnsListener(int clientId, int transactionId, @NonNull NsdServiceInfo reqServiceInfo, in MdnsListener() argument 197 mClientId = clientId; in MdnsListener() 238 DiscoveryListener(int clientId, int transactionId, @NonNull NsdServiceInfo reqServiceInfo, in DiscoveryListener() argument 240 super(clientId, transactionId, reqServiceInfo, listenServiceType); in DiscoveryListener() 260 ResolutionListener(int clientId, int transactionId, @NonNull NsdServiceInfo reqServiceInfo, in ResolutionListener() argument 262 super(clientId, transactionId, reqServiceInfo, listenServiceType); in ResolutionListener() 275 ServiceInfoListener(int clientId, int transactionId, @NonNull NsdServiceInfo reqServiceInfo, in ServiceInfoListener() argument 277 super(clientId, transactionId, reqServiceInfo, listenServiceType); in ServiceInfoListener() 310 MdnsEvent(int clientId, @NonNull MdnsServiceInfo mdnsServiceInfo) { in MdnsEvent() argument 311 mClientId = clientId; in MdnsEvent() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | WifiAwareManager.java | 552 public void disconnect(int clientId, Binder binder) { in disconnect() argument 556 mService.disconnect(clientId, binder); in disconnect() 563 public void setMasterPreference(int clientId, Binder binder, int mp) { in setMasterPreference() argument 567 mService.setMasterPreference(clientId, binder, mp); in setMasterPreference() 576 public void getMasterPreference(int clientId, Binder binder, @NonNull Executor executor, in getMasterPreference() argument 581 mService.getMasterPreference(clientId, binder, in getMasterPreference() 594 public void publish(int clientId, Looper looper, PublishConfig publishConfig, in publish() argument 596 if (VDBG) Log.v(TAG, "publish(): clientId=" + clientId + ", config=" + publishConfig); in publish() 608 mService.publish(mContext.getOpPackageName(), mContext.getAttributionTag(), clientId, in publish() local 611 clientId), extras); in publish() [all …]
|
D | IWifiAwareManager.aidl | 62 void disconnect(int clientId, in IBinder binder); in disconnect() argument 63 void setMasterPreference(int clientId, in IBinder binder, int mp); in setMasterPreference() argument 64 void getMasterPreference(int clientId, in IBinder binder, in IIntegerListener listener); in getMasterPreference() argument 66 void publish(in String callingPackage, in String callingFeatureId, int clientId, in publish() argument 69 void subscribe(in String callingPackage, in String callingFeatureId, int clientId, in subscribe() argument 74 void updatePublish(int clientId, int discoverySessionId, in PublishConfig publishConfig); in updatePublish() argument 75 void updateSubscribe(int clientId, int discoverySessionId, in SubscribeConfig subscribeConfig); in updateSubscribe() argument 76 void sendMessage(int clientId, int discoverySessionId, int peerId, in byte[] message, in sendMessage() argument 78 void terminateSession(int clientId, int discoverySessionId); in terminateSession() argument 79 void initiateNanPairingSetupRequest(int clientId, int sessionId, int peerId, in initiateNanPairingSetupRequest() argument [all …]
|
D | WifiAwareNetworkSpecifier.java | 91 public final int clientId; field in WifiAwareNetworkSpecifier 197 public WifiAwareNetworkSpecifier(int type, int role, int clientId, int sessionId, int peerId, in WifiAwareNetworkSpecifier() argument 202 this.clientId = clientId; in WifiAwareNetworkSpecifier() 219 public WifiAwareNetworkSpecifier(int type, int role, int clientId, int sessionId, int peerId, in WifiAwareNetworkSpecifier() argument 223 this.clientId = clientId; in WifiAwareNetworkSpecifier() 286 dest.writeInt(clientId); in writeToParcel() 310 return Objects.hash(type, role, clientId, sessionId, peerId, Arrays.hashCode(peerMac), in hashCode() 329 && clientId == lhs.clientId in equals() 346 .append(", clientId=").append(clientId) in toString()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | UpdateHandler.java | 186 final String clientId = cursor.getString(0); in tryUpdate() local 188 MetadataDbHelper.getMetadataUriAsString(context, clientId); in tryUpdate() 189 PrivateLog.log("Update for clientId " + DebugLogUtils.s(clientId)); in tryUpdate() 190 DebugLogUtils.l("Update for clientId", clientId, " which uses URI ", metadataUri); in tryUpdate() 299 public static void cancelUpdate(final Context context, final String clientId) { in cancelUpdate() argument 301 final String metadataUri = MetadataDbHelper.getMetadataUriAsString(context, clientId); in cancelUpdate() 482 final String clientId) { in publishUpdateWordListCompleted() argument 486 actions.add(new ActionBatch.InstallAfterDownloadAction(clientId, in publishUpdateWordListCompleted() 584 final String clientId) throws IOException, BadFormatException { in handleMetadata() argument 598 final ActionBatch actions = computeUpgradeTo(context, clientId, newMetadata); in handleMetadata() [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 | 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 | 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 …]
|
/packages/services/Car/service/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessService.java | 214 private void maybeStartNewRemoteTask(String clientId) { in maybeStartNewRemoteTask() argument 224 if (mTasksToBeNotifiedByClientId.get(clientId) == null) { in maybeStartNewRemoteTask() 234 Slogf.w(TAG, "Removing all the pending tasks for client ID: %s", clientId); in maybeStartNewRemoteTask() 235 mTasksToBeNotifiedByClientId.remove(clientId); in maybeStartNewRemoteTask() 239 uidName = mUidByClientId.get(clientId); in maybeStartNewRemoteTask() 241 Slogf.w(TAG, "Cannot notify task: client(%s) is not registered.", clientId); in maybeStartNewRemoteTask() 242 Slogf.w(TAG, "Removing all the pending tasks for client ID: %s", clientId); in maybeStartNewRemoteTask() 243 mTasksToBeNotifiedByClientId.remove(clientId); in maybeStartNewRemoteTask() 251 Slogf.w(TAG, "Removing all the pending tasks for client ID: %s", clientId); in maybeStartNewRemoteTask() 253 mTasksToBeNotifiedByClientId.remove(clientId); in maybeStartNewRemoteTask() [all …]
|
D | RemoteAccessStorage.java | 82 boolean deleteClientId(String clientId) { in deleteClientId() argument 94 public final String clientId; field in RemoteAccessStorage.ClientIdEntry 98 ClientIdEntry(String clientId, long idCreationTime, String uidName) { in ClientIdEntry() argument 100 this.clientId = clientId; in ClientIdEntry() 114 return clientId.equals(other.clientId) && idCreationTime == other.idCreationTime in equals() 120 return Objects.hash(clientId, idCreationTime, uidName); in hashCode() 125 return new StringBuilder().append("ClientIdEntry{clientId: ").append(clientId) in toString() 225 data = CarServiceUtils.encryptData(entry.clientId.getBytes(STRING_ENCODING), in replaceEntry()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessManagerUnitTest.java | 154 String clientId = "clientId_testing"; in testClientRegistration() local 157 new RemoteTaskClientRegistrationInfo(serviceId, vehicleId, processorId, clientId)); in testClientRegistration() 163 assertWithMessage("Client ID").that(remoteTaskClient.getClientId()).isEqualTo(clientId); in testClientRegistration() 179 String clientId = "clientId_testing"; in testRemoteTaskRequested() local 181 prepareRemoteTaskRequested(remoteTaskClient, clientId, taskId, /* data= */ null); in testRemoteTaskRequested() 190 String clientId = "clientId_testing"; in testRemoteTaskRequested_withData() local 193 prepareRemoteTaskRequested(remoteTaskClient, clientId, taskId, data); in testRemoteTaskRequested_withData() 207 String clientId = "clientId_testing"; in testRemoteTaskRequested_mismatchedClientId() local 213 new RemoteTaskClientRegistrationInfo(serviceId, vehicleId, processorId, clientId)); in testRemoteTaskRequested_mismatchedClientId() 224 String clientId = "clientId_testing"; in testReportRemoteTaskDone() local [all …]
|
D | CarRemoteAccessServiceUnitTest.java | 301 String clientId = mRemoteAccessCallback.getClientId(); in testStartRemoteTaskClientServiceUserLocked_bindAgainAfterUnlock() local 303 halCallback.onRemoteTaskRequested(clientId, data); in testStartRemoteTaskClientServiceUserLocked_bindAgainAfterUnlock() 340 String clientId = mRemoteAccessCallback.getClientId(); in testStartRemoteTaskClientServiceUserLocked_unbindWhileWaiting() local 342 halCallback.onRemoteTaskRequested(clientId, data); in testStartRemoteTaskClientServiceUserLocked_unbindWhileWaiting() 459 String expectedClientId = PERSISTENT_CLIENTS.get(0).clientId; in testAddCarRemoteTaskClient_persistentClientId() 499 String clientId = mRemoteAccessCallback.getClientId(); in testRemoveCarRemoteTaskClient_removeActiveTasks() local 502 halCallback.onRemoteTaskRequested(clientId, data); in testRemoveCarRemoteTaskClient_removeActiveTasks() 514 clientId, taskId)); in testRemoveCarRemoteTaskClient_removeActiveTasks() 520 clientId, taskId)); in testRemoveCarRemoteTaskClient_removeActiveTasks() 535 String clientId = mRemoteAccessCallback.getClientId(); in testRemoteTaskRequested() local [all …]
|
/packages/services/Car/service/src/com/android/car/occupantconnection/ |
D | ReceiverEndpointId.java | 27 public final ClientId clientId; field in ReceiverEndpointId 35 ReceiverEndpointId(@NonNull ClientId clientId, @NonNull String endpointId) { in ReceiverEndpointId() argument 36 this.clientId = Objects.requireNonNull(clientId, "clientId cannot be null"); in ReceiverEndpointId() 49 return clientId.equals(other.clientId) in equals() 55 return Objects.hash(clientId, endpointId); in hashCode() 60 return "ReceiverEndpointId[clientId=" + clientId + ", endpointId=" + endpointId + "]"; in toString()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessManagerTest.java | 448 String clientId = setCallbackGetClientId(mRemoteTaskClientCallback); in testRemoteTaskDeliveredToClient_taskArriveAfterClientRegistration() local 451 remoteAccessHalCallback.onRemoteTaskRequested(clientId, TEST_DATA); in testRemoteTaskDeliveredToClient_taskArriveAfterClientRegistration() 458 remoteAccessHalCallback.onRemoteTaskRequested(clientId, TEST_DATA_2); in testRemoteTaskDeliveredToClient_taskArriveAfterClientRegistration() 475 String clientId = setCallbackGetClientId(tmpRemoteTaskClientCallback); in testRemoteTaskDeliveredToClient_taskArriveBeforePackageDiscovery() local 479 remoteAccessHalCallback.onRemoteTaskRequested(clientId, TEST_DATA); in testRemoteTaskDeliveredToClient_taskArriveBeforePackageDiscovery() 500 String clientId = setCallbackGetClientId(tmpRemoteTaskClientCallback); in testRemoteTaskDeliveredToClient_taskArriveAfterPackageDiscoveryBeforeRegister() local 510 remoteAccessHalCallback.onRemoteTaskRequested(clientId, TEST_DATA); in testRemoteTaskDeliveredToClient_taskArriveAfterPackageDiscoveryBeforeRegister() 520 String clientId = setCallbackGetClientId(mRemoteTaskClientCallback); in getClientIdAndWaitForSystemBoot() local 525 return clientId; in getClientIdAndWaitForSystemBoot() 531 String clientId = getClientIdAndWaitForSystemBoot(); in testRemoteTaskNotDeliveredAfterClearClient() local [all …]
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpLeaseRepository.java | 192 public DhcpLease getOffer(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getOffer() argument 201 final DhcpLease currentLease = findByClient(clientId, hwAddr); in getOffer() 208 newLease = new DhcpLease(clientId, hwAddr, reqAddr, mPrefixLength, expTime, hostname); in getOffer() 211 newLease = makeNewOffer(clientId, hwAddr, expTime, hostname); in getOffer() 227 public DhcpLease getCommittedLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in getCommittedLease() argument 230 final DhcpLease newLease = getOffer(clientId, hwAddr, relayAddr, null /* reqAddr */, in getCommittedLease() 253 private DhcpLease findByClient(@Nullable byte[] clientId, @NonNull MacAddress hwAddr) { in findByClient() argument 255 if (lease.matchesClient(clientId, hwAddr)) { in findByClient() 281 public DhcpLease requestLease(@Nullable byte[] clientId, @NonNull MacAddress hwAddr, in requestLease() argument 288 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() 173 p.clientId = mClientId == null ? null : Arrays.copyOf(mClientId, mClientId.length); in toParcelable()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 208 final int clientId = 4565; in testConnectFlow() local 221 clientProxyCallback.getValue().onConnectSuccess(clientId); in testConnectFlow() 229 inOrder.verify(mockAwareService).publish(any(), any(), eq(clientId), eq(publishConfig), in testConnectFlow() 234 inOrder.verify(mockAwareService).disconnect(eq(clientId), eq(binder.getValue())); in testConnectFlow() 253 final int clientId = 4565; in testConnectFailure() local 274 clientProxyCallback.getValue().onConnectSuccess(clientId); in testConnectFailure() 282 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testConnectFailure() 299 final int clientId = 4565; in testInvalidConnectSequence() local 309 clientProxyCallback.getValue().onConnectSuccess(clientId); in testInvalidConnectSequence() 317 clientProxyCallback.getValue().onConnectSuccess(clientId + 1); in testInvalidConnectSequence() [all …]
|
/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 …]
|