Commit Graph

1074 Commits

Author SHA1 Message Date
Jeff Sharkey
0a9ee1272b Enable bandwidth module from stats service.
During systemReady(), tell netd to enable bandwidth tracking module,
which is used to provide detailed stats and controls.

Change-Id: Iecfd8b17a3b90f5a817d731fbe1c71777681ed6e
2011-06-22 21:44:12 -07:00
satok
8969d9924c Revert "Create TextServiceManager and SpellCheckerService"
This reverts commit eaddb89486.
2011-06-22 16:41:58 +09:00
satok
f86ee14f6a Merge "Create TextServiceManager and SpellCheckerService" 2011-06-22 00:02:55 -07:00
satok
c6080b3cc5 Merge "Add an ongoing notification to switch IME" 2011-06-21 23:09:00 -07:00
satok
7cfc0ed21a Add an ongoing notification to switch IME
Bug: 4671417
Change-Id: I2b9e955003c1f6703978824c947d5f322a039714
2011-06-22 15:08:08 +09:00
satok
eaddb89486 Create TextServiceManager and SpellCheckerService
Bug: 4176026

Spec of TextServiceManager
- Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..)
    for each locale

Spec of SpellCheckerService
- Returns whether the given string is a correct word or not
- Returns Suggestions for the given string

Change-Id: Ia25e7b4f308778891929e31b8cbd741f6848cce4
2011-06-20 23:00:30 +09:00
Jeff Sharkey
d03fd3f004 Persist "tagged" network stats along with UIDs.
Now stores tags other than TAG_NONE (0x0), which are useful for app
debugging.  Combine UID and tag together into single long key, and
expose tag data through AIDL when requested.  Change NMS to track
TAG_NONE as total UID traffic, matching the kernel definition.

Added TAG_MAX_HISTORY to control how long tag-granularity statistics
are stored; overall UID usage is still kept for UID_MAX_HISTORY.  Fix
bug to trim NetworkStatsHistory outside normal polling loops to catch
non-active networks and UIDs.

Test to verify UID and tag packing, and to verify that UID traffic on
two networks are combined to match MOBILE_ALL template.

Change-Id: If0e039416d9e7f63b1a39e04cddfb1133b5a78ee
2011-06-19 21:58:39 -07:00
Jeff Sharkey
1a81a16a96 Merge "Notify policy listeners about metered ifaces." 2011-06-17 16:57:28 -07:00
Jeff Sharkey
fdfef57f49 Notify policy listeners about metered ifaces.
Currently, kernel definition of metered networks is applied at the
interface level.  This change maintain list of those metered ifaces
and notifies policy listeners, like ConnectivityService.  (This gives
us a consistent picture of when a network would be blocked.)

Bug: 4601393
Change-Id: I277d5ca96ab967a1c1c3f1da8f9587557cd6d74c
2011-06-17 16:49:21 -07:00
RoboErik
ea07d5f23c Merge "Fix typo in docs link" 2011-06-17 15:28:13 -07:00
RoboErik
f92ccfb8b0 Fix typo in docs link
Change-Id: I411d250629b828d07dd7adbdb20da71f0c4722f2
2011-06-17 15:24:02 -07:00
RoboErik
dc4280419b Merge "Add docs for Calendars table" 2011-06-17 14:41:38 -07:00
RoboErik
f4010c5768 Add docs for Calendars table
Change-Id: I4e445f730a4330f7c570efadb3051d28ca050402
2011-06-17 14:29:28 -07:00
Daisuke Miyakawa
18cc57fb93 Merge "Add API for auto-complete ranking improvement." 2011-06-17 13:10:40 -07:00
RoboErik
59dab49cb8 hide CalendarMetaDataColumns
Change-Id: I248b608cfdac51b8fe2ccc36fa1701c3f1915849
2011-06-17 11:09:36 -07:00
RoboErik
29ddc3bc27 Merge "Adds more docs to classes in CalendarContract" 2011-06-16 15:44:08 -07:00
RoboErik
3771fcbc19 Adds more docs to classes in CalendarContract
Change-Id: I73d93a6a823100394a707e6b85de40fc6e242c03
2011-06-16 15:41:31 -07:00
RoboErik
da67237225 Merge "Add DroidDocs to Events class" 2011-06-16 13:51:16 -07:00
RoboErik
fe37b49dd4 Add DroidDocs to Events class
Change-Id: I85b14e8a553a1bc160d05a9f076d4aea77e9a39f
2011-06-16 13:40:02 -07:00
Jeff Sharkey
ad4c9ed7de Merge "DownloadManager flags for network policy." 2011-06-16 13:39:02 -07:00
Jeff Sharkey
1a30395358 DownloadManager flags for network policy.
Handful of DownloadManager flags to record when a download was paused
because of NetworkPolicyManager rules.

