Home
last modified time | relevance | path

Searched refs:toBundle (Results 1 – 25 of 231) sorted by relevance

12345678910

/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/generic/
DGenericSpecificationParams.java107 public PersistableBundle toBundle() { in toBundle() method in GenericSpecificationParams
108 PersistableBundle bundle = super.toBundle(); in toBundle()
110 mFiraSpecificationParams.toBundle()); in toBundle()
113 mAliroSpecificationParams.toBundle()); in toBundle()
117 mCccSpecificationParams.toBundle()); in toBundle()
121 mRadarSpecificationParams.toBundle()); in toBundle()
/packages/modules/Uwb/service/support_lib/test/
DOemExtensionTests.java59 DeviceStatus fromBundle = DeviceStatus.fromBundle(deviceState.toBundle()); in testDeviceState()
87 SessionStatus fromBundle = SessionStatus.fromBundle(sessionStatus.toBundle()); in testSessionStatus()
108 .fromBundle(rangingReportMetadata.toBundle()); in testRangingReportMetadata()
127 advertisePointedTarget.toBundle()); in testAdvertisePointedTarget()
156 .setOpenSessionParamsBundle(firaOpenSessionParams.toBundle()) in testSessionConfigParams()
163 sessionConfigParams.toBundle()); in testSessionConfigParams()
DAliroTests.java151 AliroOpenRangingParams fromBundle = AliroOpenRangingParams.fromBundle(params.toBundle()); in testOpenRangingParams()
191 AliroRangingError fromBundle = AliroRangingError.fromBundle(params.toBundle()); in testRangingError()
204 AliroRangingReconfiguredParams.fromBundle(params.toBundle()); in testRangingReconfiguredParams()
230 AliroStartRangingParams fromBundle = AliroStartRangingParams.fromBundle(params.toBundle()); in testStartRangingParams()
265 AliroRangingStartedParams.fromBundle(params.toBundle()); in testRangingStartedParams()
326 AliroSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams()
377 AliroSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams_whenNoChannelsSet()
382 assertTrue(Params.isProtocol(params.toBundle(), AliroParams.PROTOCOL_NAME)); in verifyProtocolPresent()
386 assertTrue(PersistableBundle.kindofEquals(params.toBundle(), fromBundle.toBundle())); in verifyBundlesEqual()
DCccTests.java148 CccOpenRangingParams fromBundle = CccOpenRangingParams.fromBundle(params.toBundle()); in testOpenRangingParams()
188 CccRangingError fromBundle = CccRangingError.fromBundle(params.toBundle()); in testRangingError()
200 CccRangingReconfiguredParams.fromBundle(params.toBundle()); in testRangingReconfiguredParams()
226 CccStartRangingParams fromBundle = CccStartRangingParams.fromBundle(params.toBundle()); in testStartRangingParams()
260 CccRangingStartedParams fromBundle = CccRangingStartedParams.fromBundle(params.toBundle()); in testRangingStartedParams()
320 CccSpecificationParams fromBundle = CccSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams()
370 CccSpecificationParams fromBundle = CccSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams_whenNoChannelsSet()
375 assertTrue(Params.isProtocol(params.toBundle(), CccParams.PROTOCOL_NAME)); in verifyProtocolPresent()
379 assertTrue(PersistableBundle.kindofEquals(params.toBundle(), fromBundle.toBundle())); in verifyBundlesEqual()
DRadarTests.java53 new FiraSpecificationParams.Builder().build().toBundle();
123 RadarOpenSessionParams fromBundle = RadarOpenSessionParams.fromBundle(params.toBundle()); in testOpenSessionParams()
173 RadarSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams()
185 RadarSpecificationParams.fromBundle(params.toBundle()); in testSpecificationParams_emptyCapabilities()
245 RadarSweepData fromBundle = RadarSweepData.fromBundle(data.toBundle()); in testRadarSweepData()
262 fromBundle = RadarSweepData.fromBundle(data.toBundle()); in testRadarSweepData()
336 RadarData fromBundle = RadarData.fromBundle(data.toBundle()); in testRadarData()
DFiraTests.java296 FiraOpenSessionParams fromBundle = FiraOpenSessionParams.fromBundle(params.toBundle()); in testOpenSessionParams()
478 FiraRangingReconfigureParams.fromBundle(params.toBundle()); in testRangingReconfigureParams()
509 fromBundle = FiraRangingReconfigureParams.fromBundle(params.toBundle()); in testRangingReconfigureParams()
542 FiraControleeParams.fromBundle(params.toBundle()); in testControleeParams()
554 assertTrue(FiraStatusCode.isBundleValid(params.toBundle())); in testStatusCode()
555 FiraStatusCode fromBundle = FiraStatusCode.fromBundle(params.toBundle()); in testStatusCode()
568 assertTrue(FiraMulticastListUpdateStatusCode.isBundleValid(params.toBundle())); in testMulticastListUpdateStatusCode()
571 FiraMulticastListUpdateStatusCode.fromBundle(params.toBundle()); in testMulticastListUpdateStatusCode()
584 assertTrue(FiraStateChangeReasonCode.isBundleValid(params.toBundle())); in testStateChangeReasonCode()
587 FiraStateChangeReasonCode.fromBundle(params.toBundle()); in testStateChangeReasonCode()
[all …]
DDlTDoATests.java68 DlTDoAMeasurement fromBundle = DlTDoAMeasurement.fromBundle(dlTDoAMeasurement.toBundle()); in dlTDoAMeasurementTest()
100 dlTDoARangingRoundsUpdate.toBundle()); in dlTDoARangingRoundsUpdateTest()
121 dlTDoARangingRoundsUpdateStatus.toBundle()); in dlTDoARangingRoundsUpdateStatusTest()
/packages/modules/Uwb/service/support_lib/test/com/google/uwb/support/fira/
DFiraPoseUpdateParamsTest.java38 bundle = poseParams.toBundle(); in testParams()
46 bundle = poseParams.toBundle(); in testParams()
56 bundle = poseParams.toBundle(); in testParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSimpleDialog.java208 args.putBundle(TITLE, mTitle.toBundle()); in build()
212 args.putBundle(MESSAGE, mMessage.toBundle()); in build()
216 args.putBundle(NEGATIVE_BUTTON_MESSAGE, mNegativeButtonMessage.toBundle()); in build()
220 args.putBundle(POSITIVE_BUTTON_MESSAGE, mPositiveButtonMessage.toBundle()); in build()
/packages/modules/Bluetooth/android/BluetoothLegacyMigration/
DBluetoothLegacyMigration.kt149 abstract fun toBundle(): Bundle? in toBundle() method
156 override fun toBundle(): Bundle? { in toBundle() method in com.google.android.bluetooth.BluetoothLegacyMigration.SharedPreferencesHandler
198 override fun toBundle(): Bundle? { in toBundle() method in com.google.android.bluetooth.BluetoothLegacyMigration.DatabaseHandler
251 START_LEGACY_MIGRATION_CALL -> migrationHandler.toBundle() in call()
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/
DRangingController.java283 .toBundle()); in addControleeAdapter()
293 .toBundle()); in addControleeAdapter()
350 .toBundle()); in removeControleeAdapter()
360 .toBundle()); in removeControleeAdapter()
380 .toBundle()); in setBlockStriding()
/packages/services/Car/car-lib/src/android/car/projection/
DProjectionOptions.java150 public @NonNull Bundle toBundle() { in toBundle() method in ProjectionOptions
153 bundle.putBundle(KEY_ACTIVITY_OPTIONS, mActivityOptions.toBundle()); in toBundle()
208 return toBundle().toString(); in toString()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DActivityOptionsWrapper.java38 public Bundle toBundle() { in toBundle() method in ActivityOptionsWrapper
39 return options.toBundle(); in toBundle()
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/
DBroadcastOptionsShimImpl.java49 public Bundle toBundle() { in toBundle() method in BroadcastOptionsShimImpl
50 return mOptions.toBundle(); in toBundle()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbServiceCoreTest.java336 when(genericSpecificationParams.toBundle()).thenReturn(genericSpecificationBundle); in verifyGetSpecificationInfoSuccess()
358 when(genericSpecificationParams.toBundle()).thenReturn(genericSpecificationBundle); in verifyGetCachedSpecificationInfoSuccess()
367 assertThat(specifications.toBundle()).isEqualTo(genericSpecificationBundle); in verifyGetCachedSpecificationInfoSuccess()
572 TEST_FIRA_OPEN_SESSION_PARAMS.build().toBundle(), TEST_DEFAULT_CHIP_ID); in testEnableWithCountryCode_statusRegulationUwbOff()
662 TEST_FIRA_OPEN_SESSION_PARAMS.build().toBundle(), TEST_DEFAULT_CHIP_ID); in testEnableWithCountryCode_statusFailed()
1081 attributionSource, sessionHandle, cb, params.toBundle(), TEST_DEFAULT_CHIP_ID); in testOpenFiraRanging()
1101 attributionSource, sessionHandle, cb, params.toBundle(), TEST_DEFAULT_CHIP_ID); in testOpenAliroRanging()
1120 attributionSource, sessionHandle, cb, params.toBundle(), TEST_DEFAULT_CHIP_ID); in testOpenCccRanging()
1139 attributionSource, sessionHandle, cb, params.toBundle(), TEST_DEFAULT_CHIP_ID); in testOpenRadarSession()
1160 params.toBundle(), in testOpenAliroRangingWhenUwbDisabled()
[all …]
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/provision/grpc/
DProvisioningConfigurationTest.java36 createProvisioningConfiguration(/* enableOutgoingCalls= */ false).toBundle(); in configurationToBundle_withOutgoingCallsDisabled_shouldStoreCorrectState()
43 createProvisioningConfiguration(/* enableOutgoingCalls= */ true).toBundle(); in configurationToBundle_withOutgoingCallsEnabled_shouldStoreCorrectState()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/
DAliroRangingStoppedParams.java51 public PersistableBundle toBundle() { in toBundle() method in AliroRangingStoppedParams
52 PersistableBundle bundle = super.toBundle(); in toBundle()
DAliroRangingError.java78 public PersistableBundle toBundle() { in toBundle() method in AliroRangingError
79 PersistableBundle bundle = super.toBundle(); in toBundle()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/profile/
DUuidBundleWrapperTest.java47 fromBundle = UuidBundleWrapper.fromBundle(status.toBundle()); in testStatus()
61 fromBundle = UuidBundleWrapper.fromBundle(status.toBundle()); in testEmpty()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraMulticastListUpdateStatusCode.java47 public PersistableBundle toBundle() { in toBundle() method in FiraMulticastListUpdateStatusCode
48 PersistableBundle bundle = super.toBundle(); in toBundle()
DFiraStatusCode.java47 public PersistableBundle toBundle() { in toBundle() method in FiraStatusCode
48 PersistableBundle bundle = super.toBundle(); in toBundle()
DFiraDataTransferPhaseConfigStatusCode.java48 public PersistableBundle toBundle() { in toBundle() method in FiraDataTransferPhaseConfigStatusCode
49 PersistableBundle bundle = super.toBundle(); in toBundle()
DFiraStateChangeReasonCode.java47 public PersistableBundle toBundle() { in toBundle() method in FiraStateChangeReasonCode
48 PersistableBundle bundle = super.toBundle(); in toBundle()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccRangingStoppedParams.java52 public PersistableBundle toBundle() { in toBundle() method in CccRangingStoppedParams
53 PersistableBundle bundle = super.toBundle(); in toBundle()
DCccRangingError.java77 public PersistableBundle toBundle() { in toBundle() method in CccRangingError
78 PersistableBundle bundle = super.toBundle(); in toBundle()

12345678910