Home
last modified time | relevance | path

Searched refs:aps (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioSystem.cpp792 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in setDeviceConnectionState() local
796 if (aps == 0) return PERMISSION_DENIED; in setDeviceConnectionState()
804 return aps->setDeviceConnectionState(device, state, address, name, encodedFormat); in setDeviceConnectionState()
810 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in getDeviceConnectionState() local
811 if (aps == 0) return AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE; in getDeviceConnectionState()
813 return aps->getDeviceConnectionState(device, device_address); in getDeviceConnectionState()
821 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in handleDeviceConfigChange() local
825 if (aps == 0) return PERMISSION_DENIED; in handleDeviceConfigChange()
833 return aps->handleDeviceConfigChange(device, address, name, encodedFormat); in handleDeviceConfigChange()
839 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in setPhoneState() local
[all …]
DAudioEffect.cpp448 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in queryDefaultPreProcessing() local
449 if (aps == 0) return PERMISSION_DENIED; in queryDefaultPreProcessing()
450 return aps->queryDefaultPreProcessing(audioSession, descriptors, count); in queryDefaultPreProcessing()
468 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in addSourceDefaultEffect() local
469 if (aps == 0) return PERMISSION_DENIED; in addSourceDefaultEffect()
490 return aps->addSourceDefaultEffect(&type, opPackageName, &uuid, priority, source, id); in addSourceDefaultEffect()
500 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in addStreamDefaultEffect() local
501 if (aps == 0) return PERMISSION_DENIED; in addStreamDefaultEffect()
522 return aps->addStreamDefaultEffect(&type, opPackageName, &uuid, priority, usage, id); in addStreamDefaultEffect()
527 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in removeSourceDefaultEffect() local
[all …]
DAudioTrack.cpp166 const sp<IAudioPolicyService>& aps = AudioSystem::get_audio_policy_service(); in isDirectOutputSupported() local
167 if (aps == 0) return false; in isDirectOutputSupported()
168 return aps->isDirectOutputSupported(config, attributes); in isDirectOutputSupported()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java514 List<AccessPoint> aps = tracker.getAccessPoints(); in startTrackingShouldSetConnectedAccessPointAsActive() local
516 assertThat(aps).hasSize(2); in startTrackingShouldSetConnectedAccessPointAsActive()
517 assertThat(aps.get(0).isActive()).isTrue(); in startTrackingShouldSetConnectedAccessPointAsActive()
572 List<AccessPoint> aps = tracker.getAccessPoints(); in scoreCacheUpdateScoresShouldChangeSortOrder() local
573 assertTrue(aps.size() == 2); in scoreCacheUpdateScoresShouldChangeSortOrder()
574 assertEquals(aps.get(0).getSsidStr(), SSID_1); in scoreCacheUpdateScoresShouldChangeSortOrder()
575 assertEquals(aps.get(1).getSsidStr(), SSID_2); in scoreCacheUpdateScoresShouldChangeSortOrder()
579 aps = tracker.getAccessPoints(); in scoreCacheUpdateScoresShouldChangeSortOrder()
580 assertTrue(aps.size() == 2); in scoreCacheUpdateScoresShouldChangeSortOrder()
581 assertEquals(aps.get(0).getSsidStr(), SSID_2); in scoreCacheUpdateScoresShouldChangeSortOrder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java134 private void fireAcccessPointsCallback(List<AccessPoint> aps) { in fireAcccessPointsCallback() argument
136 callback.onAccessPointsChanged(aps); in fireAcccessPointsCallback()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp1974 sp<AnotherPacketSource> &aps = mPacketSources.editValueFor(stream); in swapPacketSource() local
1978 aps->queueDiscontinuity(ATSParser::DISCONTINUITY_FORMAT_ONLY, NULL, false); in swapPacketSource()
1985 aps->queueAccessUnit(accessUnit); in swapPacketSource()