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.cpp1108 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
1109 ASSERT_THAT(active_apex, Ok()); in TEST_F()
1110 ASSERT_EQ(active_apex->GetPath(), file_path); in TEST_F()
1129 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
1130 ASSERT_THAT(active_apex, Ok()); in TEST_F()
1131 ASSERT_EQ(active_apex->GetPath(), ret->GetPath()); in TEST_F()
1155 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
1156 ASSERT_THAT(active_apex, Ok()); in TEST_F()
1157 ASSERT_EQ(active_apex->GetPath(), file_path); in TEST_F()
1170 auto active_apex = GetActivePackage("test.apex.rebootless"); in TEST_F() local
[all …]
Dapex_file_repository.cpp310 Result<std::vector<std::string>> active_apex = in AddDataApex() local
312 if (!active_apex.ok()) { in AddDataApex()
313 return active_apex.error(); in AddDataApex()
317 for (const auto& file : *active_apex) { in AddDataApex()
Dapexd.cpp1580 [&apex](const ApexFile& active_apex) { in CalculateInactivePackages() argument
1581 return apex.GetPath() == active_apex.GetPath(); in CalculateInactivePackages()
3283 Result<std::vector<std::string>> active_apex = in RemoveInactiveDataApex() local
3285 if (!active_apex.ok()) { in RemoveInactiveDataApex()
3287 << active_apex.error(); in RemoveInactiveDataApex()
3290 std::make_move_iterator(active_apex->begin()), in RemoveInactiveDataApex()
3291 std::make_move_iterator(active_apex->end())); in RemoveInactiveDataApex()
3708 [&apex](const ApexFile& active_apex) { in OnOtaChrootBootstrap() argument
3709 return apex.GetPath() == active_apex.GetPath(); in OnOtaChrootBootstrap()
Dapex_file_repository_test.cpp385 auto active_apex = ApexFile::Open(active_path); in TEST() local
386 ASSERT_FALSE(instance.IsDecompressedApex(*active_apex)); in TEST()
/system/libvintf/test/
Dvintf_object_tests.cpp535 const std::string& active_apex = apex_dirs.at(0); in SetUpApex() local
550 EXPECT_CALL(fetcher(), listFiles(StrEq(active_apex), _, _)) in SetUpApex()
557 expectFetch(std::string(active_apex).append("manifest.xml"), manifest); in SetUpApex()
958 const std::string& active_apex = apex_dirs.at(0); in setupApex() local
985 EXPECT_CALL(fetcher(), listFiles(StrEq(active_apex), _, _)) in setupApex()
993 expectFetch(std::string(active_apex).append("manifest.xml"), manifest); in setupApex()