Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/tests/
Dinstalld_utils_test.cpp136 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_DATA_DIR "app/com.example/oat")); in TEST_F()
137 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_EXPAND_DIR "app/com.example/oat")); in TEST_F()
138 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_DATA_DIR "data/com.example/oat")); in TEST_F()
139 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_EXPAND_DIR "data/com.example/oat")); in TEST_F()
143 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_DATA_DIR "app/com.example/oat/arm64")); in TEST_F()
144 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_EXPAND_DIR "app/com.example/oat/arm64")); in TEST_F()
145 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_DATA_DIR "data/com.example/oat/arm64")); in TEST_F()
146 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_EXPAND_DIR "data/com.example/oat/arm64")); in TEST_F()
150 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_DATA_DIR "app/com.example/oat/arm64/base.odex")); in TEST_F()
151 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_EXPAND_DIR "app/com.example/oat/arm64/base.odex")); in TEST_F()
[all …]
/frameworks/native/cmds/installd/
Dutils.h144 int validate_apk_path_subdirs(const char *path);
Dutils.cpp951 int validate_apk_path_subdirs(const char* path) { in validate_apk_path_subdirs() function
DInstalldNativeService.cpp2538 if (validate_apk_path_subdirs(from_path)) { in linkFile()
2542 if (validate_apk_path_subdirs(to_path)) { in linkFile()