/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 949 status_t AudioSystem::setLocalAudioPolicyService(const sp<IAudioPolicyService>& aps) { in setLocalAudioPolicyService() argument 950 return gAudioPolicyServiceHandler.setLocalService(aps); in setLocalAudioPolicyService() 969 const sp<IAudioPolicyService> aps = get_audio_policy_service(); in onNewAudioModulesAvailable() local 970 if (aps == 0) return; in onNewAudioModulesAvailable() 971 aps->onNewAudioModulesAvailable(); in onNewAudioModulesAvailable() 977 const sp<IAudioPolicyService> aps = get_audio_policy_service(); in setDeviceConnectionState() local 979 if (aps == 0) return PERMISSION_DENIED; in setDeviceConnectionState() 982 aps->setDeviceConnectionState( in setDeviceConnectionState() 992 const sp<IAudioPolicyService> aps = get_audio_policy_service(); in getDeviceConnectionState() local 993 if (aps == 0) return AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE; in getDeviceConnectionState() [all …]
|
D | AudioEffect.cpp | 671 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in queryDefaultPreProcessing() local 672 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing() 680 aps->queryDefaultPreProcessing(audioSessionAidl, &countAidl, &retAidl))); in queryDefaultPreProcessing() 708 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in addSourceDefaultEffect() local 709 if (aps == 0) return PERMISSION_DENIED; in addSourceDefaultEffect() 736 aps->addSourceDefaultEffect(typeAidl, opPackageNameAidl, uuidAidl, priority, sourceAidl, in addSourceDefaultEffect() 752 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in addStreamDefaultEffect() local 753 if (aps == 0) return PERMISSION_DENIED; in addStreamDefaultEffect() 780 aps->addStreamDefaultEffect(typeAidl, opPackageNameAidl, uuidAidl, priority, usageAidl, in addStreamDefaultEffect() 788 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in removeSourceDefaultEffect() local [all …]
|
D | AudioTrack.cpp | 175 const sp<media::IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in isDirectOutputSupported() local 176 if (aps == 0) return false; in isDirectOutputSupported() 185 aps->isDirectOutputSupported(configAidl, attributesAidl, &retAidl))); in isDirectOutputSupported()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioProductStrategyTest.java | 65 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetProductStrategies() 66 assertTrue(aps.getId() >= 0); in testGetProductStrategies() 68 AudioAttributes aa = aps.getAudioAttributes(); in testGetProductStrategies() 72 assertTrue(aps.supportsAudioAttributes(aa)); in testGetProductStrategies() 74 int streamType = aps.getLegacyStreamTypeForAudioAttributes(aa); in testGetProductStrategies() 79 final int volumeGroupFromStream = aps.getVolumeGroupIdForLegacyStreamType(streamType); in testGetProductStrategies() 80 final int volumeGroupFromAttributes = aps.getVolumeGroupIdForAudioAttributes(aa); in testGetProductStrategies() 126 for (final AudioProductStrategy aps : audioProductStrategies) { in testAudioAttributesFromStreamTypes() 128 aps.getAudioAttributesForLegacyStreamType(streamType); in testAudioAttributesFromStreamTypes() 141 assertTrue(aps.supportsAudioAttributes(aaFromStreamType)); in testAudioAttributesFromStreamTypes() [all …]
|
D | AudioVolumeGroupTest.java | 107 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetVolumeGroups() 108 int groupId = aps.getVolumeGroupIdForAudioAttributes(aa); in testGetVolumeGroups() 113 assertTrue(aps.supportsAudioAttributes(aa)); in testGetVolumeGroups() 116 + aps.toString() + ") both supporting attributes " in testGetVolumeGroups() 139 for (final AudioProductStrategy aps : audioProductStrategies) { in testGetVolumeGroups() 140 int groupId = aps.getVolumeGroupIdForLegacyStreamType(avgStreamType); in testGetVolumeGroups() 145 + aps.toString() + ") both supporting stream " in testGetVolumeGroups()
|
/frameworks/av/media/audioserver/ |
D | main_audioserver.cpp | 170 const auto aps = sp<AudioPolicyService>::make(); in main() local 171 af->initAudioPolicyLocal(aps); in main() 173 ALOGW_IF(AudioSystem::setLocalAudioPolicyService(aps) != OK, in main() 177 aps->onAudioSystemReady(); in main() 183 sm->addService(String16(AudioPolicyService::getServiceName()), aps, in main()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 513 List<AccessPoint> aps = tracker.getAccessPoints(); in startTrackingShouldSetConnectedAccessPointAsActive() local 515 assertThat(aps).hasSize(2); in startTrackingShouldSetConnectedAccessPointAsActive() 516 assertThat(aps.get(0).isActive()).isTrue(); in startTrackingShouldSetConnectedAccessPointAsActive() 571 List<AccessPoint> aps = tracker.getAccessPoints(); in scoreCacheUpdateScoresShouldChangeSortOrder() local 572 assertTrue(aps.size() == 2); in scoreCacheUpdateScoresShouldChangeSortOrder() 573 assertEquals(aps.get(0).getSsidStr(), SSID_1); in scoreCacheUpdateScoresShouldChangeSortOrder() 574 assertEquals(aps.get(1).getSsidStr(), SSID_2); in scoreCacheUpdateScoresShouldChangeSortOrder() 578 aps = tracker.getAccessPoints(); in scoreCacheUpdateScoresShouldChangeSortOrder() 579 assertTrue(aps.size() == 2); in scoreCacheUpdateScoresShouldChangeSortOrder() 580 assertEquals(aps.get(0).getSsidStr(), SSID_2); in scoreCacheUpdateScoresShouldChangeSortOrder() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | AccessPointControllerImpl.java | 210 private void fireAccessPointsCallback(List<WifiEntry> aps) { in fireAccessPointsCallback() argument 212 callback.onAccessPointsChanged(aps); in fireAccessPointsCallback()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audioclient_serialization_tests.cpp | 138 AudioProductStrategy aps{name, volumeGroupAttrVector, psId}; in TEST_F() local 141 EXPECT_EQ(NO_ERROR, aps.writeToParcel(&p)); in TEST_F()
|
/frameworks/base/core/java/android/app/admin/flags/ |
D | flags.aconfig | 212 description: "Ensure aps with EXEMPT_FROM_POWER_RESTRICTIONS can execute in the background"
|
/frameworks/av/media/libstagefright/httplive/ |
D | LiveSession.cpp | 1975 sp<AnotherPacketSource> &aps = mPacketSources.editValueFor(stream); in swapPacketSource() local 1979 aps->queueDiscontinuity(ATSParser::DISCONTINUITY_FORMAT_ONLY, NULL, false); in swapPacketSource() 1986 aps->queueAccessUnit(accessUnit); in swapPacketSource()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioSystem.h | 424 static status_t setLocalAudioPolicyService(const sp<media::IAudioPolicyService>& aps);
|