/frameworks/av/media/libaudioclient/tests/ |
D | audioeffect_tests.cpp | 415 auto playback = sp<AudioPlayback>::make( in TEST_P() local 419 ASSERT_NE(nullptr, playback); in TEST_P() 420 ASSERT_EQ(NO_ERROR, playback->loadResource("/data/local/tmp/bbb_2ch_24kHz_s16le.raw")); in TEST_P() 421 EXPECT_EQ(NO_ERROR, playback->create()); in TEST_P() 422 EXPECT_EQ(NO_ERROR, playback->start()); in TEST_P() 425 playback->getAudioTrackHandle()->getSessionId())) in TEST_P() 427 EXPECT_EQ(NO_ERROR, playback->waitForConsumption()); in TEST_P() 428 playback->stop(); in TEST_P() 429 playback.clear(); in TEST_P() 438 playback = sp<AudioPlayback>::make( in TEST_P() [all …]
|
D | audiorouting_tests.cpp | 104 sp<AudioPlayback> playback = sp<AudioPlayback>::make( in TEST() local 107 ASSERT_NE(nullptr, playback); in TEST() 108 ASSERT_EQ(OK, playback->loadResource("/data/local/tmp/bbb_2ch_24kHz_s16le.raw")) in TEST() 110 ASSERT_EQ(OK, playback->create()) << "track creation failed"; in TEST() 112 EXPECT_EQ(OK, playback->getAudioTrackHandle()->addAudioDeviceCallback(cbPlayback)); in TEST() 126 EXPECT_EQ(OK, playback->start()) << "audio track start failed"; in TEST() 128 EXPECT_EQ(port.id, playback->getAudioTrackHandle()->getRoutedDeviceId()) in TEST() 132 playback->stop(); in TEST() 187 sp<AudioPlayback> playback = sp<AudioPlayback>::make( in TEST_F() local 190 ASSERT_NE(nullptr, playback); in TEST_F() [all …]
|
D | audiorecord_tests.cpp | 134 const auto playback = sp<AudioPlayback>::make( in TEST_F() local 136 ASSERT_EQ(OK, playback->loadResource("/data/local/tmp/bbb_1ch_8kHz_s16le.raw")) in TEST_F() 138 EXPECT_EQ(OK, playback->create()) << "AudioTrack Creation failed"; in TEST_F() 139 audio_session_t audioTrackSession = playback->getAudioTrackHandle()->getSessionId(); in TEST_F() 142 EXPECT_EQ(OK, playback->start()); in TEST_F() 146 playback->getAudioTrackHandle()->pause(); in TEST_F() 148 playback->stop(); in TEST_F() 152 const auto playback = sp<AudioPlayback>::make( in TEST_F() local 154 ASSERT_EQ(OK, playback->loadResource("/data/local/tmp/bbb_1ch_8kHz_s16le.raw")) in TEST_F() 156 EXPECT_EQ(OK, playback->create()) << "AudioTrack Creation failed"; in TEST_F() [all …]
|
/frameworks/av/services/tuner/hidl/ |
D | TunerHidlDvr.cpp | 160 s.playback({ in getHidlDvrSettings() 162 static_cast<uint8_t>(settings.get<DvrSettings::playback>().statusMask), in getHidlDvrSettings() 164 static_cast<uint32_t>(settings.get<DvrSettings::playback>().lowThreshold), in getHidlDvrSettings() 166 static_cast<uint32_t>(settings.get<DvrSettings::playback>().highThreshold), in getHidlDvrSettings() 168 settings.get<DvrSettings::playback>().dataFormat), in getHidlDvrSettings() 170 static_cast<uint8_t>(settings.get<DvrSettings::playback>().packetSize), in getHidlDvrSettings()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | NotificationHelper.java | 24 import com.android.onemedia.playback.RequestUtils; 54 com.android.onemedia.playback.RequestUtils.ACTION_PAUSE).setPackage(pkg), in NotificationHelper() 57 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_PLAY).setPackage(pkg), in NotificationHelper() 60 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_PREV).setPackage(pkg), in NotificationHelper() 63 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_NEXT).setPackage(pkg), in NotificationHelper() 66 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_REW).setPackage(pkg), in NotificationHelper() 69 new Intent(com.android.onemedia.playback.RequestUtils.ACTION_FFWD).setPackage(pkg), in NotificationHelper()
|
D | PlayerService.java | 28 import com.android.onemedia.playback.IRequestCallback; 29 import com.android.onemedia.playback.RequestUtils;
|
D | IPlayerService.aidl | 23 import com.android.onemedia.playback.IRequestCallback;
|
D | PlayerSession.java | 32 import com.android.onemedia.playback.LocalRenderer; 33 import com.android.onemedia.playback.Renderer; 34 import com.android.onemedia.playback.RequestUtils;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | MediaOutputComponentInteractor.kt | 62 mediaDeviceSessionInteractor.playbackState(session).mapNotNull { playback -> in <lambda>() method 63 playback?.let { SessionWithPlaybackState(session, playback.isActive) } in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiControlService.java | 1042 HdmiCecLocalDeviceSource source = isAudioSystemDevice() ? audioSystem() : playback(); in reportFeatures() 1164 HdmiCecLocalDevicePlayback playback = playback(); in setSoundbarMode() local 1170 if (playback == null) { in setSoundbarMode() 1209 HdmiCecLocalDevicePlayback playback = playback(); in isDeviceDiscoveryHandledByPlayback() local 1210 if (playback != null && (playback.hasAction(DeviceDiscoveryAction.class) in isDeviceDiscoveryHandledByPlayback() 1211 || playback.hasAction(HotplugDetectionAction.class))) { in isDeviceDiscoveryHandledByPlayback() 2311 HdmiCecLocalDevicePlayback playback = playback(); in deviceSelect() 2312 if (tv == null && playback == null) { in deviceSelect() 2342 playback.deviceSelect(deviceId, callback); in deviceSelect() 3130 return playback().getDeviceInfo().getLogicalAddress(); in getRemoteControlSourceAddress() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | OneTouchPlayActionTest.java | 147 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedWithUnknownTvDevice() 192 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedAfterGettingPowerStatusOn_Cec14b() 241 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedAfterGettingTransientPowerStatus_Cec14b() 303 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in timeOut_Cec14b() 348 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedIfPowerStatusOn_Cec20() 385 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedIfPowerStatusUnknown_Cec20() 435 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedIfPowerStatusStandby_Cec20() 498 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedWithAddressNotAllocated_Cec14b() 526 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in succeedWithAddressAllocated_Cec14b() 599 HdmiCecLocalDevicePlayback playbackDevice = mHdmiControlService.playback(); in noWakeUpOnReportPowerStatus() [all …]
|
D | HdmiControlServiceTest.java | 823 mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(), in initCec_statusListener_CecEnabled_CecAvailable_TvOn() 846 mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(), in initCec_statusListener_CecEnabled_CecAvailable_TvStandby() 869 mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(), in initCec_statusListener_CecEnabled_CecAvailable_TvTransientToOn() 892 mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(), in initCec_statusListener_CecEnabled_CecAvailable_TvTransientToStandby() 908 mHdmiControlServiceSpy.playback().removeAction(DevicePowerStatusAction.class); in onHotPlugIn_CecDisabledOnTv_CecNotAvailable() 917 mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(), in onHotPlugIn_CecDisabledOnTv_CecNotAvailable() 937 mHdmiControlServiceSpy.playback().removeAction(DevicePowerStatusAction.class); in onHotPlugIn_CecEnabledOnTv_CecAvailable() 946 mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(), in onHotPlugIn_CecEnabledOnTv_CecAvailable() 951 mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(), in onHotPlugIn_CecEnabledOnTv_CecAvailable() 1049 int destAddress = mHdmiControlServiceSpy.playback().getDeviceInfo().getLogicalAddress(); in addVendorCommandListener_receiveCallback_VendorCmdNoIdTest() [all …]
|
/frameworks/av/media/audio/aconfig/ |
D | audioserver.aconfig | 35 "Treat playback use cases differently when bit-perfect client is active to improve the " 36 "user experience with bit-perfect playback."
|
/frameworks/av/cmds/stagefright/ |
D | codec.cpp | 343 bool playback = false; in main() local 363 playback = true; in main() 410 if (playback || (useSurface && useVideo)) { in main() 448 if (playback) { in main() 463 if (playback || (useSurface && useVideo)) { in main()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | IRequestCallback.aidl | 16 package com.android.onemedia.playback;
|
D | PlaybackError.java | 16 package com.android.onemedia.playback;
|
D | MediaItem.java | 16 package com.android.onemedia.playback;
|
D | RequestUtils.java | 16 package com.android.onemedia.playback;
|
/frameworks/base/media/jni/ |
D | playback_flags.aconfig | 1 package: "com.android.media.playback.flags"
|
/frameworks/proto_logging/stats/enums/stats/mediametrics/ |
D | mediametrics.proto | 74 // Playback is buffering in the background for initial playback start 76 // Playback is buffering in the foreground for initial playback start 84 // Playback is buffering to resume active playback 93 // playback
|
/frameworks/base/media/tests/MediaFrameworkTest/ |
D | Android.bp | 23 "android.media.playback.flags-aconfig-java",
|
/frameworks/proto_logging/stats/atoms/media/ |
D | media_codec_extension_atoms.proto | 215 // Framework generated random temporary id for joining related atoms from media playback. 229 // The maximum resolution during playback. 237 // Any HDR format used during playback. 244 // The playback duration in seconds. 268 // The duration of freezes divided by the total duration of playback.
|
/frameworks/base/packages/SettingsLib/aconfig/ |
D | settingslib_media_flag_declarations.aconfig | 38 description: "Use app-provided playback info when providing media routing information."
|
/frameworks/proto_logging/stats/enums/bluetooth/a2dp/ |
D | enums.proto | 23 // A2dp playback state enum, defined from:
|
/frameworks/av/services/mediaextractor/ |
D | Android.bp | 109 "android-media-playback+bugs@google.com",
|