summaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.h
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-08-14 23:25:50 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-08-14 23:25:50 +0200
commit19a531641298c9722f0c9a82e3f1e37d9d9ce99c (patch)
treede86583ed092366d56b5f4f7ba4a6db5b03bb28d /fastboot/fastboot.h
parentMerge "recovery uses IHealth::getService" (diff)
parentAdd fastboot mode to recovery (diff)
downloadandroid_bootable_recovery-19a531641298c9722f0c9a82e3f1e37d9d9ce99c.tar
android_bootable_recovery-19a531641298c9722f0c9a82e3f1e37d9d9ce99c.tar.gz
android_bootable_recovery-19a531641298c9722f0c9a82e3f1e37d9d9ce99c.tar.bz2
android_bootable_recovery-19a531641298c9722f0c9a82e3f1e37d9d9ce99c.tar.lz
android_bootable_recovery-19a531641298c9722f0c9a82e3f1e37d9d9ce99c.tar.xz
android_bootable_recovery-19a531641298c9722f0c9a82e3f1e37d9d9ce99c.tar.zst
android_bootable_recovery-19a531641298c9722f0c9a82e3f1e37d9d9ce99c.zip
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r--fastboot/fastboot.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h
new file mode 100644
index 000000000..53a2adcae
--- /dev/null
+++ b/fastboot/fastboot.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2018 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#pragma once
+
+#include <string>
+#include <vector>
+
+#include "device.h"
+
+Device::BuiltinAction StartFastboot(Device* device, const std::vector<std::string>& args);