Code examples for SignalStrength

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
64:	boolean	isGsm = signalStrength.isGsm(); 
-
66:	int	iCdmaDbm = signalStrength.getCdmaDbm(); 
-
68:	int	iCdmaEcio = signalStrength.getCdmaEcio(); 
-
70:	int	iEvdoDbm = signalStrength.getEvdoDbm(); 
-
72:	int	iEvdoEcio = signalStrength.getEvdoEcio(); 
-
74:	int	iEvdoSnr = signalStrength.getEvdoSnr(); 
-
76:	int	iGsmBitErrorRate = signalStrength.getGsmBitErrorRate(); 
-
78:	int	iGsmSignalStrength = signalStrength.getGsmSignalStrength(); 
Full Snippet Info
7
CodeRank
123:	return mSignalStrength.getDbm(); 
Full Snippet Info
7
CodeRank
75:	String r = s.getGsmSignalStrength() + ":" + s.getCdmaDbm() + ":" 
76:	+ s.getCdmaEcio() + ":" + s.getEvdoDbm() + ":" 
77:	+ s.getEvdoEcio() + ":" + s.getEvdoSnr() + ":" 
78:	+ s.getGsmBitErrorRate(); 
Full Snippet Info
6
CodeRank
61:	if (signalStrength.isGsm()) 
-
65:	if (signalStrength.getEvdoDbm() < 0) 
66:	strength = signalStrength.getEvdoDbm(); 
67:	else if (signalStrength.getCdmaDbm() < 0) 
68:	strength = signalStrength.getCdmaDbm(); 
Full Snippet Info
6
CodeRank
73:	values[0] = signalStrength.getCdmaDbm()&0x1; 
-
75:	values[1] = signalStrength.getEvdoDbm()&0x1; 
-
77:	Log.d("Data: ",signalStrength.getCdmaDbm()+", "+signalStrength.getEvdoDbm()+", "+signalStrength.getCdmaEcio()+", "+signalStrength.getEvdoEcio()+", "+signalStrength.getEvdoSnr()); 
Full Snippet Info
6
CodeRank
115:	if (signal.isGsm()) { 
116:	s.append("  GSM RSSI=").append(signal.getGsmSignalStrength()) 
-
119:	.append(signal.getGsmBitErrorRate()) 
-
124:	s.append("  CDMA RSSI=").append(signal.getCdmaDbm()) 
-
126:	s.append("  CDMA ECIO=").append(signal.getCdmaEcio() / 10) 
-
130:	s.append("  EVDO RSSI=").append(signal.getEvdoDbm()) 
-
132:	s.append("  EVDO ECIO=").append(signal.getEvdoEcio()) 
-
134:	s.append("  EVDO SNR=").append(signal.getEvdoSnr() / 10) 
Full Snippet Info
6
CodeRank
88:	* signalStrength.getGsmSignalStrength()) 
-
90:	+ String.valueOf(signalStrength.getGsmSignalStrength() 
-
92:	+ signalStrength.getGsmBitErrorRate() + ",ÐźÅCdmaDbm:" 
93:	+ signalStrength.getCdmaDbm() + ",ÐźÅCdmaEcio:" 
94:	+ signalStrength.getCdmaEcio() + ",ÐźÅEvdoDbm:" 
95:	+ signalStrength.getEvdoDbm() + ",ÐźÅEvdoEcio:" 
96:	+ signalStrength.getEvdoEcio() + ",ÐźÅEvdoSnr:" 
97:	+ signalStrength.getEvdoSnr(); 
Full Snippet Info
6
CodeRank
40:	if (signalStrength.isGsm()) { 
41:	strength = "" + signalStrength.getGsmSignalStrength(); 
-
43:	if (signalStrength.getCdmaDbm() > 0) { 
44:	strength = signalStrength.getCdmaDbm() + "dBm "; 
45:	strength += signalStrength.getCdmaEcio() + "Ec/lo"; 
-
47:	else if (signalStrength.getEvdoDbm() > 0) { 
48:	strength = signalStrength.getEvdoDbm() + "dBm "; 
49:	strength += signalStrength.getEvdoEcio() + "Ec/lo "; 
50:	strength += signalStrength.getEvdoSnr() + "snr"; 
Full Snippet Info
6
CodeRank
123:	return mSignalStrength.getDbm(); 
Full Snippet Info
6
CodeRank
187:	Log.d(TAG, "CdmaDbm: " + strength.getCdmaDbm()); 
188:	b.append("CdmaDbm: " + strength.getCdmaDbm() + "\n"); 
189:	Log.d(TAG, "CdmaEcio: " + strength.getCdmaEcio()); 
190:	b.append("CdmaEcio: " + strength.getCdmaEcio() + "\n"); 
191:	Log.d(TAG, "EvdoDbm: " + strength.getEvdoDbm()); 
192:	b.append("EvdoDbm: " + strength.getEvdoDbm() + "\n"); 
193:	Log.d(TAG, "EvdoEcio: " + strength.getEvdoEcio()); 
194:	b.append("EvdoEcio: " + strength.getEvdoEcio() + "\n"); 
195:	Log.d(TAG, "EvdoSnr: " + strength.getEvdoSnr()); 
196:	b.append("EvdoSnr: " + strength.getEvdoSnr() + "\n"); 
197:	Log.d(TAG, "GsmBitErrorRate: " + strength.getGsmBitErrorRate()); 
198:	b.append("GsmBitErrorRate: " + strength.getGsmBitErrorRate() + "\n"); 
199:	Log.d(TAG, "GsmSignalStrength: " + strength.getGsmSignalStrength()); 
-
201:	b.append("GsmSignalStrength: " + strength.getGsmSignalStrength()); 
-
205:	writeSignalStrenghtToLog(strength.getGsmSignalStrength()); 
Full Snippet Info
5
CodeRank
35:	Log.d("NegiAntennaService", "signal: " + signal.getGsmSignalStrength()); 
36:	if (signal.isGsm()) { 
37:	intent.putExtra("sig",signal.getGsmSignalStrength()); 
-
40:	if (signal.getEvdoDbm() < 0) 
41:	strength = signal.getEvdoDbm(); 
42:	else if (signal.getCdmaDbm() < 0) 
43:	strength = signal.getCdmaDbm(); 
Full Snippet Info
5
CodeRank
194:	if (signalStrength.getGsmSignalStrength() != 99) { 
-
200:	final int snr = signalStrength.getEvdoSnr(); 
201:	final int cdmaDbm = signalStrength.getCdmaDbm(); 
202:	final int cdmaEcio = signalStrength.getCdmaEcio(); 
Full Snippet Info
5
CodeRank
87:	strength = signalStrength.getGsmSignalStrength(); 
Full Snippet Info
5
CodeRank
32:	gsmSS = ss.getGsmSignalStrength(); 
Full Snippet Info
5
CodeRank
134:	if (signal.isGsm()) { 
-
138:	builder.append(signal.getCdmaDbm()); 
139:	builder.append(signal.getCdmaEcio()); 
Full Snippet Info
5
CodeRank
391:	LOGD("onSignalStrengthsChanged mSignalStrength:" + mSignalStrength.toString()); 
392:	int asu = mSignalStrength.getGsmSignalStrength(); 
-
396:	if (!mSignalStrength.isGsm()) 
-
398:	dBm = mSignalStrength.getCdmaDbm(); 
Full Snippet Info
5
CodeRank
410:	if (signal.isGsm()) 
-
412:	json.put("signal", signal.getGsmSignalStrength()); 
413:	json.put("biterror", signal.getGsmBitErrorRate()); 
Full Snippet Info
5
CodeRank
21:	if (signalStrength.isGsm()) { 
-
31:	CDMAsig = (signalStrength.getCdmaDbm() + 113) / 2; 
Full Snippet Info
5
CodeRank