mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-02 18:11:53 +01:00
tools/android: Add support for creating Android virtual devices
Introduce ``tools/android/install_base.sh`` [1] script to install Android command line tools including necessary platforms and system-images for Linux and create Android Virtual Devices (AVD) for Pixel 6 with Android v12 & v14 as well as an Android virtual *desktop* device (v13) for ChromeOS tests. [1] Forked from https://github.com/ARM-software/lisa/blob/main/install_base.sh Signed-off-by: Metin Kaya <metin.kaya@arm.com>
This commit is contained in:
BIN
tools/android/skins/pixel_6/back.webp
Normal file
BIN
tools/android/skins/pixel_6/back.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 185 KiB |
36
tools/android/skins/pixel_6/layout
Normal file
36
tools/android/skins/pixel_6/layout
Normal file
@@ -0,0 +1,36 @@
|
||||
parts {
|
||||
device {
|
||||
display {
|
||||
width 1080
|
||||
height 2400
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
}
|
||||
portrait {
|
||||
background {
|
||||
image back.webp
|
||||
}
|
||||
foreground {
|
||||
mask mask.webp
|
||||
cutout hole
|
||||
}
|
||||
}
|
||||
}
|
||||
layouts {
|
||||
portrait {
|
||||
width 1209
|
||||
height 2553
|
||||
event EV_SW:0:1
|
||||
part1 {
|
||||
name portrait
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
part2 {
|
||||
name device
|
||||
x 60
|
||||
y 69
|
||||
}
|
||||
}
|
||||
}
|
BIN
tools/android/skins/pixel_6/mask.webp
Normal file
BIN
tools/android/skins/pixel_6/mask.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
BIN
tools/android/skins/pixel_tablet/back.webp
Normal file
BIN
tools/android/skins/pixel_tablet/back.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 194 KiB |
35
tools/android/skins/pixel_tablet/layout
Normal file
35
tools/android/skins/pixel_tablet/layout
Normal file
@@ -0,0 +1,35 @@
|
||||
parts {
|
||||
device {
|
||||
display {
|
||||
width 2560
|
||||
height 1600
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
}
|
||||
portrait {
|
||||
background {
|
||||
image back.webp
|
||||
}
|
||||
foreground {
|
||||
mask mask.webp
|
||||
}
|
||||
}
|
||||
}
|
||||
layouts {
|
||||
landscape {
|
||||
width 2798
|
||||
height 1837
|
||||
event EV_SW:0:1
|
||||
part1 {
|
||||
name portrait
|
||||
x 0
|
||||
y 0
|
||||
}
|
||||
part2 {
|
||||
name device
|
||||
x 119
|
||||
y 117
|
||||
}
|
||||
}
|
||||
}
|
BIN
tools/android/skins/pixel_tablet/mask.webp
Normal file
BIN
tools/android/skins/pixel_tablet/mask.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Reference in New Issue
Block a user