Home
last modified time | relevance | path

Searched refs:isSupported (Results 1 - 25 of 126) sorted by relevance

123456

/foundation/ai/neural_network_runtime/test/unittest/common/v2_0/
H A Dcompilation_mock_idevice.cpp25 OH_NN_ReturnCode HDIDeviceV2_0::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
27 // isSupported is false when expecting to return success in IsModelCacheSupported()
31 isSupported = false; in IsModelCacheSupported()
37 isSupported = false; in IsModelCacheSupported()
41 isSupported = true; in IsModelCacheSupported()
69 OH_NN_ReturnCode HDIDeviceV2_0::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
73 isSupported = false; in IsDynamicInputSupported()
79 isSupported = false; in IsDynamicInputSupported()
83 isSupported = true; in IsDynamicInputSupported()
87 OH_NN_ReturnCode HDIDeviceV2_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
105 IsPrioritySupported(bool& isSupported) IsPrioritySupported() argument
123 IsFloat16PrecisionSupported(bool& isSupported) IsFloat16PrecisionSupported() argument
[all...]
/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/
H A Dcompilation_mock_idevice.cpp25 OH_NN_ReturnCode HDIDeviceV1_0::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
27 // isSupported is false when expecting to return success in IsModelCacheSupported()
31 isSupported = false; in IsModelCacheSupported()
37 isSupported = false; in IsModelCacheSupported()
41 isSupported = true; in IsModelCacheSupported()
69 OH_NN_ReturnCode HDIDeviceV1_0::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
73 isSupported = false; in IsDynamicInputSupported()
79 isSupported = false; in IsDynamicInputSupported()
83 isSupported = true; in IsDynamicInputSupported()
87 OH_NN_ReturnCode HDIDeviceV1_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
105 IsPrioritySupported(bool& isSupported) IsPrioritySupported() argument
123 IsFloat16PrecisionSupported(bool& isSupported) IsFloat16PrecisionSupported() argument
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/device_registrar/
H A Ddevice_registrar_test.cpp54 virtual int32_t IsFloat16PrecisionSupported(bool& isSupported) = 0;
56 virtual int32_t IsPerformanceModeSupported(bool& isSupported) = 0;
58 virtual int32_t IsPrioritySupported(bool& isSupported) = 0;
60 virtual int32_t IsDynamicInputSupported(bool& isSupported) = 0;
65 virtual int32_t IsModelCacheSupported(bool& isSupported) = 0;
116 OH_NN_ReturnCode IsFloat16PrecisionSupported(bool& isSupported) override
120 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override
124 OH_NN_ReturnCode IsPrioritySupported(bool& isSupported) override
128 OH_NN_ReturnCode IsDynamicInputSupported(bool& isSupported) override
132 OH_NN_ReturnCode IsModelCacheSupported(bool& isSupported) overrid
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/device_registrar/
H A Ddevice_registrar_test.cpp54 virtual int32_t IsFloat16PrecisionSupported(bool& isSupported) = 0;
56 virtual int32_t IsPerformanceModeSupported(bool& isSupported) = 0;
58 virtual int32_t IsPrioritySupported(bool& isSupported) = 0;
60 virtual int32_t IsDynamicInputSupported(bool& isSupported) = 0;
65 virtual int32_t IsModelCacheSupported(bool& isSupported) = 0;
116 OH_NN_ReturnCode IsFloat16PrecisionSupported(bool& isSupported) override
120 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override
124 OH_NN_ReturnCode IsPrioritySupported(bool& isSupported) override
128 OH_NN_ReturnCode IsDynamicInputSupported(bool& isSupported) override
132 OH_NN_ReturnCode IsModelCacheSupported(bool& isSupported) overrid
[all...]
/foundation/ai/neural_network_runtime/test/fuzztest/
H A Dnnrt_device_impl.h60 int32_t IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported() argument
66 int32_t IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
72 int32_t IsPrioritySupported(bool& isSupported) in IsPrioritySupported() argument
78 int32_t IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
97 int32_t IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_device_v1_0.h41 OH_NN_ReturnCode IsFloat16PrecisionSupported(bool& isSupported) override;
42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
43 OH_NN_ReturnCode IsPrioritySupported(bool& isSupported) override;
44 OH_NN_ReturnCode IsDynamicInputSupported(bool& isSupported) override;
45 OH_NN_ReturnCode IsModelCacheSupported(bool& isSupported) override;
H A Ddevice.h45 virtual OH_NN_ReturnCode IsFloat16PrecisionSupported(bool& isSupported) = 0;
46 virtual OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) = 0;
47 virtual OH_NN_ReturnCode IsPrioritySupported(bool& isSupported) = 0;
48 virtual OH_NN_ReturnCode IsDynamicInputSupported(bool& isSupported) = 0;
49 virtual OH_NN_ReturnCode IsModelCacheSupported(bool& isSupported) = 0;
H A Dhdi_device_v2_0.h41 OH_NN_ReturnCode IsFloat16PrecisionSupported(bool& isSupported) override;
42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
43 OH_NN_ReturnCode IsPrioritySupported(bool& isSupported) override;
44 OH_NN_ReturnCode IsDynamicInputSupported(bool& isSupported) override;
45 OH_NN_ReturnCode IsModelCacheSupported(bool& isSupported) override;
H A Dhdi_device_v2_1.h41 OH_NN_ReturnCode IsFloat16PrecisionSupported(bool& isSupported) override;
42 OH_NN_ReturnCode IsPerformanceModeSupported(bool& isSupported) override;
43 OH_NN_ReturnCode IsPrioritySupported(bool& isSupported) override;
44 OH_NN_ReturnCode IsDynamicInputSupported(bool& isSupported) override;
45 OH_NN_ReturnCode IsModelCacheSupported(bool& isSupported) override;
H A Dhdi_device_v1_0.cpp190 OH_NN_ReturnCode HDIDeviceV1_0::IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported() argument
192 auto ret = m_iDevice->IsFloat16PrecisionSupported(isSupported); in IsFloat16PrecisionSupported()
200 OH_NN_ReturnCode HDIDeviceV1_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
202 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); in IsPerformanceModeSupported()
210 OH_NN_ReturnCode HDIDeviceV1_0::IsPrioritySupported(bool& isSupported) in IsPrioritySupported() argument
212 auto ret = m_iDevice->IsPrioritySupported(isSupported); in IsPrioritySupported()
220 OH_NN_ReturnCode HDIDeviceV1_0::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
222 auto ret = m_iDevice->IsDynamicInputSupported(isSupported); in IsDynamicInputSupported()
230 OH_NN_ReturnCode HDIDeviceV1_0::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
232 auto ret = m_iDevice->IsModelCacheSupported(isSupported); in IsModelCacheSupported()
[all...]
H A Dhdi_device_v2_1.cpp234 OH_NN_ReturnCode HDIDeviceV2_1::IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported() argument
236 auto ret = m_iDevice->IsFloat16PrecisionSupported(isSupported); in IsFloat16PrecisionSupported()
243 OH_NN_ReturnCode HDIDeviceV2_1::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
245 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); in IsPerformanceModeSupported()
252 OH_NN_ReturnCode HDIDeviceV2_1::IsPrioritySupported(bool& isSupported) in IsPrioritySupported() argument
254 auto ret = m_iDevice->IsPrioritySupported(isSupported); in IsPrioritySupported()
261 OH_NN_ReturnCode HDIDeviceV2_1::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
263 auto ret = m_iDevice->IsDynamicInputSupported(isSupported); in IsDynamicInputSupported()
270 OH_NN_ReturnCode HDIDeviceV2_1::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
272 auto ret = m_iDevice->IsModelCacheSupported(isSupported); in IsModelCacheSupported()
[all...]
H A Dhdi_device_v2_0.cpp239 OH_NN_ReturnCode HDIDeviceV2_0::IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported() argument
241 auto ret = m_iDevice->IsFloat16PrecisionSupported(isSupported); in IsFloat16PrecisionSupported()
248 OH_NN_ReturnCode HDIDeviceV2_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
250 auto ret = m_iDevice->IsPerformanceModeSupported(isSupported); in IsPerformanceModeSupported()
257 OH_NN_ReturnCode HDIDeviceV2_0::IsPrioritySupported(bool& isSupported) in IsPrioritySupported() argument
259 auto ret = m_iDevice->IsPrioritySupported(isSupported); in IsPrioritySupported()
266 OH_NN_ReturnCode HDIDeviceV2_0::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
268 auto ret = m_iDevice->IsDynamicInputSupported(isSupported); in IsDynamicInputSupported()
275 OH_NN_ReturnCode HDIDeviceV2_0::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
277 auto ret = m_iDevice->IsModelCacheSupported(isSupported); in IsModelCacheSupported()
[all...]
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h46 int32_t IsFloat16PrecisionSupported(bool& isSupported) override;
48 int32_t IsPerformanceModeSupported(bool& isSupported) override;
50 int32_t IsPrioritySupported(bool& isSupported) override;
52 int32_t IsDynamicInputSupported(bool& isSupported) override;
56 int32_t IsModelCacheSupported(bool& isSupported) override;
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/include/
H A Dnnrt_device_service.h46 int32_t IsFloat16PrecisionSupported(bool& isSupported) override;
48 int32_t IsPerformanceModeSupported(bool& isSupported) override;
50 int32_t IsPrioritySupported(bool& isSupported) override;
52 int32_t IsDynamicInputSupported(bool& isSupported) override;
59 int32_t IsModelCacheSupported(bool& isSupported) override;
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_audio_manager.cpp33 int IsWearDetectionSupported(const BluetoothRemoteDevice &device, bool &isSupported);
71 int BluetoothAudioManager::impl::IsWearDetectionSupported(const BluetoothRemoteDevice &device, bool &isSupported) in IsWearDetectionSupported() argument
75 return proxy->IsWearDetectionSupported(BluetoothRawAddress(device.GetDeviceAddr()), isSupported); in IsWearDetectionSupported()
117 int BluetoothAudioManager::IsWearDetectionSupported(const BluetoothRemoteDevice &device, bool &isSupported) in IsWearDetectionSupported() argument
134 return pimpl->IsWearDetectionSupported(device, isSupported); in IsWearDetectionSupported()
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dcapture_session_impl.h70 Camera_ErrorCode IsVideoStabilizationModeSupported(Camera_VideoStabilizationMode mode, bool* isSupported);
84 Camera_ErrorCode IsFocusModeSupported(Camera_FocusMode focusMode, bool* isSupported);
98 Camera_ErrorCode IsFlashModeSupported(Camera_FlashMode flashMode, bool* isSupported);
104 Camera_ErrorCode IsExposureModeSupported(Camera_ExposureMode exposureMode, bool* isSupported);
159 Camera_ErrorCode IsAutoDeviceSwitchSupported(bool* isSupported);
/foundation/communication/bluetooth/frameworks/js/napi/src/audio_manager/
H A Dnapi_bluetooth_audio_manager.cpp118 bool isSupported = false; in IsWearDetectionSupported()
119 int32_t err = audioManager.IsWearDetectionSupported(device, isSupported); in IsWearDetectionSupported()
120 HILOGI("isSupported: %{public}d", isSupported); in IsWearDetectionSupported()
121 return NapiAsyncWorkRet(err, std::make_shared<NapiNativeBool>(isSupported)); in IsWearDetectionSupported()
/foundation/multimedia/camera_framework/frameworks/native/ndk/
H A Dcapture_session.cpp178 Camera_VideoStabilizationMode mode, bool* isSupported) in OH_CaptureSession_IsVideoStabilizationModeSupported()
182 CHECK_AND_RETURN_RET_LOG(isSupported != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CaptureSession_IsVideoStabilizationModeSupported()
183 "Invaild argument, isSupported is null!"); in OH_CaptureSession_IsVideoStabilizationModeSupported()
191 return session->IsVideoStabilizationModeSupported(mode, isSupported); in OH_CaptureSession_IsVideoStabilizationModeSupported()
247 Camera_FocusMode focusMode, bool* isSupported) in OH_CaptureSession_IsFocusModeSupported()
256 CHECK_AND_RETURN_RET_LOG(isSupported != nullptr, CAMERA_INVALID_ARGUMENT, in OH_CaptureSession_IsFocusModeSupported()
257 "Invaild argument, isSupported is null!"); in OH_CaptureSession_IsFocusModeSupported()
259 return session->IsFocusModeSupported(focusMode, isSupported); in OH_CaptureSession_IsFocusModeSupported()
353 Camera_FlashMode flashMode, bool* isSupported) in OH_CaptureSession_IsFlashModeSupported()
356 CHECK_AND_RETURN_RET_LOG(isSupported ! in OH_CaptureSession_IsFlashModeSupported()
177 OH_CaptureSession_IsVideoStabilizationModeSupported(Camera_CaptureSession* session, Camera_VideoStabilizationMode mode, bool* isSupported) OH_CaptureSession_IsVideoStabilizationModeSupported() argument
246 OH_CaptureSession_IsFocusModeSupported(Camera_CaptureSession* session, Camera_FocusMode focusMode, bool* isSupported) OH_CaptureSession_IsFocusModeSupported() argument
352 OH_CaptureSession_IsFlashModeSupported(Camera_CaptureSession* session, Camera_FlashMode flashMode, bool* isSupported) OH_CaptureSession_IsFlashModeSupported() argument
381 OH_CaptureSession_IsExposureModeSupported(Camera_CaptureSession* session, Camera_ExposureMode exposureMode, bool* isSupported) OH_CaptureSession_IsExposureModeSupported() argument
700 OH_CaptureSession_IsAutoDeviceSwitchSupported(Camera_CaptureSession* session, bool* isSupported) OH_CaptureSession_IsAutoDeviceSwitchSupported() argument
[all...]
H A Dphoto_output.cpp320 Camera_ErrorCode OH_PhotoOutput_IsMirrorSupported(Camera_PhotoOutput* photoOutput, bool* isSupported) in OH_PhotoOutput_IsMirrorSupported() argument
324 CHECK_AND_RETURN_RET_LOG(isSupported != nullptr, CAMERA_INVALID_ARGUMENT, in OH_PhotoOutput_IsMirrorSupported()
325 "Invaild argument, isSupported is null!"); in OH_PhotoOutput_IsMirrorSupported()
327 return photoOutput->IsMirrorSupported(isSupported); in OH_PhotoOutput_IsMirrorSupported()
388 Camera_ErrorCode OH_PhotoOutput_IsMovingPhotoSupported(Camera_PhotoOutput* photoOutput, bool* isSupported) in OH_PhotoOutput_IsMovingPhotoSupported() argument
392 CHECK_AND_RETURN_RET_LOG(isSupported != nullptr, CAMERA_INVALID_ARGUMENT, in OH_PhotoOutput_IsMovingPhotoSupported()
393 "Invaild argument, isSupported is null!"); in OH_PhotoOutput_IsMovingPhotoSupported()
395 return photoOutput->IsMovingPhotoSupported(isSupported); in OH_PhotoOutput_IsMovingPhotoSupported()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp81 int32_t NnrtDeviceService::IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported() argument
83 isSupported = true; in IsFloat16PrecisionSupported()
87 int32_t NnrtDeviceService::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
89 isSupported = true; in IsPerformanceModeSupported()
93 int32_t NnrtDeviceService::IsPrioritySupported(bool& isSupported) in IsPrioritySupported() argument
95 isSupported = false; in IsPrioritySupported()
99 int32_t NnrtDeviceService::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
101 isSupported = true; in IsDynamicInputSupported()
143 int32_t NnrtDeviceService::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
145 isSupported in IsModelCacheSupported()
[all...]
/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/
H A Dcapture_session.h401 * @param isSupported the result of whether flash mode supported.
408 Camera_FlashMode flashMode, bool* isSupported);
439 * @param isSupported the result of whether exposure mode supported.
446 Camera_ExposureMode exposureMode, bool* isSupported);
540 * @param isSupported the result of whether focus mode supported.
547 Camera_FocusMode focusMode, bool* isSupported);
639 * @param isSupported the result of whether video stabilization mode supported.
646 Camera_VideoStabilizationMode mode, bool* isSupported);
898 * @param isSupported the result of whether auto device switch supported.
904 Camera_ErrorCode OH_CaptureSession_IsAutoDeviceSwitchSupported(Camera_CaptureSession* session, bool* isSupported);
[all...]
/foundation/communication/nfc/interfaces/inner_api/tags/
H A Disodep_tag.cpp55 int IsoDepTag::IsExtendedApduSupported(bool &isSupported) in IsExtendedApduSupported() argument
61 return tagSession->IsSupportedApdusExtended(isSupported); in IsExtendedApduSupported()
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/
H A Dnnrt_device_service.cpp82 int32_t NnrtDeviceService::IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported() argument
84 isSupported = true; in IsFloat16PrecisionSupported()
88 int32_t NnrtDeviceService::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported() argument
90 isSupported = true; in IsPerformanceModeSupported()
94 int32_t NnrtDeviceService::IsPrioritySupported(bool& isSupported) in IsPrioritySupported() argument
96 isSupported = false; in IsPrioritySupported()
100 int32_t NnrtDeviceService::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported() argument
102 isSupported = true; in IsDynamicInputSupported()
165 int32_t NnrtDeviceService::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported() argument
167 isSupported in IsModelCacheSupported()
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dprofession_session.h101 int32_t IsMeteringModeSupported(MeteringMode meteringMode, bool &isSupported);
157 int32_t IsFocusModeSupported(FocusMode focusMode, bool &isSupported);
210 int32_t IsFocusAssistFlashModeSupported(FocusAssistFlashMode mode, bool &isSupported);
248 int32_t IsFlashModeSupported(FlashMode flashMode, bool& isSupported);
/foundation/communication/nfc/test/fuzztest/tags_test/isodeptag/isodeptag_fuzzer/
H A Disodeptag_fuzzer.cpp82 bool isSupported = (static_cast<int>(data[0]) % 2) == 1; in FuzzIsExtendedApduSupported() local
83 isoDepTag->IsExtendedApduSupported(isSupported); in FuzzIsExtendedApduSupported()

Completed in 13 milliseconds

123456