Android-cuttlefish cvd tool
adb_install.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
19#include <string>
20#include <string_view>
21
22// secure dex metadata, for cloud compilation
23constexpr std::string_view kSdmExtension = ".sdm";
24// dex metadata, for cloud profile and cloud verification
25constexpr std::string_view kDmExtension = ".dm";
26
27int install_app(int argc, const char** argv);
28int install_multiple_app(int argc, const char** argv);
29int install_multi_package(int argc, const char** argv);
30int uninstall_app(int argc, const char** argv);
31
32int delete_device_file(const std::string& filename);
33int delete_host_file(const std::string& filename);
34
int delete_host_file(const std::string &filename)
constexpr std::string_view kDmExtension
Definition: adb_install.h:25
int delete_device_file(const std::string &filename)
Definition: adb_install.cpp:904
int install_app(int argc, const char **argv)
Definition: adb_install.cpp:411
int install_multi_package(int argc, const char **argv)
Definition: adb_install.cpp:639
int install_multiple_app(int argc, const char **argv)
Definition: adb_install.cpp:602
int uninstall_app(int argc, const char **argv)
Definition: adb_install.cpp:128
constexpr std::string_view kSdmExtension
Definition: adb_install.h:23