/aosp12/hardware/qcom/wlan/qcwcn/wifi_hal/wifi_hal_ctrl/ |
H A D | wifi_hal_ctrl.c | 57 ctrl = malloc(sizeof(*ctrl)); in wifihal_ctrl_open2() 62 memset(ctrl, 0, sizeof(*ctrl)); in wifihal_ctrl_open2() 65 free(ctrl); in wifihal_ctrl_open2() 91 if (bind(ctrl->s, (struct sockaddr *) &ctrl->local, in wifihal_ctrl_open2() 104 free(ctrl); in wifihal_ctrl_open2() 119 free(ctrl); in wifihal_ctrl_open2() 140 if (connect(ctrl->s, (struct sockaddr *) &ctrl->dest, in wifihal_ctrl_open2() 144 free(ctrl); in wifihal_ctrl_open2() 159 return ctrl; in wifihal_ctrl_open2() 174 free(ctrl); in wifihal_ctrl_close() [all …]
|
/aosp12/hardware/google/graphics/common/libscaler/ |
H A D | libscalerblend-v4l2.cpp | 10 struct v4l2_control ctrl; in DevSetCtrl() local 19 ctrl.id = V4L2_CID_2D_BLEND_OP; in DevSetCtrl() 20 ctrl.value = m_SrcBlndCfg.blop; in DevSetCtrl() 27 ctrl.id = V4L2_CID_GLOBAL_ALPHA; in DevSetCtrl() 34 ctrl.id = V4L2_CID_GLOBAL_ALPHA; in DevSetCtrl() 35 ctrl.value = 0xff; in DevSetCtrl() 45 ctrl.id = V4L2_CID_CSC_EQ; in DevSetCtrl() 46 ctrl.value = is_bt709; in DevSetCtrl() 53 ctrl.id = V4L2_CID_CSC_RANGE; in DevSetCtrl() 62 ctrl.id = V4L2_CID_2D_SRC_BLEND_SET_FMT; in DevSetCtrl() [all …]
|
H A D | libscaler-v4l2.cpp | 144 struct v4l2_control ctrl; in SetCtrl() local 166 ctrl.id = V4L2_CID_ROTATE; in SetCtrl() 167 ctrl.value = m_nRotDegree; in SetCtrl() 173 ctrl.id = V4L2_CID_VFLIP; in SetCtrl() 180 ctrl.id = V4L2_CID_HFLIP; in SetCtrl() 199 ctrl.value = m_filter; in SetCtrl() 210 ctrl.id = V4L2_CID_CSC_RANGE; in SetCtrl() 217 ctrl.id = V4L2_CID_CSC_EQ; in SetCtrl() 218 ctrl.value = m_colorspace; in SetCtrl() 230 ctrl.id = SC_CID_FRAMERATE; in SetCtrl() [all …]
|
/aosp12/frameworks/base/packages/InputDevices/res/raw/ |
H A D | keyboard_layout_persian.kcm | 25 ctrl, alt, meta: none 32 ctrl, alt, meta: none 39 ctrl, alt, meta: none 46 ctrl, alt, meta: none 53 ctrl, alt, meta: none 60 ctrl, alt, meta: none 67 ctrl, alt, meta: none 74 ctrl, alt, meta: none 81 ctrl, alt, meta: none 88 ctrl, alt, meta: none [all …]
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
H A D | mm_qcamera_commands.c | 37 int tuneserver_initialize_prevtuningp(void * ctrl, in tuneserver_initialize_prevtuningp() argument 68 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_deinitialize_prevtuningp() 81 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_preview_getinfo() 90 int tuneserver_preview_getchunksize(void * ctrl, in tuneserver_preview_getchunksize() argument 94 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_preview_getchunksize() 104 int tuneserver_preview_getframe(void * ctrl, in tuneserver_preview_getframe() argument 108 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_preview_getframe() 117 int tuneserver_preview_unsupported(void * ctrl, in tuneserver_preview_unsupported() argument 121 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_preview_unsupported() 148 tuningserver_t *tctrl = (tuningserver_t *) ctrl; in tuneserver_deinitialize_tuningp() [all …]
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/ |
H A D | mm_qcamera_commands.h | 41 int tuneserver_initialize_tuningp(void * ctrl, int client_socket_id, 45 int tuneserver_process_get_list_cmd(void * ctrl, void *recv_cmd, 47 int tuneserver_process_misc_cmd(void * ctrl, void *recv_cmd, 49 int tuneserver_process_get_params_cmd(void * ctrl, void *recv_cmd, 51 int tuneserver_process_set_params_cmd(void * ctrl, void *recv_cmd, 54 int tuneserver_initialize_prevtuningp(void * ctrl, 57 int tuneserver_deinitialize_prevtuningp(void * ctrl, 59 int tuneserver_preview_getinfo(void * ctrl, 61 int tuneserver_preview_getchunksize(void * ctrl, 63 int tuneserver_preview_getframe(void * ctrl, [all …]
|
/aosp12/system/nfc/src/fuzzers/ce/ |
H A D | main.cc | 19 auto& ctrl = Packets[0]; in Fuzz_FixPackets() local 20 if (ctrl.size() != 2) { in Fuzz_FixPackets() 21 ctrl.resize(2); in Fuzz_FixPackets() 22 ctrl[0] = (Seed >> 16) & 0xFF; in Fuzz_FixPackets() 23 ctrl[1] = (Seed >> 24) & 0xFF; in Fuzz_FixPackets() 26 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_FixPackets() 27 uint8_t FuzzSubType = ctrl[1]; in Fuzz_FixPackets() 49 auto& ctrl = Packets[0]; in Fuzz_RunPackets() local 50 if (ctrl.size() < 2) { in Fuzz_RunPackets() 54 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_RunPackets() [all …]
|
/aosp12/hardware/qcom/display/msm8960/liboverlay/pipes/ |
H A D | overlayGenPipe.cpp | 56 if(!mCtrlData.ctrl.init(mFbNum)) { in init() 75 if(!mCtrlData.ctrl.close()) { in close() 99 mCtrlData.ctrl.setSource(args); in setSource() 103 mCtrlData.ctrl.setCrop(d); in setCrop() 111 mCtrlData.ctrl.setTransform(orient); in setTransform() 115 mCtrlData.ctrl.setPosition(d); in setPosition() 156 ret = mCtrlData.ctrl.commit(); in commit() 200 return mCtrlData.ctrl.getFd(); in getCtrlFd() 205 return mCtrlData.ctrl.getCrop(); in getCrop() 213 mCtrlData.ctrl.dump(); in dump() [all …]
|
/aosp12/system/nfc/src/fuzzers/rw/ |
H A D | main.cc | 27 auto& ctrl = Packets[0]; in Fuzz_FixPackets() local 28 if (ctrl.size() != 2) { in Fuzz_FixPackets() 29 ctrl.resize(2); in Fuzz_FixPackets() 30 ctrl[0] = (Seed >> 16) & 0xFF; in Fuzz_FixPackets() 31 ctrl[1] = (Seed >> 24) & 0xFF; in Fuzz_FixPackets() 34 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_FixPackets() 35 uint8_t FuzzSubType = ctrl[1]; in Fuzz_FixPackets() 71 auto& ctrl = Packets[0]; in Fuzz_RunPackets() local 72 if (ctrl.size() < 2) { in Fuzz_RunPackets() 76 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_RunPackets() [all …]
|
/aosp12/hardware/google/graphics/common/libgscaler/ |
H A D | libgscaler_obj.cpp | 365 struct v4l2_control ctrl; in m_gsc_m2m_stop() local 368 ctrl.value = 0; in m_gsc_m2m_stop() 461 ctrl.value = is_drm; in m_gsc_m2m_run_core() 1118 ctrl.value = rotate; in m_gsc_out_config() 1126 ctrl.value = vflip; in m_gsc_out_config() 1134 ctrl.value = hflip; in m_gsc_out_config() 1142 ctrl.value = 1; in m_gsc_out_config() 1263 ctrl.value = rotate; in m_gsc_cap_config() 1271 ctrl.value = vflip; in m_gsc_cap_config() 1279 ctrl.value = hflip; in m_gsc_cap_config() [all …]
|
/aosp12/system/netd/server/ |
H A D | XfrmControllerTest.cpp | 143 XfrmController ctrl; in TEST_F() local 158 XfrmController ctrl; in TEST_F() local 165 XfrmController ctrl; in TEST_F() local 173 XfrmController ctrl; in TEST_F() local 181 XfrmController ctrl; in TEST_F() local 192 XfrmController ctrl; in TEST_F() local 354 Status res = ctrl.ipSecAddSecurityAssociation( in testIpSecAddSecurityAssociation() 471 XfrmController ctrl; in TEST_F() local 489 XfrmController ctrl; in TEST_F() local 658 Status res = ctrl.ipSecAddSecurityPolicy( in TEST_P() [all …]
|
/aosp12/hardware/interfaces/automotive/can/1.0/tools/libcanhaltools/ |
H A D | libcanhaltools.cpp | 42 bool isSupported(sp<ICanController> ctrl, ICanController::InterfaceType iftype) { in isSupported() argument 44 if (!ctrl->getSupportedInterfaceTypes(hidl_utils::fill(&supported)).isOk()) return false; in isSupported() 67 auto ctrl = ICanController::getService(service); in configureIface() local 68 if (ctrl == nullptr) { in configureIface() 73 if (!libcanhaltools::isSupported(ctrl, iftype)) continue; in configureIface() 75 const auto up_result = ctrl->upInterface(can_config); in configureIface()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | EmulatorDisplayOverlay.java | 60 SurfaceControl ctrl = null; in EmulatorDisplayOverlay() local 62 ctrl = dc.makeOverlay() in EmulatorDisplayOverlay() 68 t.setLayer(ctrl, zOrder); in EmulatorDisplayOverlay() 69 t.setPosition(ctrl, 0, 0); in EmulatorDisplayOverlay() 70 t.show(ctrl); in EmulatorDisplayOverlay() 72 InputMonitor.setTrustedOverlayInputInfo(ctrl, t, dc.getDisplayId(), TITLE); in EmulatorDisplayOverlay() 75 mSurfaceControl = ctrl; in EmulatorDisplayOverlay()
|
H A D | StrictModeFlash.java | 46 SurfaceControl ctrl = null; in StrictModeFlash() local 48 ctrl = dc.makeOverlay() in StrictModeFlash() 56 t.setLayer(ctrl, WindowManagerPolicyConstants.STRICT_MODE_LAYER); in StrictModeFlash() 57 t.setPosition(ctrl, 0, 0); in StrictModeFlash() 58 t.show(ctrl); in StrictModeFlash() 60 InputMonitor.setTrustedOverlayInputInfo(ctrl, t, dc.getDisplayId(), TITLE); in StrictModeFlash() 63 mSurfaceControl = ctrl; in StrictModeFlash()
|
H A D | Watermark.java | 113 SurfaceControl ctrl = null; in Watermark() local 115 ctrl = dc.makeOverlay() in Watermark() 121 t.setLayer(ctrl, WindowManagerPolicyConstants.WATERMARK_LAYER) in Watermark() 122 .setPosition(ctrl, 0, 0) in Watermark() 123 .show(ctrl); in Watermark() 125 InputMonitor.setTrustedOverlayInputInfo(ctrl, t, dc.getDisplayId(), TITLE); in Watermark() 128 mSurfaceControl = ctrl; in Watermark()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 389 ctrl->decStrong((void *)nativeCreate); in nativeRelease() 394 if (ctrl != NULL) { in nativeDisconnect() 395 ctrl->disconnect(); in nativeDisconnect() 402 if (ctrl != NULL) { in nativeSetDefaultBufferSize() 536 transaction->setLayer(ctrl, zorder); in nativeSetLayer() 554 transaction->setPosition(ctrl, x, y); in nativeSetPosition() 582 transaction->setBuffer(ctrl, buffer); in nativeSetBuffer() 656 transaction->setSize(ctrl, w, h); in nativeSetSize() 705 transaction->setAlpha(ctrl, alpha); in nativeSetAlpha() 751 transaction->setColor(ctrl, color); in nativeSetColor() [all …]
|
/aosp12/system/core/libusbhost/ |
H A D | usbhost.c | 660 memset(&ctrl, 0, sizeof(ctrl)); in usb_device_control_transfer() 663 ctrl.wValue = value; in usb_device_control_transfer() 664 ctrl.wIndex = index; in usb_device_control_transfer() 665 ctrl.wLength = length; in usb_device_control_transfer() 666 ctrl.data = buffer; in usb_device_control_transfer() 667 ctrl.timeout = timeout; in usb_device_control_transfer() 679 memset(&ctrl, 0, sizeof(ctrl)); in usb_device_bulk_transfer() 680 ctrl.ep = endpoint; in usb_device_bulk_transfer() 681 ctrl.len = length; in usb_device_bulk_transfer() 682 ctrl.data = buffer; in usb_device_bulk_transfer() [all …]
|
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | Usb10ACMixerUnit.java | 98 for (int ctrl = 0; ctrl < controls.length; ctrl++) { in report() 99 canvas.write("" + controls[ctrl]); in report() 100 if (ctrl < controls.length - 1) { in report()
|
/aosp12/hardware/interfaces/automotive/can/1.0/tools/ |
H A D | canhalctrl.cpp | 50 auto ctrl = ICanController::getService(service); in up() local 51 if (ctrl == nullptr) { in up() 56 if (!libcanhaltools::isSupported(ctrl, type)) continue; in up() 86 const auto upresult = ctrl->upInterface(config); in up() 100 auto ctrl = ICanController::getService(service); in down() local 101 if (ctrl == nullptr) continue; in down() 103 if (ctrl->downInterface(busName)) return 0; in down()
|
/aosp12/hardware/google/graphics/common/libv4l2/ |
H A D | exynos_v4l2.c | 716 struct v4l2_control ctrl; in exynos_v4l2_g_ctrl() local 720 ctrl.id = id; in exynos_v4l2_g_ctrl() 727 ret = ioctl(fd, VIDIOC_G_CTRL, &ctrl); in exynos_v4l2_g_ctrl() 733 *value = ctrl.value; in exynos_v4l2_g_ctrl() 743 struct v4l2_control ctrl; in exynos_v4l2_s_ctrl() local 747 ctrl.id = id; in exynos_v4l2_s_ctrl() 748 ctrl.value = value; in exynos_v4l2_s_ctrl() 755 ret = ioctl(fd, VIDIOC_S_CTRL, &ctrl); in exynos_v4l2_s_ctrl() 853 if (ctrl == NULL) { in exynos_v4l2_g_ext_ctrl() 858 ret = ioctl(fd, VIDIOC_G_EXT_CTRLS, ctrl); in exynos_v4l2_g_ext_ctrl() [all …]
|
/aosp12/hardware/google/graphics/common/libhwjpeg/ |
H A D | hwjpeg-v4l2.cpp | 128 v4l2_ext_control ctrl; in SetQuality() local 131 memset(&ctrl, 0, sizeof(ctrl)); in SetQuality() 134 ctrls.controls = &ctrl; in SetQuality() 137 ctrl.id = V4L2_CID_JPEG_QTABLES2; in SetQuality() 138 ctrl.size = 128; /* two quantization tables */ in SetQuality() 139 ctrl.p_u8 = const_cast<unsigned char *>(qtable); in SetQuality() 451 v4l2_ext_control ctrl[HWJPEG_CTRL_NUM]; in UpdateControls() local 454 memset(&ctrl, 0, sizeof(ctrl)); in UpdateControls() 457 ctrls.controls = ctrl; in UpdateControls() 471 ctrl[ctrls.count].id = V4L2_CID_JPEG_HWFC_ENABLE; in UpdateControls() [all …]
|
/aosp12/system/extras/tests/iptables/qtaguid/ |
H A D | socketTag.cpp | 57 int ctrl; in openCtrl() local 58 ctrl = open("/proc/net/xt_qtaguid/ctrl", O_RDWR); in openCtrl() 59 if (!ctrl) { in openCtrl() 62 return ctrl; in openCtrl() 70 int ctrl; in doCtrlCommand() local 75 ctrl = openCtrl(); in doCtrlCommand() 78 res = write(ctrl, buff, strlen(buff)); in doCtrlCommand() 80 close(ctrl); in doCtrlCommand()
|
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 4897 controls.controls = ctrl; in venc_set_session_qp_range() 5939 ctrl[1].value = 1; in venc_set_ltrmode() 5941 ctrl[1].value = 0; in venc_set_ltrmode() 5945 controls.controls = ctrl; in venc_set_ltrmode() 6116 ctrl[0].value = 16; in venc_set_searchrange() 6118 ctrl[1].value = 4; in venc_set_searchrange() 6120 ctrl[2].value = 16; in venc_set_searchrange() 6122 ctrl[3].value = 4; in venc_set_searchrange() 6124 ctrl[4].value = 12; in venc_set_searchrange() 6126 ctrl[5].value = 4; in venc_set_searchrange() [all …]
|
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 4404 ctrl[1].value = 1; in venc_set_ltrmode() 4406 ctrl[1].value = 0; in venc_set_ltrmode() 4552 ctrl[1].value = 4; in venc_set_searchrange() 4556 ctrl[3].value = 4; in venc_set_searchrange() 4560 ctrl[5].value = 4; in venc_set_searchrange() 4566 ctrl[1].value = 4; in venc_set_searchrange() 4570 ctrl[3].value = 4; in venc_set_searchrange() 4574 ctrl[5].value = 4; in venc_set_searchrange() 4577 ctrl[0].value = 4; in venc_set_searchrange() 4579 ctrl[1].value = 4; in venc_set_searchrange() [all …]
|
/aosp12/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/ |
H A D | video_encoder_device_v4l2.cpp | 5247 controls.controls = ctrl; in venc_set_session_qp_range() 6257 ctrl[0].value = 1; in venc_set_ltrmode() 6259 ctrl[0].value = 0; in venc_set_ltrmode() 6384 ctrl[0].value = 16; in venc_set_searchrange() 6386 ctrl[1].value = 4; in venc_set_searchrange() 6388 ctrl[2].value = 16; in venc_set_searchrange() 6390 ctrl[3].value = 4; in venc_set_searchrange() 6392 ctrl[4].value = 12; in venc_set_searchrange() 6394 ctrl[5].value = 4; in venc_set_searchrange() 7664 memset(ctrl, 0, sizeof(ctrl)); in venc_set_hdr_info() [all …]
|