Searched refs:isUsageValid (Results 1 – 2 of 2) sorted by relevance
102 if (isUsageValid(attributes.usage) && isContentTypeValid(attributes.content_type) in verifyAudioAttributes()118 bool isUsageValid(audio_usage_t usage) { in isUsageValid() function in android::media::__anon5ed049300111::UsecaseValidatorImpl
696 private static boolean isUsageValid(int usage) { in isUsageValid() method in FadeManagerConfiguration708 Preconditions.checkArgument(isUsageValid(usage), "Invalid usage: %s", usage); in validateUsage()