/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/ |
H A D | audio_capturer_unit_test.cpp | 100 bytesRead = audioCapturer->Read(*(buffer.get()), bufferLen, isBlockingRead); in StartCaptureThread() 104 fwrite(buffer.get(), size, bytesRead, capFile); in StartCaptureThread() 1884 thread captureThread(StartCaptureThread, audioCapturer.get(), AUDIO_TIME_STABILITY_TEST_FILE); in HWTEST()
|
H A D | audio_capturer_extra_unit_test.cpp | 66 bytesRead = audioCapturer->Read(*(buffer.get()), bufferLen, isBlockingRead); in StartCaptureThread() 70 fwrite(buffer.get(), size, bytesRead, capFile); in StartCaptureThread() 218 thread captureThread(StartCaptureThread, audioCapturer.get(), AUDIO_FLUSH_STABILITY_TEST_FILE); in HWTEST() 1316 * @tc.desc : Test GetCaptureMode interface. Returns success, if the get capture mode is successful. 1580 * @tc.desc : Test GetOverflowCount interface get underflow value.
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/ |
H A D | napi_audio_capturer.cpp | 143 ObjectRefMap<NapiAudioCapturer>::Insert(napiCapturer.get()); in CreateAudioCapturerNativeObject() 166 status = napi_wrap(env, thisVar, static_cast<void*>(napiCapturer.get()), in Construct() 169 ObjectRefMap<NapiAudioCapturer>::Erase(napiCapturer.get()); in Construct() 292 "get captureOptions failed"); in CreateAudioCapturerSync()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_impl.cpp | 247 if (auto self = me.lock().get()) 253 if (auto self = me.lock().get()) 782 if (auto self = me.lock().get()) in onSceneInitialized() 811 // until we get fresh ones to replace them, not sure if that is intended in DetachScene()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/ |
H A D | napi_audio_routing_manager.cpp | 71 ObjectRefMap<NapiAudioRoutingManager>::Insert(napiAudioRoutingManager.get()); in Construct() 73 status = napi_wrap(env, thisVar, static_cast<void*>(napiAudioRoutingManager.get()), in Construct() 76 ObjectRefMap<NapiAudioRoutingManager>::Erase(napiAudioRoutingManager.get()); in Construct() 207 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get deviceFlag failed", in GetDevices() 656 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get AudioRendererFilter failed", in GetPreferredOutputDeviceByFilter() 771 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get GetAudioCapturerFilter failed", in GetPreferredInputDeviceByFilter()
|
H A D | napi_audio_manager.cpp | 193 ObjectRefMap<NapiAudioManager>::Insert(managerNapi.get()); in Construct() 198 status = napi_wrap(env, jsThis, static_cast<void*>(managerNapi.get()), in Construct() 201 ObjectRefMap<NapiAudioManager>::Erase(managerNapi.get()); in Construct() 348 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get volType failed", NAPI_ERR_INVALID_PARAM); in SetVolume() 350 "get volType unsupport", NAPI_ERR_UNSUPPORTED); in SetVolume() 352 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get volLevel failed", NAPI_ERR_INVALID_PARAM); in SetVolume() 393 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get volType failed", NAPI_ERR_INVALID_PARAM); in GetVolume() 395 "get volType unsupport", NAPI_ERR_UNSUPPORTED); in GetVolume() 428 NAPI_CHECK_ARGS_RETURN_VOID(context, context->status == napi_ok, "get volType failed", NAPI_ERR_INVALID_PARAM); in GetMaxVolume() 430 "get volTyp in GetMaxVolume() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_system.cpp | 580 // mark the animation dirty so animation system will run at least one update cycle to get the animated object to in ResetTime() 819 IAnimationPlayback* result = playback.get(); in CreatePlayback() 829 if (it->get() == playback) { in DestroyPlayback() 844 return animations_[index].get(); in GetPlayback() 1305 // Try to get the component manager if it's missing in GetEntry() 1310 // Try to get the property type if it's missing and there's a valid target in GetEntry()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | metadata_stream_test.cpp | 361 EXPECT_CALL(*mockFileWrapper.get(), FWrite(_, _, _, _)).WillOnce(Return(-1)); in HWTEST_F() 412 EXPECT_CALL(*mockDestFileWrapper.get(), FWrite(_, _, _, _)).Times(Exactly(0)); in HWTEST_F() 413 EXPECT_CALL(*mockSourceFileWrapper.get(), FRead(_, _, _, _)).WillOnce(Return(-1)); in HWTEST_F() 477 // Open the file in binary mode and move the file pointer to the end to get the file size in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/camera_service/src/ |
H A D | hcamera_host_manager.cpp | 181 CHECK_ERROR_RETURN_RET_LOG(cameraHostProxy_ == nullptr, false, "Failed to get ICameraHost"); in Init() 288 // try to get higher version in OpenCamera() 429 ret = OHOS::Camera::FindCameraMetadataItem(cameraAbility->get(), OHOS_ABILITY_CAMERA_MODES, &item); in IsNeedRestore() 432 ret = OHOS::Camera::FindCameraMetadataItem(cameraAbility->get(), in IsNeedRestore() 491 int32_t ret = OHOS::Camera::FindCameraMetadataItem(cameraSettings->get(), OHOS_CAMERA_USER_ID, &item); in CheckUserHasChanged() 1017 MEDIA_DEBUG_LOG("HCameraHostManager::UpdateRestoreParam get persistent"); in UpdateRestoreParam() 1020 MEDIA_DEBUG_LOG("HCameraHostManager::UpdateRestoreParam get transistent "); in UpdateRestoreParam()
|
/foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
H A D | media_key_system_napi.cpp | 115 status = napi_wrap(env, jsThis, reinterpret_cast<void *>(obj.get()),
in MediaKeySystemNapiConstructor() 118 ObjectRefMap<MediaKeySystemNapi>::Insert(obj.get());
in MediaKeySystemNapiConstructor() 122 ObjectRefMap<MediaKeySystemNapi>::Erase(obj.get());
in MediaKeySystemNapiConstructor() 204 DRM_ERR_LOG("get instance failed!");
in IsMediaKeySystemSupported() 205 NapiDrmError::ThrowError(env, "get instance failed!", DRM_SERVICE_FATAL_ERROR);
in IsMediaKeySystemSupported() 371 DRM_ERR_LOG("CreateMediaKeySession get failed!!!");
in CreateMediaKeySession()
|
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_server_function_unittest/src/ |
H A D | screen_capture_server_function_unittest.cpp | 335 AVScreenCaptureMixMode::MIX_MODE, screenCaptureServer_.get()); in StartFileAudioCapture() 352 AVScreenCaptureMixMode::MIX_MODE, screenCaptureServer_.get()); in StartStreamAudioCapture() 992 AVScreenCaptureMixMode::MIX_MODE, screenCaptureServer_.get()); in HWTEST_F()
|
/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_remote_object.cpp | 76 if (!IsValidParamWithNotify(onRemoteRequest, param, scope, "get function onRemoteMessageRequest failed")) { in GetJsOnRemoteRequestCallback() 85 if (!IsValidParamWithNotify(onRemoteRequest, param, scope, "get function onRemoteRequest failed")) { in GetJsOnRemoteRequestCallback() 176 ZLOGE(LOG_LABEL, "get promiseThen failed"); in GetPromiseThen() 392 if (!IsValidParamWithNotify(global, param, scope, "get napi global failed")) { in OnJsRemoteRequestCallBack() 521 NAPI_ASSERT(env, status == napi_ok, "get napi global failed"); in RemoteObjectAttachCb() 524 NAPI_ASSERT(env, status == napi_ok, "get stub constructor failed"); in RemoteObjectAttachCb() 525 NAPI_ASSERT(env, constructor != nullptr, "failed to get js RemoteObject constructor"); in RemoteObjectAttachCb() 597 .lockInfo = lockInfo.get() in NAPIRemoteObject() 843 NAPI_ASSERT(env, status == napi_ok, "get napi global failed"); in NAPI_ohos_rpc_CreateJsRemoteObject() 847 NAPI_ASSERT(env, constructor != nullptr, "failed to get j in NAPI_ohos_rpc_CreateJsRemoteObject() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | kvstore_data_service.cpp | 131 DmAdapter::GetInstance().StartWatchDeviceChange(deviceInnerListener_.get(), { "innerListener" }); in Initialize() 132 CommunicatorContext::GetInstance().RegSessionListener(deviceInnerListener_.get()); in Initialize() 423 ZLOGE("get full meta failed"); in ResolveAutoLaunchParamByIdentifier() 737 auto status = DmAdapter::GetInstance().StartWatchDeviceChange(security_.get(), {"security"}); in InitSecurityAdapter() 898 ZLOGE("get full meta failed"); in DumpStoreInfo() 945 ZLOGE("get version failed"); in PrintfInfo() 1052 ZLOGE("get full meta failed"); in DumpUserInfo() 1152 ZLOGE("get full meta failed"); in DumpBundleInfo()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
H A D | pan_bnep.cpp | 599 PacketRead(pkt, buff.get(), 0, dataLength); in BnepRecvDataCallback() 866 if (memcpy_s(buff.get(), event.dataLength_, data + offset, event.dataLength_) != EOK) { in SendBnepDataEvent() 1323 LOG_ERROR("[PAN BNEP]%{public}s get protocol,data length is error!", __func__); in ProcessBnepEthernetPacketHeader() 1361 BnepRecvDataCallbackTask(event.l2capInfo_.lcid, event.data_->get(), event.dataLength_); in ProcessEvent()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | entry.S | 209 /* For now all IRQ's not registered get sent here. handler_irq() will 689 /* We get these for debugging routines using __builtin_return_address() */ 1025 * Also, get abs(errno) to return to the process. 1234 ld [%g6 + TI_UWINMASK], %o0 ! get current umask 1242 ld [%g6 + TI_UWINMASK], %o0 ! get consistent state 1245 rd %wim, %o3 ! get current wim 1280 * or we cannot drop ET, cannot get window spill traps.
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | entry.S | 209 /* For now all IRQ's not registered get sent here. handler_irq() will 689 /* We get these for debugging routines using __builtin_return_address() */ 1024 * Also, get abs(errno) to return to the process. 1232 ld [%g6 + TI_UWINMASK], %o0 ! get current umask 1240 ld [%g6 + TI_UWINMASK], %o0 ! get consistent state 1243 rd %wim, %o3 ! get current wim 1278 * or we cannot drop ET, cannot get window spill traps.
|
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | emu10k1x.c | 1095 .get = snd_emu10k1x_shared_spdif_get, 1156 .get = snd_emu10k1x_spdif_get_mask 1165 .get = snd_emu10k1x_spdif_get,
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | sonicvibes.c | 882 .get = snd_sonicvibes_get_mux, .put = snd_sonicvibes_put_mux } 930 .get = snd_sonicvibes_get_single, .put = snd_sonicvibes_put_single, \ 986 .get = snd_sonicvibes_get_double, .put = snd_sonicvibes_put_double, \
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | hdac_hdmi.c | 250 * returns error if port set is not equal to port get otherwise success 584 * This tries to get a valid pin and set the HW constraints based on the 996 kc->get = snd_soc_dapm_get_enum_double; in hdac_hdmi_create_pin_port_muxs() 1534 .get = hdac_hdmi_eld_ctl_get, in hdac_hdmi_create_eld_ctl() 1641 dev_warn(&hdev->dev, "HDMI: failed to get afg sub nodes\n"); in hdac_hdmi_parse_and_map_nid() 1804 kc[i].get = snd_soc_dapm_get_pin_switch; in create_fill_jack_kcontrols()
|
/kernel/linux/linux-5.10/sound/core/oss/ |
H A D | mixer_oss.c | 553 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol() 591 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_sw() 837 if ((err = kctl->get(kctl, uctl)) < 0) in snd_mixer_oss_get_recsrc2()
|
/kernel/linux/linux-5.10/sound/sparc/ |
H A D | dbri.c | 628 first call dbri_cmdlock() and get pointer to a free space in 2102 /* hw_params can get called multiple times. Only map the DMA once. in snd_dbri_hw_params() 2131 /* hw_free can get called multiple times. Only unmap the DMA once. in snd_dbri_hw_free() 2409 .get = snd_cs4215_get_single, .put = snd_cs4215_put_single, \ 2418 .get = snd_cs4215_get_volume, 2429 .get = snd_cs4215_get_volume, 2554 printk(KERN_ERR "DBRI: Can't get irq %d\n", dbri->irq); in snd_dbri_create()
|
H A D | cs4231.c | 1471 .get = snd_cs4231_get_single, .put = snd_cs4231_put_single, \ 1478 .get = snd_cs4231_get_double, .put = snd_cs4231_put_double, \ 1509 .get = snd_cs4231_get_mux,
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_main.c | 403 .get = param_get_int, 424 .get = param_get_int, 433 .get = param_get_int,
|
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A D | emu10k1x.c | 1054 .get = snd_emu10k1x_shared_spdif_get, 1115 .get = snd_emu10k1x_spdif_get_mask 1124 .get = snd_emu10k1x_spdif_get,
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | sonicvibes.c | 882 .get = snd_sonicvibes_get_mux, .put = snd_sonicvibes_put_mux } 930 .get = snd_sonicvibes_get_single, .put = snd_sonicvibes_put_single, \ 986 .get = snd_sonicvibes_get_double, .put = snd_sonicvibes_put_double, \
|