Home
last modified time | relevance | path

Searched refs:sessionConfig (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/native/android/
Dperformance_hint.cpp92 std::optional<hal::SessionConfig> sessionConfig);
189 std::optional<hal::SessionConfig> sessionConfig; in createSession() local
191 tag, &sessionConfig, &session); in createSession()
197 initialTargetWorkDurationNanos, sessionConfig); in createSession()
215 std::optional<hal::SessionConfig> sessionConfig) in APerformanceHintSession() argument
222 mSessionConfig(sessionConfig) { in APerformanceHintSession()
223 if (sessionConfig->id > INT32_MAX) { in APerformanceHintSession()
230 int64_t traceId = sessionConfig.has_value() ? sessionConfig->id : ++sIDCounter; in APerformanceHintSession()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraAdvancedExtensionSessionImpl.java329 CameraSessionConfig sessionConfig = mSessionProcessor.initSession(mToken, in initialize() local
332 List<CameraOutputConfig> outputConfigs = sessionConfig.outputConfigs; in initialize()
384 if (sessionConfig.sessionType != -1 && in initialize()
385 (sessionConfig.sessionType != SessionConfiguration.SESSION_HIGH_SPEED)) { in initialize()
386 sessionType = sessionConfig.sessionType; in initialize()
394 if (sessionConfig.colorSpace >= 0 in initialize()
395 && sessionConfig.colorSpace < ColorSpace.Named.values().length) { in initialize()
397 ColorSpace.Named.values()[sessionConfig.colorSpace]); in initialize()
399 Log.e(TAG, "Extension configured color space " + sessionConfig.colorSpace in initialize()
403 if ((sessionConfig.sessionParameter != null) && in initialize()
[all …]
DCameraDeviceSetupImpl.java122 @NonNull SessionConfiguration sessionConfig) throws CameraAccessException { in getSessionCharacteristics()
139 sessionConfig, in getSessionCharacteristics()
DICameraDeviceUserWrapper.java193 public boolean isSessionConfigurationSupported(SessionConfiguration sessionConfig) in isSessionConfigurationSupported() argument
196 return mRemoteDevice.isSessionConfigurationSupported(sessionConfig); in isSessionConfigurationSupported()
DCameraExtensionSessionImpl.java548 SessionConfiguration sessionConfig = new SessionConfiguration( in initialize() local
557 sessionConfig.setSessionParameters(sessionParamRequest); in initialize()
560 mCameraDevice.createCaptureSession(sessionConfig); in initialize()
DCameraDeviceImpl.java870 @NonNull SessionConfiguration sessionConfig) throws CameraAccessException, in isSessionConfigurationSupported()
877 return mCameraDeviceSetup.isSessionConfigurationSupported(sessionConfig); in isSessionConfigurationSupported()
879 return mRemoteDevice.isSessionConfigurationSupported(sessionConfig); in isSessionConfigurationSupported()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/
DForwardSessionProcessor.java104 CameraSessionConfig sessionConfig = mISessionProcessor.initSession( in initSession() local
112 CaptureRequest captureRequest = sessionConfig.sessionParameter.toCaptureRequest(); in initSession()
117 for (CameraOutputConfig outputConfig : sessionConfig.outputConfigs) { in initSession()
131 sessionConfigBuilder.setSessionTemplateId(sessionConfig.sessionTemplateId); in initSession()
/frameworks/av/services/camera/libcameraservice/hidl/
DUtils.cpp109 hardware::camera2::params::SessionConfiguration sessionConfig( in convertFromHidl() local
116 sessionConfig.addOutputConfiguration(config); in convertFromHidl()
119 return sessionConfig; in convertFromHidl()
/frameworks/base/core/java/android/hardware/camera2/
DCameraDevice.java1435 @NonNull SessionConfiguration sessionConfig) throws CameraAccessException { in isSessionConfigurationSupported()
1783 @NonNull SessionConfiguration sessionConfig) throws CameraAccessException; in getSessionCharacteristics()
/frameworks/av/services/camera/libcameraservice/utils/
DCameraServiceProxyWrapper.cpp225 const SessionConfiguration& sessionConfig) { in encodeSessionConfiguration() argument
231 if (sessionConfig.hasSessionParameters()) { in encodeSessionConfiguration()
232 const auto& parameters = sessionConfig.getSessionParameters(); in encodeSessionConfiguration()
248 const auto& outputConfigs = sessionConfig.getOutputConfigurations(); in encodeSessionConfiguration()
DCameraServiceProxyWrapper.h90 static int64_t encodeSessionConfiguration(const SessionConfiguration& sessionConfig);
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlUtils.cpp126 USessionConfiguration sessionConfig(src.inputWidth, src.inputHeight, in convertFromAidl() local
131 sessionConfig.addOutputConfiguration(config); in convertFromAidl()
134 return sessionConfig; in convertFromAidl()
DAidlCameraDeviceUser.cpp212 USessionConfiguration sessionConfig = convertFromAidl(in_sessionConfiguration); in isSessionConfigurationSupported() local
213 UStatus ret = mDeviceRemote->isSessionConfigurationSupported(sessionConfig, in isSessionConfigurationSupported()
/frameworks/base/services/core/jni/
Dcom_android_server_hint_HintManagerService.cpp183 jobject sessionConfig) { in nativeCreateHintSessionWithConfig() argument
198 env->SetLongField(sessionConfig, fid, config.id); in nativeCreateHintSessionWithConfig()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.cpp224 SessionConfiguration sessionConfig; in isSessionConfigurationSupported() local
225 sessionConfig.inputWidth = 0; in isSessionConfigurationSupported()
226 sessionConfig.inputHeight = 0; in isSessionConfigurationSupported()
227 sessionConfig.inputFormat = -1; in isSessionConfigurationSupported()
228 sessionConfig.operationMode = StreamConfigurationMode::NORMAL_MODE; in isSessionConfigurationSupported()
229 sessionConfig.outputStreams.resize(sessionOutputContainer->mOutputs.size()); in isSessionConfigurationSupported()
232 OutputConfiguration& outputStream = sessionConfig.outputStreams[index]; in isSessionConfigurationSupported()
244 sessionConfig, &configSupported); in isSessionConfigurationSupported()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java1586 Camera2SessionConfigImpl sessionConfig;
1597 sessionConfig = mSessionProcessor.initSession(cameraId,
1601 sessionConfig = mSessionProcessor.initSession(cameraId,
1607 List<Camera2OutputConfigImpl> outputConfigs = sessionConfig.getOutputConfigs();
1623 ret.colorSpace = sessionConfig.getColorSpace();
1627 ret.sessionTemplateId = sessionConfig.getSessionTemplateId();
1630 ret.sessionType = sessionConfig.getSessionType();
1633 sessionConfig.getSessionParameters(), cameraId);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp372 const audio_config_base_t sessionConfig = client->config(); in updateClientRecordingConfiguration() local
390 mClientInterface->onRecordingConfigurationUpdate(event, &recordClientInfo, &sessionConfig, in updateClientRecordingConfiguration()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java717 SessionConfiguration sessionConfig = new SessionConfiguration( in configureCameraSessionWithParameters() local
720 sessionConfig.setSessionParameters(initialRequest); in configureCameraSessionWithParameters()
721 camera.createCaptureSession(sessionConfig); in configureCameraSessionWithParameters()