3339 Commits

Author SHA1 Message Date
Tenghui Zhu
0ade7ff3c0 Merge "Add radio button as a bundle XML file in the manual test" into nyc-dev 2016-03-30 20:38:15 +00:00
Glenn Kasten
0f5e32d8eb Merge "Fix CRLF" into nyc-dev 2016-03-30 19:41:05 +00:00
Teng-Hui Zhu
5339428d22 Add radio button as a bundle XML file in the manual test
This will make the reproducing and isolating the bug easier b/c everything is
in one single file.

b/27343522

Change-Id: I25445127f6fb44a8613701a7195a605e052730e5
2016-03-29 23:06:35 +00:00
Tenghui Zhu
5eea9afe44 Merge "Add test for AVD on SW Layer" into nyc-dev 2016-03-29 22:25:19 +00:00
Teng-Hui Zhu
06a353d37c Add test for AVD on SW Layer
Now we can put both HW Layer and SW Layer side by side.

Change-Id: I105d0aa6baad0e096cf71c05568323e81301e9b0
2016-03-29 13:18:16 -07:00
Arunesh Mishra
03aa651407 Merge "Fix permission string typo for test app." into nyc-dev 2016-03-28 21:57:53 +00:00
Arunesh Mishra
73db9c2eb2 Fix permission string typo for test app.
Bug: 27875640
Change-Id: I2052e40d86ffcfbbcdef15ab3bec68ce1bdfa736
2016-03-28 13:58:07 -07:00
Chad Brubaker
bf9a82a643 Add handleTrustStorageUpdate
This pruns all the stored trusted issuers so that changes to the system
or user CA store are detected. Currently this is only exposed as a
TestApi, but it can be hooked up to the trusted storage change event
in a future commit.

Bug: 27526668
Change-Id: Ic426254babab9a3177c968bc05b45e95eaac1fdd
2016-03-25 14:48:44 -07:00
Chad Brubaker
7cc736da82 Properly handle whitespace in domain entries
Domain entries can contain whitespace (or newlines) which should be
ignored to avoid unexpectedly failing to match a domain.

Bug: 27816377
Change-Id: I3691aa4abd409e7be97ad0cf1eb0195725e1b0ab
2016-03-23 15:28:41 -07:00
John Reck
417ed6d433 Fix missing first frame
Bug: 26776366
Change-Id: I46258c0ff35fdefe5c9f2ee610c904b2dbe8c5d9
2016-03-23 07:59:10 -07:00
Glenn Kasten
ff7c8b9e9d Fix CRLF
Change-Id: I6740b5fefae2f16d0ce247ff78e7cb5a6f3f8642
2016-03-18 12:30:09 -07:00
Teng-Hui Zhu
46591f4a2d Add fillType support to VectorDrawable
Default as non-zero, which is the same as SVG.
b/27533958

Change-Id: Id20e6d3493bb4d2b4b65d7f6cdb13586631c40e4
2016-03-16 11:03:27 -07:00
Ryan Bavetta
4be255e5b9 Merge "Adds E2E tests for soundtrigger stub HAL load/start/trigger/stop/unload" into nyc-dev 2016-03-14 22:48:09 +00:00
Ryan Bavetta
c92bbd7cdb Adds E2E tests for soundtrigger stub HAL load/start/trigger/stop/unload
These tests can only be run with the stub HAL. The test's Android.mk
file excludes these tests when run without the flag
SOUND_TRIGGER_USE_STUB_MODULE=1

To run the stub HAL tests, run:
SOUND_TRIGGER_USE_STUB_MODULE=1 runtest \
--path ./frameworks/base/tests/SoundTriggerTests

Change-Id: Iac144c51b8a387e94ad25d283715842d46e6e618
2016-03-11 20:06:05 -08:00
Stephen Hines
1eeceefb04 Fix some errors in errorCalculator.rs.
Bug: http://b/26987366

This code was accidentally casting a uchar4 to a single integer, which
the latest llvm-rs-cc will flag as an error. The comparison was also
incorrectly using a single integer comparison, instead of looking at all
4 uchar vector components.

(cherry picked from commit 74be0c9b4329bb79ed46f2532022995429ffdfe8)

Change-Id: Ic3727e234ffc87571ccacab19b2a4efb27ac0f20
2016-03-11 16:52:09 -08:00
Chad Brubaker
8064b4a687 Merge "Allow debug-overrides to be specified in an extra resource" into nyc-dev 2016-03-09 20:45:23 +00:00
Hyungtae Kim
391517e9d3 Merge "Add TV apps to AppLaunch test" into nyc-dev 2016-03-08 23:42:02 +00:00
Tenghui Zhu
e4e4da5cc6 Merge "Add tileMode support into GradientColor" into nyc-dev 2016-03-08 17:25:48 +00:00
Hyungtae Tim Kim
6fc955071a Add TV apps to AppLaunch test
TV apps declare a launcher activity using a
CATEGORY_LEANBACK_LAUNCHER intent filter.

