Home
last modified time | relevance | path

Searched refs:getParams (Results 1 – 25 of 51) sorted by relevance

123

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityController.java239 if (getParams().allowOffline) { in startAppropriateProvisioning()
406 ProvisioningParams params = mViewModel.getParams(); in initiateProvisioning()
497 ProvisioningParams params = mViewModel.getParams(); in performPlatformProvidedProvisioning()
546 ProvisioningParams params = mViewModel.getParams(); in shouldShowWifiPicker()
577 if (mViewModel.getParams().provisioningAction.equals(ACTION_PROVISION_MANAGED_PROFILE) in showUserConsentScreen()
578 && mViewModel.getParams().isOrganizationOwnedProvisioning) { in showUserConsentScreen()
583 final String packageName = mViewModel.getParams().inferDeviceAdminPackageName(); in showUserConsentScreen()
585 uiParams.provisioningAction = mViewModel.getParams().provisioningAction; in showUserConsentScreen()
589 mViewModel.getParams().isOrganizationOwnedProvisioning; in showUserConsentScreen()
598 if (!mViewModel.getParams().allowedProvisioningModes.contains(provisioningMode)) { in updateProvisioningParamsFromIntent()
[all …]
DPreProvisioningActivity.java278 ProvisioningParams params = mController.getParams();
327 && mUtils.isOrganizationOwnedAllowed(mController.getParams())) {
348 if (mUtils.isOrganizationOwnedAllowed(mController.getParams())) {
363 if (mUtils.isOrganizationOwnedAllowed(mController.getParams())) {
411 || mController.getParams().allowOffline) {
454 if (mUtils.isOrganizationOwnedAllowed(mController.getParams())) {
482 + "provisioning is " + mController.getParams().allowOffline);
529 + mController.getParams().allowOffline);
534 } else if (mController.getParams().allowOffline) {
545 + " is " + mController.getParams().allowOffline);
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityControllerTest.java1126 assertThrows(IllegalStateException.class, () -> mController.getParams()); in testParamsNotLoaded_throwsException()
1512 assertThat(mController.getParams().keepAccountMigrated).isTrue(); in testUpdateProvisioningParamsFromIntent_managedProfileModeWithAccountMigratedExtraTrue_setsParamToTrue()
1525 assertThat(mController.getParams().keepAccountMigrated).isFalse(); in testUpdateProvisioningParamsFromIntent_managedProfileModeWithAccountMigratedExtraFalse_setsParamToFalse()
1537 assertThat(mController.getParams().keepAccountMigrated).isFalse(); in testUpdateProvisioningParamsFromIntent_managedProfileMode_accountMigratedIsFalse()
1550 assertThat(mController.getParams().keepAccountMigrated).isFalse(); in testUpdateProvisioningParamsFromIntent_managedDeviceModeWithAccountMigratedExtraTrue_accountMigratedIsFalse()
1563 assertThat(mController.getParams().leaveAllSystemAppsEnabled).isTrue(); in testUpdateProvisioningParamsFromIntent_managedProfileModeWithLeaveSystemAppsEnabledTrue_setsParamToTrue()
1576 assertThat(mController.getParams().leaveAllSystemAppsEnabled).isFalse(); in testUpdateProvisioningParamsFromIntent_managedProfileModeWithLeaveSystemAppsEnabledFalse_setsParamToFalse()
1588 assertThat(mController.getParams().leaveAllSystemAppsEnabled).isFalse(); in testUpdateProvisioningParamsFromIntent_managedProfileMode_leaveSystemAppsEnabledIsFalse()
1601 assertThat(mController.getParams().leaveAllSystemAppsEnabled).isFalse(); in testUpdateProvisioningParamsFromIntent_managedDeviceModeWithLeaveSystemAppsEnabledTrue_paramIsFalse()
1617 assertThat(mController.getParams().adminExtrasBundle).isEqualTo(testAdminExtrasBundle); in testUpdateProvisioningParamsFromIntent_adminBundlePassed_setsParam()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DGenericDecoder.java46 public <T extends Params> T getParams(TlvDecoderBuffer tlvs, Class<T> paramType, in getParams() method in GenericDecoder
59 TlvDecoder.getDecoder(FiraParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
67 TlvDecoder.getDecoder(CccParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
75 TlvDecoder.getDecoder(AliroParams.PROTOCOL_NAME, mUwbInjector).getParams( in getSpecificationParamsFromTlvBuffer()
84 .getParams(tlvs, RadarSpecificationParams.class, protocolVersion); in getSpecificationParamsFromTlvBuffer()
DRadarDecoder.java30 public <T extends Params> T getParams(TlvDecoderBuffer tlvs, Class<T> paramsType, in getParams() method in RadarDecoder
DTlvDecoder.java49 public abstract <T extends Params> T getParams(TlvDecoderBuffer tlvs, Class<T> paramType, in getParams() method in TlvDecoder
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DGenericDecoderTest.java107 mGenericDecoder.getParams(tlvDecoderBuffer, GenericSpecificationParams.class, in testGetGenericSpecificationVersion1()
127 mGenericDecoder.getParams(tlvDecoderBuffer, GenericSpecificationParams.class, in testGetGenericSpecificationViaTlvDecoderVersion1()
147 mGenericDecoder.getParams(tlvDecoderBuffer, GenericSpecificationParams.class, in testGetGenericSpecificationVersion2()
167 mGenericDecoder.getParams(tlvDecoderBuffer, GenericSpecificationParams.class, in testGetGenericSpecificationViaTlvDecoderVersion2()
190 mGenericDecoder.getParams(tlvDecoderBuffer, GenericSpecificationParams.class, in testGetGenericSpecificationViaTlvDecoderVersion1_WithoutCCC()
212 mGenericDecoder.getParams(tlvDecoderBuffer, GenericSpecificationParams.class, in testGetGenericSpecificationViaTlvDecoderVersion1_WithoutFira()
234 mGenericDecoder.getParams(tlvDecoderBuffer, GenericSpecificationParams.class, in testGetGenericSpecificationViaTlvDecoderVersion1_WithoutRadar()
DCccDecoderTest.java169 CccRangingStartedParams cccRangingStartedParams = mCccDecoder.getParams( in testGetCccRangingOpened()
181 CccSpecificationParams cccSpecificationParams = mCccDecoder.getParams( in testGetCccSpecification()
195 .getParams(tlvDecoderBuffer, CccRangingStartedParams.class, in testGetCccRangingOpenedViaTlvDecoder()
209 .getParams(tlvDecoderBuffer, CccSpecificationParams.class, in testGetCccSpecificationViaTlvDecoder()
222 CccSpecificationParams cccSpecificationParams = mCccDecoder.getParams( in testGetCccSpecificationWithPrioritizedChannel()
235 CccSpecificationParams cccSpecificationParams = mCccDecoder.getParams( in testGetCccSpecificationWithUwbsMaxPPM()
DAliroDecoderTest.java170 AliroRangingStartedParams aliroRangingStartedParams = mAliroDecoder.getParams( in testGetAliroRangingOpened()
184 AliroSpecificationParams aliroSpecificationParams = mAliroDecoder.getParams( in testGetAliroSpecification()
199 .getParams(tlvDecoderBuffer, AliroRangingStartedParams.class, in testGetAliroRangingOpenedViaTlvDecoder()
213 .getParams(tlvDecoderBuffer, AliroSpecificationParams.class, in testGetAliroSpecificationViaTlvDecoder()
226 AliroSpecificationParams aliroSpecificationParams = mAliroDecoder.getParams( in testGetAliroSpecificationWithPrioritizedChannel()
239 AliroSpecificationParams aliroSpecificationParams = mAliroDecoder.getParams( in testGetAliroSpecificationWithUwbsMaxPPM()
DRadarDecoderTest.java75 assertThat(mRadarDecoder.getParams(tlvDecoderBuffer, RadarData.class, in testGetParams_invalidParamType()
87 mRadarDecoder.getParams(tlvDecoderBuffer, RadarSpecificationParams.class, in testGetRadarSpecification()
101 .getParams(tlvDecoderBuffer, RadarSpecificationParams.class, in testGetRadarSpecificationViaTlvDecoder()
DFiraDecoderTest.java251 FiraSpecificationParams firaSpecificationParams = mFiraDecoder.getParams( in testGetFiraSpecificationVersion2()
266 .getParams(tlvDecoderBuffer, FiraSpecificationParams.class, PROTOCOL_VERSION_2_0); in testGetFiraSpecificationViaTlvDecoderVersion2()
341 FiraSpecificationParams firaSpecificationParams = mFiraDecoder.getParams( in testGetFiraSpecificationVersion1()
356 .getParams(tlvDecoderBuffer, FiraSpecificationParams.class, PROTOCOL_VERSION_1_1); in testGetFiraSpecificationViaTlvDecoderVersion1()
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DInferenceInputParcel.java73 .setTableId(value.getParams().getKeyValueStore().getTableId()) in InferenceInputParcel()
74 .setKey(value.getParams().getModelKey()) in InferenceInputParcel()
76 value.getParams().getDelegateType(), in InferenceInputParcel()
77 value.getParams().getRecommendedNumThreads(), in InferenceInputParcel()
80 value.getParams().getModelType(), in InferenceInputParcel()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DLandingActivityBridgeImpl.java41 abstract ProvisioningParams getParams(); in getParams() method in LandingActivityBridgeImpl
53 getParams().initiatorRequestedProvisioningModes, getUtils())) { in initiateUi()
58 CustomizationParams.createInstance(getParams(), activity, getUtils()); in initiateUi()
63 setupSubtitleText(activity, getParams(), customizationParams); in initiateUi()
DProvisioningActivityBridgeImpl.java62 abstract ProvisioningParams getParams(); in getParams() method in ProvisioningActivityBridgeImpl
77 boolean isPoProvisioning = getUtils().isProfileOwnerAction(getParams().provisioningAction); in initiateUi()
94 if (getUtils().isFinancedDeviceAction(getParams().provisioningAction)) { in initiateUi()
103 if (getUtils().isDeviceOwnerAction(getParams().provisioningAction)) { in initiateUi()
197 new ProvisioningModeWrapperProvider(getParams()); in setupTransitionAnimationHelper()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/
DCobaltUploaderTest.java83 List<EncryptedCobaltEnvelopeParams> getParams() { in getParams() method in CobaltUploaderTest.AdServicesCobaltUploadServiceStub
103 List<EncryptedCobaltEnvelopeParams> allParams = interfaceStub.getParams(); in environmentSet_devEnvironment()
126 List<EncryptedCobaltEnvelopeParams> allParams = interfaceStub.getParams(); in environmentSet_prodEnvironment()
/packages/services/Car/packages/CarManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DCarLandingActivityBridgeImpl.java41 abstract ProvisioningParams getParams(); in getParams() method in CarLandingActivityBridgeImpl
66 CustomizationParams.createInstance(getParams(), activity, getUtils()); in initiateUi()
DCarProvisioningActivityBridgeImpl.java63 abstract ProvisioningParams getParams(); in getParams() method in CarProvisioningActivityBridgeImpl
75 boolean isPoProvisioning = getUtils().isProfileOwnerAction(getParams().provisioningAction); in initiateUi()
184 if (!getParams().deviceOwnerPermissionGrantOptOut) { in getProvisioningModeWrapperForFullyManaged()
DCarResetAndReturnDeviceActivityBridgeImpl.java39 abstract ProvisioningParams getParams(); in getParams() method in CarResetAndReturnDeviceActivityBridgeImpl
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbSessionManagerTest.java513 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_success_extendedMacAddress()
559 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_success_shortMacAddress()
610 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_success_multipleAdvertisers()
669 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_CheckPointedTarget_Failed()
748 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_incorrectRangingRoundUsage()
776 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_incorrectDeviceRole()
799 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_receivedDataNotCalled()
833 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_receivedDataDifferentMacAddress()
874 when(mockUwbSession.getParams()).thenReturn(firaParams); in onRangeDataNotificationReceived_owrAoa_receivedDataDifferentUwbSession()
1669 session.getSessionHandle(), session.getParams()); in startRanging()
[all …]
DUwbConfigurationManagerTest.java127 when(mUwbSession.getParams()).thenReturn(mFiraParams); in setUp()
131 when(mRadarSession.getParams()).thenReturn(TEST_RADAR_OPEN_SESSION_PARAMS); in setUp()
DUwbSessionNotificationManagerTest.java119 when(mUwbSession.getParams()).thenReturn(mFiraParams); in setUp()
124 when(mUwbRadarSession.getParams()).thenReturn(mRadarParams); in setUp()
423 mUwbSessionNotificationManager.onRangingStarted(mUwbSession, mUwbSession.getParams()); in testOnRangingStarted()
426 mUwbSession.getParams().toBundle()); in testOnRangingStarted()
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/
DInferenceInputTest.java69 assertThat(inferenceInput.getParams()).isEqualTo(params); in buildInput_success()
97 assertThat(inferenceInput.getParams()).isEqualTo(params); in buildInputWithSetters()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothProfileInhibitManager.java191 public BluetoothConnection getParams() { in getParams() method in BluetoothProfileInhibitManager.InhibitRecord
408 BluetoothConnection params = record.getParams(); in addInhibitRecord()
497 BluetoothConnection params = record.getParams(); in removeInhibitRecord()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DHttpClientFactory.java65 HttpParams params = client.getParams(); in newHttpClient()
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DUtils.java97 int keySizeBytes = (privateKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) in getBytesFromP256PrivateKey()
115 (publicKey.getParams().getOrder().bitLength() + Byte.SIZE - 1) / Byte.SIZE; in getBytesFromP256PublicKey()

123