Home
last modified time | relevance | path

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

12

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioFocus.java185 clientsToRemove.add(holderEntry.getAudioFocusInfo().getClientId()); in abandonNonCriticalEntriesLocked()
222 logFocusEvent("sendFocusLoss for client " + loser.getClientId() in sendFocusLossLocked()
246 + " request for client " + afi.getClientId() in evaluateFocusRequestLocked()
268 if (mDelayedRequest != null && afi.getClientId().equals(mDelayedRequest.getClientId())) { in evaluateFocusRequestLocked()
275 + " focus for %s on same listener.", mDelayedRequest.getClientId(), in evaluateFocusRequestLocked()
290 Slogf.d(TAG, "Evaluating focus holder %s for duplicates", entry.getClientId()); in evaluateFocusRequestLocked()
306 if (afi.getClientId().equals(entry.getAudioFocusInfo().getClientId())) { in evaluateFocusRequestLocked()
308 || canSwapCallOrRingerClientRequest(afi.getClientId(), in evaluateFocusRequestLocked()
319 + "focus for %s on same listener.", entry.getClientId(), in evaluateFocusRequestLocked()
331 Slogf.d(TAG, "Evaluating focus loser %s for duplicates", entry.getClientId()); in evaluateFocusRequestLocked()
[all …]
DFocusEntry.java77 String getClientId() { in getClientId() method in FocusEntry
78 return mAudioFocusInfo.getClientId(); in getClientId()
113 writer.printf("%s - %s\n", getClientId(), mAudioFocusInfo.getAttributes()); in dump()
131 proto.write(CarAudioFocusProto.FocusEntryProto.CLIENT_ID, getClientId()); in dumpProto()
150 stringBuilder.append(getClientId()); in toString()
DCarZonesAudioFocus.java291 + " client %s", bundleZoneId, afi.getClientId()); in getAudioZoneIdForAudioFocusInfo()
296 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.java394 String clientId = mRemoteAccessCallback.getClientId(); in testStartRemoteTaskClientServiceUserLocked_bindAgainAfterUnlock()
434 String clientId = mRemoteAccessCallback.getClientId(); in testStartRemoteTaskClientServiceUserLocked_unbindWhileWaiting()
512 && mRemoteAccessCallback.getClientId() != null); in testAddCarRemoteTaskClient()
530 && secondCallback.getClientId() != null in testAddCarRemoteTaskClient_addTwice()
531 && secondCallback.getClientId().equals( in testAddCarRemoteTaskClient_addTwice()
532 mRemoteAccessCallback.getClientId())); in testAddCarRemoteTaskClient_addTwice()
547 String clientIdOne = mRemoteAccessCallback.getClientId(); in testAddCarRemoteTaskClient_addMultipleClients()
548 String clientIdTwo = secondCallback.getClientId(); in testAddCarRemoteTaskClient_addMultipleClients()
569 && Objects.equals(mRemoteAccessCallback.getClientId(), expectedClientId)); in testAddCarRemoteTaskClient_persistentClientId()
588 mRemoteAccessCallback.getClientId()).isNull(); in testAddCarRemoteTaskClient_serverlessClient()
[all …]
/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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/kanon/
DDBClientParametersTest.java48 assertThat(clientParameters.getClientId()).isEqualTo(CLIENT_ID_1); in test_buildValidClientParameters_success()
67 assertThat(clientParameters.getClientId()).isEqualTo(CLIENT_ID_1); in test_clientParameterIdNotSet_clientParameterId_buildsSuccessfully()
DClientParametersDaoTest.java87 assertThat(dbClientParametersList.get(0).getClientId()) in testGetActiveClientParameters_activeParamsPresent_shouldReturnParamsSuccessfully()
88 .isEqualTo(dbClientParameters.getClientId()); in testGetActiveClientParameters_activeParamsPresent_shouldReturnParamsSuccessfully()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/hal/
DRemoteAccessHalWrapperUnitTest.java179 assertWithMessage("Client ID").that(mCallback.getClientId()) in testOnRemoteTaskRequestedFromHal_withoutData()
192 assertWithMessage("Client ID").that(mCallback.getClientId()) in testOnRemoteTaskRequestedFromHal_withData()
419 public String getClientId() { in getClientId() method in RemoteAccessHalWrapperUnitTest.RemoteAccessHalCallbackImpl
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/
DCarRemoteAccessManagerTest.java410 assertThat(registrationInfo.getClientId()).isNotNull(); in testSetRemoteTaskClientGetRegistrationInfo()
411 assertThat(registrationInfo.getClientId()).isNotEqualTo(""); in testSetRemoteTaskClientGetRegistrationInfo()
422 String oldClientId = registrationInfo.getClientId(); in testSetRemoteTaskClientGetRegistrationInfo_sameClientIdForSameUid()
432 String newClientId = registrationInfo.getClientId(); in testSetRemoteTaskClientGetRegistrationInfo_sameClientIdForSameUid()
447 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.java643 && !(token.getClientId().equals( in addCarRemoteTaskClient()
650 mUidByClientId.remove(token.getClientId()); in addCarRemoteTaskClient()
678 mUidByClientId.put(token.getClientId(), uidName); in addCarRemoteTaskClient()
759 clientId = mClientTokenByUidName.valueAt(i).getClientId(); in clearUpClientTokenForPackageLocked()
1029 if (!clientId.equals(token.getClientId())) { in getTokenForUidNameAndCheckClientIdLocked()
1031 + "registered one(" + token.getClientId() + ")"); in getTokenForUidNameAndCheckClientIdLocked()
1297 ClientIdEntry entry = new ClientIdEntry(token.getClientId(), token.getIdCreationTime(), in saveClientIdInDb()
1305 String clientId = token.getClientId(); in postRegistrationUpdated()
1864 public String getClientId() { in getClientId() method in CarRemoteAccessService.ClientToken
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/kanon/
DDBClientParameters.java67 public abstract UUID getClientId(); in getClientId() method in DBClientParameters
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DRemoteTaskClientRegistrationInfo.java131 public @NonNull String getClientId() { in getClientId() method in RemoteTaskClientRegistrationInfo
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java191 assertWithMessage("Client ID").that(remoteTaskClient.getClientId()).isEqualTo(clientId); in testClientRegistration()
670 mClientId = info.getClientId(); in onRegistrationUpdated()
713 public String getClientId() throws Exception { in getClientId() method in CarRemoteAccessManagerUnitTest.RemoteTaskClient
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-oauth-client-1.30.1.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-oauth-client-1.31.0.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/packages/services/Car/car-lib/src/android/car/oem/
DAudioFocusEntry.java96 .append(", client Id: ").append(mAudioFocusInfo.getClientId()) in getAudioFocusInfoString()

12