Change-Id: I99fc47f529cb6c8a42dbeca049e0cd0f1556eac4
2011-06-16 13:04:34 -07:00
Martijn Coenen
554344ee74 Merge "Added vcard query parameter for not attaching photo." 2011-06-15 13:31:53 -07:00
Debashish Chatterjee
45d937ed0a Merge "Modified Voicemail.SOURCE_DATA value to match with the constant name." 2011-06-15 10:45:03 -07:00
Daisuke Miyakawa
e0a8aabd79 Add API for auto-complete ranking improvement.
- primary account (3510087)
- per-method ranking (4371572)

Primary account enables to ContactsProvider to prioritize
email addresses associated with the account.

Per-method ranking enables ContactsProvider to get feedback
from applications about usage per method instead of that per
person.

Both should be available for unbundled applications.

Bug: 3510087
Bug: 4371572
Change-Id: Icb01415317a7dbb6538804181b06bd973af6205c
2011-06-15 08:41:42 -07:00
Martijn Coenen
037d3ffa20 Added vcard query parameter for not attaching photo.
Change-Id: Ia4968ba54d00c368240f50fa43bcc647ccf2c199
2011-06-15 16:07:22 +02:00
Debashish Chatterjee
7658408160 Modified Voicemail.SOURCE_DATA value to match with the constant name.
Change-Id: I3a83b553ace640a91cd07e89785d52d5b7cd86ca
2011-06-15 13:22:34 +01:00
RoboErik
bec6c36b96 Rename Calendar.java to CalendarContract.java
Change-Id: Iadb22f39d1cb3d57d1636360df24ef484a9edb58
2011-06-14 11:39:35 -07:00
Daisuke Miyakawa
a7932ae77e Merge "Fix commment" 2011-06-14 11:30:47 -07:00
Daisuke Miyakawa
52e3823bd7 Fix commment
Change-Id: I26ea16636356c1473bf8745247b43fa9dac611c3
2011-06-14 10:56:46 -07:00
RoboErik
b2e9cde84b Merge "Update Calendar main comment" 2011-06-14 10:27:12 -07:00
RoboErik
260598d0cf Update Calendar main comment
Change-Id: I5fbbf8d6830a8fdecde2f74b51420bfede87cde9
2011-06-14 10:26:41 -07:00
Mike Lockwood
fa77931784 Merge "Settings: Remove unused USE_PTP_INTERFACE setting" 2011-06-13 19:50:37 -07:00
Mike Lockwood
1324f22d8d Settings: Remove unused USE_PTP_INTERFACE setting
Change-Id: I743b81379053caece38c19c59bc76d6cda763d45
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-13 22:21:01 -04:00
RoboErik
0025860b61 Remove @hide on SyncColumns, make them protected
Change-Id: I375f6ca9a0ebe03b256bdb089c943571d06c9e6d
2011-06-13 13:47:59 -07:00
RoboErik
b2c75603b3 Make interfaces protected so they get included in api
Private interfaces do not get included in the api for classes
that implement them. We need to make them at least protected
before they will show up in the apis.

