summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix Bluetooth enable dialog to match Android style guide.Jake Hamby2012-11-202-4/+10
| | | | | | | | | | | | | When an app requests to enable Bluetooth and/or Bluetooth discovery, we show a dialog for user confirmation. Remove the dialog title, update the message text and button labels to be more descriptive, and use the standard dialog layout instead of a custom layout. Also fixes the button layout on the Bluetooth permission test app so that the "Discoverable" button doesn't wrap to two lines. Bug: 6001468 Change-Id: I731e2f31b4c822395fc3f83584a092550d9ae7d3
* am f587f5a5: am 78f5c4d5: am 76ddf411: Merge "Fix /proc/version parsing in ↵Elliott Hughes2012-09-101-0/+54
|\ | | | | | | | | | | | | Settings." * commit 'f587f5a54d4717c8f147ce46979f65f9301cd81d': Fix /proc/version parsing in Settings.
| * Fix /proc/version parsing in Settings.Elliott Hughes2012-09-101-0/+54
| | | | | | | | Change-Id: I4bde0e4935eaa4c27067062443a051976daa115d
* | Import translations. DO NOT MERGEYing Wang2012-07-131-2/+2
|/ | | | | Change-Id: I25f8e8923c50377df9a517538e6b76bafac4af9a Auto-generated-cl: translation import
* Import revised translations.Eric Fischer2011-11-294-8/+8
| | | | Change-Id: I057d4f0cafa5d08e4048e4fd437e69a023f5edb7
* Import revised translations.Eric Fischer2011-11-022-0/+56
| | | | Change-Id: If0d8a3d2b1ede8cc56519ddecac97c12f7042fe7
* Unused assets removed from SettingsGilles Debunne2011-10-282-0/+0
| | | | Change-Id: I32cbeba75d46e536191f55a94185ec0e896fa397
* Import revised translations.Eric Fischer2011-10-181-0/+28
| | | | Change-Id: I257f94325e7f588845bcf446e497ff827d4b2cec
* Import revised translations.Eric Fischer2011-08-221-5/+5
| | | | Change-Id: I90d6935c58330a986ce67086f7af4ae9eb96e8ba
* Updated Settings iconsJustin Ho2011-08-091-0/+0
| | | | | | | Removed More wifi settings icon Bug: 5084184 Change-Id: I4ed948bd24544d512179765eb917f3932f60751b
* Unused assets removed from SettingsGilles Debunne2011-07-202-0/+0
| | | | Change-Id: I321321fe8f730c1e664245944db4ab77ca4c7539
* Import revised translations.Eric Fischer2011-06-202-0/+56
| | | | Change-Id: Ib916cb8bb0b6f45452300b50b5ac138f89a89c29
* Import revised translations.Eric Fischer2011-05-263-0/+84
| | | | Change-Id: Ied705b2da99164f4257d2a6b7b4ce95d7bfb0052
* Refactor Bluetooth settings for readability and performance.Jake Hamby2011-03-012-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Major refactoring of Bluetooth settings classes. - Moved all functionality from LocalBluetoothManager into new LocalBluetoothAdapter and LocalBluetoothPreferences, and into existing classes. - Refactored functionality from BluetoothEventRedirector into new BluetoothEventManager class, deleting the original version. New version uses a HashMap from action Strings to implementers of the BluetoothEventManager.Handler interface. - Created new BluetoothDiscoveryReceiver to update shared preferences timestamp for Bluetooth discovery start/finish. This is the only event handling we need to do when the settings app is not visible, so it has its own receiver entry in AndroidManifest.xml. Edits are written using QueuedWork.singleThreadExecutor(), which BroadcastReceiver knows about and will wait for completion, eliminating the need for PendingResult. - Miscellaneous cleanups to code style and logic for readability. - Pulled some large switch statement code blocks into new methods. - Changed all Bluetooth state references to the new BluetoothProfile constants. - Changed use of deprecated Notification constructor in BluetoothPairingRequest to use Notification.Builder. - Moved Utf8ByteLengthFilter helper function from BluetoothNamePreference into its own class, and moved test cases into the same package. - Moved all LocalBluetoothProfileManager functionality related to specific profiles into new top-level classes (A2dpProfile, etc.), all implementing the LocalBluetoothProfile interface. - Moved all UI-related methods from CachedBluetoothDevice into the class that uses the method, or into the static Utils class for shared methods. Change-Id: I6d49b7f4ae0c7d7dcf62551ee40b51ecb5fe4f47
* Import revised translations.Eric Fischer2011-02-171-1/+1
| | | | Change-Id: I51cf9d94cd14e67e56a86e669a92e1a64eb6540b
* Import revised translations.Eric Fischer2010-12-2319-228/+114
| | | | Change-Id: Ia9338cf200345ea00eb0179ca06770a9c47c16d8
* Rename Indonesian and Hebrew translations to match Locale.java conventionsEric Fischer2010-12-022-0/+0
| | | | Change-Id: Id3eaf43c69acdff39966ce6b4af4d51ebf14c999
* Import initial translations for 20 new locales.Eric Fischer2010-11-1720-0/+674
| | | | Change-Id: I55b0229ca58d63282625b6eaf9e0e58672403c02
* Import revised translations.Eric Fischer2010-11-091-12/+6
| | | | Change-Id: I8ff3fdad70919d2937c3a897b5698e45078d0227
* Import revised translations.Eric Fischer2010-10-271-2/+2
| | | | Change-Id: I0d19c79e3e0ac76527671d181bb77e8944ec4a5f
* am 5496db04: am 59091c08: Fix Bluetooth device name max length checking.Jake Hamby2010-09-223-1/+119
|\ | | | | | | | | | | | | Merge commit '5496db047df21a44280c56984dbc296e2a1d7968' * commit '5496db047df21a44280c56984dbc296e2a1d7968': Fix Bluetooth device name max length checking.
| * am 59091c08: Fix Bluetooth device name max length checking.Jake Hamby2010-09-223-1/+119
| |\ | | | | | | | | | | | | | | | | | | Merge commit '59091c08f4d0ad8f42013f58ce9bd23ac3306336' into gingerbread-plus-aosp * commit '59091c08f4d0ad8f42013f58ce9bd23ac3306336': Fix Bluetooth device name max length checking.
| | * Fix Bluetooth device name max length checking.Jake Hamby2010-09-223-1/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Bluetooth device name has a maximum length of 248 bytes in UTF-8 encoding. The settings app previously limited the Bluetooth device name entered by the user based on the number of characters, which is incorrect when the name includes non-ASCII characters. Created a new Utf8ByteLengthFilter class for BluetoothNamePreference which counts UTF-8 bytes instead of Unicode characters, along with unit tests. We can move Utf8ByteLengthFilter into the framework in the future if it would be useful elsewhere in the system or for applications. Change-Id: I9debface09659f09d750f3bfe8ad6ddfd34c75c5
| * | am 4d9d75a4: Import revised translations. DO NOT MERGEEric Fischer2010-08-041-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '4d9d75a42471ca65670fd2adc80d37bca43a69f6' into gingerbread-plus-aosp * commit '4d9d75a42471ca65670fd2adc80d37bca43a69f6': Import revised translations. DO NOT MERGE
| | * Import revised translations. DO NOT MERGEEric Fischer2010-08-041-1/+1
| | | | | | | | | | | | Change-Id: Ic83849d97650cec0560d847a962756c53d65ea78
* | | Merge "Import Romansh translations."Eric Fischer2010-08-191-0/+34
|\ \ \
| * | | Import Romansh translations.Eric Fischer2010-08-181-0/+34
| | | | | | | | | | | | | | | | Change-Id: I71df0c212e4ef30c94bc36d048226c3216f79e9b
* | | | Refactor settings top level activities to use fragments.Amith Yamasani2010-08-181-6/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a base class SettingsPreferenceFragment from which the settings activities should be derived so that they can behave like fragments. It contains some commonly called utility methods and dialog conversion to DialogFragment. Some of the top-level activities can be launched directly without the left pane. Settings.java acts as a proxy activity that contains just that settings fragment without the left pane. There are still a lot of second and third level activities that need to be fragmentized. This is just the first pass to test the 2-pane layout.
* | | Import revised translations.Eric Fischer2010-08-102-4/+4
| | | | | | | | | | | | Change-Id: Ib5a34ef0ce1f4639a4744efbc401788982ad43b3
* | | Import revised translations.Eric Fischer2010-08-0520-1/+121
|/ / | | | | | | Change-Id: I0b805e4c7d2cedf70ec4ca5309f2a8073010fa51
* | merge from froyo-plus-aospThe Android Open Source Project2010-06-148-0/+267
|\ \ | |/ |/| | | Change-Id: I6c6ee9c9567f5aef7e1beb585296c1e2fb884e9a
| * merge from open-source masterThe Android Open Source Project2010-06-118-0/+267
| |\ | | | | | | | | | Change-Id: I7d167c97600bbf25e2ed8872cffecd9fa5b1db7c
| | * Settings: Add a hook for operator or vendor specific settings.Anders Hammar12010-06-118-0/+267
| | | | | | | | | | | | | | | | | | | | | | | | The Settings application now provides a hook that can be used by an operator or a vendor specific application to add an activity of choice in the settings menu. Change-Id: Id55da9fd4262bbfc6a5abf863799c747b0d75b24
| | * Import revised translations. DO NOT MERGEEric Fischer2009-11-161-0/+19
| | |
| | * Import revised translations. DO NOT MERGEEric Fischer2009-11-1219-0/+361
| | | | | | | | | | | | Approver: jerryw
| * | Import revised translationsKenny Root2010-05-171-1/+1
|/ / | | | | | | Change-Id: I6f0e1a9dbaa3b3e81b24de207c3731249d160a59
* | Import revised translationsKenny Root2010-04-281-1/+1
| | | | | | | | Change-Id: I91401f661d61a86d166baac1cad14b8897d0a467
* | Import revised translationsKenny Root2010-03-301-1/+1
| | | | | | | | Change-Id: Ib730899be1485cc95ed6254279bae0c9413332b3
* | Import revised translationsKenny Root2010-03-1720-44/+100
| | | | | | | | Change-Id: I0f81ee1b861fa5df40700baccc29e2e6c52a39d1
* | Merge "Import new translations"Eric Fischer2010-03-041-0/+4
|\ \
| * | Import new translationsEric Fischer2010-03-041-0/+4
| | |
* | | b/2310373 Change string from Start/Stop Scan to Start/Stop scanMichael Chan2010-03-041-2/+2
|/ / | | | | | | Change-Id: I2ffe47b74a46d9f0e71d905fd1df1a0650c5505a
* | b/2310373 Show pairing dialogs if the device has been scanning for bt ↵Michael Chan2010-03-034-6/+50
| | | | | | | | | | | | devices recently. Change-Id: Iec9eb37a5e79b63cc3cf226e2ead6d9ed06d56a6
* | Import new translations.Eric Fischer2010-02-261-1/+1
| |
* | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-4/+4
| | | | | | | | Bug: #2361749.
* | Update with latest translations.Eric Fischer2010-01-0720-0/+380
|/
* b/2234854 Fixed Bluetooth API return codes for requesting permission to ↵Michael Chan2009-11-054-3/+218
| | | | | | enable bluetooth Also added test app.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-0/+99
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-99/+0
|
* Initial ContributionThe Android Open Source Project2008-10-213-0/+99