Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/audiopolicy/
DAudioMix.java62 private AudioMix(AudioMixingRule rule, AudioFormat format, int routeFlags, int callbackFlags, in AudioMix() argument
66 mRouteFlags = routeFlags; in AudioMix()
358 public Builder setRouteFlags(@RouteFlags int routeFlags) in setRouteFlags() argument
360 if (routeFlags == 0) { in setRouteFlags()
363 if ((routeFlags & ROUTE_FLAG_SUPPORTED) == 0) { in setRouteFlags()
365 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); in setRouteFlags()
367 if ((routeFlags & ~ROUTE_FLAG_SUPPORTED) != 0) { in setRouteFlags()
369 + Integer.toHexString(routeFlags) + "when configuring an AudioMix"); in setRouteFlags()
371 mRouteFlags = routeFlags; in setRouteFlags()
DAudioPolicyConfig.java116 int routeFlags = in.readInt(); in AudioPolicyConfig() local
117 mixBuilder.setRouteFlags(routeFlags); in AudioPolicyConfig()
/frameworks/av/include/media/
DAudioPolicy.h100 uint32_t routeFlags, String8 registrationId, uint32_t flags) : in AudioMix() argument
102 mRouteFlags(routeFlags), mDeviceAddress(registrationId), mCbFlags(flags){} in AudioMix()
134 static inline bool is_mix_loopback_render(uint32_t routeFlags) { in is_mix_loopback_render() argument
135 return (routeFlags & MIX_ROUTE_FLAG_LOOP_BACK_AND_RENDER) in is_mix_loopback_render()
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h100 uint32_t routeFlags, String8 registrationId, uint32_t flags) : in AudioMix() argument
102 mRouteFlags(routeFlags), mDeviceAddress(registrationId), mCbFlags(flags){} in AudioMix()
134 static inline bool is_mix_loopback_render(uint32_t routeFlags) { in is_mix_loopback_render() argument
135 return (routeFlags & MIX_ROUTE_FLAG_LOOP_BACK_AND_RENDER) in is_mix_loopback_render()