Age | Commit message (Collapse) | Author |
|
simpleperf-release" into simpleperf-release
|
|
simpleperf-release
Change-Id: Iffe95ee0c4e4135445f0e44e458d52de8970cc6d
|
|
|
|
Create out/dist/android-all-robolectric.jar for Gradle builts
Test: m private_api_stubs dist && stat out/dist/android-all-robolectric.jar
Bug: 293327993
Change-Id: If49f4861be6d64b00368a27d4943c6136cba74fc
|
|
|
|
Unicode source cannot be included in platform.
Bug: 303501453
Test: (Tested in `main`) atest -c SystemUIGoogleRoboRNGTests
Change-Id: I7a7831163fa419b2417e4b90ab2caed1dc53fd53
|
|
|
|
Due to the fact that SQLiteDatabaseTest is not meant for legacy sqlite mode.
Disabling till we have proper support of RNR in Android
Bug: 323922587
Test: atest CtesqueRoboTests
Change-Id: I99b18b9d293eaf006aecd2295c3883515e89138d
|
|
simpleperf-release" into simpleperf-release
|
|
simpleperf-release
Change-Id: I56b7eafb9dfcc09799ac87774a59117b84f5f060
|
|
|
|
NewApi is a lint check that you don't call framework methods that were
introduced in versions later than your min_sdk_version. We want to
make this an error, so we're baselineing all existing issues.
This cl was generated automatically, by taking all the NewApi issues
from the reference baselines, and all the non-NewApi issues from the
existing checked in baselines.
Bug: 268261262
Test: Presubmits
Change-Id: Ic76c96b97b629bc2d3af6aba6be6bf90335a7006
Merged-In: Ic76c96b97b629bc2d3af6aba6be6bf90335a7006
|
|
into main
|
|
The in development android platform
has modified signatures for several methods relating to running character advance for Paint, which were being shadowed. This causes Robolectric's
annotation validator to fail when inspecting the new android all jar.
This commit is a quick workaround to modify the shadows
to add variants for the new signatures, to placate the annotation validator.
A future change should:
1. Consider
adding full support for the new `ShadowNativePaint::nGetRunCharacterAdvance` functionality;
2. Make the parameter types of `ShadowNativePaint::nGetRunCharacterAdvance` strong.
Bug: 319192202
Test: SystemUIGoogleRobo(2)RNGTests
Ignore-AOSP-First: This change needs to go first to generate build for
upstream Robolectric jar updates.
Change-Id: If305ae065602159cd7b0fa7912d1eaeea07692a5
|
|
|
|
Bug: 272077930
Test: (against ag/25983196 in git-main) atest -c PlatformMaterialRoboTests
Change-Id: Id8e1588b8a29ad2ce8d03c6a44b335dac15e664d
|
|
|
|
Bug: 314757990
Test: CI
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cafcebc48a81821a040d78a2c3f178b5b1cc6230)
Merged-In: I97ad83ffbc0c2b83ed644e74efb43d7ee1b47713
Change-Id: Ifbdb29283aed13ea63117d9767fb18bc585a60fd
|
|
|
|
Bug: 319448897
Change-Id: I07610ed8e8e58c56fb33e4f7bd0869d54ae45f6e
Test: N/A - Android.bp change only
|
|
|
|
the final keywords from ShadowBinder" into main
|
|
final keywords from ShadowBinder
Bug: 314757990
Test: CI tests, upstreaming as well.
Flag: NA
Change-Id: I4dbdaca9884cfc6e86fed791e5677fc88adccbf5
|
|
Bug: 318710918
Test: n/a
Change-Id: I78207e5f10389498e32abd0457fd1b601dd0429a
|
|
|
|
Test: n/a
Bug: 314962256
Change-Id: I24fb108ad876aa337f360da63fe2db01f3668424
|
|
/external/robolectric-shadows" into main
|
|
/external/robolectric-shadows
We maintain /external/robolectric (keep it in sync with github/google3) and are getting ready to delete /external/robolectric-shadows
Bug: 314757990
Test: compile code in main against /external/robolectric
Flag: NA
Change-Id: I60a0a291b80be5361f91609906c41c4f10f0dc09
|
|
into main
|
|
|
|
Test: CI
Bug: 314757990
Change-Id: I4df047584e99904f488a638c9ef081c27d04dd9d
|
|
Pretend like HIDL is still supported on this "device"
Test: atest com.android.clockwork.displayoffload.HalAdapterTest
Bug: 315883998
Change-Id: I9d6b0180163e1962f589444bb4e25e2687a3df1b
|
|
/external/robolectric-shadows" into main
|
|
/external/robolectric-shadows
Needed for new android.bp files that used to be make files.
Bug: 314757990
Test: CI
Change-Id: I6b40e6aae7e29da4d1e615c1504040d4b4bc6b24
|
|
|
|
Merged-In: If325c419ef92cd97af7fdba201e29f8b78636c5d
Bug: 315507370
Change-Id: I0ad3f77a2715229568617d916e38715393fc754d
|
|
am: 31d7029472
Original change: https://android-review.googlesource.com/c/platform/external/robolectric/+/2860166
Change-Id: If325c419ef92cd97af7fdba201e29f8b78636c5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Add the DeviceLock server side unit tests to the list of packages that
can use robolectric.
Bug: 312521897
Test: atest DeviceLockUnitTests
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ba5d2099abda78c8201e281547520dc1856c83c5)
Change-Id: I8500c2334a4cec950fbd3f83064b4f451cd5c79b
|
|
Original change: https://android-review.googlesource.com/c/platform/external/robolectric/+/2860468
Change-Id: I15a65e46e6687c117d47bdda7333dcdeba9b1b64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Test: atest
Change-Id: I578054bdf20abcfdbcc586016681a7ebfec0783e
|
|
am: 820cd4e375
Original change: https://android-review.googlesource.com/c/platform/external/robolectric/+/2849943
Change-Id: Icc5f20bb61a166fc12c86ee0320be23ecf7377bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
|
|
Change-Id: I3b461f268555bfd37fe8bb135e097b967d70ad17
|
|
Currently there are missing keys and key correspondence in `ShadowKeyCharacterMap`. This CL fills the gap between this key character map with a real ISO keyboard.
PiperOrigin-RevId: 586214792
|
|
This CL adds support for isLeAudioSupported() method in BluetoothAdapter. If the original bluetooth adapter is used in unit tests, then to verify if Le Audio is supported or not, it depends on the bluetooth service and tests fail as there is no control on bluetooth service in test files. Adding setter and getter functions for Le Audio in ShadowBluetoothAdapter helps to overcome this issue.
PiperOrigin-RevId: 586185847
|
|
It's valid to have a nullable PhoneAccount. It is handled inside the PhoneAccountRegistrar.java in the production code.
PiperOrigin-RevId: 585910619
|
|
This CL adds support for getMostRecentlyConnectedDevices() method in BluetoothAdapter. This will facilitate the testing of the code dependent on this API to fetch a list of the most recently connected bluetooth devices ordered by how recently they were connected with most recently first and least recently last.
PiperOrigin-RevId: 585819319
|
|
Legacy resource mode has been deprecated for several years and was
not supported when using android versions P and above.
In the Robolectric 4.11 release robolectric was changed to always
prefer binary resources mode.
This commit removes support for specifying legacy resources mode at all.
Future changes will remove more obsolete code that deals with legacy resources.
PiperOrigin-RevId: 585741360
|