Home | History | Annotate | Download | only in jni

Lines Matching refs:gConstants

69 static BatteryManagerConstants gConstants;
89 case 'C': return gConstants.statusCharging; // Charging
90 case 'D': return gConstants.statusDischarging; // Discharging
91 case 'F': return gConstants.statusFull; // Not charging
92 case 'N': return gConstants.statusNotCharging; // Full
93 case 'U': return gConstants.statusUnknown; // Unknown
97 return gConstants.statusUnknown;
105 case 'C': return gConstants.healthCold; // Cold
106 case 'D': return gConstants.healthDead; // Dead
107 case 'G': return gConstants.healthGood; // Good
110 return gConstants.healthOverheat;
112 return gConstants.healthOverVoltage;
115 return gConstants.healthUnknown;
120 return gConstants.healthUnspecifiedFailure;
122 return gConstants.healthUnknown;
129 return gConstants.healthUnknown;
214 gConstants.statusUnknown);
359 gConstants.statusUnknown = env->GetStaticIntField(clazz,
362 gConstants.statusCharging = env->GetStaticIntField(clazz,
365 gConstants.statusDischarging = env->GetStaticIntField(clazz,
368 gConstants.statusNotCharging = env->GetStaticIntField(clazz,
371 gConstants.statusFull = env->GetStaticIntField(clazz,
374 gConstants.healthUnknown = env->GetStaticIntField(clazz,
377 gConstants.healthGood = env->GetStaticIntField(clazz,
380 gConstants.healthOverheat = env->GetStaticIntField(clazz,
383 gConstants.healthDead = env->GetStaticIntField(clazz,
386 gConstants.healthOverVoltage = env->GetStaticIntField(clazz,
389 gConstants.healthUnspecifiedFailure = env->GetStaticIntField(clazz,
392 gConstants.healthCold = env->GetStaticIntField(clazz,