aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-28Merge "Snap for 11510257 from ca6067e52a89de0c7d17d718fff8cdd96dcaf30e to ↵simpleperf-releaseAndroid Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-02-28Snap for 11510257 from ca6067e52a89de0c7d17d718fff8cdd96dcaf30e to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: Iffe95ee0c4e4135445f0e44e458d52de8970cc6d
2024-02-28Merge "Add android-all-robolectric.jar to private_api_stubs" into mainTreehugger Robot
2024-02-27Add android-all-robolectric.jar to private_api_stubsPeter Kalauskas
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
2024-02-22Merge "Moves Robolectric fonts back to Robolectric." into mainAng Li
2024-02-21Moves Robolectric fonts back to Robolectric.Ang Li
Unicode source cannot be included in platform. Bug: 303501453 Test: (Tested in `main`) atest -c SystemUIGoogleRoboRNGTests Change-Id: I7a7831163fa419b2417e4b90ab2caed1dc53fd53
2024-02-20Merge "Temporarily disable SQLiteDatabaseTest from ctesque tests" into mainKevin Liu
2024-02-16Temporarily disable SQLiteDatabaseTest from ctesque testsKevin Liu
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
2024-02-03Merge "Snap for 11400057 from e5340a5031ab402cc91a47d89af3f833dd960ba7 to ↵Android Build Coastguard Worker
simpleperf-release" into simpleperf-release
2024-02-02Snap for 11400057 from e5340a5031ab402cc91a47d89af3f833dd960ba7 to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: I56b7eafb9dfcc09799ac87774a59117b84f5f060
2024-02-01Merge "Baseline NewApi issues" into mainKevin Liu
2024-02-01Baseline NewApi issuesCole Faust
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
2024-01-31Merge "Adapt to new signatures for running character advance for Paint." ↵Kevin Liu
into main
2024-01-31Adapt to new signatures for running character advance for Paint.Ang Li
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
2024-01-24Merge "Enable platform material components in Robolectric." into mainTreehugger Robot
2024-01-23Enable platform material components in Robolectric.Ang Li
Bug: 272077930 Test: (against ag/25983196 in git-main) atest -c PlatformMaterialRoboTests Change-Id: Id8e1588b8a29ad2ce8d03c6a44b335dac15e664d
2024-01-18Merge "Move android-all generations to /external/robolectric" into mainRex Hoffman
2024-01-18Move android-all generations to /external/robolectricRex Hoffman
Bug: 314757990 Test: CI (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:cafcebc48a81821a040d78a2c3f178b5b1cc6230) Merged-In: I97ad83ffbc0c2b83ed644e74efb43d7ee1b47713 Change-Id: Ifbdb29283aed13ea63117d9767fb18bc585a60fd
2024-01-12Merge "Add visibility for CredentialManager" into mainTreehugger Robot
2024-01-12Add visibility for CredentialManagerHelen Qin
Bug: 319448897 Change-Id: I07610ed8e8e58c56fb33e4f7bd0869d54ae45f6e Test: N/A - Android.bp change only
2024-01-05Merge "Add visibility for CarAppGrid-lib" into mainAnkit Shetgaonkar
2024-01-05Merge "In order to support the some shadow extensions in android, removing ↵Rex Hoffman
the final keywords from ShadowBinder" into main
2024-01-05In order to support the some shadow extensions in android, removing the ↵Rex Hoffman
final keywords from ShadowBinder Bug: 314757990 Test: CI tests, upstreaming as well. Flag: NA Change-Id: I4dbdaca9884cfc6e86fed791e5677fc88adccbf5
2024-01-04Add visibility for CarAppGrid-libAnkit Shetgaonkar
Bug: 318710918 Test: n/a Change-Id: I78207e5f10389498e32abd0457fd1b601dd0429a
2023-12-20Merge "Add visibility for WindowManager" into mainRex Hoffman
2023-12-20Add visibility for WindowManagerKevin Liu
Test: n/a Bug: 314962256 Change-Id: I24fb108ad876aa337f360da63fe2db01f3668424
2023-12-18Merge "Uptesting is moving folks to /external/robolectric from ↵Treehugger Robot
/external/robolectric-shadows" into main
2023-12-18Uptesting is moving folks to /external/robolectric from ↵Rex Hoffman
/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
2023-12-15Merge "Starting to reduce visibility in to /external/robolectric-shadows" ↵Rex Hoffman
into main
2023-12-15Merge "Add ShadowHidlSupport" into mainDevin Moore
2023-12-15Starting to reduce visibility in to /external/robolectric-shadowsRex Hoffman
Test: CI Bug: 314757990 Change-Id: I4df047584e99904f488a638c9ef081c27d04dd9d
2023-12-14Add ShadowHidlSupportDevin Moore
Pretend like HIDL is still supported on this "device" Test: atest com.android.clockwork.displayoffload.HalAdapterTest Bug: 315883998 Change-Id: I9d6b0180163e1962f589444bb4e25e2687a3df1b
2023-12-13Merge "Uptesting is moving folks to /external/robolectric from ↵Treehugger Robot
/external/robolectric-shadows" into main
2023-12-13Uptesting is moving folks to /external/robolectric from ↵Rex Hoffman
/external/robolectric-shadows Needed for new android.bp files that used to be make files. Bug: 314757990 Test: CI Change-Id: I6b40e6aae7e29da4d1e615c1504040d4b4bc6b24
2023-12-09Merge "Merge Android 14 QPR1" into mainXin Li
2023-12-08Merge Android 14 QPR1Xin Li
Merged-In: If325c419ef92cd97af7fdba201e29f8b78636c5d Bug: 315507370 Change-Id: I0ad3f77a2715229568617d916e38715393fc754d
2023-12-06Merge "Add DeviceLock server unit tests to robolectric visibility" into main ↵tmp_amf_315507370Kevin Han
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>
2023-12-06Merge "Add DeviceLock server unit tests to robolectric visibility" into mainKevin Han
2023-12-06Add DeviceLock server unit tests to robolectric visibilityKevin Han
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
2023-12-05Merge "Adding settings screenshot to be visible" into main am: ccc3f78c31Joshua Mccloskey
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>
2023-12-05Merge "Adding settings screenshot to be visible" into mainJoshua Mccloskey
2023-12-05Adding settings screenshot to be visibleJoshua McCloskey
Test: atest Change-Id: I578054bdf20abcfdbcc586016681a7ebfec0783e
2023-11-29Merge "Merge branch 'upstream-google' into convert_iso_keyboard" into main ↵Ang Li
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>
2023-11-29Merge "Merge branch 'upstream-google' into convert_iso_keyboard" into mainAng Li
2023-11-29Merge branch 'upstream-google' into convert_iso_keyboardAng Li
Change-Id: I3b461f268555bfd37fe8bb135e097b967d70ad17
2023-11-28Fill in the missing keys in `ShadowKeyCharacterMap`.Googler
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
2023-11-28Add support for isLeAudioSupported()Googler
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
2023-11-28Fix ShadowTelecomManager to accept nullable phone accountGoogler
It's valid to have a nullable PhoneAccount. It is handled inside the PhoneAccountRegistrar.java in the production code. PiperOrigin-RevId: 585910619
2023-11-27Add support for getMostRecentlyConnectedDevices()Googler
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
2023-11-27Begin to remove support for legacy resources.Brett Chabot
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