[Galaxy S II Themes and Apps] crypticc:
I'm on three network, (h3g).

Here's what I get...

C:\Users\AcerAdmin>adb shell
$ getprop gsm.operator.numeric
getprop gsm.operator.numeric
23420

sqlite> select * from sqlite_master;
table|android_metadata|android_metadata|3|CREATE TABLE android_metadata (locale TEXT)
table|nwkinfo|nwkinfo|4|CREATE TABLE nwkinfo(plmn TEXT, nwkname TEXT, dormancy TEXT, mtu INTEGER, subsetcode TEXT, spcode TEXT, CONSTRAINT PKcompKey PRIMARY KEY (plmn, nwkname))
index|sqlite_autoindex_nwkinfo_1|nwkinfo|5|
table|dormpolicy|dormpolicy|6|CREATE TABLE dormpolicy(plmn TEXT PRIMARY KEY, nwkname TEXT, lcdonfdtime TEXT, lcdofffdtime TEXT)
index|sqlite_autoindex_dormpolicy_1|dormpolicy|7|
sqlite> select * from nwkinfo where plmn = 23420;
23420|H3G|off|1500||
sqlite> select * from dormpolicy where plmn = 23420;
23420|H3G|0|0
sqlite>

So, I'd read this as>

nwkinfo

plmn|nwkname|dormancy|mtu|subsetcode|spcode

23420|H3G|off|1500||

dormpolicy

plmn|nwkname|lcdonfdtime|lcdofffdtime

23420|H3G|0|0

So it would appear that three is setup to be dormancy=off, and lcd on and off timing both as 0.

Here's my logcat...... every second at least.

So, it would appear that on three at least the setting is correct but doesn't make any difference to polling frequency.

IF there is a bug when turned off I'd say it is that if the dormancy capability is turned off the code still continues to poll, again, and again, and again.

D/FastDormancy( 2840): before ======= ENTER DORMANCY =======
D/FastDormancy( 2840): [FD] ON default: true
D/FastDormancy( 2840): Before mDormFlag: false in getCapaDormancy()
D/FastDormancy( 2840): After mDormFlag: false in getCapaDormancy()
D/FastDormancy( 2840): before ======= ENTER DORMANCY =======
D/FastDormancy( 2840): [FD] ON default: true
D/FastDormancy( 2840): Before mDormFlag: false in getCapaDormancy()
D/FastDormancy( 2840): After mDormFlag: false in getCapaDormancy()
D/FastDormancy( 2840): [FD] INTENT ACTION android.intent.action.SCREEN_OFF
D/FastDormancy( 2840): [FD] mIsScreenOn: false
D/FastDormancy( 2840): before ======= ENTER DORMANCY =======
D/FastDormancy( 2840): [FD] ON default: true
D/FastDormancy( 2840): Before mDormFlag: false in getCapaDormancy()
D/FastDormancy( 2840): After mDormFlag: false in getCapaDormancy()

For the rest of you:

Here's those with dormancy turned on>

sqlite> select * from nwkinfo where dormancy like "ON";

plmn|nwkname||dormancy|mtu|subsetcode|spcode

23433|Orange UK|on|1500||

23486|Orange UK|on|1500||

00101|Orange UK|on|1500||

23430|T-Mobile|on|1500||

23430|Virgin|on|1500||

23415|Vodafone Contract|on|1500||

23410|TESCO|on|1500||

23415|Vodafone PAYG|on|1500||

23415|BT Mobile|on|1500||

23415|Asda|on|1500||

27201|Vodafone IE|on|1500||

27203|Meteor|on|1500||

27211|Tesco Mobile Ireland|on|1500||

23415|Talk Mobile Contract|on|1500||

23415|Talk Mobile PAYG|on|1500||

And off...

plmn|nwkname||dormancy|mtu|subsetcode|spcode

23410|O2 UK Postpay|off|1500||

23410|O2 UK Prepay|off|1500||

23420|H3G|off|1500||

27202|O2 IRL|off|1500||

27205|H3G IE|off|1500||

For everyone else, I think the database is just POO.... the keys are screwed and across networks... let me show the "offs" side by side... O2

sqlite> select * from dormpolicy inner join nwkinfo on dormpolicy.plmn=nwkinfo.plmn where nwkinfo.dormancy like "OFF";
23410|O2 UK Prepay|0|0|23410|O2 UK Postpay|off|1500||
23410|O2 UK Prepay|0|0|23410|O2 UK Prepay|off|1500||
23420|H3G|0|0|23420|H3G|off|1500||
27205|H3G IE|0|0|27205|H3G IE|off|1500||
27202|O2 IRL|0|0|27202|O2 IRL|off|1500||

If I add name into the key, then things get better, but that I doubt that's how they built the primary keys. 23410 for o2 just isn't unique. Also, Orange, T-Mobile, and Vodafone contract have a policy of on, but no detailed settings.

I believe that because of all the piggy-backed networks on Vodafone and O2, it's all screwed up.

sqlite> select * from nwkinfo left join dormpolicy on dormpolicy.plmn=nwkinfo.plmn where nwkinfo.dormancy like "OFF";
23410|O2 UK Postpay|off|1500|||23410|O2 UK Prepay|0|0
23410|O2 UK Prepay|off|1500|||23410|O2 UK Prepay|0|0
23420|H3G|off|1500|||23420|H3G|0|0
27202|O2 IRL|off|1500|||27202|O2 IRL|0|0
27205|H3G IE|off|1500|||27205|H3G IE|0|0

sqlite> select * from nwkinfo left join dormpolicy on dormpolicy.plmn=nwkinfo.plmn where nwkinfo.dormancy like "ON";
23433|Orange UK|on|1500||||||
23486|Orange UK|on|1500||||||
00101|Orange UK|on|1500||||||
23430|T-Mobile|on|1500||||||
23430|Virgin|on|1500||||||
23415|Vodafone Contract|on|1500||||||
23410|TESCO|on|1500|||23410|O2 UK Prepay|0|0
23415|Vodafone PAYG|on|1500||||||
23415|BT Mobile|on|1500||||||
23415|Asda|on|1500||||||
27201|Vodafone IE|on|1500||||||
27203|Meteor|on|1500||||||
27211|Tesco Mobile Ireland|on|1500||||||
23415|Talk Mobile Contract|on|1500||||||
23415|Talk Mobile PAYG|on|1500||||||
(NONE RETURNED)