summaryrefslogtreecommitdiffstats
path: root/docs/html/training/articles
Commit message (Collapse)AuthorAgeFilesLines
* Update and cleanup FingerprintManager API to new specJim Miller2015-06-081-1/+1
| | | | | | Fixes bug 21040383 Change-Id: Ib97d486535869814d5b449cccb31670e8f412552
* am 78ab4c38: am 6042f351: Merge "Rework systrace analysis documentation" ↵Chris Craik2015-06-051-1/+1
|\ | | | | | | | | | | | | into mnc-preview-docs * commit '78ab4c3867af40b512d2e0c046abd5c8b040d05f': Rework systrace analysis documentation
| * Rework systrace analysis documentationChris Craik2015-06-011-1/+1
| | | | | | | | | | | | Also update some of the out-of-date aspects of the systrace help page. Change-Id: I869f6d481ecc2835ea8713bb46f6e5d550abea98
* | Document the security features of Android Keystore.Alex Klyubin2015-05-191-2/+65
| | | | | | | | | | Bug: 18088752 Change-Id: Iec995e39065d9c4f159cb4eea38486f9c75de072
* | New AndroidKeyStore API in android.security.keystore.Alex Klyubin2015-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL addresses the comments from API Council about Android KeyStore KeyPairGeneratorSpec, KeyGeneratorSpec and KeyStoreParameter: 1. These abstractions should not take or hold references to Context. 2. The Builders of these abstractions should take all mandatory parameters in their constructors rather than expose them as setters -- only optional paratemers should be exposed via setters. These comments cannot be addressed without deprecation in the already launched KeyPairGeneratorSpec and KeyStoreParameter. Instead of deprecating just the getContext methods and Builder constructors, this CL goes for the nuclear option of deprecating KeyPairGeneratorSpec and KeyStoreParameter as a whole and exposing all of the AndroidKeyStore API in the new package android.security.keystore. This enables this CL to correct all of the accrued design issues with KeyPairGeneratorSpec (e.g., naming of certificate-related methods) and KeyStoreParameter. This also makes the transition to API Level M more clear for existing users of the AndroidKeyStore API. These users will only have to deal with the new always-mandatory parameters (e.g., purposes) and sometimes-mandatory (e.g., digests, block modes, paddings) if they switch to the new API. Prior to this CL they would've had to deal with this if they invoked any of the new methods of KeyPairGeneratorSpec or KeyStoreParameter introduced in API Level M. This CL rips out all the new API introduced into KeyPairGeneratorSpec and KeyStoreParameter classes for Android M, thus reverting these classes to the API launched in L MR1. This is because the new API is now in android.security.keystore.KeyGenParameterSpec and KeyProtection respectively. Bug: 21039983 Change-Id: I59672b3c6ef7bc25c40aa85f1c47d9d8a05d627c
* | Switch to KeyguardManager.isDeviceSecure.Alex Klyubin2015-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | isKeyguardSecure also returns true when SIM PIN is required. We don't care about that because entering SIM PIN does not unlock keys requiring user authentication. isDeviceSecure returns true only if secure lock screen is set up, which is exactly what we want. Bug: 18088752 Change-Id: I47b21f3351f55c11e8e9bcfd7654762973dd9271
* | Align AndroidKeyStore API with user auth API.Alex Klyubin2015-04-281-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies the AndroidKeyStore API around user authentication: no more explicit control over which user authenticators are bound to which keys. User-authenticated keys with timeout are unlocked by whatever unlocks the secure lock screen (currently, password/PIN/pattern or fingerprint). User-authenticated keys that need authentication for every use are unlocked by fingerprint only. Bug: 20526234 Bug: 20642549 Change-Id: I1e5e6c988f32657d820797ad5696797477a9ebe9
* | Unhide the new AndroidKeyStore API.Alex Klyubin2015-04-131-7/+14
| | | | | | | | | | Bug: 18088752 Change-Id: I93f87cbb1cd04a4a2e34f3d544d678c92cf052ee
* | am ea4c21ea: am a1838a9d: am 78f4342f: Merge "docs: WebView security notes ↵Andrew Solovay2015-01-221-1/+11
|\ \ | |/ | | | | | | | | | | for apps on pre-K devices" into lmp-docs automerge: e628954 automerge: d4cf09d automerge: 63e822d * commit 'ea4c21ea283bdb98b80140c697b27bb9eb2bb643': docs: WebView security notes for apps on pre-K devices
| * docs: WebView security notes for apps on pre-K devicesAndrew Solovay2015-01-201-1/+11
| | | | | | | | | | | | | | | | | | Added paragraph describing security precautions for apps that use WebView on devices running versions older than Android 4.4. See first comment for doc stage location. bug: 19075466 Change-Id: I69937d8dfc37ec1ba693f969500b9dc7404c4635
| * Mention ProGuard in the JNI documentation.Elliott Hughes2014-11-271-9/+17
| | | | | | | | | | | | (cherry picked from commit 8e1bbfe0f1e4dac35b20972a71656e4c9bf437a1) Change-Id: I22731dfb94dcc1271b987ed52914e665704dd378
* | Remove references to apache-http from various documents.Narayan Kamath2014-12-121-2/+1
| | | | | | | | | | | | | | Most of them are pointless links to a "text/plain" constant which are far clearer when inlined with the relevant text. Change-Id: Iaed51b4548cb2836741106dc19c9cf500c205d32
* | am 3afb9f63: am 2c53d22b: Merge "Mention ProGuard in the JNI documentation."Elliott Hughes2014-11-271-9/+17
|\ \ | |/ |/| | | | | * commit '3afb9f6378779e6ee355b0b56c47ad7270e2b832': Mention ProGuard in the JNI documentation.
| * Mention ProGuard in the JNI documentation.Elliott Hughes2014-11-261-9/+17
| | | | | | | | Change-Id: I7822ec1eca0290eba1f4b08eca6794b41172d606
* | Doc change: update behavior changes and move to separate doc. Add nogotofail ↵Dirk Dougherty2014-11-051-0/+35
| | | | | | | | | | | | to SSL best practices. Change-Id: Ib4c0b0d442b1ef879cb01b3972845ef93360c5b8
* | docs: Add article describing Location API for Android Wear.Luan Nguyen2014-10-221-0/+375
|/ | | | Change-Id: I1956be7df8cc875270d45652d1b0d414b6395982
* Fixed a typo in Perf Tips.Sarah Maddox2014-10-131-1/+1
| | | | Change-Id: I427bd60211d6fa3f2d1f262dc2b9b8e7729d4adc
* am 001e3072: am 23daa441: am 8e115e64: Merge "docs: Documenting fix for ↵Robert Ly2014-08-071-0/+298
|\ | | | | | | | | | | | | CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs * commit '001e30729a7e12bef238df680626042b2e99d807': docs: Documenting fix for CVE-2014-0224 (SSL vulnerability).
| * docs: Documenting fix for CVE-2014-0224 (SSL vulnerability).Andrew Solovay2014-07-301-0/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrote a training page on how to use Google Play services to update a device's security provider, which (int. al.) installs a fix against the recently-discovered SSL CCS injection vulnerability. Doc is staged to: http://asolovay.mtv:9338/training/articles/security-gms-provider.html bug: 16296338 Change-Id: I5b0dd052113998d585a46262b216ef0c1b432362
* | am b1cb5aab: am 748856f2: am a7ddd029: am 80e84e2d: am f3cecfa2: am ↵Robert Ly2014-06-111-0/+107
|\ \ | |/ | | | | | | | | | | 55d525b2: am 716cc7dc: Add documentation for AndroidKeyStore * commit 'b1cb5aabeb68815715eed423f1f9a7edb9a3e938': Add documentation for AndroidKeyStore
| * am a7ddd029: am 80e84e2d: am f3cecfa2: am 55d525b2: am 716cc7dc: Add ↵Robert Ly2014-06-101-0/+107
| |\ | | | | | | | | | | | | | | | | | | documentation for AndroidKeyStore * commit 'a7ddd0292420c2e8869e093d8bdad5cdc1f199cc': Add documentation for AndroidKeyStore
| | * am 80e84e2d: am f3cecfa2: am 55d525b2: am 716cc7dc: Add documentation for ↵Robert Ly2014-06-101-0/+107
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | AndroidKeyStore * commit '80e84e2db92ba190c6c517dd4c71cd12c0adb249': Add documentation for AndroidKeyStore
| | | * Add documentation for AndroidKeyStoreRobert Ly2014-05-071-0/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add exposition about the use cases for AndroidKeyStore and links to the API sample application for different use cases. Bug: 8608817 Change-Id: Ic4ce9405781c92f12687895b28c671661ea5524f
* | | | Update doc wrt to android:debuggable and CheckJNIMarco Nelissen2014-01-161-1/+3
| | | | | | | | | | | | | | | | Change-Id: Id75642440c8bc86727655debf21c47a1c228bd28
* | | | am 15de74b6: am cfbc332f: am f4494e6c: am faca5e3c: am ac5ad7b9: docs: Fixed ↵Ricardo Cervera2014-01-141-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | typos. * commit '15de74b64b08c5f6d17c1a4c1d225dca70064f71': docs: Fixed typos.
| * | | am faca5e3c: am ac5ad7b9: docs: Fixed typos.Ricardo Cervera2014-01-131-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'faca5e3c917a6197b380eb5d2b51893b5d689946': docs: Fixed typos.
| | * | docs: Fixed typos.Ricardo Cervera2014-01-131-2/+2
| | |/ | | | | | | | | | | | | | | | | | | bug:10732654 Change-Id: I5a580cf40e2670485f9c57e2376efd20bcf7b60d Review URL: http://quixote.mtv.corp.google.com:8002/training/articles/security-tips.html
* | | Removing quotes from page.tags valuesJoe Fernandez2013-11-145-5/+5
|/ / | | | | Change-Id: I9e12079568ef7be8574743a34856ed2839e1e76a
* | am ddc91628: am a1b4d97b: Merge "Removed duplicate items on table of contents"Kenny Root2013-10-211-1/+0
|\ \ | |/ |/| | | | | * commit 'ddc91628819f02d6cfb60cfa26b582d52fa76cde': Removed duplicate items on table of contents
| * Removed duplicate items on table of contentsTaeho Kim2013-10-171-1/+0
| | | | | | | | | | | | | | Removed duplicate, broken item in 'in this document' on Performance Tips (http://developer.android.com/traning/articles/perf-tips.html) Change-Id: I499d9bb314fa471e6d2c0590f59c2f71077c00b8 Signed-off-by: Taeho Kim <jyte82@gmail.com>
* | add docs about managing app memoryScott Main2013-10-114-3/+743
| | | | | | | | Change-Id: I8bd7b05e7ce00faedbbc131a38f2a73637d1b365
* | Merge "Doc change: add tablet success story and fix a few issues." into ↵Dirk Dougherty2013-10-111-1/+1
|\ \ | | | | | | | | | jb-mr2-docs
| * | Doc change: add tablet success story and fix a few issues.Dirk Dougherty2013-10-101-1/+1
| |/ | | | | | | Change-Id: Ifdc494270d200604b9a228601b5ead0e8b2c4e3f
* | Merge "Docs: Fixed wrong parameter in SoundPool file; fixed typo in security ↵David Friedman2013-09-271-1/+1
|\ \ | | | | | | | | | file. Bug: 10807931 10796994" into jb-mr2-docs
| * | Docs: Fixed wrong parameter in SoundPool file; fixed typo in security file.David Friedman2013-09-271-1/+1
| |/ | | | | | | | | | | Bug: 10807931 10796994 Change-Id: I8c8e07c3e8606d5983c2545fa6638af45650d27c
* | Docs: Fixed a typo, such that "C+++"-->"C++"; there was supposed to be ↵David Friedman2013-09-261-1/+1
|/ | | | | | | | another file with extra apostrophes, but it looks like that one had already been fixed. Bug: 10796099 Change-Id: Ideb1dbf70b9034e88683ef19ec1a3d338b7ea06b
* add meta tags to the rest of the training classesScott Main2013-04-104-0/+8
| | | | Change-Id: I4db0acee547b198db754eaf0e78062614ac6f59a
* docs: add bdc's security doc as training articleScott Main2013-03-011-0/+539
| | | | Change-Id: Iaee006f5e93356cc7cda8e5bff7fc03642329e46
* Fix code snippetAndy McFadden2013-01-171-2/+2
| | | | | | | | One of the examples was incorrect (both here and in the original). http://b.android.com/42776 Change-Id: I2a218b724f50caf47d5185ef529ae8ab3104794f
* Update the JNI spec link, and remove a dead link.Elliott Hughes2012-12-191-4/+3
| | | | | | | | | | | Also remove the duplicate copy of this file. There's a redirect in place from the old location. Bug: http://code.google.com/p/android/issues/detail?id=41623 (cherry picked from commit 965da34de94cdb845b64bd676e45b260000cd09d) Change-Id: I5a940383fb27900ba560822c060cc5ed864eb771
* Merge "Doc change: add SMP Primer for Android. Support a new "article" toc ↵Dirk Dougherty2012-11-305-3/+1896
|\ | | | | | | style in training." into jb-mr1-dev
| * Doc change: add SMP Primer for Android. Support a new "article" toc style in ↵Dirk Dougherty2012-11-305-3/+1896
| | | | | | | | | | | | training. Change-Id: I75826e12bb255e1fe85822b8c51e750ada01dfc5
* | Doc change: cleanup filtering sidebars and api level table. Changes links ↵Dirk Dougherty2012-11-291-1/+1
|/ | | | | | pointing to billing and other play docs that have moved. Change-Id: I5528e82a6f97eb25f2ec2db5dfe1e178d9580f3c
* docs: move articles into group directoryScott Main2012-11-164-0/+2107
Change-Id: If90f5ac284d8df16b830d5744fbd684e5b1b34e3