Christopher Wiley
96343073d6
am dd80a6cf: Merge "aidl: Stop using Bionic\'s test main"
...
* commit 'dd80a6cf37799b41ae07c60137d312c5ea2db961':
aidl: Stop using Bionic's test main
2015-09-01 20:01:30 +00:00
Christopher Wiley
dd80a6cf37
Merge "aidl: Stop using Bionic's test main"
2015-09-01 19:46:21 +00:00
Christopher Wiley
1006bfe09d
aidl: Stop using Bionic's test main
...
This allows us to build unittests on Mac, where Bionic's test main
does not build.
Change-Id: I59c805d233498bb67575f2e5f7049341f70ce55c
2015-09-01 12:40:15 -07:00
Christopher Wiley
c8e4af65af
am 722bf5c7: Merge "aidl: Separate aidl logic into its own static library"
...
* commit '722bf5c7dec37265021c17d35b0b078776699f97':
aidl: Separate aidl logic into its own static library
2015-09-01 18:49:12 +00:00
Christopher Wiley
722bf5c7de
Merge "aidl: Separate aidl logic into its own static library"
2015-09-01 18:34:32 +00:00
Christopher Wiley
cf4716473d
am 267cb88f: Merge "Set up aidl for gtest"
...
* commit '267cb88f4d4adb2cdddd9b29eb8fce7104507114':
Set up aidl for gtest
2015-09-01 18:20:19 +00:00
Christopher Wiley
a25d35106e
aidl: Separate aidl logic into its own static library
...
Compile aidl's logic into a static library that can be
linked against both the unittest binary and the executable. Validate
that this is working by writing a basic unittest against options
parsing.
Provide default values for Options struct members. These were
previously taking on values according to the the bits in the memory
allocated to hold them for preprocessed inputs.
Bug: 23516947
Change-Id: Ib57cd7f473995f7851d788deac39f9c4d9018e8f
Test: compiles and unittests pass
2015-09-01 11:15:31 -07:00
Christopher Wiley
267cb88f4d
Merge "Set up aidl for gtest"
2015-09-01 18:11:41 +00:00
Nick Kralevich
712205bac0
am 9d586927: Merge "Automatically assign default seinfo labels using the string "default"."
...
* commit '9d586927102b597845607ccc82661e350821de82':
Automatically assign default seinfo labels using the string "default".
2015-09-01 16:37:59 +00:00
Christopher Wiley
26627d7011
am 4d6cb77a: Merge "Tighten up compiler flags for aidl"
...
* commit '4d6cb77ad92c9acadb5afc5d80be38dd3b63c3fa':
Tighten up compiler flags for aidl
2015-09-01 16:37:31 +00:00
Dan Willemsen
13786e281e
am 60dd5d59: Merge "Remove USE_MINGW, whitelist windows modules"
...
* commit '60dd5d5966ebe993f5a81c46d9dea62c207abfd3':
Remove USE_MINGW, whitelist windows modules
2015-09-01 16:37:10 +00:00
Christopher Wiley
a6d167256d
am a73e0045: Merge "Revert "Tighten up compiler flags for aidl""
...
* commit 'a73e004516bae61bebe1e308f5b3ee295c1050b2':
Revert "Tighten up compiler flags for aidl"
2015-09-01 16:37:00 +00:00
Christopher Wiley
f7ea7c7b26
am 1643e97b: Merge "aidl: Pull main() into dedicated file"
...
* commit '1643e97b330d6c0f47e8643e52b12c6887a89f81':
aidl: Pull main() into dedicated file
2015-09-01 16:36:52 +00:00
Christopher Wiley
72b1324cb3
am 2b83384f: Merge "Tighten up compiler flags for aidl"
...
* commit '2b83384f44ffa30d1d3d61ded9ac4f83a275b77d':
Tighten up compiler flags for aidl
2015-09-01 16:36:37 +00:00
Nick Kralevich
9d58692710
Merge "Automatically assign default seinfo labels using the string "default"."
2015-09-01 13:39:10 +00:00
Robert Craig
5e16bc5a14
Automatically assign default seinfo labels using the string "default".
...
default seinfo values are those for which policy lacks a
matching stanza in the corresponding mac_permissions.xml
file. Prior to this change the null object reference was
used to represent the non-matching state. This is in
contrast to a policy supplied default stanza which will
assign a non null seinfo value. Confused yet?
Basically, two default states were distinguished in the
code to describe the two cases where either a policy stanza
spelled out the base case seinfo label or not. Policy
writers could either supply a default stanza or rely on
the class instantiated value assigned by the ApplicationInfo
object. The hope was that the later assignment could be
used to help distinguish the cases where policy writers
intentionally white listed apps. This change will just use
the hard coded "default" string implicitly to describe all
cases and removes the idea of a policy supplied default stanza.
Change-Id: Ib7b01ee004775f24db9a69340a31784b967ce030
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
2015-09-01 05:51:04 -04:00
Christopher Wiley
4d6cb77ad9
Merge "Tighten up compiler flags for aidl"
2015-08-31 20:59:23 +00:00
Christopher Wiley
5b88363ed3
Tighten up compiler flags for aidl
...
Turn all warnings to errors, with special cases for places where
yacc forces us to be lenient. Remove one variable with 0 references
elsewhere in the code.
These flags are confined to be clang only because the Windows SDK build
is using an older compiler that does not understand these flags.
Change-Id: I6407bd331c25b8845bde46e9a917bce1d6857bd8
2015-08-31 13:55:46 -07:00
Dan Willemsen
60dd5d5966
Merge "Remove USE_MINGW, whitelist windows modules"
2015-08-31 19:30:57 +00:00
Christopher Wiley
a73e004516
Merge "Revert "Tighten up compiler flags for aidl""
2015-08-31 19:13:04 +00:00
Christopher Wiley
ecaf21c377
Revert "Tighten up compiler flags for aidl"
...
This reverts commit eea2353a3427f7d157c46e24ab6aba1378e16c2e.
This seems to have broken the build because whatever compiler the builder is using doesn't understand the same "turn off this warning" flags as my local host's compiler.
Change-Id: Ic68b7065b161a5ae683b7082c67147835833e0fa
2015-08-31 19:07:40 +00:00
Christopher Wiley
1643e97b33
Merge "aidl: Pull main() into dedicated file"
2015-08-31 19:03:44 +00:00
Christopher Wiley
2f77417cce
aidl: Pull main() into dedicated file
...
This separates the main() entry point from the functionality we're
hoping to test. While here, redo the header guards to be consistent
accross the codebae.
Bug: 23516947
Change-Id: I61666126bdba0941f14bd0f031caaa30367b864a
Test: Compiles
2015-08-31 10:54:26 -07:00
Christopher Wiley
2b83384f44
Merge "Tighten up compiler flags for aidl"
2015-08-31 17:52:03 +00:00
Christopher Wiley
eea2353a34
Tighten up compiler flags for aidl
...
Turn all warnings to errors, with special cases for places where
yacc forces us to be lenient. Remove one variable with 0 references
elsewhere in the code.
Change-Id: Ia7819795eb162e9c77d215088aee4c45bd87c1af
2015-08-30 11:01:31 -07:00
Casey Dahlin
8a8775c1db
Set up aidl for gtest
...
Bug: 23516947
Change-Id: I1c004868525f462d04894a7b96c671b626061ab5
Signed-off-by: Casey Dahlin <sadmac@google.com>
2015-08-28 16:21:53 -07:00
Christopher Wiley
4f8653c371
am 3fc6f441: (-s ours) Merge "Do not merge namespaces"
...
* commit '3fc6f441ac88aff88a9c474bd1ae93dfde3ed11a':
Do not merge namespaces
2015-08-28 23:19:02 +00:00
Christopher Wiley
3fc6f441ac
Merge "Do not merge namespaces"
2015-08-28 23:09:50 +00:00
Dan Willemsen
4aa679ff96
Remove USE_MINGW, whitelist windows modules
...
Bug: 23566667
Change-Id: Ie6b8c51e2b6d6273f99f4e361c440136d7c6915c
2015-08-28 15:28:26 -07:00
Yasuhiro Matsuda
1ab43d5978
Add trace code to system server.
...
- Add TRACE_TAG_SYSTEM_SERVER for tracing system server code.
- Add a few more tracing code to the code paths related to boot.
BUG: 21739901
BUG: 22207144
Change-Id: I08b424d2f83783f512c3818394099909cd55f327
2015-08-27 12:22:07 +09:00
Rich Slogar
9cc1765d1e
am 258b56ec: am 9f37bd8a: am 0238bf24: docs: New auto Desktop Head Unit (DHU) docs
...
* commit '258b56ec58fca2b740bcfe9a2af81f0f59a14abb':
docs: New auto Desktop Head Unit (DHU) docs
2015-08-27 01:48:25 +00:00
Deepanshu Gupta
e85d798b4a
am a4a1e68f: am ebdedb47: (-s ours) am 42994097: am a1be8b43: LayoutLib: Update golden test images. [DO NOT MERGE]
...
* commit 'a4a1e68fe76134a940e02f3d425b3429791177e5':
LayoutLib: Update golden test images. [DO NOT MERGE]
2015-08-27 01:48:18 +00:00
Deepanshu Gupta
82c66da0b6
am c2e98ca3: am 68ff174b: (-s ours) am 2b99b5da: am c9862b44: An ugly hack to render CalendarView. [DO NOT MERGE]
...
* commit 'c2e98ca39a67bd24e305826c51a0ba85f7b59ef4':
An ugly hack to render CalendarView. [DO NOT MERGE]
2015-08-27 01:48:12 +00:00
Deepanshu Gupta
be561e3aa3
am 58967c69: am d9600c98: (-s ours) am 7eb81868: am b1ad4a15: LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
...
* commit '58967c69b96492fb64a258c0131f0c6791057ed3':
LayoutLib: Fix true transparency in status bar. [DO NOT MERGE]
2015-08-27 01:48:06 +00:00
Deepanshu Gupta
8bc8918672
am 5d282e3f: am 5769732e: (-s ours) am 9d6e87b6: am da687918: Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
...
* commit '5d282e3f3c280642ce7c99c4e72f0ccf7132fc09':
Make getInt in BridgeTypedArray accept empty String. [DO NOT MERGE]
2015-08-27 01:48:00 +00:00
Deepanshu Gupta
5432ab8dc0
am 47530108: am 728fc731: (-s ours) am c43506fc: am 8c674fda: Fix layout mirroring. [DO NOT MERGE]
...
* commit '47530108c22cb8eb50d425cd10be48b4fb3005b0':
Fix layout mirroring. [DO NOT MERGE]
2015-08-27 01:47:53 +00:00
Deepanshu Gupta
44c3a9eb72
am 4116ed7b: am 37ae8f4e: (-s ours) am 918e62f1: am 7aa36129: Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
...
* commit '4116ed7b0524b42d8d3b0cb01545e1dc3bac6c6c':
Fix typo: s/FullScreen/Fullscreen/ in LayoutLib. [DO NOT MERGE]
2015-08-27 01:47:46 +00:00
Deepanshu Gupta
18db4f5f8f
am dfcd35d7: am e4b4b084: (-s ours) am eb15670c: am 92f373fe: Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
...
* commit 'dfcd35d7929025fdcd2f13a1fe5ec84090f07716':
Fix Matrix_Delegate.native_getValues() [DO NOT MERGE]
2015-08-27 01:47:39 +00:00
Deepanshu Gupta
e40990e024
am a0bef60c: am 05ed2d91: (-s ours) am 42e53ecb: am 66d91401: Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
...
* commit 'a0bef60c3670e4484b5bfc3fc5cc79b7f9918603':
Revert to using AppTheme for LayoutLib tests. [DO NOT MERGE]
2015-08-27 01:47:32 +00:00
Deepanshu Gupta
575451d5ff
am af3deb06: am 21f66a6b: (-s ours) am 5078ad32: am 6b1b651f: Fix imports. [DO NOT MERGE]
...
* commit 'af3deb06be28a6131d854ae4a109aa49dc8179dc':
Fix imports. [DO NOT MERGE]
2015-08-27 01:47:24 +00:00
Deepanshu Gupta
8d2e0fbc2e
am 554f3a35: am 34f6f597: (-s ours) am 4a213763: am 5ad4dae1: Fix theme namespace in tests. [DO NOT MERGE]
...
* commit '554f3a352a0a2091321cf72b4ddf32869c901dcb':
Fix theme namespace in tests. [DO NOT MERGE]
2015-08-27 01:47:18 +00:00
Deepanshu Gupta
e6f7481631
am 4ed5de88: am 39b4f4cc: (-s ours) am f988761c: am 723e136f: Run setup for full tests only once. [DO NOT MERGE]
...
* commit '4ed5de8861ab085f253086141de7c96f54acf41a':
Run setup for full tests only once. [DO NOT MERGE]
2015-08-27 01:47:11 +00:00
Deepanshu Gupta
f2cf3c19e3
am dd7d7aac: am de8da279: (-s ours) am e54dbc4a: am 3ba16c1d: LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
...
* commit 'dd7d7aacfea68dfd20a7b6d4be67777a7cfe2993':
LayoutLib: fix layout when nav bar is absent. [DO NOT MERGE]
2015-08-27 01:47:03 +00:00
Deepanshu Gupta
7a7becd621
am 28677599: am 963cac18: (-s ours) am 147c0506: am 55a36337: LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
...
* commit '28677599a9adc1e41f4e48623fbbe7839a43223a':
LayoutLib: Fix Status/Navigation Bar color. [DO NOT MERGE]
2015-08-27 01:46:56 +00:00
Deepanshu Gupta
aae9a105e9
am fe0e8709: am 76111ecb: (-s ours) am e093bbf3: am d861fd81: Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
...
* commit 'fe0e87094c1df6ee3ec5a1bf420c74b134bd673d':
Set support flag for custom layouts for RecyclerView. [DO NOT MERGE]
2015-08-27 01:46:49 +00:00
Deepanshu Gupta
755b7f3a46
am b342aba0: am c5bd6146: (-s ours) am 8a50ecea: am 82fae621: LayoutLib: translucent sys ui bars [DO NOT MERGE]
...
* commit 'b342aba021104d167608349e69e1398b65cf57de':
LayoutLib: translucent sys ui bars [DO NOT MERGE]
2015-08-27 01:46:42 +00:00
Deepanshu Gupta
3ece6d8c88
am 23a7bc9c: am 6dcfe1e2: (-s ours) am d4be80d9: am 9068539a: Update nav bar icons. [DO NOT MERGE]
...
* commit '23a7bc9cc65952c6127ccbbdce6c80fc4c04e89a':
Update nav bar icons. [DO NOT MERGE]
2015-08-27 01:46:34 +00:00
Deepanshu Gupta
4523c86247
am 884cc475: am 5eaa09ff: (-s ours) am d1dde055: am e5afc311: Move the layout code out of RenderSessionImpl. [DO NOT MERGE]
...
* commit '884cc4754b4062d7263000006b58bade82d09985':
Move the layout code out of RenderSessionImpl. [DO NOT MERGE]
2015-08-27 01:46:26 +00:00
Deepanshu Gupta
6d738bb604
am d7e001e6: am 1f2c15ca: (-s ours) am 87f5fd6b: am c989950d: CalendarView rendering: use R.styleable to find attr. [DO NOT MERGE]
...
* commit 'd7e001e640d5255525138631dd8b62fda8d63da0':
CalendarView rendering: use R.styleable to find attr. [DO NOT MERGE]
2015-08-27 01:46:14 +00:00
Deepanshu Gupta
c32e8d4f34
am 19229a8e: am 36e164e0: (-s ours) am e3eecca9: am b2fdaca9: Add tools:openDrawer to open a DrawerLayout. [DO NOT MERGE]
...
* commit '19229a8e1f929393b0bbd2cdd1f27bfe15865411':
Add tools:openDrawer to open a DrawerLayout. [DO NOT MERGE]
2015-08-27 01:46:08 +00:00