Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/kernel_api/riscv64/
Dsyscall_emulation_arch.cc52 guest_stat->st_gid = host_stat.st_gid; in ConvertHostStatToGuestArch()
Dguest_types.h83 uint32_t st_gid; member
101 CHECK_FIELD_LAYOUT(Guest_stat, st_gid, 224, 32);
/frameworks/native/cmds/rawbu/
Dbackup.cpp246 if (!write_int32(fh, st->st_gid)) return 0; in write_header()
468 st->st_gid = read_int32(fh, -1); in read_header()
469 if (st->st_gid == (gid_t)-1) { in read_header()
601 if (chown(path, statBuffer.st_uid, statBuffer.st_gid) != 0) { in restore_data()
603 typeName, path, (int)statBuffer.st_uid, (int)statBuffer.st_gid, strerror(errno)); in restore_data()
/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp149 ALOGV("st_gid = %lu", static_cast<unsigned long>(sb.st_gid)); in setDataSource()
DMediaPlayerService.cpp1055 ALOGV("st_gid = %lu", static_cast<unsigned long>(sb.st_gid)); in setDataSource()
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp187 if (st.st_uid != AID_INCIDENTD || st.st_gid != AID_INCIDENTD) { in create_directory()
189 st.st_uid, st.st_gid, directory); in create_directory()
/frameworks/native/cmds/installd/
Dutils.cpp487 int32_t gid = p->fts_statp->st_gid; in calculate_tree_size()
1241 } else if (st.st_gid == gid && actual_mode == target_mode) { in prepare_app_cache_dir()
1246 LOG(DEBUG) << "Mismatched cache GID/mode at " << path << ": found " << st.st_gid in prepare_app_cache_dir()
DInstalldNativeService.cpp1515 gid_t actual = p->fts_statp->st_gid; in fixupAppData()
2177 uid = (multiuser_get_app_id(p->fts_statp->st_gid) - AID_EXT_GID_START) in freeCache()
3397 if (chown(pkgdir, s.st_uid, s.st_gid) < 0) { in linkNativeLibraryDirectory()
/frameworks/native/cmds/installd/tests/
Dinstalld_service_test.cpp159 return buf.st_gid; in stat_gid()
1108 ASSERT_EQ(gid, st.st_gid) << "For path: " << fullPath; in CheckFileAccess()
Dinstalld_dexopt_test.cpp450 ASSERT_EQ(gid, st.st_gid); in CheckFileAccess()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp585 snprintf(buf + 116, 8, "0%lo", (unsigned long)s.st_gid); in write_tarfile()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java541 if (stat.st_gid != gid) { in assertDirOwnerGroupPermsIfExists()
545 sb.append(stat.st_gid); in assertDirOwnerGroupPermsIfExists()
/frameworks/base/core/java/android/os/
DFileUtils.java248 Os.chown(to.getAbsolutePath(), stat.st_uid, stat.st_gid); in copyPermissions()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28131 field public final int st_gid;