Methods Summary |
---|
public int | describeContents()
return 0;
|
public int | getFlags()
return mFlags;
|
public double | getMaxPowerAllocationInMW()
return mMaxPowerAllocationInMW;
|
public long | getPeriodInNS()
return mPeriodInNS;
|
public int | getSourcesToUse()
return mSourcesToUse;
|
public boolean | isFlagSet(int flag)
return (mFlags & flag) != 0;
|
public boolean | isSourceToUseSet(int source)
return (mSourcesToUse & source) != 0;
|
public void | resetFlag(int flag)
mFlags &= ~flag;
|
public void | resetSourceToUse(int source)
mSourcesToUse &= ~source;
|
public void | setFlag(int flag)
mFlags |= flag;
|
public void | setMaxPowerAllocationInMW(double value)
/*
* Getters and setters for properties needed to hold the options.
*/
mMaxPowerAllocationInMW = value;
|
public void | setPeriodInNS(long value)
mPeriodInNS = value;
|
public void | setSourceToUse(int source)
mSourcesToUse |= source;
|
public void | writeToParcel(android.os.Parcel parcel, int flags)
parcel.writeDouble(mMaxPowerAllocationInMW);
parcel.writeLong(mPeriodInNS);
parcel.writeInt(mSourcesToUse);
parcel.writeInt(mFlags);
|