Home
last modified time | relevance | path

Searched refs:CheckSystemAppAndPermission (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/recent/
H A Drecent_n_exporter.cpp53 static bool CheckSystemAppAndPermission(const std::string &permission, napi_env env) in CheckSystemAppAndPermission() function
84 if (!CheckSystemAppAndPermission(FILE_ACCESS_PERMISSION, env)) { in AddRecentFile()
132 if (!CheckSystemAppAndPermission(FILE_ACCESS_PERMISSION, env)) { in RemoveRecentFile()
316 if (!CheckSystemAppAndPermission(FILE_ACCESS_PERMISSION, env)) { in ListRecentFile()
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp61 static bool CheckSystemAppAndPermission(const std::string &permission, napi_env env) in CheckSystemAppAndPermission() function
412 if (!CheckSystemAppAndPermission(FILE_ACCESS_PERMISSION, env)) { in ListFile()
584 if (!CheckSystemAppAndPermission(FILE_ACCESS_PERMISSION, env)) { in Recover()
639 if (!CheckSystemAppAndPermission(FILE_ACCESS_PERMISSION, env)) { in CompletelyDelete()