Home
last modified time | relevance | path

Searched refs:modes (Results 1 – 25 of 587) sorted by relevance

12345678910>>...24

/ohos5.0/drivers/peripheral/wlan/chip/hdi_service/
H A Dwifi_chip_modes.cpp69 std::vector<UsableMode> modes = {}; in GetChipModesForPrimary() local
71 modes.push_back(mode); in GetChipModesForPrimary()
73 modes.push_back(modeAp); in GetChipModesForPrimary()
74 return modes; in GetChipModesForPrimary()
79 std::vector<UsableMode> modes = {}; in GetChipModesForTriple() local
81 modes.push_back(mode); in GetChipModesForTriple()
82 return modes; in GetChipModesForTriple()
H A Dwifi_chip.cpp139 int32_t WifiChip::GetChipModes(std::vector<UsableMode>& modes) in GetChipModes() argument
142 modes = chipModes->GetChipModes(true); in GetChipModes()
148 std::vector<UsableMode> modes; in IsValidModeId() local
150 modes = chipModes->GetChipModes(true); in IsValidModeId()
151 for (const auto& mode : modes) { in IsValidModeId()
258 std::vector<UsableMode> modes; in GetCurrentCombinations() local
260 modes = chipModes->GetChipModes(true); in GetCurrentCombinations()
261 for (const auto& mode : modes) { in GetCurrentCombinations()
/ohos5.0/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_change_test.cpp257 auto modes = defaultScreen_->GetSupportedModes(); variable
259 WLOGI("usedModeIdx / SupportMode size: %{public}u %{public}zu", usedModeIdx, modes.size());
261 for (uint32_t modeIdx = 0; modeIdx < modes.size(); modeIdx++) {
262 if (modeIdx != usedModeIdx && CheckModeSizeChange(modes[usedModeIdx], modes[modeIdx])) {
265 ASSERT_EQ(true, ScreenSizeEqual(defaultScreen_, modes[modeIdx]));
284 auto modes = defaultScreen_->GetSupportedModes(); variable
286 WLOGI("usedModeIdx / SupportMode size: %{public}u %{public}zu", usedModeIdx, modes.size());
288 for (uint32_t modeIdx = 0; modeIdx < modes.size(); modeIdx++) {
289 if (modeIdx != usedModeIdx && CheckModeSizeChange(modes[usedModeIdx], modes[modeIdx])) {
292 ASSERT_EQ(true, ScreenSizeEqual(defaultScreen_, modes[modeIdx]));
[all …]
/ohos5.0/build/ohos/images/mkimage/
H A Dimkcovert.py34 modes = stat.S_IWUSR | stat.S_IRUSR
39 indata = os.fdopen(os.open(inputfile, flags, modes), 'a')
89 modes = stat.S_IWUSR | stat.S_IRUSR
100 output = os.fdopen(os.open(imagefile, flags, modes), 'wb')
154 modes = stat.S_IWUSR | stat.S_IRUSR
156 …with open(imagefile, 'rb') as inputrow, os.fdopen(os.open(temp_file, flags, modes), 'wb') as outpu…
169 modes = stat.S_IWUSR | stat.S_IRUSR
176 outputrow = os.fdopen(os.open(sparseimagefile, flags, modes), 'w')
192 outputrow = os.fdopen(os.open(sparseimagefile, flags, modes), 'ab')
193 outputtemp = os.fdopen(os.open(temp_file, flags, modes), 'rb')
/ohos5.0/base/global/timezone/tool/update_tool/
H A Ddownload_iana.py31 modes = stat.S_IWUSR | stat.S_IRUSR
32 with os.fdopen(os.open(path, flags, modes), 'r') as file:
52 modes = stat.S_IWUSR | stat.S_IRUSR
53 with os.fdopen(os.open(save_path + file_name, flags, modes), 'wb+') as file:
113 modes = stat.S_IWUSR | stat.S_IRUSR
114 … with os.fdopen(os.open(os.path.join(download_path, 'version.txt'), flags, modes), 'w') as file:
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Ddisplay_cutout_controller.cpp95 sptr<SupportedScreenModes> modes = in CheckBoundingRectsBoundary() local
97 if (modes == nullptr) { in CheckBoundingRectsBoundary()
101 uint32_t displayHeight = modes->height_; in CheckBoundingRectsBoundary()
102 uint32_t displayWidth = modes->width_; in CheckBoundingRectsBoundary()
166 sptr<SupportedScreenModes> modes = in CalcBuiltInDisplayWaterfallRects() local
169 if (!modes) { in CalcBuiltInDisplayWaterfallRects()
174 uint32_t displayHeight = modes->height_; in CalcBuiltInDisplayWaterfallRects()
175 uint32_t displayWidth = modes->width_; in CalcBuiltInDisplayWaterfallRects()
256 sptr<SupportedScreenModes> modes = in TransferBoundingRectsByRotation() local
258 if (!modes) { in TransferBoundingRectsByRotation()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/profiler/
H A Djs_profiler.py50 modes = stat.S_IWUSR | stat.S_IRUSR
51 with os.fdopen(os.open(source_file, flags, modes), 'w') as source:
70 modes = stat.S_IWUSR | stat.S_IRUSR
71 with os.fdopen(os.open(dest, flags, modes), 'a+') as destination:
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dport.cpp57 ErrorCode InPort::Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) in Activate() argument
60 FAIL_RETURN(ptr->Activate(modes, workMode)); in Activate()
136 ErrorCode OutPort::Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) in Activate() argument
140 for (auto mode : modes) { in Activate()
195 ErrorCode EmptyInPort::Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) in Activate() argument
197 UNUSED_VARIABLE(modes); in Activate()
247 ErrorCode EmptyOutPort::Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) in Activate() argument
249 UNUSED_VARIABLE(modes); in Activate()
H A Dport.h58 virtual ErrorCode Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) = 0;
89 ErrorCode Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) override;
111 ErrorCode Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) override;
138 ErrorCode Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) override;
161 ErrorCode Activate(const std::vector<WorkMode>& modes, WorkMode& outMode) override;
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A Ddrawing__sampling__options_8h.md24 … [OH_Drawing_FilterMode](_drawing.md#oh_drawing_filtermode) | Describes an enum for filter modes.|
25 … [OH_Drawing_MipmapMode](_drawing.md#oh_drawing_mipmapmode) | Describes an enum for mipmap modes.|
32 …#oh_drawing_filtermode) { FILTER_MODE_NEAREST, FILTER_MODE_LINEAR } | Enumerates the filter modes.|
33 …mode) { MIPMAP_MODE_NONE, MIPMAP_MODE_NEAREST, MIPMAP_MODE_LINEAR } | Enumerates the mipmap modes.|
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Dcamera_8h.md53 …amera_SceneMode](_o_h___camera.md#camera_scenemode) | Defines an enum for the camera scene modes.|
58 …ode) [Camera_FlashMode](_o_h___camera.md#camera_flashmode) | Defines an enum for the flash modes.|
59 …era_ExposureMode](_o_h___camera.md#camera_exposuremode) | Defines an enum for the exposure modes.|
60 …ode) [Camera_FocusMode](_o_h___camera.md#camera_focusmode) | Defines an enum for the focus modes.|
66 …[Camera_TorchMode](_o_h___camera.md#camera_torchmode) | Defines an enum for the flashlight modes.|
67 …othZoomMode](_o_h___camera.md#camera_smoothzoommode) | Defines an enum for the smooth zoom modes.|
96 …ORMAL_PHOTO = 1,<br>NORMAL_VIDEO = 2,<br>SECURE_PHOTO = 12 } | Enumerates the camera scene modes.|
101 …E_OPEN = 1,<br>FLASH_MODE_AUTO = 2,<br>FLASH_MODE_ALWAYS_OPEN = 3 } | Enumerates the flash modes.|
102 …r>EXPOSURE_MODE_AUTO = 1,<br>EXPOSURE_MODE_CONTINUOUS_AUTO = 2 } | Enumerates the exposure modes.|
109 …___camera.md#camera_torchmode-1) { OFF = 0, ON = 1, AUTO = 2 } | Enumerates the flashlight modes.|
[all …]
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta5/
H A Dchangelogs-camera-sync.md236 13. Changed the return modes of the **beginConfig** API in CaptureSession from asynchronous callbac…
276 18. Changed the return modes of the **hasFlash** API in CaptureSession from asynchronous callback a…
292 20. Changed the return modes of the **getFlashMode** API in CaptureSession from asynchronous callba…
308 22. Changed the return modes of the **getExposureMode** API in CaptureSession from asynchronous cal…
324 24. Changed the return modes of the **getMeteringPoint** API in CaptureSession from asynchronous ca…
358 28. Changed the return modes of the **getExposureValue** API in CaptureSession from asynchronous ca…
374 30. Changed the return modes of the **getFocusMode** API in CaptureSession from asynchronous callba…
399 33. Changed the return modes of the **getFocusPoint** API in CaptureSession from asynchronous callb…
407 34. Changed the return modes of the **getFocalLength** API in CaptureSession from asynchronous call…
423 36. Changed the return modes of the **getZoomRatio** API in CaptureSession from asynchronous callba…
[all …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.3/
H A Dchangelogs-camera-sync.md238 13. Changed the return modes of the **beginConfig** API in CaptureSession from asynchronous callbac…
278 18. Changed the return modes of the **hasFlash** API in CaptureSession from asynchronous callback a…
294 20. Changed the return modes of the **getFlashMode** API in CaptureSession from asynchronous callba…
310 22. Changed the return modes of the **getExposureMode** API in CaptureSession from asynchronous cal…
326 24. Changed the return modes of the **getMeteringPoint** API in CaptureSession from asynchronous ca…
360 28. Changed the return modes of the **getExposureValue** API in CaptureSession from asynchronous ca…
376 30. Changed the return modes of the **getFocusMode** API in CaptureSession from asynchronous callba…
401 33. Changed the return modes of the **getFocusPoint** API in CaptureSession from asynchronous callb…
409 34. Changed the return modes of the **getFocalLength** API in CaptureSession from asynchronous call…
425 36. Changed the return modes of the **getZoomRatio** API in CaptureSession from asynchronous callba…
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/tools/snapshot/
H A Dframework2char.py73 modes = stat.S_IWUSR | stat.S_IRUSR
74 with os.fdopen(os.open(SNAPSHOT_OUTPUT_C_FILE_PATH, flags, modes), 'w') as output:
109 modes = stat.S_IWUSR | stat.S_IRUSR
110 with os.fdopen(os.open(FRAMEWORK_JS_FILE_PATH, flags, modes), 'r') as input_file:
112 with os.fdopen(os.open(JS_OUTPUT_C_FILE_PATH, flags, modes), 'w') as output:
/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A Dusb_core_mock_test.cpp559 auto modes = usbSrv_->GetSupportedModes(UsbSrvSupport::PORT_MODE_NONE, result); variable
560 … USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::GetSupportedModes001 status=%{public}d", modes);
561 ASSERT_NE(modes, 0);
574 auto modes = usbSrv_->GetSupportedModes(USB_PORT_ID_INVALID, result); variable
575 … USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::GetSupportedModes004 status=%{public}d", modes);
576 ASSERT_NE(modes, 0);
589 auto modes = usbSrv_->GetSupportedModes(0xFFFFFFFF, result); variable
590 … USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::GetSupportedModes004 status=%{public}d", modes);
591 ASSERT_NE(modes, 0);
604 auto modes = usbSrv_->GetSupportedModes(UsbSrvSupport::PORT_MODE_DEVICE, result); variable
[all …]
/ohos5.0/drivers/peripheral/wlan/test/unittest/chip/
H A Dwifi_chip_modes_test.cpp64 std::vector<UsableMode> modes; variable
65 modes = wifiChipModes->GetChipModes(true);
66 EXPECT_TRUE(modes.size() != 0);
/ohos5.0/build/indep_configs/scripts/
H A Dvariants_info_handler.py53 modes = stat.S_IWUSR | stat.S_IRUSR
55 with os.fdopen(os.open(out_path, flags, modes), 'w') as f:
68 modes = stat.S_IWUSR | stat.S_IRUSR
69 with os.fdopen(os.open(syscap_json_out_file, flags, modes), 'w') as f:
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/core/
H A Dport.cpp50 ErrorCode InPort::Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) in Activate() argument
53 FAIL_RETURN(ptr->Activate(modes, workMode_)); in Activate()
129 ErrorCode OutPort::Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) in Activate() argument
133 for (auto mode : modes) { in Activate()
179 ErrorCode EmptyInPort::Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) in Activate() argument
207 ErrorCode EmptyOutPort::Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) in Activate() argument
/ohos5.0/foundation/multimedia/image_effect/test/unittest/
H A DTestPort.cpp75 std::vector<WorkMode> modes; variable
77 result = outPort.Activate(modes, outMode);
80 result = emptyInPort.Activate(modes, outMode);
83 result = emptyOutPort.Activate(modes, outMode);
/ohos5.0/foundation/window/window_manager/dm/src/
H A Dscreen.cpp70 auto modes = GetSupportedModes(); in GetWidth() local
71 if (modeId < 0 || modeId >= modes.size()) { in GetWidth()
74 return modes[modeId]->width_; in GetWidth()
81 auto modes = GetSupportedModes(); in GetHeight() local
82 if (modeId < 0 || modeId >= modes.size()) { in GetHeight()
85 return modes[modeId]->height_; in GetHeight()
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_core_test.cpp599 auto modes = UsbSrvClient.GetSupportedModes(UsbSrvSupport::PORT_MODE_NONE, result); variable
600 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::status=%{public}d", modes);
601 ASSERT_NE(modes, 0);
618 auto modes = UsbSrvClient.GetSupportedModes(USB_PORT_ID_INVALID, result); variable
619 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::status=%{public}d", modes);
620 ASSERT_NE(modes, 0);
638 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::status=%{public}d", modes);
639 ASSERT_NE(modes, 0);
656 auto modes = UsbSrvClient.GetSupportedModes(UsbSrvSupport::PORT_MODE_DEVICE, result); variable
657 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::status=%{public}d", modes);
[all …]
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/include/core/
H A Dport.h69 virtual ErrorCode Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) = 0;
96 ErrorCode Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) override;
120 ErrorCode Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) override;
149 ErrorCode Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) override;
174 ErrorCode Activate(const std::vector<WorkMode> &modes, WorkMode &outMode) override;
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_crpc_chip.c247 int *modes = (int *)calloc(maxSize, sizeof(int)); in RpcGetSupportedComboModes() local
248 if (modes == NULL) { in RpcGetSupportedComboModes()
251 WifiErrorNo err = GetSupportedComboModes(modes, &maxSize); in RpcGetSupportedComboModes()
257 WriteInt(context, modes[i]); in RpcGetSupportedComboModes()
261 free(modes); in RpcGetSupportedComboModes()
262 modes = NULL; in RpcGetSupportedComboModes()
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/
H A Dbuild.py22 modes = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IWGRP | stat.S_IROTH variable
23 with os.fdopen(os.open(r".\..\hcsVSCode\editor.html", flags, modes),
/ohos5.0/docs/en/device-dev/porting/
H A Dporting-thirdparty-overview.md3 …iler organization modes, such as CMakeLists and Makefile. It describes how to set a toolchain in d…

12345678910>>...24