summaryrefslogtreecommitdiffstats
path: root/telephony/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add a protocol property to the APNs and use it.Lorenzo Colitti2011-02-031-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Database changes: - Add a protocol and a roaming_protocol column to the carriers table in the telephony provider database. - Set the protocol and roaming_protocol fields when creating APN objects from the database. 2. ApnSetting class changes: - Add protocol and roamingProtocol fields to the ApnSetting class that encapsulates APN settings within the framework. - Add the fields to ApnSetting.toString and support a new syntax containing the fields in ApnSetting.fromString. - Add a unit test for ApnSetting. 3. Telephony changes: - Specify the APN protocol when setting up a data call, using protocol when not roaming and roaming_protocol when roaming. This change depends on #94983 in the telephony provider, which adds the new column to the database schema on upgrades. Change-Id: Ic4e3f02e48f17990f657187b9919d265671f0138
* resolved conflicts for merge of 8484e57f to masterJean-Baptiste Queru2010-11-221-0/+302
|\ | | | | | | Change-Id: I6a8cc70250fd2be9a1e9a728940a1e9f5721a653
| * resolved conflicts for merge of e4ae7fc3 to gingerbread-plus-aospJean-Baptiste Queru2010-11-221-0/+302
| |\ | | | | | | | | | Change-Id: I2e0a0ed622bc4c32d79936b30ebbf9068b3bdee8
| | * Enabling cell broadcast (SMS-CB) support in the platform.Henrik Hall2010-11-191-0/+302
| | | | | | | | | | | | | | | | | | | | | Adding a simple API enabling applications to control SMS-CB reception. Implementing parsing, assembly and dispatching of SMS-CB messages over GSM. Change-Id: Iee841605a45a3af60c7602af175056afb03a38da
| * | am 15f7ff3c: Merge "Fix compile errors in telephony tests"Jean-Baptiste Queru2010-10-112-2/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '15f7ff3c5a0a99f75b6c0babdc1d44e4b8aab39f' into gingerbread-plus-aosp * commit '15f7ff3c5a0a99f75b6c0babdc1d44e4b8aab39f': Fix compile errors in telephony tests
| | * Merge "Fix compile errors in telephony tests"Jean-Baptiste Queru2010-10-112-2/+2
| | |\
| | | * Fix compile errors in telephony testsMark Piper2010-08-062-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Simple fix of package names for two test cases, currently they do not compile in an IDE. Change-Id: Ia7cd4df70ff37875a02563cfddbe8dd4a16a5b01
* | | | Set country code in the driver and remove channel setIrfan Sheriff2010-11-021-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With dual band support, using country code settings is the way to go Bug: 2936741 Change-Id: I760dce4c43b1af19ee205c28f0d287420c8d9e85
* | | | Add PhoneStateListener.onOtaspChanged.Wink Saville2010-11-011-0/+3
| | | | | | | | | | | | | | | | | | | | Bug: 3102320 Change-Id: I46e8d33a4ed80e5e074e92135653d57598d4c865
* | | | resolved conflicts for merge of d4e3bf4d to masterXia Wang2010-10-121-3/+110
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: I41c0ae2b3f557f84b25c39e247894f66a4e7e702
| * | | am c8511af0: Merge "Add mock ril control commands and tests" into gingerbreadXia Wang2010-10-111-3/+110
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'c8511af04a442551a204b1f47fabb317bcf54be0' into gingerbread-plus-aosp * commit 'c8511af04a442551a204b1f47fabb317bcf54be0': Add mock ril control commands and tests
| | * | | Add mock ril control commands and testsXia Wang2010-10-101-3/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mock ril controller commands and test cases: - testStartIncomingCallAndHangup: test start incoming cal and hangup remote - testSetCallTransitionFlag: test call transition flag and call state transition Change-Id: I25ff8ef7931159ef7101b5e8638b9b7438db4f66
| * | | | am e1c8e388: Merge "Port mock ril controller and tests to GB. DO NOT MERGE" ↵Xia Wang2010-10-074-0/+299
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit 'e1c8e38834dffbeaeacbbe0490a5eae45b54db8b' into gingerbread-plus-aosp * commit 'e1c8e38834dffbeaeacbbe0490a5eae45b54db8b': Port mock ril controller and tests to GB. DO NOT MERGE
| | * | | Port mock ril controller and tests to GB. DO NOT MERGEXia Wang2010-10-074-0/+299
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie58236ecb8648d026356610f429054cb46b8640b
* | | | | Merge "Fix SimUtilsTest after changing in bcdToString."John Wang2010-09-091-2/+6
|\ \ \ \ \
| * | | | | Fix SimUtilsTest after changing in bcdToString.John Wang2010-09-081-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After changes in IccUtils.bcdToString() to ignore high nibble 'F' (see change #55090), the testBasic() need to be changed accordingly. Change-Id: If52a66b1c80b5d16af5bd3f431284e79012be300
* | | | | | Support MBCS characters in contacts and SMS messages that are stored in SIM ↵Sang-il, Lee2010-09-091-0/+24
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | cards. Change-Id: I0438c5748a47512fc2a0e4b89ac85e30e3f5c6de
* | | | | Added new method to format the phone number when neccessary.Bai Tao2010-08-301-4/+12
| | | | | | | | | | | | | | | | | | | | Change-Id: I90fb38c1d36dc1ccf7eaa3b4cc34cd29f5151493
* | | | | Merge "Add setRadioState to MockRilController and the corresponding test ↵Xia Wang2010-08-182-0/+35
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | case. Add test case for setRadioState command in Mock Ril"
| * | | | | Add setRadioState to MockRilController and the corresponding test case.Xia Wang2010-08-092-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test case for setRadioState command in Mock Ril Change-Id: I6934bc291f58743d98295b816600a6e7b980bdb1
* | | | | | resolved conflicts for merge of 31202b1a to masterJake Hamby2010-08-161-0/+194
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | Change-Id: Ia8ae32c5ebcd13843ed9cc82c80bf551b38e586f
| * | | | | am 3f442ece: Merge "Fix character count bug and Javadoc typos in SMS (with ↵Jake Hamby2010-08-131-0/+194
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test cases)" into gingerbread Merge commit '3f442ece257d416b48f7803a4cc263f0215faa0d' into gingerbread-plus-aosp * commit '3f442ece257d416b48f7803a4cc263f0215faa0d': Fix character count bug and Javadoc typos in SMS (with test cases)
| | * | | | Fix character count bug and Javadoc typos in SMS (with test cases)Jake Hamby2010-08-131-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a character count bug I discovered while working on related SMS bugs. Includes a new set of test cases to verify the fix for the buggy calculateLength() methods ("runtest frameworks-telephony"). You can also verify that the counter works properly in the Mms app by typing characters until the boundary is crossed where an additional message part is required. The counter should count down to 0 characters remaining before increasing the message count. Change-Id: I4de68b82dfc53dcae094865798f2c0235a355d43
* | | | | | Keep the '+' when normalizing the phone numberDmitri Plotnikov2010-08-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I24731735ed18dbc92a643a0d99d35a1b58be40c8
* | | | | | am edfe20c4: am c636b846: Merge "Enhance WspTypeDecoder to decode Content ↵John Huang2010-08-121-0/+853
|\ \ \ \ \ \ | |/ / / / / | | | / / / | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | Type Parameters" Merge commit 'edfe20c4bd04716420a47516959d7c0e3e0064f6' * commit 'edfe20c4bd04716420a47516959d7c0e3e0064f6': Enhance WspTypeDecoder to decode Content Type Parameters
| * | | | am c636b846: Merge "Enhance WspTypeDecoder to decode Content Type Parameters"John Huang2010-08-121-0/+853
| |\ \ \ \ | | |/ / / | |/| / / | | |/ / | | | | | | | | | | | | Merge commit 'c636b846160482fbebd9a3792d52b9ff864228f2' into gingerbread-plus-aosp * commit 'c636b846160482fbebd9a3792d52b9ff864228f2': Enhance WspTypeDecoder to decode Content Type Parameters
| | * | Enhance WspTypeDecoder to decode Content Type ParametersDan Griffin2010-08-021-0/+853
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables WspTypeDecoder to correctly parse content type parameters as described in the Wap230 WSP specifications (wap-230-wsp-20010705-a section 8.4.2.24) which are then passed on as part of the WAP_PUSH intent notification. It also recognises all Well Known WSP Content types, and simplifies their retrieval (i.e. a well known content type will always be available through the WspTypeDecoder.getValueString() method). Change-Id: I0eb3f9ac287aa7cb53312777c4be54b1939fa857
* | | Merge "Create Mock Ril Controller as a static library, Generate a simple ↵Xia Wang2010-08-024-0/+167
|\ \ \ | | | | | | | | | | | | test case using the controller, wrap tests uing mockril in a seperate package."
| * | | Create Mock Ril Controller as a static library,Xia Wang2010-08-024-0/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate a simple test case using the controller, wrap tests uing mockril in a seperate package. Change-Id: Iae9422ec30963aae79cc1b58e17df6cff16955c8
* | | | Added country based formatNumber methodsBai Tao2010-07-291-0/+23
|/ / / | | | | | | | | | | | | | | | | | | | | | a. Format the number to E164. b. Format the number based on country convention. c. Normailize the number. Change-Id: I39d59b99aa1a5136371dd20c74d9d9c8ec855369
* | | Initial MockRilUnitTest.Wink Saville2010-07-264-0/+278
| | | | | | | | | | | | Change-Id: I87d992b789f6fc28777f609b93497eed3053f560
* | | Revert to an uncompressed MccTable.Robert Greenwalt2010-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compressed MccTable didn't have enough space for all the timezones or languages in the world. We can remove the timezones entirely by looking up the timezone from the ICU data. Since there is not much to be gained from the binary format and it had real limitations we chose to revert it. Fixed a bug where the wifi channel was never being set. bug:2284210 Change-Id: If9ca89f7053f937f555430b061c60cd7eec86d8e
* | | am f3bfd841: am 98738272: Merge "Remove voice mail number verification for ↵Xia Wang2010-07-081-1/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | testing on no-sim device" into gingerbread Merge commit 'f3bfd841019b404f98a67fc307240031790344c9' * commit 'f3bfd841019b404f98a67fc307240031790344c9': Remove voice mail number verification for testing on no-sim device
| * | Remove voice mail number verification for testing on no-sim deviceXia Wang2010-07-071-1/+3
| | | | | | | | | | | | Change-Id: Iaf9e419b8d03e330864d64c05aee730d33994003
* | | Reimplement the PhoneNumberFormattingTextWatcherBai Tao2010-06-101-39/+188
| | | | | | | | | | | | | | | | | | | | | | | | a. Built the external/libphonenumberutil into the ext.jar. The file size increased 50K, the phone number meta file is 90K before the compression. b. Used the external/libphonenumberutil to format the phone number for about 200 countries. c. Beside the phone number formatting, the external/libphonenumberutil will also be used for phonenumber match and international dialing. Change-Id: Ie5165dc60d66e1eddab7134725a8d1d1c826434a
* | | Clean up APN notifications.Robert Greenwalt2010-06-091-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add APNType info to notifications so you can tell what's happening. Now, even if a new APN shares a connection with an already-connected-to- apn type, the new type will get all the connecting and connected messages on connect and disconnecting/disconnected on disconnect even though the shared connection remains connected. Cleaning out the hacks MobileDataStateTracker needed to deal with the old situation. bug:2226092 Change-Id: Iddd7421d6b91cda7c8405f9c3d5404ac04ef8e42
* | | am 1331ded8: am e28776bb: am b1110149: merge from open-source masterThe Android Open Source Project2010-05-131-0/+10
|\ \ \ | |/ /
| * | am b1110149: merge from open-source masterThe Android Open Source Project2010-05-131-0/+10
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | Merge commit 'b1110149cccc3b99e59ead34ca46e5ac026f6db9' into kraken * commit 'b1110149cccc3b99e59ead34ca46e5ac026f6db9': Use integer for loop counter instead of float New test in FrameworkTest for the VelocityTracker class Preserve '+' in phone numbers imported from SIM.
| | * merge from open-source masterThe Android Open Source Project2010-05-131-0/+10
| | |\ | | | | | | | | | | | | Change-Id: I88a580162b34a80d1e3e7987b7a301c253afa0e8
* | | | Fix some typos and move two .java files to the correct package directory.Jake Hamby2010-05-042-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix typos in comments in TelephonyProperties.java - Move two .java files in telephonytests to the correct package directory. Change-Id: Ie69da31c128899d149d4f5d5aababe8d017d8f18
* | | | Merge "Fix a few more Javadoc typos."Jake Hamby2010-05-041-1/+1
|\ \ \ \
| * | | | Fix a few more Javadoc typos.Jake Hamby2010-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Id43fe2551ef53c1a0a779c6101ea0bc7c23e1f93
* | | | | am 011056c2: am 7eb700e0: Merge "Fix test in PhoneNumberUtilsUnitTest.java, ↵Xia Wang2010-04-303-66/+23
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / combine it with PhoneNumberUtilsTest.java Rename CallerInfoUnitTest.java to CallerInfoTest.java and move to the corresponding directory" into kraken
| * | | Fix test in PhoneNumberUtilsUnitTest.java, combine it with ↵Xia Wang2010-04-303-66/+23
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | PhoneNumberUtilsTest.java Rename CallerInfoUnitTest.java to CallerInfoTest.java and move to the corresponding directory bug: 2644009 Change-Id: I1ecc09312f404e00bbf30befffb1811efe578cc3
* | | Spelling corrections and other minor cosmetic cleanups.Jake Hamby2010-04-152-8/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | - Fixed a bunch of typos in comments (plus a few variable names) - Removed unused import lines from telephony classes - Added @Override attribute to overriding methods - Made SmsMessage.PduParser inner class private & deleted unused constructor - Added type specifiers to declarations of ArrayList and HashMap - SimulatedCommands.getRegistrationState() had an ArrayIndexOutOfBoundsException trying to write to index 14 of a 14-element array. I removed the out-of-bounds assignment. Change-Id: I054b5156aa64ab6639028d5b45a7e688b2deee08
* | Allow the configuration string to have quotes.Wink Saville2010-03-051-3/+3
| | | | | | | | | | | | | | | | | | | | This makes properties easier to read so from: ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000 to this: ro.cdma.data_retry_config="default_randomization=2000,0,0,120000,180000" Change-Id: Ied2a7be0102512cd2ce528d566c19ed3a8e2f480
* | Suppress testCheckAndProcessPlusCode from continuous test system as testing ↵Xia Wang2010-03-041-1/+1
| | | | | | | | devices are not registered with any carrier networks.
* | Update Singapore default time zone.John Wang2010-03-031-1/+1
| | | | | | | | In MccTable, Singapore is marked as 'Asia/Singapore' instead of 'Singapore'.
* | Phase 2 of test cleanup: moving test files from AndroidTests closer to their ↵Neal Nguyen2010-01-295-0/+1306
| | | | | | | | | | | | | | | | | | sources. Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code: - database/DatabaseCursorTest.java - database/DatabaseStatementTest.java - net/UriTest.java
* | Moving framework core tests closer to their source files.Neal Nguyen2010-01-2718-53/+3830
|/ | | | Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.