Home
last modified time | relevance | path

Searched refs:active_apex (Results 1 – 6 of 6) sorted by relevance

/system/apex/tests/testdata/
Dtrigger_reboot.sh4 active_apex=/data/apex/active/`/system/bin/getprop persist.debug.trigger_reboot_after_activation`
5 if [[ $active_apex == *.apex ]]
9 if [ -a $active_apex ]
11 /system/bin/log -t TriggerWatchdog "Detected presence of $active_apex"
/system/apex/apexd/
Dapexd_test.cpp956 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
957 ASSERT_TRUE(IsOk(active_apex)); in TEST_F()
958 ASSERT_EQ(active_apex->GetPath(), file_path); in TEST_F()
977 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
978 ASSERT_TRUE(IsOk(active_apex)); in TEST_F()
979 ASSERT_EQ(active_apex->GetPath(), ret->GetPath()); in TEST_F()
1003 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
1004 ASSERT_TRUE(IsOk(active_apex)); in TEST_F()
1005 ASSERT_EQ(active_apex->GetPath(), file_path); in TEST_F()
1018 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
[all …]
Dapex_file_repository.cpp114 Result<std::vector<std::string>> active_apex = in AddDataApex() local
116 if (!active_apex.ok()) { in AddDataApex()
117 return active_apex.error(); in AddDataApex()
121 for (const auto& file : *active_apex) { in AddDataApex()
Dapex_file_repository_test.cpp299 auto active_apex = ApexFile::Open(active_path); in TEST() local
300 ASSERT_FALSE(instance.IsDecompressedApex(*active_apex)); in TEST()
Dapexd.cpp1390 [&apex](const ApexFile& active_apex) { in CalculateInactivePackages() argument
1391 return apex.GetPath() == active_apex.GetPath(); in CalculateInactivePackages()
3019 Result<std::vector<std::string>> active_apex = in RemoveInactiveDataApex() local
3021 if (!active_apex.ok()) { in RemoveInactiveDataApex()
3023 << active_apex.error(); in RemoveInactiveDataApex()
3026 std::make_move_iterator(active_apex->begin()), in RemoveInactiveDataApex()
3027 std::make_move_iterator(active_apex->end())); in RemoveInactiveDataApex()
3322 [&apex](const ApexFile& active_apex) { in OnOtaChrootBootstrap() argument
3323 return apex.GetPath() == active_apex.GetPath(); in OnOtaChrootBootstrap()
Dapexservice_test.cpp2887 auto active_apex = GetActivePackage("com.android.apex.test_package"); in TEST_F() local
2888 ASSERT_RESULT_OK(active_apex); in TEST_F()
2889 ASSERT_EQ(2u, active_apex->versionCode); in TEST_F()
2893 ASSERT_EQ(realSystemPath, active_apex->modulePath); in TEST_F()
2912 auto active_apex = GetActivePackage("com.android.apex.test_package"); in TEST_F() local
2913 ASSERT_RESULT_OK(active_apex); in TEST_F()
2914 ASSERT_EQ(2u, active_apex->versionCode); in TEST_F()
2916 ASSERT_EQ(installer_->test_installed_file, active_apex->modulePath); in TEST_F()