EMMA Coverage Report (generated Fri Aug 23 16:39:17 PDT 2013)
[all classes][org.chromium.base]

COVERAGE SUMMARY FOR SOURCE FILE [PowerStatusReceiver.java]

nameclass, %method, %block, %line, %
PowerStatusReceiver.java0%   (0/1)0%   (0/2)0%   (0/6)0%   (0/3)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PowerStatusReceiver0%   (0/1)0%   (0/2)0%   (0/6)0%   (0/3)
PowerStatusReceiver (): void 0%   (0/1)0%   (0/3)0%   (0/1)
onReceive (Context, Intent): void 0%   (0/1)0%   (0/3)0%   (0/2)

1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4 
5package org.chromium.base;
6 
7import android.content.BroadcastReceiver;
8import android.content.Context;
9import android.content.Intent;
10 
11 
12/**
13 * A BroadcastReceiver that listens to changes in power status and notifies
14 * PowerMonitor.
15 * It's instantiated by the framework via the application intent-filter
16 * declared in its manifest.
17 */
18public class PowerStatusReceiver extends BroadcastReceiver {
19    @Override
20    public void onReceive(Context context, Intent intent) {
21        PowerMonitor.onBatteryChargingChanged(intent);
22    }
23}

[all classes][org.chromium.base]
EMMA 2.0.5312 (C) Vladimir Roubtsov