Change-Id: Ie90d2b58c7f123e734f0a6af5ec6402be6984f82
2011-06-13 12:53:48 -07:00
Debashish Chatterjee
492208439d Merge "Made VoicemailContract classes non-instantiable." 2011-06-13 02:10:32 -07:00
Jeff Sharkey
39ebc2195e Persist UID stats, lazy loading, resize buckets.
Persisting detailed UID stats in separate "netstats_detail.bin" file
to enable different schedules for summary and detail polling.  Only
load detailed UID history on demand, since it's not needed during
boot.  Add test to verify UID stats are persisted across simulated
reboot.

Move external settings into well-named interface, which is still
backed by Settings.Secure.  During periodic poll events, resize any
history to match current bucket duration setting.  Test to verify.

Change-Id: I6366f3583a591f8ba859b0e5987daf8cafa4e95a
2011-06-11 17:55:56 -07:00
RoboErik
9734df5f0c Upgrade of Calendar db to 305
Name changes for db upgrade and reorganization for easier
referencing of calendar/event columns.

Change-Id: Ic892729e1fa11c7971d99ec17d930db9300d44e9
2011-06-10 10:58:31 -07:00
Debashish Chatterjee
d868be588b Made VoicemailContract classes non-instantiable.
Change-Id: I35539e5b293412f4f11b0bc062d754f813d4168e
2011-06-10 16:20:31 +01:00
Debashish Chatterjee
64c99171e8 Merge "Voicemail provider contract definition." 2011-06-10 04:42:32 -07:00
Debashish Chatterjee
489d2d546a Merge "Voicemail related fields in calllog provider." 2011-06-10 04:38:07 -07:00
Daisuke Miyakawa
92a1af5498 Merge "Add return value spec and fix typo." 2011-06-09 16:34:10 -07:00
Andy McFadden
e1a255a89f Merge "Use public constants" 2011-06-09 16:08:16 -07:00
Andy McFadden
6f5b455045 Use public constants
Some of the internal doc references were using non-public ways to
get at constants.

Bug 4575374

Change-Id: I4884d8db964950d92b3f26634724b201674bea8c
2011-06-09 15:43:59 -07:00
Daisuke Miyakawa
63b709d9c6 Add return value spec and fix typo.
Bug: 4371572
Change-Id: I4906a8f337dee855ef753e65eb69bdb02b1a0d72
2011-06-09 13:56:16 -07:00
Dave Santoro
432513380e API modifications to handle profiles in Contacts.
The user's profile is represented as a single Contact, comprised of
Raw Contacts which may be contributed from any accounts the user has on the
system.

Two new permissions have been added: READ_PROFILE and WRITE_PROFILE.  These are
required for reading or writing any contact data that is designated as part of
the user's profile.

Contact queries can include the user's profile data by setting the
include_profile URI parameter to 1 (this requires READ_PROFILE access).  By
default, the user's profile data will not be included in any Contact queries.

Change-Id: I25616f59622dbb157032c9c435064eb36af6e8e1
2011-06-09 11:04:12 -07:00
Andy McFadden
8fdb1e601e Merge "Add a URI for recurring event exceptions" 2011-06-09 07:37:07 -07:00
Jake Hamby
d4f1bacca5 resolved conflicts for merge of 7ca13deb to master
Change-Id: If34814d6c70cf63eca9bd816845389f6785518ae
2011-06-08 23:20:09 -07:00
Daisuke Miyakawa
b2b651f16d Introduces new Contacts API for ranking promotion.
The usage feedback will be used for achieving per-method
(email address, phone number) ranking improvement.

Bug: 4371572
Change-Id: I602c0b83afca674904946f59bbdfc4dca07d46e4
2011-06-08 19:53:55 -07:00
Andy McFadden
4a8c478dfa Add a URI for recurring event exceptions
Part of a larger Calendar provider change.

Bug 4473786

Change-Id: I0cb4260ea590da0c48b55d0ca3ee586e00d37b36
2011-06-08 14:59:51 -07:00