Lines Matching defs:const
44 const std::string DEFAULT_DIR = "/data/local/tmp/wukong/report/";
45 const uint32_t LAP_HEIGHT = 200;
46 const uint32_t CHARGE_STRIDE = 11;
47 const uint32_t BLANK_THR = 30;
48 const uint32_t WHITE_THR = 225;
76 bool TakeWuKongScreenCap(const std::string &wkScreenPath, const bool checkBWScreen = false)
131 const int USE_ID = 100;
135 const int timeBufsize = 32;
275 ErrCode WuKongUtil::SetAllowList(const std::string &optarg)
303 ErrCode WuKongUtil::SetAllowAbilityList(const std::string &optarg)
317 ErrCode WuKongUtil::SetBlockAbilityList(const std::string &optarg)
344 ErrCode WuKongUtil::SetBlockList(const std::string &optarg)
358 ErrCode WuKongUtil::SetBlockPageList(const std::string &optarg)
368 for (const auto& str:blockPageList_) {
377 ErrCode WuKongUtil::SetComponentUri(const std::string &optarg)
391 ErrCode WuKongUtil::SetComponentUriType(const std::string &optarg)
509 const int wukongScreenShot = mkdir((curDir_ + "screenshot").c_str(), 0777);
541 sptr<IBundleMgr> WuKongUtil::GetBundleMgrProxy() const
574 for (const auto &bundleIter : bundleInfos) {
612 for (const auto &bundleIter : bundleInfos) {
714 void WuKongUtil::SetCompIdBlockList(const std::string &optarg)
724 void WuKongUtil::SetCompTypeBlockList(const std::string &optarg)
736 const unsigned int NUMBER_SIZE = 1024;
770 const int bufferSize = 32;