summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorDaniel Norman <danielnorman@google.com>2022-02-01 22:39:09 +0000
committerDaniel Norman <danielnorman@google.com>2022-02-01 22:39:09 +0000
commit15bd8ca4f9f643f4cfefcd4145815a11fd3d5040 (patch)
tree87b1d8d692a14fda5107150a1c9cd9b7e1089b03 /devices
parentfe5f2732c989c4149b105df1450bb8d1554d60c0 (diff)
downloadcamera-15bd8ca4f9f643f4cfefcd4145815a11fd3d5040.tar.gz
Revert "Creates a vendor APEX for the emulated camera provider HAL."
Revert "Use vendor APEX for camera provider HAL." Revert submission 1826621-cf-vapex-camera Reason for revert: sdk target failing, int64_t is long long while logging Reverted Changes: I5ee81d3e1:Use vendor APEX for camera provider HAL. I5e477f3f2:Creates a vendor APEX for the emulated camera prov... Change-Id: I5e79329e32566f0bc8973adcd2522e111f85aec2
Diffstat (limited to 'devices')
-rw-r--r--devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.cpp50
-rw-r--r--devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.h2
-rw-r--r--devices/EmulatedCamera/hwl/apex/Android.bp69
-rw-r--r--devices/EmulatedCamera/hwl/apex/apex_manifest.json4
-rw-r--r--devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.avbpubkeybin1032 -> 0 bytes
-rw-r--r--devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pem51
-rw-r--r--devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pk8bin2376 -> 0 bytes
-rw-r--r--devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.rc7
-rw-r--r--devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.x509.pem34
-rw-r--r--devices/EmulatedCamera/hwl/apex/file_contexts5
-rw-r--r--devices/EmulatedCamera/hwl/configs/Android.bp45
11 files changed, 20 insertions, 247 deletions
diff --git a/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.cpp b/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.cpp
index d3efc6e..910c9cb 100644
--- a/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.cpp
+++ b/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.cpp
@@ -35,14 +35,11 @@
namespace android {
// Location of the camera configuration files.
-constexpr std::string_view kConfigurationFileNames[] = {
- "emu_camera_back.json",
- "emu_camera_front.json",
- "emu_camera_depth.json",
+const char* EmulatedCameraProviderHwlImpl::kConfigurationFileLocation[] = {
+ "/vendor/etc/config/emu_camera_back.json",
+ "/vendor/etc/config/emu_camera_front.json",
+ "/vendor/etc/config/emu_camera_depth.json",
};
-constexpr std::string_view kConfigurationFileDirVendor = "/vendor/etc/config/";
-constexpr std::string_view kConfigurationFileDirApex =
- "/apex/com.google.emulated.camera.provider.hal/etc/config/";
constexpr StreamSize s240pStreamSize = std::pair(240, 180);
constexpr StreamSize s720pStreamSize = std::pair(1280, 720);
@@ -701,18 +698,11 @@ status_t EmulatedCameraProviderHwlImpl::Initialize() {
// accordingly, push any remaining physical cameras in the back.
std::string config;
size_t logical_id = 0;
- std::vector<std::string> config_file_locations;
- std::string config_dir = "";
- struct stat st;
- if (stat(kConfigurationFileDirApex.data(), &st) == 0) {
- config_dir += kConfigurationFileDirApex.data();
- } else {
- config_dir += kConfigurationFileDirVendor.data();
- }
+ std::vector<const char*> configurationFileLocation;
char prop[PROPERTY_VALUE_MAX];
if (!property_get_bool("ro.boot.qemu", false)) {
- for (const auto& iter : kConfigurationFileNames) {
- config_file_locations.emplace_back(config_dir + iter.data());
+ for (const auto& iter : kConfigurationFileLocation) {
+ configurationFileLocation.emplace_back(iter);
}
} else {
// Android Studio Emulator
@@ -720,38 +710,34 @@ status_t EmulatedCameraProviderHwlImpl::Initialize() {
if (WaitForQemuSfFakeCameraPropertyAvailable() == OK) {
property_get("vendor.qemu.sf.fake_camera", prop, nullptr);
if (strcmp(prop, "both") == 0) {
- config_file_locations.emplace_back(config_dir +
- kConfigurationFileNames[0].data());
- config_file_locations.emplace_back(config_dir +
- kConfigurationFileNames[1].data());
+ configurationFileLocation.emplace_back(kConfigurationFileLocation[0]);
+ configurationFileLocation.emplace_back(kConfigurationFileLocation[1]);
} else if (strcmp(prop, "front") == 0) {
- config_file_locations.emplace_back(config_dir +
- kConfigurationFileNames[1].data());
+ configurationFileLocation.emplace_back(kConfigurationFileLocation[1]);
logical_id = 1;
} else if (strcmp(prop, "back") == 0) {
- config_file_locations.emplace_back(config_dir +
- kConfigurationFileNames[0].data());
+ configurationFileLocation.emplace_back(kConfigurationFileLocation[0]);
logical_id = 1;
}
}
}
}
- static_metadata_.resize(ARRAY_SIZE(kConfigurationFileNames));
+ static_metadata_.resize(ARRAY_SIZE(kConfigurationFileLocation));
- for (const auto& config_path : config_file_locations) {
+ for (const auto& config_path : configurationFileLocation) {
if (!android::base::ReadFileToString(config_path, &config)) {
ALOGW("%s: Could not open configuration file: %s", __FUNCTION__,
- config_path.c_str());
+ config_path);
continue;
}
Json::CharReaderBuilder builder;
std::unique_ptr<Json::CharReader> config_reader(builder.newCharReader());
Json::Value root;
- std::string error_message;
- if (!config_reader->parse(&*config.begin(), &*config.end(), &root,
- &error_message)) {
- ALOGE("Could not parse configuration file: %s", error_message.c_str());
+ std::string errorMessage;
+ if (!config_reader->parse(&*config.begin(), &*config.end(), &root, &errorMessage)) {
+ ALOGE("Could not parse configuration file: %s",
+ errorMessage.c_str());
return BAD_VALUE;
}
diff --git a/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.h b/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.h
index 57aeee2..455e045 100644
--- a/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.h
+++ b/devices/EmulatedCamera/hwl/EmulatedCameraProviderHWLImpl.h
@@ -80,6 +80,8 @@ class EmulatedCameraProviderHwlImpl : public CameraProviderHwl {
status_t WaitForQemuSfFakeCameraPropertyAvailable();
bool SupportsMandatoryConcurrentStreams(uint32_t camera_id);
+ static const char* kConfigurationFileLocation[];
+
std::vector<std::unique_ptr<HalCameraMetadata>> static_metadata_;
// Logical to physical camera Id mapping. Empty value vector in case
// of regular non-logical device.
diff --git a/devices/EmulatedCamera/hwl/apex/Android.bp b/devices/EmulatedCamera/hwl/apex/Android.bp
deleted file mode 100644
index 8f79f15..0000000
--- a/devices/EmulatedCamera/hwl/apex/Android.bp
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright (C) 2022 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.
-
-package {
- default_applicable_licenses: ["Android-Apache-2.0"],
-}
-
-apex_key {
- name: "com.google.emulated.camera.provider.hal.key",
- public_key: "com.google.emulated.camera.provider.hal.avbpubkey",
- private_key: "com.google.emulated.camera.provider.hal.pem",
-}
-
-android_app_certificate {
- name: "com.google.emulated.camera.provider.hal.certificate",
- certificate: "com.google.emulated.camera.provider.hal",
-}
-
-prebuilt_etc {
- name: "com.google.emulated.camera.provider.hal.rc",
- src: "com.google.emulated.camera.provider.hal.rc",
- installable: false,
-}
-
-apex {
- name: "com.google.emulated.camera.provider.hal",
- manifest: "apex_manifest.json",
- key: "com.google.emulated.camera.provider.hal.key",
- certificate: ":com.google.emulated.camera.provider.hal.certificate",
- file_contexts: "file_contexts",
- use_vndk_as_stable: true,
- updatable: false,
- // Install the apex in /vendor/apex
- soc_specific: true,
- binaries: [
- "android.hardware.camera.provider@2.7-service-google",
- ],
- native_shared_libs: [
- "libgooglecamerahwl_impl",
- ],
- overrides: [
- "android.hardware.camera.provider@2.7-impl-google",
- "android.hardware.camera.provider@2.7-service-google",
- "libgooglecamerahwl_impl",
- ],
- prebuilts: [
- "com.google.emulated.camera.provider.hal.rc",
- "android.hardware.camera.concurrent.prebuilt.xml",
- "android.hardware.camera.flash-autofocus.prebuilt.xml",
- "android.hardware.camera.front.prebuilt.xml",
- "android.hardware.camera.full.prebuilt.xml",
- "android.hardware.camera.raw.prebuilt.xml",
- "emu_camera_back.json",
- "emu_camera_depth.json",
- "emu_camera_front.json",
- ],
- vintf_fragments: [":android.hardware.camera.provider@2.7-service-google.xml"],
-}
diff --git a/devices/EmulatedCamera/hwl/apex/apex_manifest.json b/devices/EmulatedCamera/hwl/apex/apex_manifest.json
deleted file mode 100644
index 50c09a8..0000000
--- a/devices/EmulatedCamera/hwl/apex/apex_manifest.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "name": "com.google.emulated.camera.provider.hal",
- "version": 1
-}
diff --git a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.avbpubkey b/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.avbpubkey
deleted file mode 100644
index 0c28e11..0000000
--- a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.avbpubkey
+++ /dev/null
Binary files differ
diff --git a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pem b/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pem
deleted file mode 100644
index 94c79c9..0000000
--- a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pem
+++ /dev/null
@@ -1,51 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIIJKQIBAAKCAgEAusyQLVSxxgRA49ayfyjpgTs5o/YoLOJmNqE4dXxw1nweTAnD
-39CadQVhk92mF8GAMj6rZPgrQgBHjIL/ZYpoIBiL11iVCa+BTMxfZZn/8S41JgOK
-SM7aN8TccimH9BonNKRecG1UXs+IzQxipvyH1KSutnxPQdisw1cvUQJ4NGPxJ2eS
-lE7zzBAo8Z7+TU8BM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dl7YRXsK9VNZSyEISMZ3OpmnlnAo22heAMSb6Y13hgQwonL3ZlejpaNbUARRZbzF
-wfiHp29xRG4ZNxQ9HsoCMokUN6bWUQIfrkXU+YtzryowmfSbHDGzrUm050/rnBo2
-f2XpawKCAQEAw5Bgq8dQLHmY+iHim2Q0xBpKsuUAADu5v4CsXfxKwtJ2Y3/LA3Wr
-UmdbXpT3tTd5YZP7P1VzGOty6VM20D8M0bFHks8mCuiX0UkGfqWfWymStbzktS6I
-dXIOF96S0B2EpYzFpnIXEWuOBYmVXncCPj6ZgQalP2BWyeWT10IMiCAXPZlmwxss
-WLcZAvRrySh/cdVl3JMNebJT1lxvV3Px8jFFXE+A0mKJUh64CdeDPrOaHydL/zA8
-hM9zJmFkdHKISiy4MlC2duSFtrLrapIIn1wWDrKnBLiwWhdkSVmZlcTgviWOJsv0
-djLdnvNgMlDKdlOvSutu0IcL1LPLYFZFiQKCAQBv1X9MCwppE/0yAb07CAuynX0d
-ZyqH4si0ghGqLACmu7HPBndbN4A0SJKlyyGm8+rpNXc3NaZrWfZ2ENmgqiSo7dmE
-tl3y+dUVRvMdyB/SK7MHAue+QHDGzCPXrlze3nuI53jJ8RotVvFI9rCIhsK2frAT
-a8LQo7wdVm5dmrrN7sllJ75biN0eD1Lfq8Pzpnu1P7TuIvE1esQfSm3c5tZuTeQO
-pvL+27Z183OvSTXe4YInyNSasshPDkdzBxoS1fJSS313/cl2gyrG5SxheOK7ft7+
-zzwjaBm/aJCXg3QOLmYMNkOdyRp5hbtLfFbWE5vafJMEA5bfeaS2H1jsQ5UV
------END RSA PRIVATE KEY-----
diff --git a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pk8 b/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pk8
deleted file mode 100644
index f83b5da..0000000
--- a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.pk8
+++ /dev/null
Binary files differ
diff --git a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.rc b/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.rc
deleted file mode 100644
index 134cd8f..0000000
--- a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.rc
+++ /dev/null
@@ -1,7 +0,0 @@
-service vendor.camera-provider-2-7-google /apex/com.google.emulated.camera.provider.hal/bin/hw/android.hardware.camera.provider@2.7-service-google
- class hal
- user system
- group system
- capabilities SYS_NICE
- rlimit rtprio 10 10
- task_profiles CameraServiceCapacity CameraServicePerformance
diff --git a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.x509.pem b/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.x509.pem
deleted file mode 100644
index 528c923..0000000
--- a/devices/EmulatedCamera/hwl/apex/com.google.emulated.camera.provider.hal.x509.pem
+++ /dev/null
@@ -1,34 +0,0 @@
------BEGIN CERTIFICATE-----
-MIIF7TCCA9UCFHsvubLT/OxpJdqifK/l7sBMmpCoMA0GCSqGSIb3DQEBCwUAMIGx
-MQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEWMBQGA1UEBwwNTW91
-bnRhaW4gVmlldzEQMA4GA1UECgwHQW5kcm9pZDEQMA4GA1UECwwHQW5kcm9pZDEi
-MCAGCSqGSIb3DQEJARYTYW5kcm9pZEBhbmRyb2lkLmNvbTEtMCsGA1UEAwwkY29t
-LmFuZHJvaWQuaGFyZHdhcmUuY2FtZXJhLnByb3ZpZGVyMCAXDTIyMDEyNDIzMTMy
-NloYDzQ3NTkxMjIxMjMxMzI2WjCBsTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNh
-bGlmb3JuaWExFjAUBgNVBAcMDU1vdW50YWluIFZpZXcxEDAOBgNVBAoMB0FuZHJv
-aWQxEDAOBgNVBAsMB0FuZHJvaWQxIjAgBgkqhkiG9w0BCQEWE2FuZHJvaWRAYW5k
-cm9pZC5jb20xLTArBgNVBAMMJGNvbS5hbmRy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Rn4rEJFDH6ExFFDHBa4
-cfWPqZDs+X871jOInqkJVjBT6RMdW/PewY9i2gb/BU7mTziR8/n9+QvHBReH44Ys
-nVNjC09/njG/jrAILB3y/df4zDJUJMz1jOZXZyuAE0bo08+YhG58Ms1wJ26oAu9E
-PXBNDv9ihISsepOoY7laoFyrPIlXitRtXd/zbY+k7Uw0dwNNJ3dwhcuKO+FDW5pb
-Lubh2w6TgQKUGqPwe9C3hLmvYVqc34U/R61Fq33dRwl6wxzoWQ6R+DuC42GWFyiz
-nXWTUTPBOy9xTHtNi2nDvGh4M3ILLBWPseNJfQkDloLOlOjBQpMMvOfW0qcBQeRd
-cexJXMTwx/mEeron+cxIjQerWdvjNMhAPPQdFGN/yDbsoNrZdYH+xszJ2paa4gTl
-9Cl3KC8vmRy2JyD6P7Cv9D1BGekHODIRR+ccyfarcfGm
------END CERTIFICATE-----
diff --git a/devices/EmulatedCamera/hwl/apex/file_contexts b/devices/EmulatedCamera/hwl/apex/file_contexts
deleted file mode 100644
index 2f0ab85..0000000
--- a/devices/EmulatedCamera/hwl/apex/file_contexts
+++ /dev/null
@@ -1,5 +0,0 @@
-(/.*)? u:object_r:vendor_file:s0
-# Permission XMLs
-/etc/permissions(/.*)? u:object_r:vendor_configs_file:s0
-# Service binary
-/bin/hw/android\.hardware\.camera\.provider@2\.7-service-google u:object_r:hal_camera_default_exec:s0
diff --git a/devices/EmulatedCamera/hwl/configs/Android.bp b/devices/EmulatedCamera/hwl/configs/Android.bp
deleted file mode 100644
index 25690de..0000000
--- a/devices/EmulatedCamera/hwl/configs/Android.bp
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (C) 2022 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.
- */
-
-package {
- // See: http://go/android-license-faq
- default_applicable_licenses: ["Android-Apache-2.0"],
-}
-
-prebuilt_defaults {
- name: "emu_camera_config_defaults",
- relative_install_path: "config",
- soc_specific: true,
- installable: false,
-}
-
-prebuilt_etc {
- name: "emu_camera_back.json",
- src: "emu_camera_back.json",
- defaults: ["emu_camera_config_defaults"],
-}
-
-prebuilt_etc {
- name: "emu_camera_depth.json",
- src: "emu_camera_depth.json",
- defaults: ["emu_camera_config_defaults"],
-}
-
-prebuilt_etc {
- name: "emu_camera_front.json",
- src: "emu_camera_front.json",
- defaults: ["emu_camera_config_defaults"],
-}