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