Searched refs:systemUsages (Results 1 – 10 of 10) sorted by relevance
185 void setSupportedSystemUsages(in AudioUsage[] systemUsages); in setSupportedSystemUsages() argument
1376 std::vector<audio_usage_t> systemUsages; in setSupportedSystemUsages() local1379 std::back_inserter(systemUsages), aidl2legacy_AudioUsage_audio_usage_t))); in setSupportedSystemUsages()1386 bool areAllSystemUsages = std::all_of(begin(systemUsages), end(systemUsages), in setSupportedSystemUsages()1392 mSupportedSystemUsages = systemUsages; in setSupportedSystemUsages()
151 const std::vector<media::AudioUsage>& systemUsages) override;
120 void setSupportedSystemUsages(in int[] systemUsages); in setSupportedSystemUsages() argument
1720 public static native int setSupportedSystemUsages(int[] systemUsages); in setSupportedSystemUsages() argument
1351 public void setSupportedSystemUsages(@NonNull @AttributeSystemUsage int[] systemUsages) { in setSupportedSystemUsages() argument1352 Objects.requireNonNull(systemUsages, "systemUsages must not be null"); in setSupportedSystemUsages()1355 service.setSupportedSystemUsages(systemUsages); in setSupportedSystemUsages()
2472 jintArray systemUsages) { in android_media_AudioSystem_setSupportedSystemUsages() argument2475 if (systemUsages == nullptr) { in android_media_AudioSystem_setSupportedSystemUsages()2480 nativeSystemUsages = env->GetIntArrayElements(systemUsages, 0); in android_media_AudioSystem_setSupportedSystemUsages()2483 jsize len = env->GetArrayLength(systemUsages); in android_media_AudioSystem_setSupportedSystemUsages()2489 env->ReleaseIntArrayElements(systemUsages, nativeSystemUsages, 0); in android_media_AudioSystem_setSupportedSystemUsages()
347 static status_t setSupportedSystemUsages(const std::vector<audio_usage_t>& systemUsages);
1522 public void setSupportedSystemUsages(@NonNull @AttributeSystemUsage int[] systemUsages) { in setSupportedSystemUsages() argument1524 verifySystemUsages(systemUsages); in setSupportedSystemUsages()1527 AudioSystem.setSupportedSystemUsages(systemUsages); in setSupportedSystemUsages()1528 mSupportedSystemUsages = systemUsages; in setSupportedSystemUsages()1542 private void verifySystemUsages(@NonNull int[] systemUsages) { in verifySystemUsages() argument1543 for (int i = 0; i < systemUsages.length; i++) { in verifySystemUsages()1544 if (!AudioAttributes.isSystemUsage(systemUsages[i])) { in verifySystemUsages()1545 throw new IllegalArgumentException("Non-system usage provided: " + systemUsages[i]); in verifySystemUsages()
1433 status_t AudioSystem::setSupportedSystemUsages(const std::vector<audio_usage_t>& systemUsages) { in setSupportedSystemUsages() argument1438 convertContainer<std::vector<media::AudioUsage>>(systemUsages, in setSupportedSystemUsages()