Lines Matching refs:health

27 import android.hardware.health.V1_0.HealthInfo;
28 import android.hardware.health.V2_0.IHealth;
29 import android.hardware.health.V2_0.IHealthInfoCallback;
30 import android.hardware.health.V2_0.Result;
98 * <p>&quot;health&quot; - String, the current battery health.<br />
277 Slog.e(TAG, "health: cannot register callback. (RemoteException)");
280 Slog.e(TAG, "health: cannot register callback. (no supported health HAL service)");
293 Slog.i(TAG, "health: Waited " + (SystemClock.uptimeMillis() - beforeWait) +
298 Slog.i(TAG, "health: InterruptedException when waiting for update. "
304 Slog.i(TAG, "health: Waited " + (SystemClock.uptimeMillis() - beforeWait)
401 private void update(android.hardware.health.V2_0.HealthInfo info) {
990 pw.println(" health: " + mHealthInfo.batteryHealth);
1098 @Override public void healthInfoChanged(android.hardware.health.V2_0.HealthInfo props) {
1111 Slog.w(TAG, "health: cannot unregister previous callback: " +
1116 Slog.w(TAG, "health: cannot unregister previous callback (transaction error): "
1126 Slog.w(TAG, "health: cannot register callback: " + Result.toString(r));
1133 Slog.e(TAG, "health: cannot register callback (transaction error): "
1163 Slog.e(TAG, "health: must not call registerListener on battery properties");
1166 Slog.e(TAG, "health: must not call unregisterListener on battery properties");
1172 if (service == null) throw new RemoteException("no health service");
1221 if (service == null) throw new RemoteException("no health service");
1384 Slog.i(TAG, "health: HealthServiceWrapper listening to instance " + mInstanceName);
1443 Slog.i(TAG, "health: new instance registered " + mInstanceName);
1446 Slog.e(TAG, "health: Cannot get instance '" + mInstanceName