/foundation/arkui/ace_engine_lite/frameworks/tools/profiler/ |
H A D | js_profiler.py | 50 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:
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_change_test.cpp | 257 auto modes = defaultScreen_->GetSupportedModes(); in HWTEST_F() local 259 WLOGI("usedModeIdx / SupportMode size: %{public}u %{public}zu", usedModeIdx, modes.size()); in HWTEST_F() 261 for (uint32_t modeIdx = 0; modeIdx < modes.size(); modeIdx++) { in HWTEST_F() 262 if (modeIdx != usedModeIdx && CheckModeSizeChange(modes[usedModeIdx], modes[modeIdx])) { in HWTEST_F() 265 ASSERT_EQ(true, ScreenSizeEqual(defaultScreen_, modes[modeIdx])); in HWTEST_F() 284 auto modes = defaultScreen_->GetSupportedModes(); in HWTEST_F() local 286 WLOGI("usedModeIdx / SupportMode size: %{public}u %{public}zu", usedModeIdx, modes.size()); in HWTEST_F() 288 for (uint32_t modeIdx = 0; modeIdx < modes.size(); modeIdx++) { in HWTEST_F() 289 if (modeIdx != usedModeIdx && CheckModeSizeChange(modes[usedModeId in HWTEST_F() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/tools/snapshot/ |
H A D | framework2char.py | 73 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:
|
/foundation/window/window_manager/dmserver/src/ |
H A D | display_cutout_controller.cpp | 95 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() 170 WLOGE("support screen modes get failed"); 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 [all...] |
H A D | display_manager_service_inner.cpp | 112 auto modes = screenInfo->GetModes();
in GetScreenModesByDisplayId() local 114 if (id >= modes.size()) {
in GetScreenModesByDisplayId() 118 return modes[id];
in GetScreenModesByDisplayId()
|
H A D | screen_rotation_controller.cpp | 349 sptr<SupportedScreenModes> modes = in ProcessRotationMapping() local 353 defaultDeviceRotation_ = (modes == nullptr || modes->width_ < modes->height_) ? 0 : 1; in ProcessRotationMapping()
|
/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestPort.cpp | 75 std::vector<WorkMode> modes; in HWTEST_F() local 77 result = outPort.Activate(modes, outMode); in HWTEST_F() 80 result = emptyInPort.Activate(modes, outMode); in HWTEST_F() 83 result = emptyOutPort.Activate(modes, outMode); in HWTEST_F()
|
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/core/ |
H A D | port.cpp | 50 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
|
/foundation/window/window_manager/dm/src/ |
H A D | screen.cpp | 70 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()
|
/foundation/multimedia/media_foundation/engine/pipeline/core/ |
H A D | port.cpp | 57 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 D | port.h | 58 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;
|
/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/include/core/ |
H A D | port.h | 69 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;
|
/foundation/arkui/ace_engine_lite/frameworks/tools/syscap/ |
H A D | syscap_native_api_src_gen.py | 115 modes = stat.S_IWUSR | stat.S_IRUSR 116 with os.fdopen(os.open(outpath, flags, modes), 'w') as f:
|
/foundation/communication/dsoftbus/ |
H A D | config.py | 52 modes = stat.S_IWUSR | stat.S_IRUSR 53 with os.fdopen(os.open(file_name, flags, modes), 'w')as gni_file
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | mock_wifi_chip_hal_interface.h | 34 virtual WifiErrorNo GetSupportedModes(std::vector<int> &modes) = 0; 51 MOCK_METHOD1(GetSupportedModes, WifiErrorNo(std::vector<int> &modes));
|
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/ |
H A D | wifi_hal_crpc_chip.c | 247 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()
|
H A D | wifi_hal_chip_interface.c | 108 WifiErrorNo GetSupportedComboModes(int32_t *modes, int32_t *size) in GetSupportedComboModes() argument 111 if (modes == NULL || size == NULL) { in GetSupportedComboModes()
|
H A D | wifi_hal_chip_interface.h | 102 * @param modes - Pattern array. 107 WifiErrorNo GetSupportedComboModes(int32_t *modes, int32_t *size);
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdiscreen_fuzzer/ |
H A D | hdiscreen_fuzzer.cpp | 131 std::vector<GraphicDisplayModeInfo> modes = {}; in DoSomethingInterestingWithMyAPI() local 132 g_hdiScreen->GetScreenSupportedModes(modes); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/wifi_hal_interface/ |
H A D | wifi_chip_hal_interface.cpp | 66 WifiErrorNo WifiChipHalInterface::GetSupportedModes(std::vector<int> &modes) in GetSupportedModes() argument 69 return mIdlClient->GetSupportedModes(modes); in GetSupportedModes()
|
H A D | wifi_chip_hal_interface.h | 74 * @param modes 77 WifiErrorNo GetSupportedModes(std::vector<int> &modes);
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | profession_session.h | 148 int32_t GetSupportedFocusModes(std::vector<FocusMode>& modes); 179 int32_t GetSupportedExposureHintModes(std::vector<ExposureHintMode>& modes); 201 int32_t GetSupportedFocusAssistFlashModes(std::vector<FocusAssistFlashMode>& modes); 228 * @brief Get the supported Focus modes. 229 * @param vector of camera_focus_mode_enum_t supported exposure modes.
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/idl_interface/ |
H A D | i_wifi_chip.h | 103 * @param modes 107 WifiErrorNo GetSupportedComboModes(int32_t *modes, int32_t *size);
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/ |
H A D | wifi_hal_chip_interface_test.cpp | 76 int32_t modes[32] = {0}; in HWTEST_F() local 78 WifiErrorNo ret = GetSupportedComboModes(modes, &size); in HWTEST_F()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/ |
H A D | camera_framework_unittest.cpp | 225 std::vector<uint8_t> modes = {}; in GetModes() local 227 modes.emplace_back(config.modeName); in GetModes() 229 return modes; in GetModes() 557 std::vector<uint8_t> modes = ABILITY_MODE_CONFIGS.GetModes(); in MockHCameraHostManager() 558 ability->addEntry(OHOS_ABILITY_CAMERA_MODES, modes.data(), modes.size()); in MockHCameraHostManager() 2261 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); in HWTEST_F() local 2262 ASSERT_TRUE(modes.size() != 0); in HWTEST_F() 2314 * CaseDescription: Test GetSupportedModes to get modes 2320 std::vector<SceneMode> modes in HWTEST_F() local 2337 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 2357 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 2416 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 2477 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 2537 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 6771 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 6838 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 6900 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 6965 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 7014 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 7066 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 7114 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 7171 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local 7523 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7562 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7601 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7639 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7678 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7731 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7783 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7840 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 7896 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 8118 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 8172 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(camDevice); HWTEST_F() local 8253 std::vector<SceneMode> modes = cameraManager->GetSupportedModes(cameras[0]); HWTEST_F() local [all...] |