Home
last modified time | relevance | path

Searched refs:requestBuilder (Results 1 – 14 of 14) sorted by relevance

/packages/services/Telephony/src/com/android/phone/slice/
DPremiumNetworkEntitlementApi.java98 ServiceEntitlementRequest.Builder requestBuilder = ServiceEntitlementRequest.builder(); in checkEntitlementStatus() local
100 requestBuilder.setTerminalVendor("vendorX"); in checkEntitlementStatus()
101 requestBuilder.setTerminalModel("modelY"); in checkEntitlementStatus()
102 requestBuilder.setTerminalSoftwareVersion("versionZ"); in checkEntitlementStatus()
103 requestBuilder.setAcceptContentType(ServiceEntitlementRequest.ACCEPT_CONTENT_TYPE_JSON); in checkEntitlementStatus()
104 requestBuilder.setBoostType(getBoostTypeFromPremiumCapability(capability)); in checkEntitlementStatus()
105 ServiceEntitlementRequest request = requestBuilder.build(); in checkEntitlementStatus()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementApi.java111 ServiceEntitlementRequest.Builder requestBuilder = ServiceEntitlementRequest.builder(); in checkEntitlementStatus() local
113 token -> requestBuilder.setAuthenticationToken(token)); in checkEntitlementStatus()
115 requestBuilder.setNotificationToken(FcmTokenStore.getToken(mContext, mSubId)); in checkEntitlementStatus()
117 requestBuilder.setEntitlementVersion(entitlementVersion + ".0"); in checkEntitlementStatus()
118 requestBuilder.setAcceptContentType(ServiceEntitlementRequest.ACCEPT_CONTENT_TYPE_XML); in checkEntitlementStatus()
120 requestBuilder.setConfigurationVersion( in checkEntitlementStatus()
123 ServiceEntitlementRequest request = requestBuilder.build(); in checkEntitlementStatus()
/packages/services/Telephony/src/com/android/phone/satellite/entitlement/
DSatelliteEntitlementApi.java54 ServiceEntitlementRequest.Builder requestBuilder = ServiceEntitlementRequest.builder(); in checkEntitlementStatus() local
55 requestBuilder.setAcceptContentType(ServiceEntitlementRequest.ACCEPT_CONTENT_TYPE_JSON); in checkEntitlementStatus()
56 requestBuilder.setAppName(getSatelliteEntitlementAppName(mCarrierConfig)); in checkEntitlementStatus()
57 ServiceEntitlementRequest request = requestBuilder.build(); in checkEntitlementStatus()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/readdata/
DReadByIdTests.java91 ReadRecordsRequestUsingIds.Builder<BasalMetabolicRateRecord> requestBuilder = in readDataByEmptyId_throws() local
93 Throwable thrown = assertThrows(IllegalArgumentException.class, requestBuilder::build); in readDataByEmptyId_throws()
99 ReadRecordsRequestUsingIds.Builder<SleepSessionRecord> requestBuilder = in readDataById_nullId_throws() local
102 assertThrows(NullPointerException.class, () -> requestBuilder.addId(null)); in readDataById_nullId_throws()
103 assertThrows(NullPointerException.class, () -> requestBuilder.addClientRecordId(null)); in readDataById_nullId_throws()
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DLeScanningTest.java294 AdvertiseRequest.Builder requestBuilder = in startBleScan_withNonConnectablePublicAdvertisement() local
298 advertiseWithBumble(requestBuilder); in startBleScan_withNonConnectablePublicAdvertisement()
322 AdvertiseRequest.Builder requestBuilder = in startBleScan_withNonConnectableScannablePublicAdvertisement() local
327 advertiseWithBumble(requestBuilder); in startBleScan_withNonConnectableScannablePublicAdvertisement()
399 AdvertiseRequest.Builder requestBuilder = in advertiseWithBumble() local
405 requestBuilder.setData(dataTypeBuilder.build()); in advertiseWithBumble()
408 advertiseWithBumble(requestBuilder); in advertiseWithBumble()
411 private void advertiseWithBumble(AdvertiseRequest.Builder requestBuilder) { in advertiseWithBumble() argument
413 requestBuilder.setLegacy(true); in advertiseWithBumble()
417 mBumble.host().advertise(requestBuilder.build(), responseObserver); in advertiseWithBumble()
DDckTestRule.kt247 val requestBuilder = in advertiseWithBumble() constant
258 requestBuilder.setData(advertisementData) in advertiseWithBumble()
261 bumble.hostBlocking().advertise(requestBuilder.build()) in advertiseWithBumble()
DDckGattTest.kt313 val requestBuilder = in advertiseWithBumble() constant
320 requestBuilder.data = in advertiseWithBumble()
328 run { mBumble.hostBlocking().advertise(requestBuilder.build()) } in advertiseWithBumble()
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/
DTestAppReceiver.java177 ReadRecordsRequestUsingFilters.Builder<StepsRecord> requestBuilder = in readStepsRecordsUsingFilters() local
180 requestBuilder.addDataOrigins( in readStepsRecordsUsingFilters()
184 .readRecords(requestBuilder.build(), newSingleThreadExecutor(), outcome); in readStepsRecordsUsingFilters()
191 ReadRecordsRequestUsingIds.Builder<StepsRecord> requestBuilder = in readStepsRecordsUsingIds() local
195 requestBuilder.addId(recordId); in readStepsRecordsUsingIds()
198 .readRecords(requestBuilder.build(), newSingleThreadExecutor(), outcome); in readStepsRecordsUsingIds()
206 AggregateRecordsRequest.Builder<Long> requestBuilder = in aggregateStepsCount() local
214 requestBuilder.addDataOriginsFilter( in aggregateStepsCount()
218 .aggregate(requestBuilder.build(), newSingleThreadExecutor(), outcome); in aggregateStepsCount()
/packages/services/Telephony/tests/src/com/android/phone/satellite/entitlement/
DSatelliteEntitlementApiTest.java153 ServiceEntitlementRequest.Builder requestBuilder = ServiceEntitlementRequest.builder(); in testServiceEntitlementRequest() local
154 requestBuilder.setAcceptContentType(ServiceEntitlementRequest.ACCEPT_CONTENT_TYPE_JSON); in testServiceEntitlementRequest()
155 requestBuilder.setAppName(TEST_APP_NAME); in testServiceEntitlementRequest()
156 ServiceEntitlementRequest expectedRequest = requestBuilder.build(); in testServiceEntitlementRequest()
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/
DImsEntitlementApiTest.java475 ServiceEntitlementRequest.Builder requestBuilder = ServiceEntitlementRequest.builder(); in authenticationRequest() local
477 requestBuilder.setAuthenticationToken(token); in authenticationRequest()
479 requestBuilder.setEntitlementVersion(String.valueOf(ENTITLEMENT_VERSION_TWO) + ".0"); in authenticationRequest()
480 requestBuilder.setNotificationToken(FcmTokenStore.getToken(mContext, SUB_ID)); in authenticationRequest()
481 requestBuilder.setAcceptContentType(ServiceEntitlementRequest.ACCEPT_CONTENT_TYPE_XML); in authenticationRequest()
482 return requestBuilder.build(); in authenticationRequest()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DImageLoader.java181 private <T> void loadWithGlide(RequestBuilder<T> requestBuilder, in loadWithGlide() argument
184 RequestBuilder<T> newRequestBuilder = requestBuilder.clone(); in loadWithGlide()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreE2ETest.java371 ReadRecordsRequestUsingIds.Builder<? extends Record> requestBuilder = in readRecordsUsingIds() local
374 requestBuilder.addId(record.getMetadata().getId()); in readRecordsUsingIds()
377 return readRecords(requestBuilder.build()); in readRecordsUsingIds()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregationApisTest.java385 AggregateRecordsRequest.Builder<?> requestBuilder = in aggregationRequest_emptyAggregationType_throws() local
388 Throwable thrown = assertThrows(IllegalArgumentException.class, requestBuilder::build); in aggregationRequest_emptyAggregationType_throws()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...