Loading broadcastradio/1.1/ITuner.hal +2 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,8 @@ interface ITuner extends @1.0::ITuner { * * @return result OK if the scan was properly scheduled (this does not mean * it successfully finished). * TEMPORARILY_UNAVAILABLE if the background scan is * temporarily unavailable, ie. due to ongoing foreground * UNAVAILABLE if the background scan is unavailable, * ie. temporarily due to ongoing foreground * playback in single-tuner device. * NOT_INITIALIZED other error, ie. HW failure. */ Loading broadcastradio/1.1/ITunerCallback.hal +9 −1 Original line number Diff line number Diff line Loading @@ -39,12 +39,20 @@ interface ITunerCallback extends @1.0::ITunerCallback { */ oneway afSwitch_1_1(ProgramInfo info); /** * Called by the HAL when background scan feature becomes available or not. * * @param isAvailable true, if the tuner turned temporarily background- * capable, false in the other case. */ oneway backgroundScanAvailable(bool isAvailable); /** * Called by the HAL when background scan initiated by startBackgroundScan * finishes. If the list was changed, programListChanged must be called too. * @param result OK if the scan succeeded, client may retrieve the actual * list with ITuner::getProgramList. * TEMPORARILY_UNAVAILABLE if the scan was interrupted due to * UNAVAILABLE if the scan was interrupted due to * hardware becoming temporarily unavailable. * NOT_INITIALIZED other error, ie. HW failure. */ Loading broadcastradio/1.1/types.hal +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ typedef @1.0::Result Result; enum ProgramListResult : Result { NOT_READY, NOT_STARTED, TEMPORARILY_UNAVAILABLE, UNAVAILABLE, }; /** Loading broadcastradio/1.1/vts/functional/VtsHalBroadcastradioV1_1TargetTest.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,10 @@ class BroadcastRadioHidlTest : public ::testing::VtsHalHidlTargetTestBase { return Void(); } virtual Return<void> backgroundScanAvailable(bool isAvailable __unused) { return Void(); } virtual Return<void> backgroundScanComplete(ProgramListResult result __unused) { return Void(); } Loading Loading
broadcastradio/1.1/ITuner.hal +2 −2 Original line number Diff line number Diff line Loading @@ -47,8 +47,8 @@ interface ITuner extends @1.0::ITuner { * * @return result OK if the scan was properly scheduled (this does not mean * it successfully finished). * TEMPORARILY_UNAVAILABLE if the background scan is * temporarily unavailable, ie. due to ongoing foreground * UNAVAILABLE if the background scan is unavailable, * ie. temporarily due to ongoing foreground * playback in single-tuner device. * NOT_INITIALIZED other error, ie. HW failure. */ Loading
broadcastradio/1.1/ITunerCallback.hal +9 −1 Original line number Diff line number Diff line Loading @@ -39,12 +39,20 @@ interface ITunerCallback extends @1.0::ITunerCallback { */ oneway afSwitch_1_1(ProgramInfo info); /** * Called by the HAL when background scan feature becomes available or not. * * @param isAvailable true, if the tuner turned temporarily background- * capable, false in the other case. */ oneway backgroundScanAvailable(bool isAvailable); /** * Called by the HAL when background scan initiated by startBackgroundScan * finishes. If the list was changed, programListChanged must be called too. * @param result OK if the scan succeeded, client may retrieve the actual * list with ITuner::getProgramList. * TEMPORARILY_UNAVAILABLE if the scan was interrupted due to * UNAVAILABLE if the scan was interrupted due to * hardware becoming temporarily unavailable. * NOT_INITIALIZED other error, ie. HW failure. */ Loading
broadcastradio/1.1/types.hal +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ typedef @1.0::Result Result; enum ProgramListResult : Result { NOT_READY, NOT_STARTED, TEMPORARILY_UNAVAILABLE, UNAVAILABLE, }; /** Loading
broadcastradio/1.1/vts/functional/VtsHalBroadcastradioV1_1TargetTest.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,10 @@ class BroadcastRadioHidlTest : public ::testing::VtsHalHidlTargetTestBase { return Void(); } virtual Return<void> backgroundScanAvailable(bool isAvailable __unused) { return Void(); } virtual Return<void> backgroundScanComplete(ProgramListResult result __unused) { return Void(); } Loading