Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp429 void CheckFileAccess(const std::string& file, uid_t uid, gid_t gid, mode_t mode) { in CheckFileAccess() function in android::installd::DexoptTest
536 CheckFileAccess(odex, kSystemUid, uid, mode); in CompilePrimaryDex()
537 CheckFileAccess(vdex, kSystemUid, uid, mode); in CompilePrimaryDex()
540 CheckFileAccess(art, kSystemUid, uid, mode); in CompilePrimaryDex()
933 CheckFileAccess(snap_profile_, kSystemUid, kSystemGid, 0600 | S_IFREG); in createProfileSnapshot()
976 CheckFileAccess(ref_profile_, kTestAppUid, kTestAppUid, 0600 | S_IFREG); in mergePackageProfiles()
1009 CheckFileAccess(code_path_cur_prof, kTestAppUid, kTestAppUid, 0600 | S_IFREG); in preparePackageProfile()
1118 CheckFileAccess(cur_profile_dir, kTestAppUid, kTestAppUid, 0700 | S_IFDIR); in TEST_F()
1119 CheckFileAccess(ref_profile_dir, kSystemUid, kTestAppGid, 0770 | S_IFDIR); in TEST_F()
1149 CheckFileAccess(cur_profile_dir, kTestAppUid, kTestAppUid, 0700 | S_IFDIR); in TEST_F()
[all …]