Methods Summary |
---|
public int | describeContents()
return 0;
|
public int | getBluetoothStackState()
return mBluetoothStackState;
|
public int | getControllerEnergyUsed()product of current(mA), voltage(V) and time(ms)
return mControllerEnergyUsed;
|
public int | getControllerIdleTimeMillis()
return mControllerIdleTimeMs;
|
public int | getControllerRxTimeMillis()
return mControllerRxTimeMs;
|
public int | getControllerTxTimeMillis()
return mControllerTxTimeMs;
|
public long | getTimeStamp()
return timestamp;
|
public boolean | isValid()
return ((getControllerTxTimeMillis() !=0) ||
(getControllerRxTimeMillis() !=0) ||
(getControllerIdleTimeMillis() !=0));
|
public java.lang.String | toString()
return "BluetoothActivityEnergyInfo{"
+ " timestamp=" + timestamp
+ " mBluetoothStackState=" + mBluetoothStackState
+ " mControllerTxTimeMs=" + mControllerTxTimeMs
+ " mControllerRxTimeMs=" + mControllerRxTimeMs
+ " mControllerIdleTimeMs=" + mControllerIdleTimeMs
+ " mControllerEnergyUsed=" + mControllerEnergyUsed
+ " }";
|
public void | writeToParcel(android.os.Parcel out, int flags)
out.writeInt(mBluetoothStackState);
out.writeInt(mControllerTxTimeMs);
out.writeInt(mControllerRxTimeMs);
out.writeInt(mControllerIdleTimeMs);
out.writeInt(mControllerEnergyUsed);
|