Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gingerbread #2

Open
wants to merge 4 commits into
base: gingerbread
Choose a base branch
from
Open

Gingerbread #2

wants to merge 4 commits into from

Conversation

GodFox
Copy link

@GodFox GodFox commented Nov 7, 2011

Finish the translation of Chinese

GodFox added 4 commits November 6, 2011 15:19
Change-Id: I4e3ce686c39a4be7d84a9941791aa7f5aacd7f6e
Change-Id: I113228ca2bbc9d17ecba215313ff6e756f790830
Change-Id: I8def1d7bd50305e689797d799e7739c7f0a8c2c3
tpruvot pushed a commit that referenced this pull request Dec 8, 2011
Also improve history formatting
Here's a smaple of what it looks like:

Detailed Statistics (Recent history):  20  40s
-------------------------------------------------------------------------------------
  com.android.contacts                                        : 9/45%      11/27%
    [email protected]/com.google                            :   3/15%      4/11%
    [email protected]/com.google                            :   3/15%      3/9%
    [email protected]/com.google                             :   3/15%      2/6%
-------------------------------------------------------------------------------------
  gmail-ls                                                    : 6/30%      22/56%
-------------------------------------------------------------------------------------
  com.android.calendar                                        : 3/15%      5/14%
    [email protected]/com.google                            :   1/5%       4/12%
    [email protected]/com.google                            :   1/5%       0/0%
    [email protected]/com.google                             :   1/5%       0/0%
-------------------------------------------------------------------------------------
  com.google.android.apps.plus.content.EsGooglePhotoProvider  : 2/10%      0/1%
    [email protected]/com.google                            :   1/5%       0/1%
    [email protected]/com.google                            :   1/5%       0/0%
-------------------------------------------------------------------------------------

Recent Sync History
  #1  : 2011-09-23 15:18:35   SERVER    0.8s  [email protected]/com.google   gmail-ls
  #2  : 2011-09-23 15:17:56   SERVER    1.3s  00:38
  zsol#3  : 2011-09-23 15:17:52   SERVER    4.6s  00:04
  #4  : 2011-09-23 15:17:45   SERVER    1.7s  00:06
  #5  : 2011-09-23 15:16:51    LOCAL    0.8s  [email protected]/com.google  com.android.contacts
  #6  : 2011-09-23 15:16:51    LOCAL    0.7s  [email protected]/com.google   com.android.contacts
  #7  : 2011-09-23 15:16:50    LOCAL    0.7s  [email protected]/com.google  com.android.contacts
  #8  : 2011-09-23 15:15:35    LOCAL    0.7s  [email protected]/com.google   com.android.contacts
  #9  : 2011-09-23 15:15:34    LOCAL    0.8s  [email protected]/com.google  com.android.contacts
  #10 : 2011-09-23 15:15:33    LOCAL    1.9s  [email protected]/com.google  com.android.contacts
  #11 : 2011-09-23 15:14:37    LOCAL    1.3s  [email protected]/com.google   com.android.contacts
  #12 : 2011-09-23 15:14:35    LOCAL    2.0s  [email protected]/com.google  com.android.contacts
  #13 : 2011-09-23 15:14:32    LOCAL    2.2s  [email protected]/com.google  com.android.contacts
  #14 : 2011-09-23 15:13:41   SERVER    1.3s  [email protected]/com.google   gmail-ls
  #15 : 2011-09-23 15:13:34    LOCAL    0.3s  [email protected]/com.google   com.android.calendar
  #16 : 2011-09-23 15:13:34    LOCAL    0.4s  [email protected]/com.google  com.android.calendar
  #17 : 2011-09-23 15:13:33   SERVER    0.1s  [email protected]/com.google  com.google.android.apps.plus.content.EsGooglePhotoProvider
  #18 : 2011-09-23 15:13:33   SERVER    0.5s  [email protected]/com.google  com.google.android.apps.plus.content.EsGooglePhotoProvider
  #19 : 2011-09-23 15:13:29    LOCAL    4.9s  [email protected]/com.google  com.android.calendar
  #20 : 2011-09-23 15:13:28   SERVER   13.1s  [email protected]/com.google   gmail-ls

Change-Id: Idc904e2e18a373b6d2d10af65b02683c11fd8d90
tpruvot pushed a commit that referenced this pull request Dec 8, 2011
After using the new format for a few days, I decided it's better to ahve the auth & acct
info on every row because we will sometimes grep the data and won't see it if the auth/acct
is ommited.

Also added the "time since last sync" to every row. This is also very useful.

