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.cpp134 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_DATA_DIR "app/com.example/oat")); in TEST_F()
135 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_EXPAND_DIR "app/com.example/oat")); in TEST_F()
136 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_DATA_DIR "data/com.example/oat")); in TEST_F()
137 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_EXPAND_DIR "data/com.example/oat")); in TEST_F()
141 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_DATA_DIR "app/com.example/oat/arm64")); in TEST_F()
142 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_EXPAND_DIR "app/com.example/oat/arm64")); in TEST_F()
143 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_DATA_DIR "data/com.example/oat/arm64")); in TEST_F()
144 EXPECT_EQ(-1, validate_apk_path_subdirs(TEST_EXPAND_DIR "data/com.example/oat/arm64")); in TEST_F()
148 EXPECT_EQ(0, validate_apk_path_subdirs(TEST_DATA_DIR "app/com.example/oat/arm64/base.odex")); in TEST_F()
149 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.h130 int validate_apk_path_subdirs(const char *path);
Dutils.cpp883 int validate_apk_path_subdirs(const char* path) { in validate_apk_path_subdirs() function
DInstalldNativeService.cpp2369 if (validate_apk_path_subdirs(from_path)) { in linkFile()
2373 if (validate_apk_path_subdirs(to_path)) { in linkFile()