summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | Support negative value in exponential data in the pathData.ztenghui2014-10-1022-0/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now "1e-5" will not be separated as "1e" and "-5". Add one test for this use case. Make sure we print out the pathData when path parsing has error. b/17919923 Change-Id: I10a00ce21166cfb5a009c49c1a93f40eeb956d83
* | | | | | | | | am f9c45add: am a591efe2: am dbc9aa2c: am eecf74bc: am ed65c63b: Merge "Add ↵Sandeep Siddhartha2014-10-105-4/+369
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests for model management [SDK Only]" into lmp-dev * commit 'f9c45addceed8d98f5a9a8a7486e91e4980b1fec': Add tests for model management [SDK Only]
| * | | | | | | | am a591efe2: am dbc9aa2c: am eecf74bc: am ed65c63b: Merge "Add tests for ↵Sandeep Siddhartha2014-10-105-4/+369
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | model management [SDK Only]" into lmp-dev * commit 'a591efe2839d45fe40928e97bf8c3c8c16e6ac82': Add tests for model management [SDK Only]
| | * | | | | | | am eecf74bc: am ed65c63b: Merge "Add tests for model management [SDK Only]" ↵Sandeep Siddhartha2014-10-105-4/+369
| | |\ \ \ \ \ \ \ | | | | |_|_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-dev * commit 'eecf74bcf7746c20f4b8cf69448e4b292357026d': Add tests for model management [SDK Only]
| | | * | | | | | Merge "Add tests for model management [SDK Only]" into lmp-devSandeep Siddhartha2014-10-095-4/+369
| | | |\ \ \ \ \ \ | | | | |_|_|_|_|/ | | | |/| | | | |
| | | | * | | | | Add tests for model management [SDK Only]Sandeep Siddhartha2014-10-075-4/+369
| | | | | |_|_|/ | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't change any functionality/APIs etc. It allows us to launch the activity and manually test the enrollment methods. Bug: 17885286 Change-Id: I506d9bb98a592131c04a50c9d6224164ffe07183
* | | | | | | | am 39af6ae0: am a92dd37f: am e6411c76: Merge "Support dot separation as the ↵ztenghui2014-10-103-1/+30
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svg path data did." into lmp-mr1-dev * commit '39af6ae064399ad58023752732ed2d388e897736': Support dot separation as the svg path data did.
| * | | | | | | am a92dd37f: am e6411c76: Merge "Support dot separation as the svg path data ↵ztenghui2014-10-103-1/+30
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | did." into lmp-mr1-dev * commit 'a92dd37feb28923c1633b85d12382bc2aa2e03da': Support dot separation as the svg path data did.
| | * | | | | | Merge "Support dot separation as the svg path data did." into lmp-mr1-devztenghui2014-10-093-1/+30
| | |\ \ \ \ \ \ | | | | |_|/ / / | | | |/| | | |
| | | * | | | | Support dot separation as the svg path data did.ztenghui2014-10-083-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like "0.0.0" will be separated to "0.0 .0" now, just to make sure we are more complied with svg path data. b/17892882 Change-Id: Id7b64e9882f5174aa794a0256e2a29d66c724876
* | | | | | | | am d6353c8c: am 5166be90: am 18ab83e5: am f189c445: am 1a98dd5c: Merge "Load ↵Adam Lesinski2014-10-075-0/+79
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shared library dependencies for AppWidgets" into lmp-dev * commit 'd6353c8c0ee7f4a16c129df90679e734f735b4c9': Load shared library dependencies for AppWidgets
| * | | | | | | am 5166be90: am 18ab83e5: am f189c445: am 1a98dd5c: Merge "Load shared ↵Adam Lesinski2014-10-075-0/+79
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | library dependencies for AppWidgets" into lmp-dev * commit '5166be9007b65728e0c55e88ef4d25417a8157ce': Load shared library dependencies for AppWidgets
| | * | | | | | am f189c445: am 1a98dd5c: Merge "Load shared library dependencies for ↵Adam Lesinski2014-10-075-0/+79
| | |\ \ \ \ \ \ | | | |/ / / / / | | |/| / / / / | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | AppWidgets" into lmp-dev * commit 'f189c445b84365a3f1bd2b678fdca37f9df8d5d1': Load shared library dependencies for AppWidgets
| | | * | | | Merge "Load shared library dependencies for AppWidgets" into lmp-devAdam Lesinski2014-10-075-0/+79
| | | |\ \ \ \ | | | | |/ / / | | | |/| | |
| | | | * | | Load shared library dependencies for AppWidgetsAdam Lesinski2014-10-075-0/+79
| | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PackageManager and AppWidgetHostServiceImpl should be loading the resources of any shared libraries being used by the app, as they have references in their Widgets or application icons/labels, etc. Bug:17668152 Change-Id: I359662334edb125d7570089916727df4eeba02bb
* | | | | | am 8b718b80: am db75703b: am 2f577e83: am 90d557b7: am 7f7d240b: Merge "Fix ↵Dianne Hackborn2014-10-061-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issue #17752399: Multiple apps broken by GET_TASKS permission change" into lmp-dev * commit '8b718b80e0caf179a174f8417fe4f5b875297de6': Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
| * | | | | am db75703b: am 2f577e83: am 90d557b7: am 7f7d240b: Merge "Fix issue ↵Dianne Hackborn2014-10-061-1/+1
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #17752399: Multiple apps broken by GET_TASKS permission change" into lmp-dev * commit 'db75703b261e1d1446cca210d7dcafa3279c31bc': Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
| | * | | | am 90d557b7: am 7f7d240b: Merge "Fix issue #17752399: Multiple apps broken ↵Dianne Hackborn2014-10-061-1/+1
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by GET_TASKS permission change" into lmp-dev * commit '90d557b7a68e64e049a44560b76b959ef87f13d7': Fix issue #17752399: Multiple apps broken by GET_TASKS permission change
| | | * | | Fix issue #17752399: Multiple apps broken by GET_TASKS permission changeDianne Hackborn2014-10-031-1/+1
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep around GET_TASKS as a permission available to apps, so apps still think they have it and don't get all uppity because they don't. Add a new REAL_GET_TASKS that is the actual permission now. Plus some temporary compatibility code until everyone can transition fromn GET_TASKS to REAL_GET_TASKS. Change-Id: I12c1102eed24844685dcbd2fa3b612811603958f
* | | | | am c2a0b448: resolved conflicts for merge of ee665151 to lmp-mr1-dev-plus-aospNeil Fuller2014-10-021-3/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'c2a0b4482d7144e8382346ea4c22c7b89368fec0': Switch from FloatMath -> Math and Math.hypot where possible
| * | | | resolved conflicts for merge of ee665151 to lmp-mr1-dev-plus-aospNeil Fuller2014-10-021-3/+2
| |\ \ \ \ | | |/ / / | |/| | / | | | |/ | | |/| Change-Id: I2588c65b7a9fa43f968151a206924a804f0595a7
| | * | Switch from FloatMath -> Math and Math.hypot where possibleNeil Fuller2014-10-011-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation is an API change: FloatMath is going to be deprecated and/or removed. Performance is not the goal of this change. That said... Math is faster than FloatMath with AOT compilation. While making the change, occurances of: {Float}Math.sqrt(x * x + y * y) and {Float}Math.sqrt({Float}Math.pow(x, 2) + {Float}Math.pow(y, 2)) have been replaced with: {(float)} Math.hypot(x, y) Right now there is no runtime intrinsic for hypot so is not faster in all cases for AOT compilation: Math.sqrt(x * x + y * y) is faster than Math.hypot(x, y) with AOT, but all other combinations of FloatMath, use of pow() etc. are slower than hypot(). hypot() has the advantage of being self documenting and could be optimized in future. None of the behavior differences around NaN and rounding appear to be important for the cases looked at: they all assume results and arguments are in range and usually the results are cast to float. Different implementations measured on hammerhead / L: AOT compiled: [FloatMath.hypot(x, y)] benchmark=Hypot_FloatMathHypot} 633.85 ns; σ=0.32 ns @ 3 trials [FloatMath.sqrt(x*x + y*y)] benchmark=Hypot_FloatMathSqrtMult} 684.17 ns; σ=4.83 ns @ 3 trials [FloatMath.sqrt(FloatMath.pow(x, 2) + FloatMath.pow(y, 2))] benchmark=Hypot_FloatMathSqrtPow} 1270.65 ns; σ=12.20 ns @ 6 trials [(float) Math.hypot(x, y)] benchmark=Hypot_MathHypot} 96.80 ns; σ=0.05 ns @ 3 trials [(float) Math.sqrt(x*x + y*y)] benchmark=Hypot_MathSqrtMult} 23.97 ns; σ=0.01 ns @ 3 trials [(float) Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2))] benchmark=Hypot_MathSqrtPow} 156.19 ns; σ=0.12 ns @ 3 trials Interpreter: benchmark=Hypot_FloatMathHypot} 1180.54 ns; σ=5.13 ns @ 3 trials benchmark=Hypot_FloatMathSqrtMult} 1121.05 ns; σ=3.80 ns @ 3 trials benchmark=Hypot_FloatMathSqrtPow} 3327.14 ns; σ=7.33 ns @ 3 trials benchmark=Hypot_MathHypot} 856.57 ns; σ=1.41 ns @ 3 trials benchmark=Hypot_MathSqrtMult} 1028.92 ns; σ=9.11 ns @ 3 trials benchmark=Hypot_MathSqrtPow} 2539.47 ns; σ=24.44 ns @ 3 trials Bug: https://code.google.com/p/android/issues/detail?id=36199 Change-Id: I06c91f682095e627cb547d60d936ef87941be692
| | * | We need to specify a target SDK < 21 to use graphics RS.Stephen Hines2014-08-222-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 16031597 This change also removes some unnecessary code from ScriptC construction. Change-Id: I6680109deb34de841dfade769d556f5060aee423 (cherry picked from commit 8277a692be3c89519e368159e7707c8d35b89475)
| | * | am 05d855de: am d93e7b24: Merge "Don\'t attempt to launch disabled ↵Steve Moyer2014-03-162-10/+12
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | activities in smoke test." * commit '05d855defe8610854592ddd7baf5644ac6d4da15': Don't attempt to launch disabled activities in smoke test.
| | * \ \ am 6691bfd6: am cccae25f: Merge "Example controller app for system ui demo ↵John Spurlock2014-03-074-0/+411
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode." * commit '6691bfd6462e27af7075a3a46eccce943f0de9dd': Example controller app for system ui demo mode.
* | | \ \ \ am d8e94409: am 49049aef: am 2e7aa675: am 489502cf: am 7e1ae00c: Merge ↵wsmlby2014-10-021-6/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Throw error when no intent can be found" into lmp-dev * commit 'd8e94409e031e97ba5aa966f2e7e97fd6bb43e32': Throw error when no intent can be found
| * | | | | am 489502cf: am 7e1ae00c: Merge "Throw error when no intent can be found" ↵wsmlby2014-10-011-6/+2
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-dev * commit '489502cf606b12cc0f872cec6dfd18d0e41db93f': Throw error when no intent can be found
| | * | | | Throw error when no intent can be foundwsmlby2014-10-011-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 17396762 Change-Id: I10502d5d1e2332d9e6820ee645234c125e937b7a
* | | | | | am e18d68d6: am 4e789dbf: am 8628387c: am b226d295: am c6a06d43: Merge ↵Adam Powell2014-10-023-28/+5
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Revert "Fix issue with using locally defined attrs in a shared lib"" into lmp-dev * commit 'e18d68d6ab2f5354441162719ec87cb57de83519': Revert "Fix issue with using locally defined attrs in a shared lib"
| * | | | | am b226d295: am c6a06d43: Merge "Revert "Fix issue with using locally ↵Adam Powell2014-10-013-28/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined attrs in a shared lib"" into lmp-dev * commit 'b226d2951c8641f9851e40b4e13b4ae25cb1a482': Revert "Fix issue with using locally defined attrs in a shared lib"
| | * | | | | Revert "Fix issue with using locally defined attrs in a shared lib"Adam Powell2014-10-013-28/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5069dd69898bd0d9c69ba2bbd37239ec8d1c9dc6. The reverted commit caused issues loading resources supplied by static libraries. Bug 17748356 Change-Id: I860a4f31451ee7c03c02974826472a67226b029f
* | | | | | | am 043c4b35: am 51ec33bb: am 2298938c: Merge "More test cases from UX team ↵ztenghui2014-10-0248-2/+1509
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for AVD." into lmp-mr1-dev * commit '043c4b35026a733058d01e159fa3c9259a16e766': More test cases from UX team for AVD.
| * | | | | | Merge "More test cases from UX team for AVD." into lmp-mr1-devztenghui2014-10-0148-2/+1509
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| | * | | | | More test cases from UX team for AVD.ztenghui2014-09-3048-2/+1509
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds more realistic avds for testing purpose. Also add root level alpha tests. b/17698712 Change-Id: I32efaecf8a46a110c77e432a5307296e8a443160
* | | | | | am 7923da5f: am 06f380e9: am 95731abe: am bb7b5197: am cd8e7381: Merge "Fix ↵Adam Lesinski2014-10-013-5/+28
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issue with using locally defined attrs in a shared lib" into lmp-dev * commit '7923da5f5d05f256179e0d926b3b55bbf1d29a8e': Fix issue with using locally defined attrs in a shared lib
| * | | | | Fix issue with using locally defined attrs in a shared libAdam Lesinski2014-09-303-5/+28
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attribute name resource IDs were never fixed up with the runtime package ID so we weren't finding attributes whenever the runtime package ID was different than the build time one, which happened to be when a shared lib referenced itself (0x00 vs 0x02). Bug:17666947 Change-Id: Icf3e874bcea0e27eebe42d60fbed626a34bf9266
* | | | | am 00cbb751: am 5e8f023d: am a59c7f03: am dff59b8b: am 23df1c46: Merge ↵RoboErik2014-09-261-0/+12
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | "Allow null queues to be set in MediaSession" into lmp-dev * commit '00cbb751533bf683480ba80f0c450c59c6ca96a1': Allow null queues to be set in MediaSession
| * | | | Merge "Allow null queues to be set in MediaSession" into lmp-devRoboErik2014-09-251-0/+12
| |\ \ \ \
| | * | | | Allow null queues to be set in MediaSessionRoboErik2014-09-241-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add some test code for it to OneMedia. bug:17593962 Change-Id: I074e2bb0329d9a97f623e4309bb7dada157b8324
* | | | | | am e7b9e3c6: am 72e1f678: am 0ecbcd00: am 64816d53: am a00457a6: Merge "Add ↵ztenghui2014-09-254-17/+136
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one more test and update old tests" into lmp-dev * commit 'e7b9e3c6a36f0f88b345204249c0848cc4cfb2d9': Add one more test and update old tests
| * | | | | Merge "Add one more test and update old tests" into lmp-devztenghui2014-09-244-17/+136
| |\ \ \ \ \ | | |/ / / / | |/| | | |
| | * | | | Add one more test and update old testsztenghui2014-09-234-17/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just updating the internal test app. No real functionality changed. b/17631551 Change-Id: Icc01e017ea4fbf97712214e6ac02691d29ea5e96
* | | | | | am 1dbd1440: am 2129bb01: am 657bd7ec: am fa3089f8: am 0d18d08d: Merge "Work ↵Dianne Hackborn2014-09-241-0/+14
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on issue #17628623: Need to update default preferred activities for YouTube" into lmp-dev * commit '1dbd14405618f8645a9873c5d904bad549197edb': Work on issue #17628623: Need to update default preferred activities for YouTube
| * | | | | Merge "Work on issue #17628623: Need to update default preferred activities ↵Dianne Hackborn2014-09-241-0/+14
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | for YouTube" into lmp-dev
| | * | | | | Work on issue #17628623: Need to update default preferred activities for YouTubeDianne Hackborn2014-09-231-0/+14
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve the warning logs when setting up preferred activities to help identify when there are issues and what they are. Also improve the algorithm a little to still apply permissions when resetting them and there are additional third party apps, as long as the additional app is something like another browser and the preferred activity being set is more specific (has a better match). And add an example of using manifest-based preferred activities in to ActivityTest -- and yes it DOES work! :p Change-Id: I1ff39e03a5df6526206e0c3882085396b355d814
* | | | | | am e15e5958: am 2b7813c6: am 065502cb: am 892412af: am 8518c090: Merge "Fix ↵ztenghui2014-09-232-1/+31
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | animation on the some properties" into lmp-dev * commit 'e15e595801caf1d2d2165d356b3951d753b3d56e': Fix animation on the some properties
| * | | | | Fix animation on the some propertiesztenghui2014-09-232-1/+31
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The risk is low since most of them are just matching the naming to xml. And this update won't cause build breakage. b/17623982 Change-Id: I1eda0b8314ec7b94bc03976cdc365a7dc1039f4c
* | | | | am 462f7a65: am 5ef3b577: am d357ec8b: am 4746e825: am fa3fb593: Merge "Add ↵wsmlby2014-09-193-5/+11
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | leanback support to AppCompatiblityTest" into lmp-dev * commit '462f7a658d359d1e9ad825f8db949e29b4a1aacc': Add leanback support to AppCompatiblityTest
| * | | | Add leanback support to AppCompatiblityTestwsmlby2014-09-183-5/+11
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia9da14b8551c4ec5834a047f0792a5a213a3ac04
* | | | | am 75145fd6: am 8207e209: am 2bb77b5a: Merge "Add root alpha and animation ↵ztenghui2014-09-134-1/+33
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | to (Animated)VectorDrawable" into lmp-dev * commit '75145fd66c1cd7a92cb871333391fa8b88e1108b': Add root alpha and animation to (Animated)VectorDrawable