Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp618 ino_t ce_data_inode; in TEST_F() local
619 EXPECT_EQ(0, get_path_inode(rollback_ce_package_path, &ce_data_inode)); in TEST_F()
622 create_data_misc_ce_rollback_package_path(nullptr, 0, 53, "com.foo", ce_data_inode)); in TEST_F()
626 create_data_misc_ce_rollback_package_path(nullptr, 0, 53, "com.bar", ce_data_inode)); in TEST_F()
Dinstalld_dexopt_test.cpp1483 int64_t ce_data_inode; in createAppProfilesForBootMerge() local
1490 kOSdkVersion, &ce_data_inode, &de_data_inode)); in createAppProfilesForBootMerge()
1492 extra_ce_data_inodes_.push_back(ce_data_inode); in createAppProfilesForBootMerge()
/frameworks/native/cmds/installd/
Dutils.cpp87 ino_t ce_data_inode, const std::string& fallback) { in resolve_ce_path_by_inode_or_fallback() argument
88 if (ce_data_inode != 0) { in resolve_ce_path_by_inode_or_fallback()
97 if (ent->d_ino == ce_data_inode) { in resolve_ce_path_by_inode_or_fallback()
100 LOG(DEBUG) << "Resolved path " << resolved << " for inode " << ce_data_inode in resolve_ce_path_by_inode_or_fallback()
107 LOG(WARNING) << "Failed to resolve inode " << ce_data_inode << "; using " << fallback; in resolve_ce_path_by_inode_or_fallback()
142 const char* package_name, ino_t ce_data_inode) { in create_data_user_ce_package_path() argument
147 return resolve_ce_path_by_inode_or_fallback(user_path, ce_data_inode, fallback); in create_data_user_ce_package_path()
Dutils.h59 userid_t user, const char* package_name, ino_t ce_data_inode);
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp1097 long long ce_data_inode, fail_fn_t fail_fn) { in getAppDataDirName() argument
1119 if (static_cast<long long>(ent->d_ino) == ce_data_inode) { in getAppDataDirName()
1128 if ((ce_data_inode & UPPER_HALF_WORD_MASK) == UPPER_HALF_WORD_MASK) { in getAppDataDirName()
1129 fixed_ce_data_inode = ce_data_inode & LOWER_HALF_WORD_MASK; in getAppDataDirName()
1130 } else if ((ce_data_inode & LOWER_HALF_WORD_MASK) == LOWER_HALF_WORD_MASK) { in getAppDataDirName()
1131 fixed_ce_data_inode = ((ce_data_inode >> 32) & LOWER_HALF_WORD_MASK); in getAppDataDirName()
1142 ALOGW("Fallback success inode %lld -> %lld", ce_data_inode, d_ino); in getAppDataDirName()
1148 ALOGW("Unable to find %s:%lld in %s", package_name.data(), ce_data_inode, parent_path.data()); in getAppDataDirName()
1156 std::string_view volume_uuid, long long ce_data_inode, std::string_view actualCePath, in isolateAppDataPerPackage() argument
1169 std::string ce_data_path = getAppDataDirName(mirrorCePath, package_name, ce_data_inode, fail_fn); in isolateAppDataPerPackage()
[all …]