summaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
...
* | Complete event registration in CallManager.John Wang2010-09-141-8/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Originally CallManager registers for all phone events provided by registerFor interface, which will cause error msg such as "registerForXXX() in PhoneBase should not be called, CDMAPhone inactive." for CDMA only events. Register for those events only if phone is CDMA phone. 2. Add registerForPostDialCharacter(). Note, we can't use notifyRegistrants() in handler since we need send the character that is being processed in msg.arg1. Change-Id: I48037c8a8e225bb82e203836a041f81f2445f4d8
* | Unhide GsmCellLocation.getPsc().jsh2010-09-141-1/+3
| | | | | | | | | | bug: 2465036 Change-Id: If071c4e0f1f3484c010ec908b02800361cbf8a86
* | Merge "Return immutable copies of private callList." into gingerbreadJohn Wang2010-09-141-7/+7
|\ \ | |/ |/|
| * Return immutable copies of private callList.John Wang2010-09-131-7/+7
| | | | | | | | Change-Id: I3da97acf89e044515e98fa04233dd378c32c250d
* | SipAudioCall: use SipErrorCode instead of string in onError()Hung-ying Tyan2010-09-141-2/+2
| | | | | | | | | | | | and fix callback in setListener(). Change-Id: Ic2622df992a2ad45cb1e3f71736f320897ae8fb3
* | SipService: deliver connectivity change to all sessions.Hung-ying Tyan2010-09-141-3/+6
|/ | | | | | | | | + add DATA_CONNECTION_LOST to SipErrorCode + convert it to Connection.DisconnectCause.LOST_SIGNAL in SipPhone http://b/issue?id=2992548 Change-Id: Ie8983c1b81077b21f46304cf60b8e61df1ffd241
* SIP: enhance timeout and registration status feedback.Hung-ying Tyan2010-09-132-1/+3
| | | | | | | http://b/issue?id=2984419 http://b/issue?id=2991065 Change-Id: I2d3b1dd3a70079ff347f7256f4684aea07847f4e
* SIP: remove dependency on javax.sip.SipException.Hung-ying Tyan2010-09-132-3/+1
| | | | Change-Id: I77d289bef1b5e7f1ec0c0408d0bbf96c21085cd7
* Merge "Register ServiceStateChanged to CallManager." into gingerbreadJaikumar Ganesh2010-09-101-5/+14
|\
| * Register ServiceStateChanged to CallManager.John Wang2010-09-101-5/+14
| | | | | | | | Change-Id: I216bac222e1bfd93ad36c0aeafa85c232dd60abe
* | Fix bug 2972138 Lost cell data connection and didn't get it back, DO NOT MERGE.Wink Saville2010-09-101-4/+2
| | | | | | | | | | | | | | | | The problem was ConnectvityService was not notified if a permanent error occurs on the default apn. bug: 2972138 Change-Id: I7be17061695ae2ba3571d70f24dcc4fe96d9ede9
* | SIP: add SipErrorCode for error feedback.Hung-ying Tyan2010-09-102-7/+24
|/ | | | Change-Id: I8b071d4933479b780a403d0bfa30511f4c23ca8f
* Add hangupForegroundResumeBackground().John Wang2010-09-081-0/+27
| | | | | | | | To fix bug 2968310. Handle the operation of hangupForegroundResumeBackground while foreground call and background call come from different phones. Change-Id: Id83ca1b75031a8391c95c7f8b2be40e9067dd4cd
* Allow incoming SMS until internal storage is almost full.Jake Hamby2010-09-086-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 2382830: new incoming SMS should not be rejected when running low on internal phone storage. Testing revealed that the /data partition should have at least 256 KiB available in order to prevent random app crashes (including system apps) due to SQLite transaction failures. With 256 KiB free, the device should safely boot without storage full errors. This takes into account the 36-40 KiB that the YAFFS2 filesystem reports as available even after the partition has been completely filled. I've set the default full threshold to 1 MiB to provide a generous safety margin. For this bug, I changed the DeviceStorageMonitorService demon to send two new hidden notifications for device storage "full" and "not full", when the free space falls below the full threshold (default 1 MiB, but configurable as a system setting), in addition to the existing storage low/okay notifications sent when the storage crosses the threshold of 90% full (also configurable). The SMS code was changed to use these new notifications so that it can accept messages until the data partition has been filled to the maximum safe capacity rather than stopping when it hits 90% full. There should be no negative impact on battery life because the additional check in the storage polling service should be offset by an optimization to cache the free threshold values which were previously being computed every time through the loop. While testing this change, I discovered that SMSDispatcher was being instantiated twice, the first time in GSMPhone/CDMAPhone, and the second time in SimSmsInterfaceManager / RuimSmsInterfaceManager. Changed the code to pass the original SMSDispatcher to the Sim/RuimSmsInterfaceManager constructor. Change-Id: Ie0c6d05294778ab6ee42e0fa01313af96d824c77
* Fix the dialing from contact for internet address.Chung-yih Wang2010-09-081-1/+1
| | | | | | the bug is http://b/issue?id=2982290 +Log outbound proxy address if exists for debugging.
* Merge "SipPhone: switch to its own phone type PHONE_TYPE_SIP." into gingerbreadHung-ying Tyan2010-09-071-2/+1
|\
| * SipPhone: switch to its own phone type PHONE_TYPE_SIP.Hung-ying Tyan2010-09-071-2/+1
| | | | | | | | Change-Id: Ie33cfe92e59665864dbebbb38895e8e85f6db2e6
* | Fix the build.Chung-yih Wang2010-09-061-1/+1
| | | | | | | | Change-Id: Icfeec3372dcde30723c49565649be03a4dd33c06
* | Add equals() funcation for SipPhone.Chung-yih Wang2010-09-061-0/+4
|/ | | | | | Since we will use sipuri to match the same phone object. Change-Id: I582779e51e447bb8d822c105cf0d682651c138d2
* Merge "Add API to get all foreground calls." into gingerbreadJohn Wang2010-09-031-2/+9
|\
| * Add API to get all foreground calls.John Wang2010-09-021-2/+9
| | | | | | | | Change-Id: I38293b2d7841f5d8708a7b9b516f686ab15de2b1
* | More SharedPreferences commit() -> apply() changes.Brad Fitzpatrick2010-09-034-5/+5
|/ | | | Change-Id: Ibc844d72d463434722a349f5bbc02889a9feb0ee
* CallManager: remove unused Phone argument from stopDtmf() and sendBurstDtmf()Hung-ying Tyan2010-08-251-3/+3
| | | | Change-Id: Ib0c83c373580f7be9cb1ee262cd0098c70db9c64
* Add confcall management to SIP callsHung-ying Tyan2010-08-244-76/+97
| | | | | | | | | and fix the bug of re-assigning connectTime's in SipConnection, and adding synchronization for SipPhone to be thread-safe, and set normal audio mode when call not on hold instead of on hold in SipAudioCallImpl, and fix re-entrance problem in CallManager.setAudioMode() for in-call mode. Change-Id: I54f39dab052062de1ce141e5358d892d30453a3a
* am 3158cf68: Change CDMAPhone.getDeviceId to return MEID or ESN.Wink Saville2010-08-202-3/+8
|\ | | | | | | | | | | | | Merge commit '3158cf689f4994ec53c3b727f9b6ad7751a5551b' into gingerbread * commit '3158cf689f4994ec53c3b727f9b6ad7751a5551b': Change CDMAPhone.getDeviceId to return MEID or ESN.
| * Change CDMAPhone.getDeviceId to return MEID or ESN.Wink Saville2010-08-202-3/+8
| | | | | | | | | | | | | | This allows devices with only ESN's to work. bug: 2938223 Change-Id: I33939151c59f598b939e73d98f1178669d6ceb75
* | Merge "DO NOT MERGE Fixing Connectivity" into gingerbreadRobert Greenwalt2010-08-204-3/+7
|\ \
| * | DO NOT MERGE Fixing ConnectivityRobert Greenwalt2010-08-204-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Passing Gateway addr info from telephony into ConnectivityService so it can add/remove the default route as needed. Fixed differently on master. bug:2927822 Change-Id: I9a3ee7cd23c4717e7c60098f0595aa3f77c44b15
* | | Cosmetic cleanups to SMSDispatcher classes.Jake Hamby2010-08-193-62/+45
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaned up some typos and other small fixes in SMSDispatcher in preparation for checking in my SMS bug fixes. This change doesn't fix any bugs, but it shouldn't introduce any either. - Removed unused import statements - Removed unused private constants and fields - Fixed typos in Java comments and private constants - Added generic type parameter to mSTrackers ArrayList - Removed unnecessary casts - Fixed indentation of mResultReceiver in SMSDispatcher - Removed call to get unused smsc in CDMA sendSMS() - Changed "|=" to "=" in boolean assignment where the variable was initialized to false (thus the two operators are equivalent) Change-Id: Ic19a63a7ef5cdccc7be86043c2a1b863ec8af652
* | CallManager: add setAudioMode()Hung-ying Tyan2010-08-181-4/+29
| | | | | | | | | | | | | | | | | | When in a call, different audio modes need to be applied based on phone type. (For example, SIP call needs to be in MODE_NORMAL while GSM call in MODE_IN_CALL.) Originally, it's handled in PhoneUtils.setAudioMode(). It makes more sense now to handle the actual logic in CallManager. Change-Id: I58d8f31d6b4afe22f88da442daac2010781de801
* | SIP: implement conference callHung-ying Tyan2010-08-182-5/+51
| | | | | | | | Change-Id: Ifd420ed95e77e744c6aff28ac63e7363f97d9dc6
* | CallManager: do not deliver ring event if fg call is live.Hung-ying Tyan2010-08-171-1/+4
| | | | | | | | Change-Id: If5b1bca1f09557a2ee4de9ba429d80a0393279a0
* | Fix character count bug and Javadoc typos in SMS (with test cases)Jake Hamby2010-08-136-23/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix typo and bug in CTS test class.Jake Hamby2010-08-132-2/+1
| | | | | | | | | | | | | | - Fix Javadoc typo in PhoneSubInfo.java - Fix ArrayIndexOutOfBoundsException in SimulatedCommands.java Change-Id: I40dcd52cf9d6990f1f845fca5c1d61cdff93f4d7
* | Update switch call and accept call.John Wang2010-08-124-8/+122
| | | | | | | | Change-Id: Ifdd1af77e3eca08f6c931605ecfb275835b78709
* | SIP: remove unused file.Hung-ying Tyan2010-08-112-750/+1
| | | | | | | | Change-Id: Ifb3582da888926e62775a73a6b3080d15f1c3e42
* | Fix a bug in unregisterPhone().Chung-yih Wang2010-08-111-1/+1
| | | | | | | | Change-Id: Ifaef66d45043dc5376688a77f9d18124a9c29576
* | Add getSipUri() for identification.Chung-yih Wang2010-08-111-0/+4
| | | | | | | | Change-Id: Iabffd38ad554c34a34977c833e6699747cbf0f63
* | SIP: clean up unused class and fields.Hung-ying Tyan2010-08-101-2/+0
| | | | | | | | Change-Id: I79ed7fb324fea9a52946340055b5ea1d389a926a
* | PhoneFactory: add makeSipPhone()Hung-ying Tyan2010-08-092-32/+25
| | | | | | | | Change-Id: I8e7abb0623724d24c6f82829ff06663a31ba32fb
* | CallManager: add getAllPhones().Hung-ying Tyan2010-08-091-0/+9
| | | | | | | | Change-Id: I50589aaec55925d93c392f15a22c70d2a6634b87
* | Revert "Revert "Move SIP telephony related codes to framework.""Chung-yih Wang2010-08-0510-0/+3256
| | | | | | | | | | | | This reverts commit cde66df44240cfe5a7bec12ac52464c3bf26c14f. Change-Id: I87da883b45350ec8f7da71e9bd392b075ea30ca7
* | Revert "Move SIP telephony related codes to framework."Chung-yih Wang2010-08-0510-3256/+0
| | | | | | | | This reverts commit b631dcf3eb449ddec756bea330f4e70b996ffb9e.
* | Move SIP telephony related codes to framework.Chung-yih Wang2010-08-0510-0/+3256
| | | | | | | | | | | | + hardcode the sip service for build dependency. Change-Id: Ib0e9717c9b87eb6e06ffa3a7b01ae31184de61bb
* | Merge "Add register methods in CallManager "do not merge"" into gingerbreadJohn Wang2010-08-043-58/+296
|\ \
| * | Add register methods in CallManager "do not merge"John Wang2010-08-023-58/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from master. Add register methods used by PhoneApp into CallManager class. For most register methods, CallManager acts as an pass-through register to handle register and unregister phone case. Change-Id: I9567c2dbffb9e482b906f94c2d991a404ad4626e
* | | Add support for PSC of serving cell.jsh2010-08-032-3/+32
|/ / | | | | | | Bug: 2465036
* | Handle call list in CallManager "do not merge".John Wang2010-08-021-62/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from master. Update APIs to access foregroudCalls, backgroudCalls, and ringingCalls * 1. APIs to access list of calls * 2. APIs to check if any active call, which has connection other than * disconnected ones, pleaser refer to Call.isIdle() * 3. APIs to return first active call * 4. APIs to return the connections of first active call * 5. APIs to return other property of first active call Change-Id: Ic30e28018d14e496e9427f96fec8a7c2ff7c1549
* | Create CallManager class "do not merge"John Wang2010-08-021-0/+822
| | | | | | | | | | | | | | Cherry-pick from master. Initial check-in to support multiple call channels. Change-Id: I387bab4d69ee38d738c5e0e0a51f1ac6607b9759
* | am c69f5be0: Add PhoneSubInfo.getCompleteVoiceMailNumber.Wink Saville2010-08-025-3/+53
|\ \ | |/ | | | | | | | | | | Merge commit 'c69f5be0ed3529564e5db6874de52775c2c99007' into gingerbread * commit 'c69f5be0ed3529564e5db6874de52775c2c99007': Add PhoneSubInfo.getCompleteVoiceMailNumber.