Searched refs:sysMapFile (Results 1 – 8 of 8) sorted by relevance
/bootable/recovery/tests/unit/ |
D | sysutil_test.cpp | 30 ASSERT_EQ(-1, sysMapFile(nullptr, &mapping)); in TEST() 31 ASSERT_EQ(-1, sysMapFile("/somefile", nullptr)); in TEST() 41 ASSERT_EQ(0, sysMapFile(temp_file1.path, &mapping)); in TEST() 66 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST() 74 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST() 82 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST() 90 ASSERT_EQ(0, sysMapFile(filename.c_str(), &mapping)); in TEST() 105 ASSERT_EQ(-1, sysMapFile(filename.c_str(), &mapping)); in TEST() 108 ASSERT_EQ(-1, sysMapFile(filename.c_str(), &mapping)); in TEST() 112 ASSERT_EQ(-1, sysMapFile(filename.c_str(), &mapping)); in TEST() [all …]
|
D | zip_test.cpp | 71 ASSERT_EQ(0, sysMapFile(zip_path.c_str(), &map)); in TEST()
|
/bootable/recovery/otautil/ |
D | SysUtil.h | 46 int sysMapFile(const char* fn, MemMapping* pMap);
|
D | SysUtil.cpp | 173 int sysMapFile(const char* fn, MemMapping* pMap) { in sysMapFile() function
|
/bootable/recovery/updater/ |
D | updater.cpp | 93 if (sysMapFile(package_filename, &map) != 0) { in main()
|
/bootable/recovery/tests/component/ |
D | verifier_test.cpp | 43 if (sysMapFile(package.c_str(), &memmap) != 0) { in SetUp()
|
D | updater_test.cpp | 573 ASSERT_EQ(0, sysMapFile(zip_file.path, &map));
|
/bootable/recovery/ |
D | install.cpp | 582 if (sysMapFile(path, &map) != 0) { in really_install_package()
|