Bug: 27444470
Change-Id: I0d3e412dc0abf65f6eeed4e5d2c0784d08773620
2016-03-08 14:00:44 +09:00
Teng-Hui Zhu
1664a829eb Add tileMode support into GradientColor
So VectorDrawable can have tileMode supported Gradient color.
b/27126035

Change-Id: Icbf5983be165f04dc640627f6208fb1292f15625
2016-03-07 15:02:32 -08:00
Joe Onorato
0aa05d7388 Turn down the logging a little bit.
Change-Id: I44c51d5f8248df1f8cca19da802ee891afe78af7
2016-03-04 12:21:30 -08:00
Joe Onorato
1e55375c96 Turn down the logging a little bit.
Change-Id: I14762c5cc3706c31bd1b3868eac2528ae981aef8
2016-03-04 12:21:30 -08:00
Ryan Bavetta
fc3ad3e4ab Adds Ability to Test with SoundTrigger Stub HAL
Change-Id: Ia79727e5fd645a5e99b8be41c413b94c302f1868
2016-03-03 22:13:52 -08:00
Hyunyoung Song
5d634d7828 Merge "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a" into nyc-dev 2016-03-02 22:54:05 +00:00
Julia Reynolds
c523dc1ff9 Merge "Allow notifications to be hidden from lockscreen at a package level." into nyc-dev 2016-03-02 20:15:54 +00:00
Julia Reynolds
26fa8a54b6 Allow notifications to be hidden from lockscreen at a package level.
Bug: 26642033
Change-Id: I67674ea9d42ee6b5865702be5d9ab2b09b53e15f
2016-03-02 15:13:54 -05:00
Hyunyoung Song
fcef23e831 Revert the default wall paper for framework / emulator
b/27451024
Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a
2016-03-02 11:50:16 -08:00
Chris Craik
b67985f337 Merge changes I4f72448f,I74b7233c into nyc-dev
* changes:
  Fix ripple positioning within scrolled node
  Clip projected ripples to outlines
2016-03-02 18:52:35 +00:00
Chris Craik
678ff81105 Clip projected ripples to outlines
bug:27343928

Also fixes positioning of ripples to a scrolled projection receiver.

Change-Id: I74b7233c46d7c15839ca8bf50e188ba6646d7432
2016-03-02 10:29:15 -08:00
Hyunyoung Song
d9f91827a9 Update wallpaper asset for N dev preview
Bug: 27434845

Change-Id: I0f9ff168beab12d630ab824ab632f98051564570
2016-03-01 20:39:03 -08:00
Chad Brubaker
567f6f2474 Allow debug-overrides to be specified in an extra resource
An application can specify its debug-overrides in an extra resource with
the same name suffixed with "_debug" (e.g. res/xml/security_config.xml and
res/xml/security_config_debug.xml).

By specifying the debug-overrides in an extra file release builds can
strip out the file (and any certificate resources that the
debug-overrides depend on) to prevent including testing configuration
information in the release build of an application.

Bug: 27418003
Change-Id: Ibfebc376360ca474fc0f9f2fd565faa0cffd9549
2016-03-01 12:42:54 -08:00
Dianne Hackborn
4a18c26609 Fix issue #27385109: control activity behavior without triggering...
...isUserAMonkey for testing purpose

Add an argument for the caller to specify if they are a poo flinging
monkey.

Change-Id: I0e149a8d78776abaf07517bd4ae886047b7f4252
2016-02-29 12:37:11 -08:00
Julia Reynolds
f0f629ffe4 Introduce IMPORTANCE_MIN.
Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
2016-02-26 10:54:08 -05:00
Joshua Schwarz
d456303a17 Merge "Add Google Now intent so that it is discoverable to AppLaunch metrics." into cw-e-dev am: dcd0b05dc3
am: e73af21807

* commit 'e73af21807706c12245d4a2c081b06a1a66ea88d':
  Add Google Now intent so that it is discoverable to AppLaunch metrics.
2016-02-25 22:51:54 +00:00
Hyungtae Tim Kim
e62b8a858d UiBench adapted for TV
ActivityTransition needs to show all images regardless of
device orientation, so that UiBench jank test could be run
on TV in landscape mode.

