Searched refs:setxattr (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/cmds/installd/tests/
H A Dinstalld_cache_test.cpp109 static void setxattr(const char* path, const char* key) { function in namespace:android::installd
111 ::setxattr(fullPath, key, "", 0, 0);
191 setxattr("com.example/cache/bar", "user.cache_tombstone");
220 setxattr("com.example/cache/foo", "user.cache_group");
262 setxattr("com.example/cache/group", "user.cache_group");
263 setxattr("com.example/cache/group/tomb", "user.cache_tombstone");
264 setxattr("com.example/cache/tomb", "user.cache_tombstone");
265 setxattr("com.example/cache/tomb/group", "user.cache_group");
/frameworks/base/services/core/java/com/android/server/pm/
H A DUserDataPreparer.java302 Os.setxattr(file.getAbsolutePath(), XATTR_SERIAL, buf, OsConstants.XATTR_CREATE);
/frameworks/native/cmds/installd/
H A Dutils.cpp681 if (setxattr(parent.c_str(), inode_xattr, &inode_raw, sizeof(inode_raw), 0) != 0 && errno != EOPNOTSUPP) {
H A DInstalldNativeService.cpp462 if (setxattr(ce_path.c_str(), kXattrDefault, nullptr, 0, 0) != 0) {
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java1863 Os.setxattr(path.getAbsolutePath(), name,
/frameworks/base/core/java/android/app/
H A DContextImpl.java580 Os.setxattr(file.getParentFile().getAbsolutePath(), xattr, value, 0);

Completed in 876 milliseconds