Home
last modified time | relevance | path

Searched refs:routeFlags (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h100 audio_config_t format, uint32_t routeFlags,const String8 &registrationId, in AudioMix() argument
103 mRouteFlags(routeFlags), mDeviceAddress(registrationId), mCbFlags(flags){} in AudioMix()
146 static inline bool is_mix_loopback_render(uint32_t routeFlags) { in is_mix_loopback_render() argument
147 return (routeFlags & MIX_ROUTE_FLAG_LOOP_BACK_AND_RENDER) in is_mix_loopback_render()
151 static inline bool is_mix_loopback(uint32_t routeFlags) { in is_mix_loopback() argument
152 return (routeFlags & MIX_ROUTE_FLAG_LOOP_BACK) in is_mix_loopback()
156 static inline bool is_mix_disallows_preferred_device(uint32_t routeFlags) { in is_mix_disallows_preferred_device() argument
157 return (routeFlags & MIX_ROUTE_FLAG_DISALLOWS_PREFERRED_DEVICE) in is_mix_disallows_preferred_device()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java81 int routeFlags, int callbackFlags, in AudioMix() argument
86 mRouteFlags = routeFlags; in AudioMix()
493 public Builder setRouteFlags(@RouteFlags int routeFlags) in setRouteFlags() argument
495 if (routeFlags == 0) { in setRouteFlags()
498 if ((routeFlags & ROUTE_FLAG_SUPPORTED) == 0) { in setRouteFlags()
500 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); in setRouteFlags()
502 if ((routeFlags & ~ROUTE_FLAG_SUPPORTED) != 0) { in setRouteFlags()
504 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); in setRouteFlags()
506 mRouteFlags = routeFlags; in setRouteFlags()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioMix.aidl34 int routeFlags;
/frameworks/av/media/libaudioclient/
DPolicyAidlConversion.cpp239 aidl2legacy_AudioMixRouteFlag_uint32_t_mask(aidl.routeFlags)); in aidl2legacy_AudioMix()
262 aidl.routeFlags = VALUE_OR_RETURN( in legacy2aidl_AudioMix()