Home
last modified time | relevance | path

Searched refs:optionFlags (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DVolumeShaper.java506 final int optionFlags = p.readInt();
523 optionFlags,
570 @OptionFlag int optionFlags, in Configuration() argument
577 mOptionFlags = optionFlags; in Configuration()
848 public @NonNull Builder setOptionFlags(@OptionFlag int optionFlags) { in setOptionFlags() argument
849 if ((optionFlags & ~OPTION_FLAG_PUBLIC_ALL) != 0) { in setOptionFlags()
850 throw new IllegalArgumentException("invalid bits in flag: " + optionFlags); in setOptionFlags()
852 mOptionFlags = mOptionFlags & ~OPTION_FLAG_PUBLIC_ALL | optionFlags; in setOptionFlags()
/frameworks/av/include/media/
DVolumeShaper.h164 status_t setOptionFlags(OptionFlag optionFlags) { in setOptionFlags() argument
165 if ((optionFlags & ~OPTION_FLAG_ALL) != 0) { in setOptionFlags()
166 ALOGE("optionFlags has invalid bits: %#x", optionFlags); in setOptionFlags()
169 mOptionFlags = optionFlags; in setOptionFlags()
300 int32_t type, optionFlags; in readFromParcel() local
306 : parcel->readInt32(&optionFlags) in readFromParcel()
307 ?: setOptionFlags((OptionFlag)optionFlags) in readFromParcel()