- Feb 18, 2018
-
-
Paul Duffin authored
android.test.legacy is now build against SDK, thus available to apps build with SDK. In doing so, android.test.mock.stubs had to be built with SDK (because it is used by android.test.legacy). However, this wasn't trivial. The problem was that some classes in test-mock implemented abstract methods of platform classes. Even though they are marked as @hide, doclava automatically emit them to the stub file because otherwise the class in the stub file does not implement some abstract methods from its parent class, which in turn makes the stub file non-compilable. This CL solves the problem by introducing an adapter class in between the class in test-mock and the class in the framework. The adapter class implements abstract methods which are @hide and having reference to types that aren't available to SDK. The abstract methods are removed from the original class. Then doclava does not emit the abstract methods. Also by @hide'ing the adapter classes, they are not compiled when building the stub library. Bug: 30188076 Bug: 73339598 Test: m -j android.test.base Test: m -j android.test.legacy Test: m -j android.test.mock.stubs are successful and do not show link-check warning Change-Id: I8e432950e693ee3c6f0240852e62da6133d31571
-
- Feb 17, 2018
-
-
Jeff Sharkey authored
-
Bernardo Rufino authored
-
Etan Cohen authored
-
Etan Cohen authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Scott Kennedy authored
am: 68636f2e Change-Id: Iac3c67b843418ca3529be782667c02f4a35fee9c
-
Scott Kennedy authored
am: a03c35d7 Change-Id: Ia145a065eabe75e72051287005cd5ab341fe2824
-
Scott Kennedy authored
am: cfc6897a Change-Id: I109bd5952643598c5306ab27debb4dd2b30fffed
-
Etan Cohen authored
-
Etan Cohen authored
-
Treehugger Robot authored
-
Robert Sesek authored
Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote." am: 554cfd1f am: 5b9410c7 am: 4523bf28 Change-Id: Ib714e447f06323d38c98de683f5547e66749856e
-
Robert Sesek authored
am: 5b9410c7 Change-Id: I5e9d5c960b9f78cfa7ca7ab88e9d2075f97daca8
-
TreeHugger Robot authored
-
Bill Yi authored
Change-Id: I80f2e2e951de2ce78282b792a328b8595402b0b3 Auto-generated-cl: translation import
-
Robert Sesek authored
am: 554cfd1f Change-Id: I723f75be6488390932a60b411ac04660c16d93d1
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Calin Juravle authored
-
Jorim Jaggi authored
-
Svet Ganov authored
Bug: 72811561 Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest Change-Id: I6ec2563cea75afc77a1598805988d8e6c433c574
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Treehugger Robot authored
-
Hans Boehm authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
TreeHugger Robot authored
-
Etan Cohen authored
-