| /foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
| H A D | distributed_sched_permission.cpp | 467 bool DistributedSchedPermission::IsDistributedFile(const std::string& path) const
in IsDistributedFile() 469 if (path.compare(0, DISTRIBUTED_FILES_PATH.size(), DISTRIBUTED_FILES_PATH) == 0) {
in IsDistributedFile() 472 HILOGE("uri path is false.");
in IsDistributedFile()
|
| /foundation/ability/idl_tool/test/hdi_unittest/battery_v1_0/cpp_target/battery/v1_0/ |
| H A D | battery_interface_stub.cpp.txt | 256 HDF_LOGE("%{public}s: read path failed", __func__); 259 std::string path = pathCp; 266 int32_t batteryInterfaceRet = impl->ChangePath(path);
|
| /foundation/ability/ability_runtime/test/unittest/file_path_utils_test/ |
| H A D | file_path_utils_test.cpp | 217 std::string path = ""; in HWTEST_F() local 218 FixExtName(path); in HWTEST_F() 219 EXPECT_TRUE(path == ""); in HWTEST_F()
|
| /foundation/ability/ability_runtime/services/appdfr/src/ |
| H A D | appfreeze_manager.cpp | 386 std::string path = LOGGER_DEBUG_PROC_PATH; in GetBinderPeerPids() local 388 if (realpath(path.c_str(), resolvePath) == nullptr) { in GetBinderPeerPids() 395 stack += "open file failed :" + path + "\r\n"; in GetBinderPeerPids()
|
| /foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
| H A D | cj_page_router_ng.cpp | 283 void CJPageRouterNG::GetState(int32_t& index, std::string& name, std::string& path) in GetState() argument 297 path = pageInfo->GetPagePath(); in GetState() 469 auto entryPageInfo = AceType::MakeRefPtr<NG::EntryPageInfo>(pageId, target.url, target.path, params); in LoadPage()
|
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
| H A D | arkts_native_render_node_bridge.cpp | 153 Local<JSValueRef> path = runtimeCallInfo->GetCallArgRef(1); in SetCommandPathShape() local 155 if (path->IsString(vm)) { in SetCommandPathShape() 156 pathValue = path->ToString(vm)->ToString(vm); in SetCommandPathShape()
|
| /foundation/arkui/ace_engine/interfaces/napi/kits/observer/ |
| H A D | ui_observer_listener.cpp | 96 napi_create_string_utf8(env_, pageInfo.path.c_str(), pageInfo.path.length(), &napiPath); in OnRouterPageStateChange() 102 napi_set_named_property(env_, objValue, "path", napiPath); in OnRouterPageStateChange()
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
| H A D | bundle_mgr_service_event_handler.cpp | 583 bool BMSEventHandler::IsPreInstallRemovable(const std::string& path) in IsPreInstallRemovable() argument 704 void BMSEventHandler::ProcessRebootQuickFixBundleInstall(const std::string& path, bool isOta) {} in ProcessRebootQuickFixBundleInstall() argument 722 void BMSEventHandler::ProcessRebootQuickFixUnInstallAndRecover(const std::string& path) {} in ProcessRebootQuickFixUnInstallAndRecover() argument
|
| /foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
| H A D | drawing_canvas.cpp | 38 static const Path& CastToPath(const OH_Drawing_Path& cPath) in CastToPath() 40 return reinterpret_cast<const Path&>(cPath); in CastToPath() 725 canvas->DrawShadow(*reinterpret_cast<Path*>(cPath), CastToPoint3(cPlaneParams), in OH_Drawing_CanvasDrawShadow()
|
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
| H A D | rs_property_drawable_bounds_geometry.h | 110 Drawing::Path borderPath_; 196 void ClipShadowPath(const RSRenderContent& content, RSPaintFilterCanvas& canvas, Drawing::Path& path) const;
|
| /foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/ |
| H A D | videodec_ndk_sample.cpp | 219 if (entry.is_regular_file() && entry.path().extension() == extension) { in find_files() 220 found_files.push_back(entry.path().c_str()); in find_files() 232 filesystem::path filePath = INP_DIR; in LoadHashFile()
|
| /foundation/multimedia/av_codec/test/unittest/hls_test/ |
| H A D | hls_media_downloader_unit_test.cpp | 645 std::string path = "/data/test/media/test_cbr/720_1M/video_720_native.m3u8";
in HWTEST_F() local 646 int32_t fd = open(path.c_str(), O_RDONLY);
in HWTEST_F() 647 int64_t size = GetFileSize(path);
in HWTEST_F()
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_analysis_album_operation_test/src/ |
| H A D | medialibrary_analysis_album_operation_test.cpp | 67 string path; member 108 string extrUri = MediaFileUtils::GetExtraUri(data.title + ".jpg", data.path, true); in GetCoverUri() 161 portraitData.path = data; in InsertPortraitToPhotos()
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/ |
| H A D | mtp_test.cpp | 607 string path = "/data"; in HWTEST_F() local 609 mtpFileObserver.AddFileInotify(path, realPath, context); in HWTEST_F() 620 MtpFileObserver::SendEvent(event, path, context); in HWTEST_F()
|
| /foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
| H A D | mtp_medialibrary_manager.cpp | 334 int32_t MtpMedialibraryManager::GetIdByPath(const std::string &path, uint32_t &outId) in GetIdByPath() argument 338 vector<string> whereArgs = {path, path}; in GetIdByPath()
|
| /foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
| H A D | metadata_extractor.cpp | 513 MEDIA_ERR_LOG("file is not real path: %{private}s, errno: %{public}d", extraPath.c_str(), errno); in ParseLivePhotoCoverPosition() 602 CHECK_AND_RETURN_RET_LOG(!filePath.empty(), E_AVMETADATA, "AV metadata file path is empty"); in ExtractAVMetadata() 645 MEDIA_INFO_LOG("Video of moving photo does not exist, path: %{private}s", videoPath.c_str()); in CombineMovingPhotoMetadata()
|
| /foundation/multimodalinput/input/tools/vuinput/src/ |
| H A D | virtual_device.cpp | 115 std::cout << "File path is empty" << std::endl; in RemoveDir() 569 std::cout << "Path is error" << std::endl; in ReadUinputToolFile() 573 std::cout << "File path is error" << std::endl; in ReadUinputToolFile()
|
| /foundation/systemabilitymgr/samgr_lite/samgr_server/source/ |
| H A D | samgr_server_rpc.c | 673 const char *path = "/etc/system_capability.json"; in GetJsonStream() local 677 if (stat(path, &fileInfo) != 0 || (size = fileInfo.st_size) == 0) { in GetJsonStream() 681 int32_t fp = open(path, O_RDONLY, S_IRUSR); in GetJsonStream()
|
| H A D | samgr_server.c | 563 const char *path = "/etc/system_capability.json";
in GetJsonStream() local 567 if (stat(path, &fileInfo) != 0 || (size = fileInfo.st_size) == 0) {
in GetJsonStream() 571 int32_t fp = open(path, O_RDONLY, S_IRUSR);
in GetJsonStream()
|
| /foundation/communication/netmanager_base/services/netsyscontroller/src/ |
| H A D | mock_netsys_native_client.cpp | 228 static long GetInterfaceTrafficByType(const std::string &path, const std::string &type) in GetInterfaceTrafficByType() argument 230 if (path.empty()) { in GetInterfaceTrafficByType() 233 std::string trafficPath = path + type; in GetInterfaceTrafficByType()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/operation/ |
| H A D | single_ver_database_oper.cpp | 31 int SingleVerDatabaseOper::SetSecOpt(const std::string &path, bool isDir) const in SetSecOpt() argument 33 std::string currentMetaPath = path + "/" + DBConstant::METADB_DIR; in SetSecOpt() 34 std::string currentMainPath = path + "/" + DBConstant::MAINDB_DIR; in SetSecOpt()
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/ |
| H A D | distributeddb_nb_test_tools.cpp | 703 if (delegate->Import(pathResult.path, NULL_PASSWD) != OK) { in CorruptNewCallBack() 724 if (delegate->Import(pathResult.path, password) != OK) { in CorruptCallBackOfImport() 735 if (delegate->Export(pathResult.path, NULL_PASSWD) != INVALID_PASSWD_OR_CORRUPTED_DB) { in CorruptCallBackOfExport()
|
| /foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentloader/ |
| H A D | component_loader.cpp | 501 char path[PATH_MAX + 1] = {0x00}; in ParseConfig() local 508 if (strlen(profilePath) == 0 || strlen(profilePath) > PATH_MAX || realpath(profilePath, path) == nullptr) { in ParseConfig() 513 std::string componentProfilePath(path); in ParseConfig()
|
| /foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
| H A D | tar_file.cpp | 78 HILOGE("ReportErr Failed to traversal file, file path is:%{public}s, err = %{public}d", in Packet() 108 HILOGE("File path does not exists, err = %{public}d", errno); in TraversalFile() 130 HILOGE("Failed to add file to tar package, file path is:%{public}s", GetAnonyPath(filePath).c_str()); in TraversalFile()
|
| /test/ostest/wukong/common/src/ |
| H A D | wukong_util.cpp | 517 DEBUG_LOG_STR("WukongScreenCap store path is {%s}", wkScreenPath.c_str()); in WukongScreenCap() 659 ERROR_LOG_STR("failed to get source file path (%s), errno: (%d)", sourceFile.c_str(), errno); in CopyFile() 673 ERROR_LOG_STR("failed to get dest dir path (%s), errno: (%d)", destDir.c_str(), errno); in CopyFile()
|