Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 25 of 84) sorted by relevance

1234

/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/
Dcamera_adapter_impl_test.cpp223 CameraManagerAdapterImpl &adapter = CameraManagerAdapterImpl::GetInstance(); variable
228 …VideoTransportType type = adapter.GetCameraTransportType(ConnectionType::CAMERA_CONNECTION_BUILT_I…
230 type = adapter.GetCameraTransportType(static_cast<ConnectionType>(-1));
232 …VideoFacingModeAdapter modeAdapter = adapter.GetCameraFacingMode(CameraPosition::CAMERA_POSITION_U…
234 modeAdapter = adapter.GetCameraFacingMode(static_cast<CameraPosition>(-1));
237 adapter.TransToAdapterCameraFormat(CameraFormat::CAMERA_FORMAT_YCBCR_420_888);
240 adapter.TransToAdapterCameraFormat(static_cast<CameraFormat>(0));
242 …CameraFormat format = adapter.TransToOriCameraFormat(VideoPixelFormatAdapter::FORMAT_YCBCR_420_888…
244 format = adapter.TransToOriCameraFormat(static_cast<VideoPixelFormatAdapter>(-1));
246 … ExposureModeAdapter exposure = adapter.GetAdapterExposureMode(ExposureMode::EXPOSURE_MODE_LOCKED);
[all …]
/base/web/webview/test/unittest/ohos_adapter/cert_mgr_adapter_test/
Dcert_mgr_adapter_test.cpp279 CertManagerAdapterImpl adapter; variable
280 g_cerSize = adapter.GetCertMaxSize();
282 g_appMaxSize = adapter.GetAppCertMaxSize();
284 g_certSum = adapter.GetSytemRootCertSum();
296 CertManagerAdapterImpl adapter; variable
299 int32_t result = adapter.GetSytemRootCertData(0, certData);
313 CertManagerAdapterImpl adapter; variable
314 g_userCertSum = adapter.GetUserRootCertSum();
326 CertManagerAdapterImpl adapter; variable
329 int32_t result = adapter.GetUserRootCertData(g_userCertSum, userData);
[all …]
/base/useriam/fingerprint_auth/test/unittest/
Dfingerprint_auth_driver_hdi_unit_test.cpp69 auto adapter = MakeShared<MockFingerprintAuthInterfaceAdapter>(); variable
70 ASSERT_TRUE(adapter != nullptr);
71 EXPECT_CALL(*adapter, Get()).Times(Exactly(1)).WillOnce(Return(nullptr));
73 FingerprintAuthDriverHdi driverHdi(adapter);
85 auto adapter = MakeShared<MockFingerprintAuthInterfaceAdapter>(); variable
86 ASSERT_TRUE(adapter != nullptr);
87 EXPECT_CALL(*adapter, Get()).Times(Exactly(1)).WillOnce(Return(interface));
89 FingerprintAuthDriverHdi driverHdi(adapter);
103 auto adapter = MakeShared<MockFingerprintAuthInterfaceAdapter>(); variable
104 ASSERT_TRUE(adapter != nullptr);
[all …]
/base/useriam/face_auth/test/unittest/
Dface_auth_driver_hdi_unit_test.cpp69 auto adapter = MakeShared<MockFaceAuthInterfaceAdapter>(); variable
70 ASSERT_TRUE(adapter != nullptr);
71 EXPECT_CALL(*adapter, Get()).Times(Exactly(1)).WillOnce(Return(nullptr));
73 FaceAuthDriverHdi driverHdi(adapter);
85 auto adapter = MakeShared<MockFaceAuthInterfaceAdapter>(); variable
86 ASSERT_TRUE(adapter != nullptr);
87 EXPECT_CALL(*adapter, Get()).Times(Exactly(1)).WillOnce(Return(interface));
89 FaceAuthDriverHdi driverHdi(adapter);
103 auto adapter = MakeShared<MockFaceAuthInterfaceAdapter>(); variable
104 ASSERT_TRUE(adapter != nullptr);
[all …]
/base/useriam/pin_auth/test/unittest/src/
Dpin_auth_driver_hdi_unit_test.cpp69 auto adapter = MakeShared<MockPinAuthInterfaceAdapter>(); variable
70 ASSERT_TRUE(adapter != nullptr);
71 EXPECT_CALL(*adapter, Get()).Times(Exactly(1)).WillOnce(Return(nullptr));
73 PinAuthDriverHdi driverHdi(adapter);
85 auto adapter = MakeShared<MockPinAuthInterfaceAdapter>(); variable
86 ASSERT_TRUE(adapter != nullptr);
87 EXPECT_CALL(*adapter, Get()).Times(Exactly(1)).WillOnce(Return(interface));
89 PinAuthDriverHdi driverHdi(adapter);
103 auto adapter = MakeShared<MockPinAuthInterfaceAdapter>(); variable
104 ASSERT_TRUE(adapter != nullptr);
[all …]
/base/web/webview/test/unittest/ohos_adapter/ohos_init_web_adapter/
Dohos_init_web_adapter_test.cpp54 OhosInitWebAdapterImpl adapter; variable
55 adapter.SetRunWebInitedCallback(nullptr);
56 WebRunInitedCallback* callbackImpl = adapter.GetRunWebInitedCallback();
/base/sensors/miscdevice/services/miscdevice_service/
DBUILD.gn19 "hdi_connection/adapter/src/compatible_connection.cpp",
20 "hdi_connection/adapter/src/compatible_light_connection.cpp",
21 "hdi_connection/adapter/src/hdi_connection.cpp",
35 "$SUBSYSTEM_DIR/services/miscdevice_service/hdi_connection/adapter/include",
68 sources += [ "hdi_connection/adapter/src/hdi_light_connection.cpp" ]
81 "hdi_connection/adapter/src/compatible_connection.cpp",
82 "hdi_connection/adapter/src/compatible_light_connection.cpp",
83 "hdi_connection/adapter/src/hdi_connection.cpp",
97 "$SUBSYSTEM_DIR/services/miscdevice_service/hdi_connection/adapter/include",
130 sources += [ "hdi_connection/adapter/src/hdi_light_connection.cpp" ]
/base/web/webview/test/unittest/ohos_adapter/graphic_adapter_test/
Dgraphic_adapter_test.cpp56 VSyncAdapterImpl adapter; variable
59 VSyncErrorCode result = adapter.RequestVsync(data, std::move(onKeyEventId));
61 result = adapter.RequestVsync(data, std::move(onKeyEventId));
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/
DBUILD.gn52 "//base/hiviewdfx/hisysevent/adapter/native/idl:sys_event_impl_config",
57 "../../../../adapter/native/idl:sys_event_impl_client",
58 "../../../../adapter/native/idl:sys_event_service_gen_src_client",
93 "//base/hiviewdfx/hisysevent/adapter/native/idl:sys_event_impl_config",
98 "../../../../adapter/native/idl:sys_event_impl_client",
99 "../../../../adapter/native/idl:sys_event_service_gen_src_client",
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiostoprender_fuzzer/
Daudiostoprender_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.Stop(); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiostartrender_fuzzer/
Daudiostartrender_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.Start(); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audioreleaserender_fuzzer/
Daudioreleaserender_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.Release(); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiooutputdevices_fuzzer/
Daudiooutputdevices_fuzzer.cpp32 auto &adapter = AudioSystemManagerAdapterImpl::GetInstance(); in DoSomethingInterestingWithMyAPI() local
33 adapter.HasAudioOutputDevices(); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetsampling_fuzzer/
Daudiogetsampling_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.GetAudioSamplingRate(static_cast<AudioAdapterSamplingRate>(0)); in DoSomethingInterestingWithMyAPI()
/base/sensors/sensor/services/sensor/
DBUILD.gn62 "hdi_connection/adapter/src/compatible_connection.cpp",
63 "hdi_connection/adapter/src/hdi_connection.cpp",
64 "hdi_connection/adapter/src/sensor_event_callback.cpp",
72 "$SUBSYSTEM_DIR/services/sensor/hdi_connection/adapter/include",
130 "hdi_connection/adapter/src/compatible_connection.cpp",
131 "hdi_connection/adapter/src/hdi_connection.cpp",
132 "hdi_connection/adapter/src/sensor_event_callback.cpp",
140 "$SUBSYSTEM_DIR/services/sensor/hdi_connection/adapter/include",
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetstream_fuzzer/
Daudiogetstream_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.GetAudioStreamUsage(AudioAdapterStreamUsage::STREAM_USAGE_MEDIA); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiosetvolume_fuzzer/
Daudiosetvolume_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
33 adapter.SetVolume(volume); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetformat_fuzzer/
Daudiogetformat_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.GetAudioSampleFormat(AudioAdapterSampleFormat::SAMPLE_U8); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetchannel_fuzzer/
Daudiogetchannel_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.GetAudioChannel(AudioAdapterChannel::CHANNEL_3); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetcontent_fuzzer/
Daudiogetcontent_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
32 adapter.GetAudioContentType(AudioAdapterContentType::CONTENT_TYPE_SPEECH); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiogetlatency_fuzzer/
Daudiogetlatency_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
33 adapter.GetLatency(latency); in DoSomethingInterestingWithMyAPI()
/base/web/webview/ohos_adapter/aafwk_adapter/src/
Daafwk_render_scheduler_impl.cpp21 …SchedulerImpl::AafwkRenderSchedulerImpl(std::shared_ptr<AafwkRenderSchedulerHostAdapter> adapter) : in AafwkRenderSchedulerImpl() argument
22 renderSchedulerHostAdapter_(adapter) {} in AafwkRenderSchedulerImpl()
/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiowriterender_fuzzer/
Daudiowriterender_fuzzer.cpp31 AudioRendererAdapterImpl adapter; in DoSomethingInterestingWithMyAPI() local
33 adapter.Write(latency, sizeof(uint8_t)); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/fuzztest/ohos_adapter/aafwk_adapter/aafwkattachrender_fuzzer/
Daafwkattachrender_fuzzer.cpp33 std::shared_ptr<AafwkRenderSchedulerHostAdapter> adapter = nullptr; in DoSomethingInterestingWithMyAPI() local
34 render.AttachRenderProcess(adapter); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hiview/
DCODEOWNERS18 # any changes to adapter/service/idl/include/hiview_service_ipc_interface_code.h needs to be review…
19 adapter/service/idl/include/hiview_service_ipc_interface_code.h @leonchan5
21 # any changes to adapter/plugins/eventservice/service/idl/include/sys_event_service_ipc_interface_c…
22 adapter/plugins/eventservice/service/idl/include/sys_event_service_ipc_interface_code.h @leonchan5

1234