Home
last modified time | relevance | path

Searched refs:modeStr (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/panel/
H A Dsliding_events.cpp27 std::string modeStr; in ToJSONString() local
29 modeStr = "full"; in ToJSONString()
31 modeStr = "half"; in ToJSONString()
33 modeStr = "mini"; in ToJSONString()
35 result->Put("mode", modeStr.c_str()); in ToJSONString()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dfile_metadata_stream.cpp259 bool FileMetadataStream::OpenFromFD(const char *modeStr) in OpenFromFD() argument
267 fp_ = fdopen(dupFD_, modeStr); in OpenFromFD()
277 bool FileMetadataStream::OpenFromPath(const char *modeStr) in OpenFromPath() argument
279 IMAGE_LOGD("Open file: %{public}s, modeStr: %{public}s", filePath_.c_str(), modeStr); in OpenFromPath()
280 fp_ = fopen(filePath_.c_str(), modeStr); in OpenFromPath()
297 const char *modeStr; in Open() local
300 modeStr = "r"; in Open()
303 modeStr = "r+"; in Open()
312 openResult = OpenFromFD(modeStr); in Open()
[all...]
/foundation/resourceschedule/soc_perf/test/unittest/
H A Dsocperf_server_test.cpp239 std::string modeStr = "displayMain"; in HWTEST_F() local
241 socPerfServer_->RequestDeviceMode(modeStr, true); in HWTEST_F()
242 auto iter = socPerfServer_->socPerf.recordDeviceMode_.find(modeStr); in HWTEST_F()
246 EXPECT_EQ(modeStr, "displayMain"); in HWTEST_F()
251 actions->modeMap.insert(std::pair<std::string, int32_t>(modeStr, cmdTest)); in HWTEST_F()
256 auto iter_match = actions->modeMap.find(modeStr); in HWTEST_F()
269 auto iter_mode = actions->modeMap.find(modeStr); in HWTEST_F()
281 socPerfServer_->RequestDeviceMode(modeStr, false); in HWTEST_F()
295 std::string modeStr = "displayMainTest"; in HWTEST_F() local
301 EXPECT_EQ(modeStr, "displayMainTes in HWTEST_F()
329 std::string modeStr = "displayMainTest"; HWTEST_F() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/include/
H A Dfile_metadata_stream.h213 * @param modeStr The mode string.
216 bool OpenFromFD(const char *modeStr);
220 * @param modeStr The mode string.
223 bool OpenFromPath(const char *modeStr);
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/hgm_screen_manager/
H A Dhgm_core.cpp112 auto modeStr = std::to_string(customFrameRateMode_); in CheckCustomFrameRateModeValid() local
113 if (screenConfig.find(modeStr) != screenConfig.end() || screenConfig.empty()) { in CheckCustomFrameRateModeValid()
118 for (auto &[modeStr, _] : screenConfig) { in CheckCustomFrameRateModeValid()
119 if (!XMLParser::IsNumber(modeStr)) { in CheckCustomFrameRateModeValid()
122 auto mode = std::stoi(modeStr); in CheckCustomFrameRateModeValid()
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp264 std::string modeStr; in SyncCommand() local
275 result = HandleSyncOption(option, modeStr, deviceIds); in SyncCommand()
280 int64_t mode = strtol(modeStr.c_str(), nullptr, BASE); in SyncCommand()
/foundation/resourceschedule/soc_perf/services/core/src/
H A Dsocperf_config.cpp525 std::string modeStr = mode; in ParseModeCmd() local
526 std::vector<std::string> modeListResult = Split(modeStr, SPLIT_OR); in ParseModeCmd()

Completed in 7 milliseconds