DeviceAsWebcam: Add overlays for physical camera id
Using physical streams reduces power since camera consumes a bulk of the power. Bug: 242346116 Test: Manual webcam use; See power reduction Change-Id: Iceb40743dc53dbb50640969294c9f18f4dda60c0 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
This commit is contained in:
parent
9fcfac795c
commit
ad13acc5a6
10 changed files with 52 additions and 0 deletions
10
cheetah/overlay_packages/DeviceAsWebcamCheetah/Android.bp
Normal file
10
cheetah/overlay_packages/DeviceAsWebcamCheetah/Android.bp
Normal file
|
@ -0,0 +1,10 @@
|
|||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "DeviceAsWebcamCheetah",
|
||||
certificate: "platform",
|
||||
product_specific: true,
|
||||
sdk_version: "current",
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.overlay.DeviceAsWebcam"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
<application android:hasCode="false" />
|
||||
<overlay
|
||||
android:targetPackage="com.android.DeviceAsWebcam"
|
||||
android:isStatic="true"
|
||||
android:priority="1"/>
|
||||
</manifest>
|
1
cheetah/overlay_packages/DeviceAsWebcamCheetah/OWNERS
Normal file
1
cheetah/overlay_packages/DeviceAsWebcamCheetah/OWNERS
Normal file
|
@ -0,0 +1 @@
|
|||
include platform/frameworks/av:/camera/OWNERS
|
|
@ -0,0 +1 @@
|
|||
{"0": {"3" : "UW"}}
|
|
@ -321,6 +321,10 @@ PRODUCT_PACKAGES += \
|
|||
NoCutoutOverlay \
|
||||
AvoidAppsInCutoutOverlay
|
||||
|
||||
# Android DeviceAsWebcam specific overlay
|
||||
PRODUCT_PACKAGES += \
|
||||
DeviceAsWebcamCheetah
|
||||
|
||||
# SKU specific RROs
|
||||
PRODUCT_PACKAGES += \
|
||||
SettingsOverlayGFE4J \
|
||||
|
|
|
@ -307,6 +307,10 @@ PRODUCT_PACKAGES += \
|
|||
NoCutoutOverlay \
|
||||
AvoidAppsInCutoutOverlay
|
||||
|
||||
# Android DeviceAsWebcam specific overlay
|
||||
PRODUCT_PACKAGES += \
|
||||
DeviceAsWebcamPanther
|
||||
|
||||
# SKU specific RROs
|
||||
PRODUCT_PACKAGES += \
|
||||
SettingsOverlayG03Z5 \
|
||||
|
|
10
panther/overlay_packages/DeviceAsWebcamPanther/Android.bp
Normal file
10
panther/overlay_packages/DeviceAsWebcamPanther/Android.bp
Normal file
|
@ -0,0 +1,10 @@
|
|||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "DeviceAsWebcamPanther",
|
||||
certificate: "platform",
|
||||
product_specific: true,
|
||||
sdk_version: "current",
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.overlay.DeviceAsWebcam"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0" >
|
||||
<application android:hasCode="false" />
|
||||
<overlay
|
||||
android:targetPackage="com.android.DeviceAsWebcam"
|
||||
android:isStatic="true"
|
||||
android:priority="1"/>
|
||||
</manifest>
|
1
panther/overlay_packages/DeviceAsWebcamPanther/OWNERS
Normal file
1
panther/overlay_packages/DeviceAsWebcamPanther/OWNERS
Normal file
|
@ -0,0 +1 @@
|
|||
include platform/frameworks/av:/camera/OWNERS
|
|
@ -0,0 +1 @@
|
|||
{"0": {"3" : "UW"}}
|
Loading…
Add table
Add a link
Reference in a new issue