Lines Matching refs:android
38 return android::apex::RunPreInstall(argv); in HandleSubcommand()
43 return android::apex::RunPostInstall(argv); in HandleSubcommand()
48 return android::apex::OnBootstrap(); in HandleSubcommand()
53 return android::apex::UnmountAll(); in HandleSubcommand()
58 return android::apex::OnOtaChrootBootstrap(); in HandleSubcommand()
65 android::base::Result<android::apex::VoldCheckpointInterface> in HandleSubcommand()
66 vold_service_st = android::apex::VoldCheckpointInterface::Create(); in HandleSubcommand()
71 android::apex::InitializeVold(&*vold_service_st); in HandleSubcommand()
74 int result = android::apex::SnapshotOrRestoreDeUserData(); in HandleSubcommand()
80 android::apex::OnAllPackagesReady(); in HandleSubcommand()
106 android::base::InitLogging(argv, &android::base::KernelLogger); in main()
108 android::base::SetMinimumLogSeverity(android::base::INFO); in main()
117 android::apex::SetConfig(android::apex::kDefaultConfig); in main()
119 android::apex::ApexdLifecycle& lifecycle = in main()
120 android::apex::ApexdLifecycle::GetInstance(); in main()
124 if (!android::sysprop::ApexProperties::updatable().value_or(false)) { in main()
134 android::apex::OnAllPackagesActivated(/*is_bootstrap=*/false); in main()
138 android::apex::OnAllPackagesReady(); in main()
140 return android::apex::OnOtaChrootBootstrapFlattenedApex(); in main()
149 android::base::Result<android::apex::VoldCheckpointInterface> in main()
150 vold_service_st = android::apex::VoldCheckpointInterface::Create(); in main()
151 android::apex::VoldCheckpointInterface* vold_service = nullptr; in main()
158 android::apex::Initialize(vold_service); in main()
161 if (auto res = android::apex::MigrateSessionsDirIfNeeded(); !res.ok()) { in main()
165 android::apex::OnStart(); in main()
172 android::apex::InitializeDataApex(); in main()
174 android::apex::binder::CreateAndRegisterService(); in main()
175 android::apex::binder::StartThreadPool(); in main()
184 android::apex::OnAllPackagesActivated(/*is_bootstrap=*/false); in main()
185 lifecycle.WaitForBootStatus(android::apex::RevertActiveSessionsAndReboot); in main()
188 android::apex::binder::AllowServiceShutdown(); in main()
190 android::apex::binder::JoinThreadPool(); in main()