Home
last modified time | relevance | path

Searched refs:getClientId (Results 1 – 25 of 33) sorted by relevance

12

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java168 clientsToRemove.add(holderEntry.getAudioFocusInfo().getClientId()); in abandonNonCriticalEntriesLocked()
190 logFocusEvent("sendFocusLoss for client " + loser.getClientId() in sendFocusLossLocked()
209 + " request for client " + afi.getClientId() in evaluateFocusRequestLocked()
231 if (mDelayedRequest != null && afi.getClientId().equals(mDelayedRequest.getClientId())) { in evaluateFocusRequestLocked()
238 + " focus for %s on same listener.", mDelayedRequest.getClientId(), in evaluateFocusRequestLocked()
253 Slogf.d(TAG, "Evaluating focus holder %s for duplicates", entry.getClientId()); in evaluateFocusRequestLocked()
269 if (afi.getClientId().equals(entry.getAudioFocusInfo().getClientId())) { in evaluateFocusRequestLocked()
271 || canSwapCallOrRingerClientRequest(afi.getClientId(), in evaluateFocusRequestLocked()
282 + "focus for %s on same listener.", entry.getClientId(), in evaluateFocusRequestLocked()
294 Slogf.d(TAG, "Evaluating focus loser %s for duplicates", entry.getClientId()); in evaluateFocusRequestLocked()
[all …]
DFocusEntry.java75 String getClientId() { in getClientId() method in FocusEntry
76 return mAudioFocusInfo.getClientId(); in getClientId()
111 writer.printf("%s - %s\n", getClientId(), mAudioFocusInfo.getAttributes()); in dump()
131 stringBuilder.append(getClientId()); in toString()
DCarZonesAudioFocus.java247 + " client %s", bundleZoneId, afi.getClientId()); in getAudioZoneIdForAudioFocusInfo()
252 afi.getClientId(), zoneId); in getAudioZoneIdForAudioFocusInfo()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusConcurrentTest.java181 .setClientId(mExcludedAudioClientInfo.getClientId()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusLossSent()
188 .setClientId(mAcceptedAudioClientInfo.getClientId()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusLossSent()
207 .setClientId(mExcludedAudioClientInfo.getClientId()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusNotGained()
214 .setClientId(mAcceptedAudioClientInfo.getClientId()) in concurrentInteractionsForFocusGainNoPause_requestGrantedAndFocusNotGained()
255 .setClientId(mExcludedAudioClientInfo.getClientId()) in concurrentInteractionsTransientMayDuckNoPause_requestGrantedAndFocusLossSent()
262 .setClientId(mAcceptedAudioClientInfo.getClientId()) in concurrentInteractionsTransientMayDuckNoPause_requestGrantedAndFocusLossSent()
280 .setClientId(mExcludedAudioClientInfo.getClientId()) in concurrentInteractionsTransientMayDuckNoPause_abandonSucceedAndFocusNotGained()
287 .setClientId(mAcceptedAudioClientInfo.getClientId()) in concurrentInteractionsTransientMayDuckNoPause_abandonSucceedAndFocusNotGained()
306 .setClientId(mExcludedAudioClientInfo.getClientId()) in concurrentInteractionsTransientMayDuckPause_requestGrantedAndFocusLossSent()
313 .setClientId(mAcceptedAudioClientInfo.getClientId()) in concurrentInteractionsTransientMayDuckPause_requestGrantedAndFocusLossSent()
[all …]
DCarZonesAudioFocusExclusiveTest.java163 .setClientId(mExcludedAudioClientInfo.getClientId()) in testExclusiveNonTransientInteractions()
170 .setClientId(mAcceptedAudioClientInfo.getClientId()) in testExclusiveNonTransientInteractions()
195 .setClientId(mExcludedAudioClientInfo.getClientId()) in testExclusiveTransientInteractions()
202 .setClientId(mAcceptedAudioClientInfo.getClientId()) in testExclusiveTransientInteractions()
DCarZonesAudioFocusUsageTest.java94 .setClientId(mAudioClientInfo.getClientId()) in requestFocus_forEveryUsage_requestGranted()
111 .setClientId(mAudioClientInfo.getClientId()) in requestAndAbandonFocus_forEveryUsage_abandonSucceeds()
DCarZonesAudioFocusRejectedTest.java141 .setClientId(mAcceptedAudioClientInfo.getClientId()) in rejectedInteractionsFocusTest()
148 .setClientId(mRejectedAudioClientInfo.getClientId()) in rejectedInteractionsFocusTest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java301 String clientId = mRemoteAccessCallback.getClientId(); in testStartRemoteTaskClientServiceUserLocked_bindAgainAfterUnlock()
340 String clientId = mRemoteAccessCallback.getClientId(); in testStartRemoteTaskClientServiceUserLocked_unbindWhileWaiting()
417 && mRemoteAccessCallback.getClientId() != null); in testAddCarRemoteTaskClient()
433 && secondCallback.getClientId() != null in testAddCarRemoteTaskClient_addTwice()
434 && secondCallback.getClientId().equals( in testAddCarRemoteTaskClient_addTwice()
435 mRemoteAccessCallback.getClientId())); in testAddCarRemoteTaskClient_addTwice()
450 String clientIdOne = mRemoteAccessCallback.getClientId(); in testAddCarRemoteTaskClient_addMultipleClients()
451 String clientIdTwo = secondCallback.getClientId(); in testAddCarRemoteTaskClient_addMultipleClients()
471 && Objects.equals(mRemoteAccessCallback.getClientId(), expectedClientId)); in testAddCarRemoteTaskClient_persistentClientId()
499 String clientId = mRemoteAccessCallback.getClientId(); in testRemoveCarRemoteTaskClient_removeActiveTasks()
[all …]
DCarRemoteAccessManagerUnitTest.java163 assertWithMessage("Client ID").that(remoteTaskClient.getClientId()).isEqualTo(clientId); in testClientRegistration()
338 mClientId = info.getClientId(); in onRegistrationUpdated()
375 public String getClientId() throws Exception { in getClientId() method in CarRemoteAccessManagerUnitTest.RemoteTaskClient
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java177 private static String getClientId(final Uri uri) { in getClientId() method in DictionaryProvider
230 final String clientId = getClientId(uri); in query()
301 final String clientId = getClientId(uri); in openAssetFile()
442 if (MetadataDbHelper.deleteClient(getContext(), getClientId(uri))) { in delete()
453 final String clientId = getClientId(uri); in deleteDataFile()
495 final String clientId = getClientId(uri); in insert()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java166 assertWithMessage("Client ID").that(mCallback.getClientId()) in testOnRemoteTaskRequestedFromHal_withoutData()
179 assertWithMessage("Client ID").that(mCallback.getClientId()) in testOnRemoteTaskRequestedFromHal_withData()
202 public String getClientId() { in getClientId() method in RemoteAccessHalWrapperUnitTest.RemoteAccessHalCallbackImpl
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/
DCarRemoteAccessManagerTest.java397 assertThat(registrationInfo.getClientId()).isNotNull(); in testSetRemoteTaskClientGetRegistrationInfo()
398 assertThat(registrationInfo.getClientId()).isNotEqualTo(""); in testSetRemoteTaskClientGetRegistrationInfo()
409 String oldClientId = registrationInfo.getClientId(); in testSetRemoteTaskClientGetRegistrationInfo_sameClientIdForSameUid()
419 String newClientId = registrationInfo.getClientId(); in testSetRemoteTaskClientGetRegistrationInfo_sameClientIdForSameUid()
434 return mRegistrationInfoCaptor.getValue().getClientId(); in setCallbackGetClientId()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpReleasePacket.java53 addTlv(buffer, DHCP_CLIENT_IDENTIFIER, getClientId()); in finishPacket()
DDhcpDeclinePacket.java59 addTlv(buffer, DHCP_CLIENT_IDENTIFIER, getClientId()); in finishPacket()
DDhcpDiscoverPacket.java63 addTlv(buffer, DHCP_CLIENT_IDENTIFIER, getClientId()); in finishPacket()
DDhcpRequestPacket.java58 addTlv(buffer, DHCP_CLIENT_IDENTIFIER, getClientId()); in finishPacket()
DDhcpLease.java73 public byte[] getClientId() { in getClientId() method in DhcpLease
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java517 mUidByClientId.put(token.getClientId(), uidName); in addCarRemoteTaskClient()
583 if (!clientId.equals(token.getClientId())) { in getTokenForUidNameAndCheckClientIdLocked()
585 + "registered one(" + token.getClientId() + ")"); in getTokenForUidNameAndCheckClientIdLocked()
706 ClientIdEntry entry = new ClientIdEntry(token.getClientId(), token.getIdCreationTime(), in saveClientIdInDb()
714 String clientId = token.getClientId(); in postRegistrationUpdated()
1232 public String getClientId() { in getClientId() method in CarRemoteAccessService.ClientToken
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DRemoteTaskClientRegistrationInfo.java146 public @NonNull String getClientId() { in getClientId() method in RemoteTaskClientRegistrationInfo
DCarRemoteAccessManager.java127 mCurrentClientId = registrationInfo.getClientId();
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/
DKitchenSinkRemoteTaskService.java110 + info.getProcessorId() + ", clientId=" + info.getClientId()); in onRegistrationUpdated()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareSession.java123 public int getClientId() { in getClientId() method in WifiAwareSession
DDiscoverySession.java165 public int getClientId() { in getClientId() method in DiscoverySession
/packages/services/Car/car-lib/src/android/car/oem/
DAudioFocusEntry.java107 .append(", client Id: ").append(mAudioFocusInfo.getClientId()) in getAudioFocusInfoString()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java134 public int getClientId() { in getClientId() method in WifiAwareClientState

12