Detailed Statistics (Recent history):  31 (# of times) 119s (sync time)
-------------------------------------------------------------------------------------
  subscribedfeeds                                             : 8/25%      17s/14%
    [email protected]/com.google                            :   5/16%      16s/13%
    [email protected]/com.google                            :   3/9%       1s/0%
-------------------------------------------------------------------------------------
  com.android.calendar                                        : 5/16%      10s/8%
    [email protected]/com.google                            :   3/9%       0s/0%
    [email protected]/com.google                            :   2/6%       9s/8%
-------------------------------------------------------------------------------------
  com.google.android.apps.books                               : 3/9%       26s/22%
-------------------------------------------------------------------------------------
  com.android.contacts                                        : 3/9%       14s/11%
    [email protected]/com.google                            :   2/6%       9s/7%
    [email protected]/com.google                            :   1/3%       5s/4%
-------------------------------------------------------------------------------------
  com.android.browser                                         : 3/9%       12s/10%
-------------------------------------------------------------------------------------
  com.google.android.music.MusicContent                       : 3/9%       7s/6%
-------------------------------------------------------------------------------------
  gmail-ls                                                    : 2/6%       12s/10%
-------------------------------------------------------------------------------------
  com.google.android.apps.plus.content.EsGooglePhotoProvider  : 2/6%       1s/0%
    [email protected]/com.google                            :   1/3%       1s/0%
    [email protected]/com.google                            :   1/3%       0s/0%
-------------------------------------------------------------------------------------
  com.google.android.apps.plus.content.EsProvider             : 1/3%       10s/9%
-------------------------------------------------------------------------------------
  com.google.android.gallery3d.GooglePhotoProvider            : 1/3%       5s/5%
-------------------------------------------------------------------------------------

Recent Sync History
  #1  : 2011-10-03 13:26:41   SERVER    0.0s            [email protected]/com.google  com.android.calendar
  #2  : 2011-10-03 13:26:40    LOCAL    1.8s            [email protected]/com.google  subscribedfeeds
  zsol#3  : 2011-10-03 13:26:40    LOCAL    0.1s            [email protected]/com.google  subscribedfeeds
  #4  : 2011-10-03 13:26:37   SERVER    0.1s         4  [email protected]/com.google  com.android.calendar
  #5  : 2011-10-03 13:26:37    LOCAL    0.1s            [email protected]/com.google  com.google.android.apps.books
  #6  : 2011-10-03 13:26:30   SERVER    0.9s         7  [email protected]/com.google  com.google.android.apps.books
  #7  : 2011-10-03 13:26:25   SERVER    1.1s            [email protected]/com.google  gmail-ls
  #8  : 2011-10-03 13:26:13   SERVER   11.8s        11  [email protected]/com.google  gmail-ls
  #9  : 2011-10-03 13:26:08   SERVER    5.0s            [email protected]/com.google  com.android.contacts
  #10 : 2011-10-03 13:26:08   SERVER    0.7s        29  [email protected]/com.google  com.android.calendar
  #11 : 2011-10-03 13:26:07   SERVER    0.7s            [email protected]/com.google  com.android.browser
  #12 : 2011-10-03 13:26:04   SERVER    3.0s         2  [email protected]/com.google  com.android.browser
  #13 : 2011-10-03 13:26:04   SERVER   25.9s        25  [email protected]/com.google  com.google.android.apps.books

Change-Id: I8da004f469d136fd9a86310b262eba61197fd0e7
SunRain pushed a commit to MagicDevTeam/android_frameworks_base that referenced this pull request Sep 24, 2013
Also:
 * add a second history section that logs
 * log mesg as text instead of number
 * dump Sync Status as a table

 Sample log:
Recent Sync History
  CyanogenDefy#1  : 2012-10-11 15:06:11     USER    0.4s            [email protected]/com.google u0  com.android.calendar                                  com.google.android.calendar
  CyanogenDefy#2  : 2012-10-11 15:06:11     USER    0.1s            [email protected]/com.google u0  subscribedfeeds                                       android.uid.system:1000
    mesg=parse-error
  zsol#3  : 2012-10-11 15:06:11     USER    0.0s            [email protected]/com.google u0  com.google.android.apps.uploader.PicasaUploadProvider android.uid.system:1000
  #4  : 2012-10-11 15:06:10     USER    0.1s            [email protected]/com.google u0  com.google.android.gms.plus.action                    android.uid.system:1000

Recent Sync History Extras
  CyanogenDefy#1  : 2012-10-11 15:06:11     USER   [email protected]/com.google u0  com.android.calendar                                  Bundle[{[email protected], force=true, ignore_settings=true, ignore_backoff=true}]
  CyanogenDefy#2  : 2012-10-11 15:06:11     USER   [email protected]/com.google u0  subscribedfeeds                                       Bundle[{ignore_backoff=true, force=true, ignore_settings=true}]
  zsol#3  : 2012-10-11 15:06:11     USER   [email protected]/com.google u0  com.google.android.apps.uploader.PicasaUploadProvider Bundle[{ignore_backoff=true, force=true, ignore_settings=true}]
  #4  : 2012-10-11 15:06:10     USER   [email protected]/com.google u0  com.google.android.gms.plus.action                    Bundle[{ignore_backoff=true, force=true, ignore_settings=true}]

Sync Status
Account [email protected] u0 com.google
=======================================================================
Authority                                           Syncable  Enabled  Delay  Loc  Poll  Per  Serv  User  Tot  Time  Last Sync            Periodic
-------------------------------------------------------------------------------------------------------------------------------------------------------------
com.google.android.apps.currents                    1         true            0    2     1    2     1     6    0:35  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:40  2012-10-13 14:58:13
com.google.android.music.MusicContent               1         true            0    0     1    2     1     4    0:09  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:18  2012-10-13 14:58:13
com.google.android.gms.plus.action                  1         true            0    0     1    1     1     3    0:00  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:15  2012-10-13 14:58:13
com.google.android.apps.magazines                   1         true            0    1     1    2     1     5    0:14  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:00  2012-10-13 14:58:13

Change-Id: Iffeb825e4b4f6217940a39b0dd71e06856f08f3f
GodFox pushed a commit to MagicDevTeam/android_frameworks_base that referenced this pull request Oct 31, 2013
This commit cleans up the AlarmTile class by removing the unnecessary
listener on the alarm intent. It now listens only to the next alarm
setting value, which was fetched after receiving the intent anyway.

These changes also fix a bug that would cause the tile to not show up
after some actions, like reordering the tiles due to the visibility not
being set on tile creation.

Lastly, some minor code styling issues have been fixed.

Patch set CyanogenDefy#2: collapse onNextAlarmChanged into onChangeUri, remove
mEnabled, use TextUtils to check for string emptiness and mark
updateQuickSettings explicitly as public.

Change-Id: Ic5871a9cc4874f33181dfac14e25a89499c182f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant