Home
last modified time | relevance | path

Searched refs:sessionParams (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
DTunnelModeChildSessionParamsUtilsTest.java61 final TunnelModeChildSessionParams sessionParams = createBuilderMinimum().build(); in testMinimumParamsEncodeDecodeIsLossless() local
62 verifyPersistableBundleEncodeDecodeIsLossless(sessionParams); in testMinimumParamsEncodeDecodeIsLossless()
80 final TunnelModeChildSessionParams sessionParams = in testSetTsEncodeDecodeIsLossless() local
85 verifyPersistableBundleEncodeDecodeIsLossless(sessionParams); in testSetTsEncodeDecodeIsLossless()
93 final TunnelModeChildSessionParams sessionParams = in testSetLifetimesEncodeDecodeIsLossless() local
95 verifyPersistableBundleEncodeDecodeIsLossless(sessionParams); in testSetLifetimesEncodeDecodeIsLossless()
106 final TunnelModeChildSessionParams sessionParams = in testSetConfigRequestsEncodeDecodeIsLossless() local
116 verifyPersistableBundleEncodeDecodeIsLossless(sessionParams); in testSetConfigRequestsEncodeDecodeIsLossless()
/frameworks/base/services/core/java/com/android/server/pm/
DInstallingSession.java144 PackageInstaller.SessionParams sessionParams, InstallSource installSource, in InstallingSession() argument
153 installSource.mInstallerPackageName, installerUid, sessionParams.installReason); in InstallingSession()
154 mInstallScenario = sessionParams.installScenario; in InstallingSession()
156 mInstallFlags = sessionParams.installFlags; in InstallingSession()
157 mDevelopmentInstallFlags = sessionParams.developmentInstallFlags; in InstallingSession()
159 mVolumeUuid = sessionParams.volumeUuid; in InstallingSession()
160 mPackageAbiOverride = sessionParams.abiOverride; in InstallingSession()
161 mPermissionStates = sessionParams.getPermissionStates(); in InstallingSession()
162 mAllowlistedRestrictedPermissions = sessionParams.whitelistedRestrictedPermissions; in InstallingSession()
163 mAutoRevokePermissionsMode = sessionParams.autoRevokePermissionsMode; in InstallingSession()
[all …]
DPackageManagerShellCommand.java676 if (params.sessionParams.sizeBytes != -1 || STDIN_PATH.equals(inPaths.get(0))) { in setParamsSize()
706 params.sessionParams.abiOverride, fd.getFileDescriptor()); in setParamsSize()
719 params.sessionParams.setSize(sessionSize); in setParamsSize()
1534 if (params.sessionParams.dataLoaderParams == null) { in runStreamingInstall()
1535 params.sessionParams.setDataLoaderParams( in runStreamingInstall()
1543 params.sessionParams.installFlags |= PackageManager.INSTALL_ARCHIVED; in runArchivedInstall()
1544 if (params.sessionParams.dataLoaderParams == null) { in runArchivedInstall()
1545 params.sessionParams.setDataLoaderParams( in runArchivedInstall()
1553 if (params.sessionParams.dataLoaderParams == null) { in runIncrementalInstall()
1554 params.sessionParams.setDataLoaderParams( in runIncrementalInstall()
[all …]
DVerifyingSession.java147 PackageInstaller.SessionParams sessionParams, InstallSource installSource, in VerifyingSession() argument
154 mInstallFlags = sessionParams.installFlags; in VerifyingSession()
156 mPackageAbiOverride = sessionParams.abiOverride; in VerifyingSession()
158 sessionParams.originatingUri, in VerifyingSession()
159 sessionParams.referrerUri, in VerifyingSession()
160 sessionParams.originatingUid, in VerifyingSession()
164 mRequiredInstalledVersionCode = sessionParams.requiredInstalledVersionCode; in VerifyingSession()
165 mDataLoaderType = (sessionParams.dataLoaderParams != null) in VerifyingSession()
166 ? sessionParams.dataLoaderParams.getType() : DataLoaderType.NONE; in VerifyingSession()
170 mUserActionRequiredType = sessionParams.requireUserAction; in VerifyingSession()
[all …]
DPackageSessionVerifier.java308 if ((session.sessionParams().installFlags & PackageManager.INSTALL_ENABLE_ROLLBACK) != 0) { in verifyApex()
387 if (session.sessionParams().installReason == PackageManager.INSTALL_REASON_ROLLBACK) { in submitSessionToApexService()
432 return session.sessionParams().installReason == PackageManager.INSTALL_REASON_ROLLBACK; in isRollback()
DPackageArchiver.java872 PackageInstaller.SessionParams sessionParams = new PackageInstaller.SessionParams( in createDraftSession() local
874 sessionParams.setAppPackageName(packageName); in createDraftSession()
875 sessionParams.setAppLabel( in createDraftSession()
877 sessionParams.setAppIcon( in createDraftSession()
881 sessionParams.installFlags = (INSTALL_UNARCHIVE_DRAFT | INSTALL_UNARCHIVE); in createDraftSession()
886 sessionParams, in createDraftSession()
894 sessionParams, in createDraftSession()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtilsHidl.cpp47 hidl.sessionParams = aidl.sessionParams.metadata; in convertAidlToHidl37StreamCombination()
150 streamConfigV34.sessionParams = streamConfigV37.sessionParams; in convertHALStreamCombinationFromV37ToV34()
/frameworks/base/core/java/android/hardware/camera2/extension/
DExtensionConfiguration.java72 @Nullable CaptureRequest sessionParams) { in ExtensionConfiguration() argument
76 mSessionParameters = sessionParams; in ExtensionConfiguration()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageSessionVerifierTest.java82 session2.sessionParams().setInstallReason(PackageManager.INSTALL_REASON_ROLLBACK); in checkRollbacks()
83 session3.sessionParams().setInstallReason(PackageManager.INSTALL_REASON_ROLLBACK); in checkRollbacks()
145 when(session.sessionParams()).thenReturn(params); in createStagedSession()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp203 const hidl_vec<uint8_t>& sessionParams) { in endConfigure() argument
204 return endConfigure_2_1(operatingMode, sessionParams, systemTime()); in endConfigure()
208 const hidl_vec<uint8_t>& sessionParams, in endConfigure_2_1() argument
211 if (!convertFromHidl(sessionParams, &cameraMetadata)) { in endConfigure_2_1()
DHidlCameraDeviceUser.h85 const hidl_vec<uint8_t>& sessionParams);
88 const hidl_vec<uint8_t>& sessionParams,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/
DSessionMetricsStats.java218 SatelliteStats.SatelliteSessionParams sessionParams = in reportSessionMetrics() local
233 logd("reportSessionMetrics: " + sessionParams.toString()); in reportSessionMetrics()
234 SatelliteStats.getInstance().onSatelliteSessionMetrics(sessionParams); in reportSessionMetrics()
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java109 public int[] endConfigure(int operatingMode, CameraMetadataNative sessionParams, in endConfigure() argument
112 return mRemoteDevice.endConfigure(operatingMode, (sessionParams == null) ? in endConfigure()
113 new CameraMetadataNative() : sessionParams, startTimeMs); in endConfigure()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.h196 status_t configureStreams(const CameraMetadata& sessionParams,
360 status_t injectSessionParams(const CameraMetadata& sessionParams);
440 virtual status_t configureStreams(const camera_metadata_t * sessionParams,
446 const camera_metadata_t* sessionParams,
810 bool reconfigureCamera(const CameraMetadata& sessionParams, int clientStatusId);
821 status_t filterParamsAndConfigureLocked(const CameraMetadata& sessionParams,
829 const CameraMetadata& sessionParams, bool notifyRequestThread = true);
927 const CameraMetadata& sessionParams,
1033 status_t setInjectedSessionParams(const CameraMetadata& sessionParams);
/frameworks/hardware/interfaces/cameraservice/device/aidl/android/frameworks/cameraservice/device/
DICameraDeviceUser.aidl120 …void endConfigure(in StreamConfigurationMode operatingMode, in CameraMetadata sessionParams, in lo… in endConfigure() argument
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/2/android/frameworks/cameraservice/device/
DICameraDeviceUser.aidl43 …ratingMode, in android.frameworks.cameraservice.device.CameraMetadata sessionParams, in long start… in endConfigure() argument
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/current/android/frameworks/cameraservice/device/
DICameraDeviceUser.aidl43 …ratingMode, in android.frameworks.cameraservice.device.CameraMetadata sessionParams, in long start… in endConfigure() argument
/frameworks/hardware/interfaces/cameraservice/device/aidl/aidl_api/android.frameworks.cameraservice.device/1/android/frameworks/cameraservice/device/
DICameraDeviceUser.aidl43 …ratingMode, in android.frameworks.cameraservice.device.CameraMetadata sessionParams, in long start… in endConfigure() argument
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl90 int[] endConfigure(int operatingMode, in CameraMetadataNative sessionParams, long startTimeMs); in endConfigure() argument
/frameworks/hardware/interfaces/cameraservice/device/2.1/
DICameraDeviceUser.hal35 CameraMetadata sessionParams, int64_t startTimeNs) generates (Status status);
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3Device.h113 virtual status_t configureStreams(const camera_metadata_t *sessionParams,
120 const camera_metadata_t* sessionParams,
DHidlCamera3Device.cpp897 const camera_metadata_t *sessionParams, in configureStreams() argument
1002 size_t sessionParamSize = get_camera_metadata_size(sessionParams); in configureStreams()
1003 requestedConfiguration3_4.sessionParams.setToExternal( in configureStreams()
1004 reinterpret_cast<uint8_t*>(const_cast<camera_metadata_t*>(sessionParams)), in configureStreams()
1006 requestedConfiguration3_7.sessionParams.setToExternal( in configureStreams()
1007 reinterpret_cast<uint8_t*>(const_cast<camera_metadata_t*>(sessionParams)), in configureStreams()
1215 const camera_metadata_t* sessionParams, camera_stream_configuration* config, in configureInjectedStreams() argument
1307 size_t sessionParamSize = get_camera_metadata_size(sessionParams); in configureInjectedStreams()
1309 requestedConfiguration3_7.sessionParams.setToExternal( in configureInjectedStreams()
1310 reinterpret_cast<uint8_t*>(const_cast<camera_metadata_t*>(sessionParams)), in configureInjectedStreams()
/frameworks/av/services/camera/libcameraservice/common/
DCameraDeviceBase.h298 virtual status_t configureStreams(const CameraMetadata& sessionParams,
514 const CameraMetadata& sessionParams) = 0;
/frameworks/av/services/camera/libcameraservice/api2/
DCameraOfflineSessionClient.cpp387 const hardware::camera2::impl::CameraMetadataNative& sessionParams) { in injectSessionParams() argument
390 (void)sessionParams; in injectSessionParams()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3Device.h106 virtual status_t configureStreams(const camera_metadata_t *sessionParams,
113 const camera_metadata_t* sessionParams,

12