summaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
* Add state saving mechanism to support proc restartHung-ying Tyan2009-07-308-102/+253
| | | | | | | | | | | | | | | | | Also... + stop daemons before getting server IP; + remove setForeground(); + add the DBG flag for Log.d calls. PatchSet 3: + add CHALLENGE_ERROR and REMOTE_HUNG_UP to VpnManager + broadcast new error codes in VpnService + check local IP change instead of dns change + move removeStates() to VpnService.onFinalCleanUp() PatchSet 7: + add encryption flag to PptpProfile + PptpService and MtpdHelper are revised accordingly
* Fix bug 2017664Jean-Michel Trivi2009-07-291-31/+31
| | | | | | | | | Removed the TTS_ prefix in the TextToSpeech class to follow the standard naming convention. Moved the TTS-related intents from the Intent class to TextToSpeech and TextToSpeech.Engine. Renamed the TextToSpeech.Engine constants that are used as extras for the ACTION_TTS_CHECK_TTS_DATA intent to prefix them with EXTRA_. Cleaned up the other TextToSpeech.Engine constant to remove superfluous mentions of "TTS" in the name.
* Merge change 8806 into donutAndroid (Google) Code Review2009-07-2817-187/+11
|\ | | | | | | | | * changes: Mark the the airplane mode internal strings as not translatable.
| * Mark the the airplane mode internal strings as not translatable.Eric Fischer2009-07-2817-187/+11
| | | | | | | | Bug 2017552
* | Fixing bug #2008185 - problem with the TTS droppingCharles Chen2009-07-271-8/+13
|/ | | | | | | utterances under heavy load was caused by the speech queue being locked. Switched to using a timeout with tryLock so that the TTS service does not give up immediately.
* Simplify the VPN service implementation.Hung-ying Tyan2009-07-279-740/+370
| | | | | | | | | | | | | + Remove NormalProcessProxy and ProcessProxy as they are not used anymore. + Rename AndroidServiceProxy to DaemonProxy and simplify its implementation as it does not extend to ProcessProxy anymore. + Execute connect() in VpnService in one thread, which simplifies socket and error handling. + Modify service subclasses accordingly. + Execute connect() and disconnect() in VpnServiceBinder so that the operations do not block the UI thread. Mark service as foreground only upon connecting.
* Increase the volume of the AudioTrack instance used for the speech synthesis.Jean-Michel Trivi2009-07-211-0/+1
|
* Merge change 8073 into donutAndroid (Google) Code Review2009-07-212-28/+37
|\ | | | | | | | | * changes: Reset the speech synth singleton to null when the service is destroyed so it can be recreated when the service is initialized. In the interface with the native synthesizer library, close the lib in the finalizer, delete the global ref to the SynthProxy java object.
| * Reset the speech synth singleton to null when the service is destroyedJean-Michel Trivi2009-07-212-28/+37
| | | | | | | | | | | | so it can be recreated when the service is initialized. In the interface with the native synthesizer library, close the lib in the finalizer, delete the global ref to the SynthProxy java object.
* | Merge change 8061 into donutAndroid (Google) Code Review2009-07-211-0/+3
|\ \ | |/ |/| | | | | * changes: Throw a connecting exception when timed out.
| * Throw a connecting exception when timed out.Hung-ying Tyan2009-07-221-0/+3
| |
* | Make sure the speech synthesizer proxy is a singleton in the TTS service.Jean-Michel Trivi2009-07-211-29/+31
|/
* Prevent the setLanguage() method in TextToSpeech to change the languageJean-Michel Trivi2009-07-202-6/+20
| | | | | | | | for all current TextToSpeech instances by only caching the language value so it is used with each subsequent utterance for this instance. Synchronize calls to the engine around a global mutex since the engine isn't thread-safe, except for the stop() call which is meant to interrupt the synthesis loop.
* Merge change 7833 into donutAndroid (Google) Code Review2009-07-201-1/+1
|\ | | | | | | | | * changes: Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)
| * Fixing the random audio mangling problem (TTS becomes incomprehensibly fast)Charles Chen2009-07-181-1/+1
| |
* | Stop a daemon before starting itHung-ying Tyan2009-07-192-0/+8
|/ | | | in case the daemon is not cleaned up in last session.
* Merge change 7829 into donutAndroid (Google) Code Review2009-07-171-18/+24
|\ | | | | | | | | * changes: Making sure that there are no calls made to the native TTS layer if the utterance is in the process of being canceled.
| * Making sure that there are no calls made to the native TTSCharles Chen2009-07-171-18/+24
| | | | | | | | layer if the utterance is in the process of being canceled.
* | Merge change 7819 into donutAndroid (Google) Code Review2009-07-171-3/+2
|\ \ | | | | | | | | | | | | * changes: Fix NullPointer in VpnServiceBinder.checkStatus().
| * | Fix NullPointer in VpnServiceBinder.checkStatus().Hung-ying Tyan2009-07-181-3/+2
| | |
* | | Remove obsolete playBuffer() method from the text-to-speech SynthProxy class.Jean-Michel Trivi2009-07-172-32/+0
| |/ |/|
* | Delete global ref to the weak reference to the SynthProxy in theJean-Michel Trivi2009-07-161-0/+1
| | | | | | | | | | native_finalize function, that was created in native_setup to prevent leaking refs.
* | Update youtube bookmarkJim Miller2009-07-161-2/+2
| |
* | Fixing a race condition that causes synthesis to not be abortedCharles Chen2009-07-161-2/+13
|/ | | | even if stop is called.
* Merge change 7356 into donutAndroid (Google) Code Review2009-07-151-20/+73
|\ | | | | | | | | * changes: Fixing a bug in how stop works - keep stop from always stopping the currently speaking item if that item does not belong to the app that is trying to do the stop.
| * Fixing a bug in how stop works - keep stop from always stoppingCharles Chen2009-07-141-20/+73
| | | | | | | | | | | | | | | | the currently speaking item if that item does not belong to the app that is trying to do the stop. Also adds back the functionality of globally stopping speech that was lost when utterance IDs were added (needed by screen reader).
* | Making sure that the audio buffers for speech are clearedCharles Chen2009-07-141-3/+8
|/ | | | so that there are no leftovers which could cause mangled output.
* Cleaning up TtsServiceCharles Chen2009-07-141-42/+38
|
* Merge change 7064 into donutAndroid (Google) Code Review2009-07-141-17/+62
|\ | | | | | | | | * changes: Implementing utterance ID callbacks for silence and pre-recorded files (both generating and playing).
| * Implementing utterance ID callbacks for silence and pre-recorded filesCharles Chen2009-07-131-17/+62
| | | | | | | | (both generating and playing).
* | Merge change 7069 into donutAndroid (Google) Code Review2009-07-142-5/+8
|\ \ | |/ |/| | | | | * changes: Make VPN connect even when DNS is not present and other fixes.
| * Make VPN connect even when DNS is not present and other fixes.Hung-ying Tyan2009-07-142-5/+8
| | | | | | | | | | | | | | | | * Changes: + As title. + Add two new states to VpnState: UNKNOWN and UNUSABLE. + Add more debug messages when stopping a service and when DNS being overridden.
* | Merge change 7008 into donutAndroid (Google) Code Review2009-07-131-23/+43
|\ \ | | | | | | | | | | | | * changes: Adding Utterance ID to the TtsService.
| * | Adding Utterance ID to the TtsService.Charles Chen2009-07-131-23/+43
| | |
* | | Merge change 6968 into donutAndroid (Google) Code Review2009-07-1332-0/+680
|\ \ \ | |/ / |/| | | | | | | | * changes: Import new translations
| * | Import new translationsEric Fischer2009-07-1332-0/+680
| | |
* | | Propagate optional audio stream type to the creation of the audio resourcesJean-Michel Trivi2009-07-133-26/+67
|/ / | | | | | | to enable the playback of TTS content on various stream types.
* | Merge change 6880 into donutAndroid (Google) Code Review2009-07-131-17/+22
|\ \ | |/ |/| | | | | * changes: Fixing TTS breakage.
| * Fixing TTS breakage.Charles Chen2009-07-101-17/+22
| |
* | Remove host IP from related VPN classes.Hung-ying Tyan2009-07-134-49/+2
| | | | | | | | ...since the daemon (racoon) gets the information by itself.
* | Add error code in vpn connectivity broadcast.Hung-ying Tyan2009-07-134-47/+114
|/ | | | | | | | | | | | | | | * Changes + Add VpnConnectingError.java. + Broadcast the error returned by daemons. + Add error codes to VpnManager.java. + Add error code to VpnManager.broadcastConnectivity(). Patch Set 4: + Replace VPN_UP with VPN_STATUS in response to ip-up-vpn changes. + Make VpnServiceBinder a foreground service so that it won't be interrupted by the system. Patch Set 5: + Remove the support of returning 0 from daemon and restart socket in AndroidServiceProxy.
* Use the TTS queue constants in the TTS service as defined in theJean-Michel Trivi2009-07-101-13/+13
| | | | TextToSpeech class.
* Adding tagging to utterances to track which app said what.Charles Chen2009-07-101-55/+64
|
* Merge change 6639 into donutAndroid (Google) Code Review2009-07-093-23/+100
|\ | | | | | | | | * changes: Restore audio settings and wifi.
| * Restore audio settings and wifi.Amith Yamasani2009-07-093-23/+100
| | | | | | | | | | | | | | | | Optimize backups by writing an entity only if the checksum of the data has changed. Call into the hidden AudioService API to apply changed audio settings. After restoring wifi data, make sure that the permissions and ownership are set properly for the supplicant process to access it. Locale isn't restoring properly - TODO added.
* | Unbreaking the build.Charles Chen2009-07-091-3/+0
| |
* | Merge change 6583 into donutAndroid (Google) Code Review2009-07-091-11/+36
|\ \ | | | | | | | | | | | | * changes: Adding a lock to stop so that stop will stop utterances that are just starting up.
| * | Adding a lock to stop so that stop will stop utterancesCharles Chen2009-07-091-11/+36
| |/ | | | | | | that are just starting up.
* | Move the watchdog timer to a separate thread...Hung-ying Tyan2009-07-091-14/+21
|/ | | | so that it won't block the UI thread.
* Merge change 6437 into donutAndroid (Google) Code Review2009-07-073-15/+74
|\ | | | | | | | | * changes: Backup / Restore locale preference.