Home
last modified time | relevance | path

Searched refs:getToken (Results 1 – 25 of 86) sorted by relevance

1234

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/changelogs/
DHealthConnectChangeLogsTests.java201 new ChangeLogsRequest.Builder(tokenResponse.getToken()).build(); in testGetChangeLogs_hasFieldsSet()
203 assertThat(changeLogsRequest.getToken()).isEqualTo(tokenResponse.getToken()); in testGetChangeLogs_hasFieldsSet()
217 new ChangeLogsRequest.Builder(tokenResponse.getToken()) in testGetChangeLogsRequest_pageSizeOutOfBounds_throwsException()
226 new ChangeLogsRequest.Builder(tokenResponse.getToken()) in testGetChangeLogsRequest_pageSizeOutOfBounds_throwsException()
235 new ChangeLogsRequest.Builder(tokenResponse.getToken()) in testGetChangeLogsRequest_pageSizeOutOfBounds_throwsException()
248 new ChangeLogsRequest.Builder(tokenResponse.getToken()) in testGetChangeLogsRequest_pageSizeWithinBounds_succeeds()
254 new ChangeLogsRequest.Builder(tokenResponse.getToken()) in testGetChangeLogsRequest_pageSizeWithinBounds_succeeds()
281 new ChangeLogsRequest.Builder(tokenResponse.getToken()).build(); in testChangeLogs_noOperations_returnsEmptyChangelogs()
294 new ChangeLogsRequest.Builder(tokenResponse.getToken()).build(); in testChangeLogs_insert_returnsUpsertedLogsOnly()
313 new ChangeLogsRequest.Builder(tokenResponse.getToken()).build(); in testChangeLogs_insert_filterNonExistingDataOrigin_returnsEmptyLogs()
[all …]
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfigurationTest.java109 assertThat(mConfiguration.getToken().get()).isEqualTo("kZYfCEpSsMr88KZVmab5UsZVzl+nWSsX"); in updateConfigurations_verifyConfigs()
123 assertThat(mConfiguration.getToken().isPresent()).isFalse(); in updateConfigurations_reset_verifyDefaultValues()
133 assertThat(mConfiguration.getToken().get()).isEqualTo("kZYfCEpSsMr88KZVmab5UsZVzl+nWSsX"); in updateConfigurations_noTokenValidity_tokenValid()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/sdkprovider/
DSdkSandboxActivityRegistry.java121 return handlerInfo.getToken(); in register()
127 mTokenToHandlerInfoMap.put(handlerInfo.getToken(), handlerInfo); in register()
151 mTokenToHandlerInfoMap.remove(handlerInfo.getToken()); in unregister()
322 IBinder handlerToken = handlerInfo.getToken(); in unregisterAllActivityHandlersForSdk()
376 public IBinder getToken() { in getToken() method in SdkSandboxActivityRegistry.HandlerInfo
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothProfileInhibitManager.java195 public IBinder getToken() { in getToken() method in BluetoothProfileInhibitManager.InhibitRecord
414 if (findInhibitRecord(params, record.getToken()) != null) { in addInhibitRecord()
420 record.getToken().linkToDeath(record, 0); in addInhibitRecord()
459 record.getToken().unlinkToDeath(record, 0); in addInhibitRecord()
484 if (r.getToken() == token) { in findInhibitRecord()
516 record.getToken().unlinkToDeath(record, 0); in removeInhibitRecord()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DPlannedExerciseSessionRecordTest.java599 String token = TestUtils.getChangeLogToken(tokenRequest).getToken(); in insertTrainingPlan_changelogCreated()
620 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in insertExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
641 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in insertExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
663 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
687 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_completesTrainingPlan_changelogGeneratedForTrainingPlan()
713 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_removesReferenceToTrainingPlan_changelogGeneratedForTrainingPlan()
739 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_removesReferenceToTrainingPlan_changelogGeneratedForTrainingPlan()
760 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_changesTrainingPlan_changelogGeneratedForPreviousAndCurrentPlan()
790 changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in updateExerciseSession_changesTrainingPlan_changelogGeneratedForPreviousAndCurrentPlan()
837 String changeToken = TestUtils.getChangeLogToken(tokenRequest).getToken(); in referenceToTrainingPlanNullified_changelogsBelongToOwnersOfRespectiveRecords()
[all …]
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/fcm/
DFcmTokenStore.java37 public static String getToken(Context context, int subId) { in getToken() method in FcmTokenStore
43 return !TextUtils.isEmpty(getToken(context, subId)); in hasToken()
DFcmRegistrationService.java145 token = instanceID.getToken( in getTokenForSubId()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/fcm/
DFcmRegistrationServiceTest.java91 when(mInstanceID.getToken(SENDER_ID, FirebaseMessaging.INSTANCE_ID_SCOPE)) in onStartJob_setToken_getToken()
98 assertThat(FcmTokenStore.getToken(mContext, SUB_ID)).isEqualTo(TOKEN); in onStartJob_setToken_getToken()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DImsEntitlementApiTest.java352 assertThat(mEntitlementConfiguration.getToken().get()).isEqualTo( in checkEntitlementStatus_verifyConfigs()
370 assertThat(mEntitlementConfiguration.getToken().isPresent()).isFalse(); in checkEntitlementStatus_resultNull_verifyVowifiStatusAndConfigs()
412 assertThat(mEntitlementConfiguration.getToken().get()).isEqualTo("NEW_TOKEN"); in checkEntitlementStatus_httpResponse511_fullAuthnDone()
480 requestBuilder.setNotificationToken(FcmTokenStore.getToken(mContext, SUB_ID)); in authenticationRequest()
/packages/modules/HealthFitness/tests/cts/route/src/android/healthconnect/cts/route/
DExerciseRouteReadTest.java190 .getToken(); in getChangelogs_cannotAccessOtherAppRoute()
212 .getToken(); in getChangelogs_canAccessOwnRoute()
234 .getToken(); in getChangelogs_mixedOwnAndOtherAppSession()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DIBuffer.h37 virtual Request::MemoryDomainToken getToken() const = 0;
/packages/services/Car/car-lib/src/android/car/app/
DRemoteCarRootTaskView.java88 TaskInfoHelper.getToken(taskInfo));
244 TaskInfoHelper.getToken(mRootTask)); in updateAllowListedActivities()
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBuffer.h34 Request::MemoryDomainToken getToken() const override;
DCanonicalBuffer.cpp66 Request::MemoryDomainToken Buffer::getToken() const { in getToken() function in android::nn::sample::Buffer
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementApi.java112 mLastEntitlementConfiguration.getToken().ifPresent( in checkEntitlementStatus()
115 requestBuilder.setNotificationToken(FcmTokenStore.getToken(mContext, mSubId)); in checkEntitlementStatus()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpResultHandlingServiceTests.java126 assertArrayEquals(new byte[] {10, 0, 1}, state1.getToken()); in testHandleResult()
158 assertArrayEquals(new byte[] {10, 0, 1}, state1.getToken()); in testHandleResultWithCollectionUri()
/packages/modules/HealthFitness/framework/java/android/health/connect/changelog/
DChangeLogTokenResponse.java65 public String getToken() { in getToken() method in ChangeLogTokenResponse
DChangeLogsRequest.java66 public String getToken() { in getToken() method in ChangeLogsRequest
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitTest.java272 .getToken(); in testGetChangeLogs_expectCorrectResponse()
409 .getToken(); in testGetAnotherAppsChangeLogs_recordsAreAfterCutOff_expectAllRecordsReturned()
430 .getToken(); in testGetAnotherAppsChangeLogs_recordsAreBeforeCutOff_expectNoRecordsReturned()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/
DTaskInfoHelper.java49 public static IBinder getToken(@NonNull TaskInfo task) { in getToken() method in TaskInfoHelper
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DEventStateTest.java45 assertArrayEquals(eventState1.getToken(), token); in testBuilderAndEquals()
/packages/modules/Media/apex/framework/java/android/media/
DMediaSession2.java174 public Session2Token getToken() { in getToken() method in MediaSession2
633 manager.notifySession2Created(session2.getToken()); in build()
637 manager.notifySession2Created(session2.getToken()); in build()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/entitlement/
DEntitlementConfiguration.java102 public Optional<String> getToken() { in getToken() method in EntitlementConfiguration
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/HealthConnectTestHelper/src/android/healthconnect/cts/testhelper/
DHealthConnectServiceLogsTests.java236 token.set(result.getToken()); in testHealthConnectGetChangeLogTokenError()
378 token.set(result.getToken()); in getChangeLogToken()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSink.java161 .append(mInputChannel != null ? mInputChannel.getToken() : "null"); in toString()

1234