aboutsummaryrefslogtreecommitdiffstats
path: root/tests/MultiDisplayTest
Commit message (Collapse)AuthorAgeFilesLines
* Import translations. DO NOT MERGE ANYWHEREBill Yi2020-09-0484-0/+2016
| | | | | Auto-generated-cl: translation import Change-Id: I9008d0860032dfc3271ea3f7432cf5868dd85a3f
* Merge "Deprecate NavigationState APIs, rm androidx.car-cluster refs"Zach Johnson2019-11-181-1/+1
|\ | | | | | | | | | | am: 4b898a6119 Change-Id: Ia6bd87403738704bda4285b127fe9bb8f0b626d9
| * Deprecate NavigationState APIs, rm androidx.car-cluster refsPeter Li2019-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | All car-cluster refs are removed for the migration to navigation_state protobufs ag/8302304 Fix: 130255007 Bug: 135627876 Test: make -j Change-Id: I9a3acff9250ae76452d09827283f4f4bb161827d Merged-In: I9a3acff9250ae76452d09827283f4f4bb161827d
| * Import translations. DO NOT MERGEBill Yi2019-09-2482-0/+1968
| | | | | | | | | | Change-Id: Iae6a389cd947e4bfcc0f87c2826b94fb062da805 Auto-generated-cl: translation import
* | Merge "Add new createCar with CarServiceLifecycleListener" into qt-qpr1-devKeun young Park2019-09-132-2/+14
|\ \ | |/ |/| | | | | | | am: 27fd413378 Change-Id: Iaf190d4fe0727c9ff686a899cc3b66b1a84d14a3
| * Add new createCar with CarServiceLifecycleListenerKeun young Park2019-09-132-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CarServiceLifecycleListener is always called regardless of car service already published through ServiceManager or not. Client is supposed to implement initialization code inside the listener. If client is calling it from main thread, initialization will happen inside the call if car service is already available or become available before wait timeout happens. - Removed explicit disconnect from default disconnect handler as car service should be bound for the client always unless client ask for disconnect. - Expanded CarTest for new API. Also added kitchen sink test to cover all three flavours available now. We will migrate to this one in the end and can drop all others. - Also refactored lock usage to single mLock as the current double locks does not bring much value. - Updated kitchensink selinux policy to allow access to car_service binder. For normal app, this is not necesaary. - The API is marked as hidden. Will be public in later android release. - TODO(b/140950043): Force crash if apps do not handle car service restart. But that will happen in longer term. Bug: 140309761 Test: run unit test: atest android.car.CarTest, run kitchen sink and check API connection run MDTest app and make sure that new API works with normal app. Merged-In: I5582e637cd3db0f57b0c61fae19ce0da29aea4b8 Change-Id: I5582e637cd3db0f57b0c61fae19ce0da29aea4b8
| * Import translations. DO NOT MERGEBill Yi2019-06-2784-0/+2016
| | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I0641cb96fff9d28410b59c8dcc7155fa04a8dcbc
| * Revert "Import translations. DO NOT MERGE"Bill Yi2019-06-2343-1032/+0
| | | | | | | | | | | | | | | | This reverts commit 855eaeecd3bf8200c3802c776b603aaa1ad1da54. Reason for revert: <INSERT REASONING HERE> Change-Id: I1bd47c73ac8329bbee3023ff9ce8fabecf3a56cb
| * Import translations. DO NOT MERGEBill Yi2019-06-2243-0/+1032
|/ | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I62a9e077fd027726c5f664f519b38366a993fa70
* Add Present fragment to Multi-display test appYan Zhu2019-06-1511-1/+522
| | | | | | | | | | | | - test Presentation and DisplayManager on multi-display Bug: 131720357 Test: manual: - Run MD Test app and PRESENT TEST fragment works as expected - Run MD Test app on two displays concurrently and test fragment works as expected Change-Id: I801f6d3e46cca656579cf0b73b26232ceb955b2d
* Create Multi-display Test App.Yan Zhu2019-06-0721-0/+1708
- copy the main activity code from EmbeddedKitchenSinkApp - copy the touch input test from EmbeddedKitchenSinkApp - write IME input test (modifed from EmbeddedKitchenSinkApp's Carboard test); copy Watchdog from GarageModeTestApp to log the IME internal state in TextView; test for Input Connetion at EditText view - write Draw input test to test for continous touch input (only supports single touch for now) Bug: 131720357 Test: Multi-display setup and "lunch hawk_md-userdebug" Change-Id: I52bdf1eff5c7febc04914fdf7e0ee3732808658b