| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Those are copied from the 17.0 branch, adapted to the 16.0 file
locations.
Change-Id: Ic9a08356ab0cd6896bf11d9c77fadef0bd5faa33
|
|\
| |
| |
| | |
pi-platform-release am: ae97ddcc37" into pie-gsi
|
|/|
| |
| |
| |
| |
| |
| |
| | |
pi-platform-release
am: ae97ddcc37
Change-Id: I04d4d15458ae1881f3d347ba78e548820e135c5d
|
| |\
| | |
| | |
| | |
| | |
| | | |
pi-platform-release
Change-Id: Ia280cb31af947b41f4f81d6a47532468c05143ce
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
pi-qpr2-release
Change-Id: Ifb221f0cca32d3173f44ad98fcb3be290b40d667
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When host side does not provide network forwarding service
BUG: 119328108
Change-Id: If69eebd401bc25f2de69127164b9cf72545d7915
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
pi-qpr2-release
Change-Id: If8d613cafaffda76bdcc72ebb95cc5d85c26f873
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In order to support WiFi Direct we need two devices to be able to send
raw WiFi frames between each other. This is to emulate the situation
where the WiFi radios in the devices are able to talk to each other
directly without any access point or established networks.
The way this is done is by reading WiFi frames from the monitor
interface provided by the virtual WiFi driver and then transporting them
to another emulator. On the other emulator the frames are then injected
into the virtual WiFi driver's monitor interface.
The frames are read from the monitor interface and then transported out
of Android using the QEMU pipe. Similarly data from the other emulator
is read from the QEMU pipe and then injected on the monitor interface.
BUG: 111996306
Test: Run CTS Verifier WiFi Direct tests
Change-Id: I4f8abf483776ae97a1b6184d012b3a23e55e87a2
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
pi-qpr2-release
Change-Id: Icd99a18af2c325808b9183e2919b7c695136ecba
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Create a network manager for the emulator that will contain
functionality related to network setup and management. Initial
functionality includes address assignments to wifi interfaces as they
come and go, and receiving and acting on wifi related commands over the
qemu pipe. Currently the network manager only supports creation of
access points and blocking/unblocking network traffic for an access
point.
In order to have a hostapd configuration file that can change the setup
scripts will now copy the template configuration file to the vendor data
partition which is writable and then modify it.
BUG: 111997081
Test: Run CTS Verifier test Multinetwork connectivity
Change-Id: I754e0c74cbaea9daa130915bed47ef3b2fba164e
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently the DHCP server used in the router namespace assigns addresses
as configured on the command line. This is redundant information as all
the necessary information can be deduced from the current interface
address anyway.
Remove most of the command line options in favor of assigning addresses
from the same subnet that the interface is in and a gateway that is the
same address as the interface.
BUG: 111997081
Test: Run emulator and verify that radio and wifi networking works
Change-Id: I8b6adb76f7445b7650da8f2a59b020b4fef991ee
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In order to be able to use the goldfish includes such as the qemu pipe
includes in a project that uses soong the includes must be in a header
library. Soong only allows include paths that are contained in
subdirectories of the project directory. Since these headers are outside
of all other projects it needs to be inclued as a dependency instead.
BUG: 114288761
Test: Compile test project with Android.bp file
Change-Id: I3ccb2befc986b7bf1f2f6dff3a5812c861618a77
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
RIL only announced addresses supplied by the emulator host. For IPv6 the
guest uses Neighbor Discovery Protocol to determine which IPv6 addresses
to assign to an interface and what gateway to use. This was not
reflected in RIL though which meant that the Android framework was
unaware of the radio using these addresses. There are now CTS tests that
rely on the framework knowing which addresses are assigned to verify
that connections to external servers are made from the correct
interface. These tests would fail on the radio interface.
In addition to providing interface addresses RIL also provides DNS
servers. It would only provide whatever DNS servers the DHCP client
could find. On networks that are configured to use IPv6 DNS servers this
left the radio interface without any usable DNS servers.
This change adds an interface monitor to the RIL that is looking for
address changes on the radio network interface. It then sends updates to
the framework whenever the addresses change. And to solve the specific
IPv6 problem it looks at IPv6 addreses. RIL still expects the IPv4
address to either be hardcoded for the Wifi case or supplied by the
emulator host if the Wifi feature is not enabled.
To fix the IPv6 DNS server issue the ipv6proxy will now inspect each
incoming Router Advertisement packet and extract any IPv6 DNS servers
provided in those packets. The proxy will set a system property for each
extracted DNS server. The RIL will then take the value from these system
properties and use in its messages to the framework, indicating which
DNS servers to use.
Test: run cts -m CtsNetTestCases -t
android.net.cts.ConnectivityManagerTest#testOpenConnection
BUG: 111691186
Change-Id: Ia970d2dda18c2615cacca496701c67f2066530a7
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
to pie-gsi" into pie-gsi
|
|/| | | |
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Test: I solemnly swear I tested this conflict resolution.
Bug: None
Change-Id: Ibcd822102dbc044ac02f3792da76037924569770
|
| |\| |
| | | |
| | | |
| | | | |
Change-Id: Ie9db533b7a07e1085b177a1694799d6772f519ef
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
pi-qpr1-release
Change-Id: I27b2765ad56f0f96c88fe71c940e084b0b954f85
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 79491800
Test: cts android.cts.statsd.atom.HostAtomTests#testSubsystemSleepState
Change-Id: Ic15f70ef05233da051ddeb08338e31dafa55a0df
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
pi-qpr1-release
Change-Id: I896fd81db1f04af13d0df74e78eaabd70c95f1d6
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We are missing a few fields for this feature, disable
it until we have the full support.
BUG: 112202626
Test: vts still pass for wifi related modules
Change-Id: Icfaf19bd993d2b367aaa1d2e1816393e6d0f8d52
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
pi-qpr1-release
Change-Id: Ib63b246e00179e90dcb9de9cdf7db539975b03b2
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This code sets flags to indicate what GPS values are present.
The current code sets the flags only according to the most
recent message. This change aggregates the flags, so if
different message types are received, the flags indicate all
the values that were received in the multiple messages.
This is needed because the Emulator now sends both altitude
and speed, which requires two types of messages.
This CL also removes some dead code.
Bug: 112259283
Test: The VtsHalGnssV1_0Target group now passes 6/6
Change-Id: Iecf710f02a2bac6740f5beff729d6da9224868bc
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
pi-qpr1-release
Change-Id: I0a7d4722dc3cd07c5a489dfde3334aff63f0af77
|
| | | |\ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Bug: b/80194417
Test: Recompile to assert warnings are gone.
Change-Id: I80141b3105765b226211f78c6b748b0ac894a682
|
| | | |\ \ \ |
|
| | | | |/ /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
ril_service.cpp expects the error to be received as the error
code instead of the auth status.
Bug: 110212792
Test: ./android-vts/tools/vts-tradefed run vts -m VtsHalRadioV1_0Target \
-t VtsHalRadioV1_0Target#RadioHidlTest.requestIccSimAuthentication_64bit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I4301979c929d54b091851326769f422974555cff
|
| | | |/ /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
VTS has test cases for the sysfs interface around USB gadgets.
As the emulator does not function as a USB gadget, creating a
dummy one is the simplest mechanism to enable the sysfs testing.
Bug: 110558638
Test: run vts -m VtsKernelApiSysfsTest
Change-Id: I87e0d0174bb49b0694ae2704134635d3c3c5ec6c`
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
pi-qpr1-release
Change-Id: If74b290cc0168f36633f0c7b8da61f0c59e2b0cf
|
| | | |\ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
RIL_onRequestComplete(t, RIL_E_SUCCESS, &session_id,
sizeof(&session_id)) passes size of a pointer to session_id
instead of size of session_id.
Bug: 112142343
Test: make -j50
Change-Id: I36db293b793ac569631e2407483326a5a004ebe0
Signed-off-by: Roman Kiryanov <rkir@google.com>
|
| | | | |/
| | | |/|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We recently created a new GID that can be granted to critical system
processes, so that the system is usable enough for the user to free
up disk space used by abusive apps.
128MB ought to be enough for anybody.
Test: run cts -m CtsAppSecurityHostTestCases
-t android.appsecurity.cts.StorageHostTest#testVerify
BUG: 112239816
Change-Id: I061cb365cfbdcdbc833106d81db60e5e36d613e5
Signed-off-by: Weilun Du <wdu@google.com>
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
pi-qpr1-release
Change-Id: Iff34491f243122475e90cac38d1b8b1ab2f37b76
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
For x86 and x86_64 aosp/sdk images only
This wont impact wear and other products that
only include emulator.mk
BUG: 111989951
Change-Id: Ie68a4f3683aa1c152aa058a48392038aaf7b09d8
Merged-In: Ie68a4f3683aa1c152aa058a48392038aaf7b09d8
|
| | | |\ \
| | | | |/
| | | |/| |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
bug: 111658209
Test: run vts -m VtsHalCameraProviderV2_4Target
Change-Id: I0ca633510a525368d5a2b0277b265ec141505d2f
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
pi-qpr1-release
Change-Id: I4af83a411653d73fb70a50acdb52ea3d0cb3800e
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Previously we install an emulator_wake_lock to prevent
it from being suspended, and that is the right
behavior for most cases.
However, sometime we do want the emualtor to suspend
(such as doing sensor verifier tests).
This cl will skip installing the emualtor_wake_lock
if -qemu -append qemu.allowsuspend=1 is given.
The default behavior is unchanged.
BUG: 112074471
Change-Id: I5bcdd4d4394f6c15fd15c78603c0a52c0d46c777
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As required by cts verifier.
BUG: 65366251
Change-Id: I3375501fb188442af12f0544db0e0be325356595
(cherry picked from commit 3561313901558b9508f2dc7af4a0ba97798c2971)
(cherry picked from commit 28e4bcaa88853a8fb0620f2787e2ae7eb0f5527e)
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
pi-qpr1-release
Change-Id: I78296ce20aa1e84ac9271df36564f455e017ba00
|
| | | |\ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 5cd78d29de9390720948f96d6822ee47ad455c37.
BUG: 111989951
Reason for revert: broke wear build
Change-Id: I9a902202dc98b5d0c1e72729ca16885fb2f9b400
|
| | | |\| |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
To fix fingerprint selinux errors
BUG: 111989951
Change-Id: Iffc8265577bdc636ab8e00ee8603afad44a5e452
|
| | | |\ \
| | | | |/
| | | |/| |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The system image has some "cutout emulation" options. The Emulator
added an option of its own. Give the Emulator's a different package
category so the system image doesn't mention the Emulator's option
under Developer Options : Drawing : Simulate a display with cutout.
Fixes: 111807173
Test: Verified with Pi AVD
Change-Id: Iea0b87e5fdb4373a09614dc0455bc3f49a5e386c
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
pi-qpr1-release
Change-Id: I41c2a0783621da5dafe5d38af4414a10b5357886
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Motion Tracking is a feature to track fast moving objects, which
limits max exposure time to 20 ms.
Bug: 111746823
Test: run cts -m CtsAppTestCases -t android.app.cts.SystemFeaturesTest#testCameraFeatures
Change-Id: I4a49c940d15be9e13129788dc65d09223c19b6db
|
| | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
pi-qpr1-release
Change-Id: I0bea200cd7d6d130f557e23fd242d8bd00527c29
|