Bug: 27354151
Change-Id: I7d2d0158b73411d48421bf3e05517c15e4c0ac4d
2016-02-25 21:56:21 +09:00
Joshua Schwarz
349537b737 Add Google Now intent so that it is discoverable to AppLaunch metrics.
Change-Id: I65ddce1499c3fa2ca54b815709270610a273e571
2016-02-24 22:26:38 -08:00
Chad Brubaker
c1b0236d70 Merge "Dont trust the user added CA store by default for apps targeting N" into nyc-dev 2016-02-25 00:02:37 +00:00
Arunesh Mishra
f47f173b06 Fix AlwaysOnHotwordDetector recognition event bug.
Parcelables don't work well with inheritance. So changed the
IRecognitionStatusCallback to have onKeyphraseDetected() and
onGenericSoundTriggerDetected() for those respective events.

Made corresponding changes to AlwaysOnHotwordDetector and SoundTriggerDetector.

Bug: 27250528
Change-Id: Ic08a431e7cc4248c688b05c865348170246de576
2016-02-24 12:57:01 -08:00
Chad Brubaker
32d2a1024f Dont trust the user added CA store by default for apps targeting N
Android's security model is such that the applications data is secure by
default unless the application specifically grants access to it.
Application data in transit should have similar security properties.

Bug: 27301579
Change-Id: I72f106aefecccd6edfcc1d3ae10131ad2f69a559
2016-02-24 10:36:27 -08:00
Arunesh Mishra
2d1de78a4c Unload logic for generic and keyphrase sound models.
When delete is called, now the STH unloads the corresponding models.

Fix bug with keyphrase where a delete call didn't unload (or stop)
the keyphrase model.

Bug: 27279380
Change-Id: Ia34f713d2aecef4102c0f0ccc57b8d2e5febe4bb
2016-02-22 15:19:44 -08:00
Arunesh Mishra
28af5fcdc9 Merge "Fix minor bugs:" into nyc-dev 2016-02-19 23:57:59 +00:00
Aurimas Liutikas
359df40aaf Merge "Fix a set of random warnings in frameworks/base/" into nyc-dev 2016-02-19 23:20:06 +00:00
Arunesh Mishra
933da8150c Fix minor bugs:
- Fix issue when multiple starts cause multiple spurious loads to be sent to
   the native layer.
 - Fix scrolling issue in the native app.

Bug: 27222043
Change-Id: Iddf36a8b68637f478dc23b001ecbde352db3a5f0
2016-02-19 15:06:27 -08:00
Aurimas Liutikas
1c8cbb5440 Fix a set of random warnings in frameworks/base/
Bug: 26936282
Change-Id: Ic411d7a1673503d5945f952ebf5a8be964bb54a4
2016-02-19 13:44:25 -08:00
Julia Reynolds
73d96fb4bb Merge "Remove Notification Topics." into nyc-dev 2016-02-19 19:17:25 +00:00
Aurimas Liutikas
4642ae0614 Suppressed unused parameter warnings in frameworks/base/tests/Camera2Tests
Bug: 27149500
Change-Id: I3e522d58db88d2933ae82f6f448a8671316b0b35
2016-02-18 14:06:58 -08:00
Julia Reynolds
ef37f28436 Remove Notification Topics.
Bug: 23220370
Change-Id: Ifbcdbab1cf6974c192483091512f75762784a98e
2016-02-18 08:55:33 -05:00
Arunesh Mishra
3fff7f5634 SoundTriggerHelper changes for GenericSoundModels.
- Refactoring SoundTriggerHelper to handle generic sound models.
     - Ability to store multiple models, callback and state information.
     - Separate out initialization to be done per voice model, per any model
     and per generic model.
 - Minor change to the API exposed -- removing the Handler from the
   createSoundTriggerDetector call.
 - Added callback processing for onRecognitionEvent().
 - Added logic for stopAll().
 - Changes to the SoundTriggerTestApp to start/stop recognition.
     - Multiple models (3).
     - Ability to start/stop/load/unload individual models.

Bug: 22860713
Bug: 27222043
Change-Id: Ie5d811babb956bead653fb560a43f1e549ed11bd
2016-02-17 14:24:03 -08:00
Joe Onorato
68723c571e Fix the text so it's visible with current themes.
Change-Id: Ia3f962a8a46ea05465476961de2d297cf08c75b4
2016-02-12 23:41:45 -08:00
Julia Reynolds
81afbcdbf9 Allow apps to know what users think of their notifications.
- App wide blocking
- Topic importance

Change-Id: I9026e5c26c5dbcab1c86c385beede891f961933f
2016-02-09 14:54:08 -05:00