Ensures that all queued actions on local devices are started after
boot. Previously, an unstarted SendKeyAction could stick around after
boot, blocking any future SendKeyAction from being created.
Unit tests omitted because of AOSP incompatibilities.
Bug: 193188675
Test: atest HdmiControlServiceTest#normalBoot_queuedActionsStartedAfterBoot
manual test: spam volume up on boot with IR volume control enabled
Change-Id: I0050ca927bdba939b0b0030a6aa2f6235b11ff5c
Merged-In: I0050ca927bdba939b0b0030a6aa2f6235b11ff5c
(cherry picked from commit 22dc89a89f869335df3879c09e7337c5b3967e85)
Ensures that all queued actions on local devices are started after
boot. Previously, an unstarted SendKeyAction could stick around after
boot, blocking any future SendKeyAction from being created.
Bug: 193188675
Test: atest HdmiControlServiceTest#normalBoot_queuedActionsStartedAfterBoot
manual test: spam volume up on boot with IR volume control enabled
Change-Id: I0050ca927bdba939b0b0030a6aa2f6235b11ff5c
Merged-In: I0050ca927bdba939b0b0030a6aa2f6235b11ff5c
(cherry picked from commit 22dc89a89f869335df3879c09e7337c5b3967e85)
(cherry picked from commit 66b6a8cc17d3c2f4d7d3a09369f7538633c43259)
We now produce annotation.zip files individually for each module, but
for the public SDK it's easier to distribute a single zip file with
merged contents. Add a tool for merging these (simple) files.
Bug: 187397779
Test: unittest in cl
Test: diff tests in follow-on CL merging all module annotations.zip
Change-Id: Ic5bb94425dccafab43340805f73fafacab53cb28
Tradefed will need the python unit test verbosity to be set as 2 to make
the test cases information could be parsing correctly.
Bug: 201273904
Test: atest api_versions_trimmer_unittests
Change-Id: I414eb9ec18dbe45e9d2360a5c1baa0bc0b315170
Both com.android.apex.cts.shim.v2_prebuilt and StagedInstallTestApexV2
provide the same artifact. Tests that are using StagedInstallTestApexV2
are passing, whereas tests using com.android.apex.cts.shim.v2_prebuilt
are failing.
Root cause has not been identified yet. Proactively swapping the targets
to get the test green.
Bug: 200737517
Test: atest StagedInstallInternalTest#testAdbStagedReadyWaitCanBeSkipped
Change-Id: Ibdd72ec062538838ad60b847ee1ff31a792520a3
Merged-In: Ibdd72ec062538838ad60b847ee1ff31a792520a3
Both com.android.apex.cts.shim.v2_prebuilt and StagedInstallTestApexV2
provide the same artifact. Tests that are using StagedInstallTestApexV2
are passing, whereas tests using com.android.apex.cts.shim.v2_prebuilt
are failing.
Root cause has not been identified yet. Proactively swapping the targets
to get the test green.
Bug: 200737517
Test: atest StagedInstallInternalTest#testAdbStagedReadyWaitCanBeSkipped
Change-Id: Ibdd72ec062538838ad60b847ee1ff31a792520a3
Add one more parameter to the isValid() method to indicate if the message that needs to be validated is sent or received by the device.
Add a filter that ignores received messages which have source's logical address equal to device's logical address.
Revise isValid() calls and tests affected by the change.
Edit HdmiControlServiceTest#handleCecCommand_errorParameter_returnsAbortInvalidOperand() test. Since the logical address Constants.ADDR_PLAYBACK_1 is already used by mPlaybackDeviceSpy the message's source is set to Constants.ADDR_PLAYBACK_2; otherwise HdmiCecMessageValidator#isValid() fails with a different error code than expected.
Bug: 198261021
Test: make && atest CtsHdmiCecHostTestCases
Change-Id: I274a9a2385d616784dfc891aabd8f335c32658da
(cherry picked from commit c3d3e32e50fe162f40d69f9f204468a30ea3e201)
Add one more parameter to the isValid() method to indicate if the message that needs to be validated is sent or received by the device.
Add a filter that ignores received messages which have source's logical address equal to device's logical address.
Revise isValid() calls and tests affected by the change.
Edit HdmiControlServiceTest#handleCecCommand_errorParameter_returnsAbortInvalidOperand() test. Since the logical address Constants.ADDR_PLAYBACK_1 is already used by mPlaybackDeviceSpy the message's source is set to Constants.ADDR_PLAYBACK_2; otherwise HdmiCecMessageValidator#isValid() fails with a different error code than expected.
Bug: 196943901
Bug: 198261021
Test: make && atest CtsHdmiCecHostTestCases
Change-Id: I274a9a2385d616784dfc891aabd8f335c32658da
Merged-In: I274a9a2385d616784dfc891aabd8f335c32658da
Tests that rely on this API does not attempt
to parse it, but rather treat this as an opaque
string and upload them.
Test: pass
Bug: 200729012
Change-Id: I025e2602ab506ad009ce48d6329a230f12f1060c
registered receivers to mark themselves explicitly as exported or not
exported.
Test: will add tests with enforcement
Change-Id: I9a16f566c54e389743dcf460734ecdc0b1081768