├── fmapp2 ├── res │ ├── drawable │ │ ├── bg.png │ │ ├── icon.png │ │ ├── ic_stereo.png │ │ ├── bg_landscape.png │ │ ├── ic_btn_onoff.png │ │ ├── ic_signal_2.png │ │ ├── ic_btn_forward.png │ │ ├── ic_btn_preset.png │ │ ├── ic_btn_search.png │ │ ├── ic_btn_spaker.png │ │ ├── ic_menu_record.png │ │ ├── ic_silent_mode.png │ │ ├── ic_status_fm_tx.png │ │ ├── recorder_start.png │ │ ├── recorder_stop.png │ │ ├── stat_notify_fm.png │ │ ├── alert_dialog_icon.png │ │ ├── ic_launcher_fm_tx.png │ │ ├── recorder_selected.png │ │ ├── album_border_large.1.png │ │ ├── btn_arrow_left_press.png │ │ ├── ic_btn_forward_dis.png │ │ ├── ic_btn_onoff_default.png │ │ ├── ic_btn_onoff_disable.png │ │ ├── ic_btn_onoff_press.png │ │ ├── ic_btn_search_stop.png │ │ ├── ic_btn_spaker_select.png │ │ ├── ic_launcher_fmradio.png │ │ ├── ic_silent_mode_off.png │ │ ├── btn_arrow_left_default.png │ │ ├── btn_arrow_right_press.png │ │ ├── ic_btn_earphone_diable.png │ │ ├── ic_btn_earphone_select.png │ │ ├── btn_arrow_left_selected.png │ │ ├── btn_arrow_right_default.png │ │ ├── btn_arrow_right_selected.png │ │ ├── ic_btn_earphone_default.png │ │ ├── image_border_bg_normal.9.png │ │ ├── btn_strip_trans_left_normal.9.png │ │ ├── btn_strip_trans_left_pressed.9.png │ │ ├── btn_strip_trans_right_normal.9.png │ │ ├── btn_strip_trans_left_selected.9.png │ │ ├── btn_strip_trans_middle_normal.9.png │ │ ├── btn_strip_trans_middle_pressed.9.png │ │ ├── btn_strip_trans_right_pressed.9.png │ │ ├── btn_strip_trans_right_selected.9.png │ │ ├── btn_strip_trans_middle_selected.9.png │ │ ├── application_border.xml │ │ ├── station_border.xml │ │ ├── btn_speaker.xml │ │ ├── btn_recorder.xml │ │ ├── btn_onoff.xml │ │ ├── btn_earphone.xml │ │ ├── preset_page_button.xml │ │ ├── btn_arrow_left.xml │ │ ├── btn_arrow_right.xml │ │ ├── btn_strip_trans_left.xml │ │ ├── btn_strip_trans_right.xml │ │ └── btn_strip_trans_middle.xml │ ├── drawable-hdpi │ │ ├── bg.png │ │ ├── count_down.png │ │ ├── bg_landscape.png │ │ ├── ic_btn_spaker.png │ │ ├── recorder_start.png │ │ ├── recorder_stop.png │ │ ├── stat_notify_fm.png │ │ ├── btn_arrow_left_press.png │ │ ├── ic_btn_onoff_default.png │ │ ├── ic_btn_onoff_disable.png │ │ ├── ic_btn_onoff_press.png │ │ ├── ic_btn_spaker_select.png │ │ ├── ic_launcher_fmradio.png │ │ ├── btn_arrow_left_default.png │ │ ├── btn_arrow_right_press.png │ │ ├── ic_btn_earphone_diable.png │ │ ├── ic_btn_earphone_select.png │ │ ├── btn_arrow_left_selected.png │ │ ├── btn_arrow_right_default.png │ │ ├── btn_arrow_right_selected.png │ │ ├── ic_btn_earphone_default.png │ │ ├── btn_strip_trans_left_normal.9.png │ │ ├── btn_strip_trans_left_pressed.9.png │ │ ├── btn_strip_trans_right_normal.9.png │ │ ├── btn_strip_trans_left_selected.9.png │ │ ├── btn_strip_trans_middle_normal.9.png │ │ ├── btn_strip_trans_middle_pressed.9.png │ │ ├── btn_strip_trans_right_pressed.9.png │ │ ├── btn_strip_trans_right_selected.9.png │ │ └── btn_strip_trans_middle_selected.9.png │ ├── drawable-mdpi │ │ ├── bg.png │ │ ├── bg_landscape.png │ │ ├── ic_btn_spaker.png │ │ ├── recorder_start.png │ │ ├── recorder_stop.png │ │ ├── stat_notify_fm.png │ │ ├── recorder_selected.png │ │ ├── btn_arrow_left_press.png │ │ ├── ic_btn_onoff_default.png │ │ ├── ic_btn_onoff_disable.png │ │ ├── ic_btn_onoff_press.png │ │ ├── ic_btn_spaker_select.png │ │ ├── ic_launcher_fmradio.png │ │ ├── btn_arrow_left_default.png │ │ ├── btn_arrow_right_press.png │ │ ├── ic_btn_earphone_diable.png │ │ ├── ic_btn_earphone_select.png │ │ ├── btn_arrow_left_selected.png │ │ ├── btn_arrow_right_default.png │ │ ├── btn_arrow_right_selected.png │ │ ├── ic_btn_earphone_default.png │ │ ├── btn_strip_trans_left_normal.9.png │ │ ├── btn_strip_trans_left_pressed.9.png │ │ ├── btn_strip_trans_right_normal.9.png │ │ ├── btn_strip_trans_left_selected.9.png │ │ ├── btn_strip_trans_middle_normal.9.png │ │ ├── btn_strip_trans_middle_pressed.9.png │ │ ├── btn_strip_trans_right_pressed.9.png │ │ ├── btn_strip_trans_right_selected.9.png │ │ └── btn_strip_trans_middle_selected.9.png │ ├── layout │ │ ├── frequency_picker_dialog.xml │ │ ├── frequency_picker.xml │ │ ├── fmtags.xml │ │ ├── alert_dialog_list.xml │ │ ├── station_list.xml │ │ ├── alert_dialog_text_entry.xml │ │ ├── statusbar.xml │ │ ├── rename_dialog.xml │ │ ├── delete_dialog.xml │ │ └── station_list_item.xml │ ├── anim │ │ └── preset_select.xml │ ├── layout-800x480 │ │ └── fmtags.xml │ ├── menu │ │ └── menu_rf_stats.xml │ └── values │ │ ├── customize.xml │ │ └── styles.xml ├── src │ └── com │ │ └── caf │ │ └── fmradio │ │ ├── IFMTransmitterService.aidl │ │ ├── GetNextFreqInterface.java │ │ ├── FMAdapterApp.java │ │ ├── IFMTransmitterServiceCallbacks.aidl │ │ ├── IFMRadioServiceCallbacks.aidl │ │ └── IFMRadioService.aidl └── Android.mk ├── fmapp ├── res │ ├── drawable │ │ ├── icon.png │ │ ├── ic_signal_2.png │ │ ├── ic_stereo.png │ │ ├── ic_btn_onoff.png │ │ ├── ic_btn_preset.png │ │ ├── ic_btn_search.png │ │ ├── ic_btn_forward.png │ │ ├── ic_menu_record.png │ │ ├── ic_silent_mode.png │ │ ├── ic_status_fm_tx.png │ │ ├── stat_notify_fm.png │ │ ├── alert_dialog_icon.png │ │ ├── ic_btn_forward_dis.png │ │ ├── ic_btn_search_stop.png │ │ ├── ic_launcher_fm_tx.png │ │ ├── ic_silent_mode_off.png │ │ ├── album_border_large.1.png │ │ ├── btn_arrow_left_press.png │ │ ├── btn_arrow_right_press.png │ │ ├── ic_launcher_fmradio.png │ │ ├── btn_arrow_left_default.png │ │ ├── btn_arrow_left_selected.png │ │ ├── btn_arrow_right_default.png │ │ ├── btn_arrow_right_selected.png │ │ ├── image_border_bg_normal.9.png │ │ ├── station_border.xml │ │ ├── application_border.xml │ │ ├── preset_page_button.xml │ │ ├── btn_arrow_left.xml │ │ └── btn_arrow_right.xml │ ├── layout-small │ │ ├── frequency_picker_dialog.xml │ │ ├── alert_dialog_list.xml │ │ ├── fmtags.xml │ │ ├── alert_dialog_text_entry.xml │ │ ├── frequency_picker.xml │ │ └── statusbar.xml │ ├── anim │ │ └── preset_select.xml │ ├── layout-normal │ │ └── fmtags.xml │ ├── menu │ │ └── menu_rf_stats.xml │ ├── values │ │ └── styles.xml │ └── layout-normal-land-finger │ │ └── fmradio.xml ├── Android.mk └── src │ └── com │ └── codeaurora │ └── fmradio │ ├── GetNextFreqInterface.java │ ├── FMAdapterApp.java │ ├── IFMTransmitterServiceCallbacks.aidl │ ├── IFMRadioServiceCallbacks.aidl │ ├── IFMTransmitterService.aidl │ └── FMMediaButtonIntentReceiver.java ├── FMRecord ├── res │ ├── drawable │ │ └── ic_menu_record.png │ ├── layout │ │ └── record_status_bar.xml │ ├── values-zh-rTW │ │ └── strings.xml │ ├── values │ │ ├── customize.xml │ │ └── strings.xml │ └── values-zh-rCN │ │ └── strings.xml ├── Android.mk ├── AndroidManifest.xml └── src │ └── com │ └── codeaurora │ └── fmrecording │ └── FMRecordingReceiver.java ├── qcom └── fmradio │ ├── qcom.fmradio.xml │ ├── SpurFileParserInterface.java │ ├── FmTransmitterCallbacksAdaptor.java │ ├── FmRxEvCallbacks.java │ ├── SpurTable.java │ ├── FmRxEvCallbacksAdaptor.java │ ├── SpurFileFormatConst.java │ └── Spur.java ├── jni ├── Android.mk ├── FmIoctlsInterface.h └── ConfFileParser.h ├── libfm_jni ├── Android.mk ├── FmIoctlsInterface.h └── ConfFileParser.h └── Android.mk /fmapp2/res/drawable/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/bg.png -------------------------------------------------------------------------------- /fmapp/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/icon.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/icon.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/bg.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/bg.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_signal_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_signal_2.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_stereo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_stereo.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_stereo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_stereo.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_btn_onoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_btn_onoff.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_btn_preset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_btn_preset.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_btn_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_btn_search.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/bg_landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/bg_landscape.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_onoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_onoff.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_signal_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_signal_2.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_btn_forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_btn_forward.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_menu_record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_menu_record.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_silent_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_silent_mode.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_status_fm_tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_status_fm_tx.png -------------------------------------------------------------------------------- /fmapp/res/drawable/stat_notify_fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/stat_notify_fm.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/count_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/count_down.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_forward.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_preset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_preset.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_search.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_spaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_spaker.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_menu_record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_menu_record.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_silent_mode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_silent_mode.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_status_fm_tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_status_fm_tx.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/recorder_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/recorder_start.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/recorder_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/recorder_stop.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/stat_notify_fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/stat_notify_fm.png -------------------------------------------------------------------------------- /FMRecord/res/drawable/ic_menu_record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/FMRecord/res/drawable/ic_menu_record.png -------------------------------------------------------------------------------- /fmapp/res/drawable/alert_dialog_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/alert_dialog_icon.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_btn_forward_dis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_btn_forward_dis.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_btn_search_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_btn_search_stop.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_launcher_fm_tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_launcher_fm_tx.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_silent_mode_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_silent_mode_off.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/bg_landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/bg_landscape.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/bg_landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/bg_landscape.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/alert_dialog_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/alert_dialog_icon.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_launcher_fm_tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_launcher_fm_tx.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/recorder_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/recorder_selected.png -------------------------------------------------------------------------------- /fmapp/res/drawable/album_border_large.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/album_border_large.1.png -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_left_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/btn_arrow_left_press.png -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_right_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/btn_arrow_right_press.png -------------------------------------------------------------------------------- /fmapp/res/drawable/ic_launcher_fmradio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/ic_launcher_fmradio.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_spaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_spaker.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/recorder_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/recorder_start.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/recorder_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/recorder_stop.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/stat_notify_fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/stat_notify_fm.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_spaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_spaker.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/recorder_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/recorder_start.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/recorder_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/recorder_stop.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/stat_notify_fm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/stat_notify_fm.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/album_border_large.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/album_border_large.1.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_left_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_arrow_left_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_forward_dis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_forward_dis.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_onoff_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_onoff_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_onoff_disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_onoff_disable.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_onoff_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_onoff_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_search_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_search_stop.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_spaker_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_spaker_select.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_launcher_fmradio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_launcher_fmradio.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_silent_mode_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_silent_mode_off.png -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_left_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/btn_arrow_left_default.png -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_left_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/btn_arrow_left_selected.png -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_right_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/btn_arrow_right_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/recorder_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/recorder_selected.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_left_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_arrow_left_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_right_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_arrow_right_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_earphone_diable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_earphone_diable.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_earphone_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_earphone_select.png -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_right_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/btn_arrow_right_selected.png -------------------------------------------------------------------------------- /fmapp/res/drawable/image_border_bg_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp/res/drawable/image_border_bg_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_arrow_left_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_arrow_left_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_onoff_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_onoff_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_onoff_disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_onoff_disable.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_onoff_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_onoff_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_spaker_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_spaker_select.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_launcher_fmradio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_launcher_fmradio.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_arrow_left_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_arrow_left_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_onoff_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_onoff_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_onoff_disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_onoff_disable.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_onoff_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_onoff_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_spaker_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_spaker_select.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_launcher_fmradio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_launcher_fmradio.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_left_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_arrow_left_selected.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_right_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_arrow_right_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_right_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_arrow_right_selected.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/ic_btn_earphone_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/ic_btn_earphone_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/image_border_bg_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/image_border_bg_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_arrow_left_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_arrow_left_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_arrow_right_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_arrow_right_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_earphone_diable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_earphone_diable.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_earphone_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_earphone_select.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_arrow_left_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_arrow_left_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_arrow_right_press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_arrow_right_press.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_earphone_diable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_earphone_diable.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_earphone_select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_earphone_select.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_arrow_left_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_arrow_left_selected.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_arrow_right_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_arrow_right_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_arrow_right_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_arrow_right_selected.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/ic_btn_earphone_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/ic_btn_earphone_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_arrow_left_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_arrow_left_selected.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_arrow_right_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_arrow_right_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_arrow_right_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_arrow_right_selected.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/ic_btn_earphone_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/ic_btn_earphone_default.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_left_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_left_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_left_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_left_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_right_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_right_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_left_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_left_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_middle_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_middle_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_middle_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_middle_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_right_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_right_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_right_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_right_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_left_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_left_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_left_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_left_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_right_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_right_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_left_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_left_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_left_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_left_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_right_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_right_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_middle_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable/btn_strip_trans_middle_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_left_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_left_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_middle_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_middle_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_middle_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_middle_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_right_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_right_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_right_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_right_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_left_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_left_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_middle_normal.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_middle_normal.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_middle_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_middle_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_right_pressed.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_right_pressed.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_right_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_right_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-hdpi/btn_strip_trans_middle_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-hdpi/btn_strip_trans_middle_selected.9.png -------------------------------------------------------------------------------- /fmapp2/res/drawable-mdpi/btn_strip_trans_middle_selected.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sonyxperiadev/vendor-qcom-opensource-fm/HEAD/fmapp2/res/drawable-mdpi/btn_strip_trans_middle_selected.9.png -------------------------------------------------------------------------------- /qcom/fmradio/qcom.fmradio.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /FMRecord/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(BOARD_HAVE_QCOM_FM),true) 2 | LOCAL_PATH:= $(call my-dir) 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE_TAGS := optional 6 | 7 | LOCAL_SRC_FILES := $(call all-java-files-under, src/com/codeaurora/fmrecording/) 8 | 9 | LOCAL_PACKAGE_NAME := FMRecord 10 | LOCAL_CERTIFICATE := platform 11 | LOCAL_PROGUARD_ENABLED := disabled 12 | include $(BUILD_PACKAGE) 13 | endif # BOARD_HAVE_QCOM_FM 14 | -------------------------------------------------------------------------------- /jni/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(BOARD_HAVE_QCOM_FM),true) 2 | LOCAL_PATH := $(call my-dir) 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_SRC_FILES:= \ 6 | android_hardware_fm.cpp \ 7 | ConfFileParser.cpp \ 8 | ConfigFmThs.cpp \ 9 | FmIoctlsInterface.cpp \ 10 | FmPerformanceParams.cpp 11 | 12 | LOCAL_SHARED_LIBRARIES := \ 13 | libnativehelper \ 14 | libcutils 15 | 16 | LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 17 | LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 18 | 19 | LOCAL_MODULE := libqcomfm_jni 20 | LOCAL_MODULE_TAGS := optional 21 | 22 | include $(BUILD_SHARED_LIBRARY) 23 | endif # BOARD_HAVE_QCOM_FM 24 | -------------------------------------------------------------------------------- /fmapp2/src/com/caf/fmradio/IFMTransmitterService.aidl: -------------------------------------------------------------------------------- 1 | package com.caf.fmradio; 2 | 3 | import com.caf.fmradio.IFMTransmitterServiceCallbacks; 4 | interface IFMTransmitterService 5 | { 6 | boolean fmOn(); 7 | boolean fmOff(); 8 | boolean fmRestart(); 9 | boolean isFmOn(); 10 | boolean fmReconfigure(); 11 | void registerCallbacks(IFMTransmitterServiceCallbacks cb); 12 | void unregisterCallbacks(); 13 | boolean tune(int frequency); 14 | boolean searchWeakStationList(int numStations); 15 | int[] getSearchList(); 16 | boolean cancelSearch(); 17 | String getRadioText(); 18 | boolean isInternalAntennaAvailable(); 19 | boolean isHeadsetPlugged(); 20 | boolean isCallActive(); 21 | String getPSData(); 22 | } 23 | 24 | -------------------------------------------------------------------------------- /libfm_jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_SRC_FILES := \ 6 | FmIoctlsInterface.cpp \ 7 | ConfigFmThs.cpp \ 8 | FmPerformanceParams.cpp \ 9 | ConfFileParser.cpp \ 10 | FmRadioController.cpp \ 11 | LibfmJni.cpp 12 | 13 | LOCAL_C_INCLUDES := $(JNI_H_INCLUDE) \ 14 | frameworks/base/include/media 15 | 16 | LOCAL_SHARED_LIBRARIES := \ 17 | libcutils \ 18 | libdl \ 19 | libmedia \ 20 | libnativehelper \ 21 | 22 | #LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 23 | #LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 24 | 25 | ifeq ($(TARGET_QCOM_NO_FM_FIRMWARE),true) 26 | LOCAL_CFLAGS += -DQCOM_NO_FM_FIRMWARE 27 | endif 28 | 29 | LOCAL_MODULE := libfmjni 30 | include $(BUILD_SHARED_LIBRARY) 31 | -------------------------------------------------------------------------------- /fmapp2/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(BOARD_HAVE_QCOM_FM),true) 2 | 3 | LOCAL_PATH:= $(call my-dir) 4 | include $(CLEAR_VARS) 5 | 6 | LOCAL_SRC_FILES := $(call all-java-files-under, src/com/caf/fmradio) \ 7 | src/com/caf/fmradio/IFMRadioServiceCallbacks.aidl \ 8 | src/com/caf/fmradio/IFMRadioService.aidl \ 9 | src/com/caf/fmradio/IFMTransmitterServiceCallbacks.aidl \ 10 | src/com/caf/fmradio/IFMTransmitterService.aidl \ 11 | 12 | 13 | ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 11 ))" ))) 14 | LOCAL_SRC_FILES += $(call all-java-files-under, src/com/caf/hc_utils) 15 | else 16 | LOCAL_SRC_FILES += $(call all-java-files-under, src/com/caf/utils) 17 | endif 18 | LOCAL_PACKAGE_NAME := FM2 19 | LOCAL_CERTIFICATE := platform 20 | LOCAL_JNI_SHARED_LIBRARIES := libqcomfm_jni 21 | LOCAL_JAVA_LIBRARIES := qcom.fmradio 22 | 23 | include $(BUILD_PACKAGE) 24 | 25 | endif 26 | -------------------------------------------------------------------------------- /fmapp/Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(BOARD_HAVE_QCOM_FM),true) 2 | 3 | LOCAL_PATH:= $(call my-dir) 4 | include $(CLEAR_VARS) 5 | 6 | LOCAL_SRC_FILES := $(call all-java-files-under, src/com/codeaurora/fmradio) \ 7 | src/com/codeaurora/fmradio/IFMRadioServiceCallbacks.aidl \ 8 | src/com/codeaurora/fmradio/IFMRadioService.aidl \ 9 | src/com/codeaurora/fmradio/IFMTransmitterServiceCallbacks.aidl \ 10 | src/com/codeaurora/fmradio/IFMTransmitterService.aidl \ 11 | 12 | 13 | ifeq (1,$(filter 1,$(shell echo "$$(( $(PLATFORM_SDK_VERSION) >= 11 ))" ))) 14 | LOCAL_SRC_FILES += $(call all-java-files-under, src/com/codeaurora/hc_utils) 15 | else 16 | LOCAL_SRC_FILES += $(call all-java-files-under, src/com/codeaurora/utils) 17 | endif 18 | LOCAL_PACKAGE_NAME := FM 19 | LOCAL_CERTIFICATE := platform 20 | LOCAL_JNI_SHARED_LIBRARIES := libqcomfm_jni 21 | LOCAL_JAVA_LIBRARIES := qcom.fmradio 22 | include $(BUILD_PACKAGE) 23 | 24 | endif 25 | -------------------------------------------------------------------------------- /Android.mk: -------------------------------------------------------------------------------- 1 | ifeq ($(BOARD_HAVE_QCOM_FM),true) 2 | 3 | LOCAL_PATH:= $(call my-dir) 4 | LOCAL_DIR_PATH:= $(call my-dir) 5 | include $(CLEAR_VARS) 6 | 7 | LOCAL_MODULE_TAGS := optional 8 | 9 | #ifneq ($(TARGET_USES_AOSP),true) 10 | 11 | LOCAL_SRC_FILES := $(call all-java-files-under, qcom/fmradio) 12 | LOCAL_JNI_SHARED_LIBRARIES := libqcomfm_jni 13 | 14 | LOCAL_MODULE:= qcom.fmradio 15 | 16 | LOCAL_ADDITIONAL_DEPENDENCIES := qcom.fmradio.xml 17 | 18 | include $(BUILD_JAVA_LIBRARY) 19 | 20 | 21 | include $(CLEAR_VARS) 22 | 23 | LOCAL_MODULE := qcom.fmradio.xml 24 | LOCAL_SRC_FILES := qcom/fmradio/$(LOCAL_MODULE) 25 | LOCAL_MODULE_TAGS := optional 26 | LOCAL_MODULE_CLASS := ETC 27 | LOCAL_MODULE_PATH := $(TARGET_OUT)/etc/permissions 28 | 29 | include $(BUILD_PREBUILT) 30 | 31 | 32 | include $(LOCAL_PATH)/jni/Android.mk 33 | LOCAL_PATH := $(LOCAL_DIR_PATH) 34 | include $(LOCAL_PATH)/fmapp2/Android.mk 35 | #LOCAL_PATH := $(LOCAL_DIR_PATH) 36 | #include $(LOCAL_PATH)/FMRecord/Android.mk 37 | 38 | #endif # Not (TARGET_USES_AOSP) 39 | 40 | LOCAL_PATH := $(LOCAL_DIR_PATH) 41 | include $(LOCAL_PATH)/libfm_jni/Android.mk 42 | 43 | endif # BOARD_HAVE_QCOM_FM 44 | -------------------------------------------------------------------------------- /fmapp2/res/layout/frequency_picker_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 28 | -------------------------------------------------------------------------------- /fmapp2/res/layout/frequency_picker.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 26 | 27 | 35 | 36 | 37 | 46 | 47 | -------------------------------------------------------------------------------- /qcom/fmradio/SpurFileParserInterface.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package qcom.fmradio; 30 | 31 | public interface SpurFileParserInterface { 32 | 33 | SpurTable GetSpurTable(String fileName); 34 | } 35 | -------------------------------------------------------------------------------- /fmapp2/src/com/caf/fmradio/GetNextFreqInterface.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | package com.caf.fmradio; 29 | public interface GetNextFreqInterface { 30 | public int getNextFreq(); 31 | public void Stop(); 32 | public boolean errorOccured(); 33 | } 34 | -------------------------------------------------------------------------------- /fmapp/src/com/codeaurora/fmradio/GetNextFreqInterface.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package com.codeaurora.fmradio; 30 | 31 | public interface GetNextFreqInterface { 32 | public int getNextFreq(); 33 | public void Stop(); 34 | public boolean errorOccured(); 35 | } 36 | 37 | -------------------------------------------------------------------------------- /fmapp/res/drawable/station_border.xml: -------------------------------------------------------------------------------- 1 | 28 | 29 | 30 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/application_border.xml: -------------------------------------------------------------------------------- 1 | 28 | 29 | 30 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/station_border.xml: -------------------------------------------------------------------------------- 1 | 28 | 29 | 30 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /fmapp/res/drawable/application_border.xml: -------------------------------------------------------------------------------- 1 | 28 | 29 | 30 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /fmapp2/src/com/caf/fmradio/FMAdapterApp.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, The Linux Foundation. All rights reserved. 3 | * Not a Contribution. 4 | * 5 | * Copyright (C) 2012 The Android Open Source Project 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | */ 19 | 20 | /** 21 | * @hide 22 | */ 23 | 24 | package com.caf.fmradio; 25 | 26 | import android.app.Application; 27 | import android.util.Log; 28 | 29 | public class FMAdapterApp extends Application { 30 | private static final String TAG = "FMAdapterApp"; 31 | private static final boolean DBG = true; 32 | //For Debugging only 33 | private static int sRefCount=0; 34 | 35 | static { 36 | if (DBG) Log.d(TAG,"Loading FM-JNI Library"); 37 | System.loadLibrary("qcomfm_jni"); 38 | } 39 | 40 | public FMAdapterApp() { 41 | super(); 42 | if (DBG) { 43 | synchronized (FMAdapterApp.class) { 44 | sRefCount++; 45 | Log.d(TAG, "REFCOUNT: Constructed "+ this + " Instance Count = " + sRefCount); 46 | } 47 | } 48 | } 49 | 50 | @Override 51 | public void onCreate() { 52 | super.onCreate(); 53 | } 54 | 55 | @Override 56 | protected void finalize() { 57 | if (DBG) { 58 | synchronized (FMAdapterApp.class) { 59 | sRefCount--; 60 | Log.d(TAG, "REFCOUNT: Finalized: " + this +", Instance Count = " + sRefCount); 61 | } 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /fmapp/src/com/codeaurora/fmradio/FMAdapterApp.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, The Linux Foundation. All rights reserved. 3 | * Not a Contribution. 4 | * 5 | * Copyright (C) 2012 The Android Open Source Project 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | */ 19 | 20 | /** 21 | * @hide 22 | */ 23 | 24 | package com.codeaurora.fmradio; 25 | 26 | import android.app.Application; 27 | import android.util.Log; 28 | 29 | public class FMAdapterApp extends Application { 30 | private static final String TAG = "FMAdapterApp"; 31 | private static final boolean DBG = true; 32 | //For Debugging only 33 | private static int sRefCount=0; 34 | 35 | static { 36 | if (DBG) Log.d(TAG,"Loading FM-JNI Library"); 37 | System.loadLibrary("qcomfm_jni"); 38 | } 39 | 40 | public FMAdapterApp() { 41 | super(); 42 | if (DBG) { 43 | synchronized (FMAdapterApp.class) { 44 | sRefCount++; 45 | Log.d(TAG, "REFCOUNT: Constructed "+ this + " Instance Count = " + sRefCount); 46 | } 47 | } 48 | } 49 | 50 | @Override 51 | public void onCreate() { 52 | super.onCreate(); 53 | } 54 | 55 | @Override 56 | protected void finalize() { 57 | if (DBG) { 58 | synchronized (FMAdapterApp.class) { 59 | sRefCount--; 60 | Log.d(TAG, "REFCOUNT: Finalized: " + this +", Instance Count = " + sRefCount); 61 | } 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_speaker.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 35 | 37 | 38 | -------------------------------------------------------------------------------- /fmapp/res/layout-small/frequency_picker_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 35 | -------------------------------------------------------------------------------- /fmapp/res/anim/preset_select.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 39 | -------------------------------------------------------------------------------- /fmapp2/res/anim/preset_select.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 39 | -------------------------------------------------------------------------------- /fmapp/res/layout-small/alert_dialog_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 33 | 34 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_recorder.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 35 | 37 | 39 | 40 | -------------------------------------------------------------------------------- /fmapp2/res/layout/fmtags.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 33 | 34 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp/res/layout-normal/fmtags.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 33 | 34 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp/res/layout-small/fmtags.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 33 | 34 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp2/res/layout-800x480/fmtags.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 33 | 34 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_onoff.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 35 | 37 | 39 | 40 | -------------------------------------------------------------------------------- /fmapp2/res/layout/alert_dialog_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 33 | 34 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_earphone.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 35 | 37 | 39 | 40 | -------------------------------------------------------------------------------- /fmapp2/src/com/caf/fmradio/IFMTransmitterServiceCallbacks.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009,2012-2013 The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package com.caf.fmradio; 30 | 31 | interface IFMTransmitterServiceCallbacks 32 | { 33 | void onEnabled(boolean bStatus); 34 | void onDisabled(); 35 | void onRadioReset(); 36 | void onTuneStatusChanged(int frequency); 37 | void onRadioTextChanged(); 38 | void onSearchListComplete(boolean bStatus); 39 | void onReconfigured(); 40 | void onMetaDataChanged(String str); 41 | void onPSInfoSent(String str); 42 | } 43 | -------------------------------------------------------------------------------- /fmapp/src/com/codeaurora/fmradio/IFMTransmitterServiceCallbacks.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009,2013 The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package com.codeaurora.fmradio; 30 | 31 | interface IFMTransmitterServiceCallbacks 32 | { 33 | void onEnabled(boolean bStatus); 34 | void onDisabled(); 35 | void onRadioReset(); 36 | void onTuneStatusChanged(int frequency); 37 | void onRadioTextChanged(); 38 | void onSearchListComplete(boolean bStatus); 39 | void onReconfigured(); 40 | void onMetaDataChanged(String str); 41 | void onPSInfoSent(String str); 42 | } 43 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/preset_page_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 32 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /fmapp/res/drawable/preset_page_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 32 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | 33 | 34 | 36 | 37 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | 33 | 34 | 36 | 37 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_arrow_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | 32 | 34 | 35 | 37 | 38 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /fmapp/res/drawable/btn_arrow_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | 32 | 34 | 35 | 37 | 38 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 36 | 37 | 39 | 40 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 36 | 37 | 39 | 40 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /fmapp2/res/drawable/btn_strip_trans_middle.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 34 | 36 | 37 | 39 | 40 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /fmapp/res/menu/menu_rf_stats.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | 34 | 35 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp2/res/menu/menu_rf_stats.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 31 | 34 | 35 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /fmapp2/res/layout/station_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 36 | 37 | 38 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /FMRecord/res/layout/record_status_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 34 | 35 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /fmapp/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 39 | 40 | -------------------------------------------------------------------------------- /qcom/fmradio/FmTransmitterCallbacksAdaptor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package qcom.fmradio; 30 | /** 31 | * @hide 32 | * Class to be implemented for Tx events callbacks 33 | * 34 | */ 35 | public class FmTransmitterCallbacksAdaptor implements FmTransmitterCallbacks 36 | { 37 | public void FmTxEvTuneStatusChange(int freq) {}; 38 | public void FmTxEvRDSGroupsAvailable() {}; 39 | public void FmTxEvRDSGroupsComplete() {}; 40 | public void FmTxEvContRDSGroupsComplete() {}; 41 | public void FmTxEvRadioDisabled() {}; 42 | public void FmTxEvRadioEnabled() {}; 43 | public void FmTxEvRadioReset() {}; 44 | }; 45 | 46 | -------------------------------------------------------------------------------- /fmapp/src/com/codeaurora/fmradio/IFMRadioServiceCallbacks.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package com.codeaurora.fmradio; 30 | 31 | interface IFMRadioServiceCallbacks 32 | { 33 | void onEnabled(); 34 | void onDisabled(); 35 | void onRadioReset(); 36 | void onTuneStatusChanged(); 37 | void onProgramServiceChanged(); 38 | void onRadioTextChanged(); 39 | void onAlternateFrequencyChanged(); 40 | void onSignalStrengthChanged(); 41 | void onSearchComplete(); 42 | void onSearchListComplete(); 43 | void onMute(boolean bMuted); 44 | void onAudioUpdate(boolean bStereo); 45 | void onStationRDSSupported(boolean bRDSSupported); 46 | void onRecordingStopped(); 47 | void onExtenRadioTextChanged(); 48 | void onRecordingStarted(); 49 | } 50 | -------------------------------------------------------------------------------- /fmapp2/res/values/customize.xml: -------------------------------------------------------------------------------- 1 | 2 | 30 | 31 | 32 | 33 | false 34 | 35 | 39 | false 40 | 41 | 45 | false 46 | 47 | 51 | false 52 | 53 | 54 | -------------------------------------------------------------------------------- /fmapp/src/com/codeaurora/fmradio/IFMTransmitterService.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package com.codeaurora.fmradio; 30 | 31 | import com.codeaurora.fmradio.IFMTransmitterServiceCallbacks; 32 | interface IFMTransmitterService 33 | { 34 | boolean fmOn(); 35 | boolean fmOff(); 36 | boolean fmRestart(); 37 | boolean isFmOn(); 38 | boolean fmReconfigure(); 39 | void registerCallbacks(IFMTransmitterServiceCallbacks cb); 40 | void unregisterCallbacks(); 41 | boolean tune(int frequency); 42 | boolean searchWeakStationList(int numStations); 43 | int[] getSearchList(); 44 | boolean cancelSearch(); 45 | String getRadioText(); 46 | boolean isInternalAntennaAvailable(); 47 | boolean isHeadsetPlugged(); 48 | boolean isCallActive(); 49 | String getPSData(); 50 | } 51 | 52 | -------------------------------------------------------------------------------- /fmapp2/src/com/caf/fmradio/IFMRadioServiceCallbacks.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009-2013, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package com.caf.fmradio; 30 | 31 | interface IFMRadioServiceCallbacks 32 | { 33 | void onEnabled(); 34 | void onDisabled(); 35 | void onRadioReset(); 36 | void onTuneStatusChanged(); 37 | void onProgramServiceChanged(); 38 | void onRadioTextChanged(); 39 | void onAlternateFrequencyChanged(); 40 | void onSignalStrengthChanged(); 41 | void onSearchComplete(); 42 | void onSearchListComplete(); 43 | void onMute(boolean bMuted); 44 | void onAudioUpdate(boolean bStereo); 45 | void onStationRDSSupported(boolean bRDSSupported); 46 | void onRecordingStopped(); 47 | void onExtenRadioTextChanged(); 48 | void onRecordingStarted(); 49 | void onSeekNextStation(); 50 | void onA2DPConnectionstateChanged(boolean state); 51 | } 52 | -------------------------------------------------------------------------------- /FMRecord/res/values-zh-rTW/strings.xml: -------------------------------------------------------------------------------- 1 | 29 | 30 | USB 存儲設備空間不足,請更改錄音時長設置,或刪除某些錄音或者其他檔案。 31 | SD卡空間不足,不能錄音 32 | SD卡空間不足,錄音停止 33 | 我的FM錄音 34 | 35 | FM 錄音 36 | 37 | FM 錄音 38 | FM 錄音進行中 39 | 無法保存已錄音頻 40 | 已到達最長限制. 41 | 42 | 錄音已保存至 "%1$s" 43 | 44 | -------------------------------------------------------------------------------- /qcom/fmradio/FmRxEvCallbacks.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009,2012 The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package qcom.fmradio; 30 | interface FmRxEvCallbacks { 31 | 32 | public void FmRxEvEnableReceiver(); 33 | public void FmRxEvDisableReceiver(); 34 | public void FmRxEvRadioReset(); 35 | public void FmRxEvRadioTuneStatus(int freq); 36 | public void FmRxEvRdsLockStatus(boolean rdsAvail); 37 | public void FmRxEvStereoStatus(boolean stereo); 38 | public void FmRxEvServiceAvailable(boolean service); 39 | public void FmRxEvSearchInProgress(); 40 | public void FmRxEvSearchCancelled(); 41 | public void FmRxEvSearchComplete(int freq); 42 | public void FmRxEvSearchListComplete(); 43 | public void FmRxEvRdsGroupData(); 44 | public void FmRxEvRdsPsInfo(); 45 | public void FmRxEvRdsRtInfo(); 46 | public void FmRxEvRdsAfInfo(); 47 | public void FmRxEvRTPlus(); 48 | public void FmRxEvERTInfo(); 49 | } 50 | -------------------------------------------------------------------------------- /fmapp/res/layout-small/alert_dialog_text_entry.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 33 | 34 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /fmapp2/res/layout/alert_dialog_text_entry.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 33 | 34 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /FMRecord/res/values/customize.xml: -------------------------------------------------------------------------------- 1 | 2 | 30 | 31 | 32 | 33 | 34 | false 35 | 36 | 37 | FM 38 | 39 | 40 | false 41 | 42 | 43 | yyyy-MM-dd-HH-mm-ss 44 | 45 | 46 | /SoundRecorder 47 | 48 | 49 | .3gpp 50 | 51 | 52 | -------------------------------------------------------------------------------- /FMRecord/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /FMRecord/res/values-zh-rCN/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | "USB 存储设备空间不足,请更改录音时长设置,或删除某些录音或者其他文件。 34 | 35 | 36 | "录音已保存至 "%1$s" 37 | 38 | 我的 FM 录音 39 | 40 | FM 录音 41 | 42 | FM 录音 43 | FM 录音进行中 44 | 已到达最长限制. 45 | 无法保存已录音频 46 | 47 | -------------------------------------------------------------------------------- /fmapp2/res/layout/statusbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 33 | 37 | 38 | 44 | 45 | 46 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /qcom/fmradio/SpurTable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package qcom.fmradio; 30 | 31 | import java.util.ArrayList; 32 | import java.util.List; 33 | 34 | public class SpurTable { 35 | 36 | private byte mode; 37 | private byte spurNoOfFreq; 38 | private List spurs; 39 | 40 | SpurTable() { 41 | this.mode = -1; 42 | this.spurNoOfFreq = 0; 43 | this.spurs = null; 44 | } 45 | 46 | public List GetSpurList() { 47 | return spurs; 48 | } 49 | 50 | public void SetspurNoOfFreq(byte spurNoOfFreq) { 51 | this.spurNoOfFreq = spurNoOfFreq; 52 | } 53 | 54 | public void SetMode(byte mode) { 55 | this.mode = mode; 56 | } 57 | 58 | public void InsertSpur(Spur s) { 59 | if (spurs == null) { 60 | spurs = new ArrayList(); 61 | } 62 | spurs.add(s); 63 | } 64 | 65 | public byte GetMode() { 66 | return mode; 67 | } 68 | 69 | public byte GetspurNoOfFreq() { 70 | return spurNoOfFreq; 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /fmapp2/src/com/caf/fmradio/IFMRadioService.aidl: -------------------------------------------------------------------------------- 1 | package com.caf.fmradio; 2 | 3 | import com.caf.fmradio.IFMRadioServiceCallbacks; 4 | 5 | interface IFMRadioService 6 | { 7 | boolean fmOn(); 8 | boolean fmOff(); 9 | boolean fmRadioReset(); 10 | boolean isFmOn(); 11 | boolean isAnalogModeEnabled(); 12 | boolean isFmRecordingOn(); 13 | boolean isSpeakerEnabled(); 14 | boolean fmReconfigure(); 15 | void registerCallbacks(IFMRadioServiceCallbacks cb); 16 | void unregisterCallbacks(); 17 | boolean mute(); 18 | boolean routeAudio(int device); 19 | boolean unMute(); 20 | boolean isMuted(); 21 | boolean startRecording(); 22 | void stopRecording(); 23 | boolean tune(int frequency); 24 | boolean seek(boolean up); 25 | void enableSpeaker(boolean speakerOn); 26 | boolean scan(int pty); 27 | boolean seekPI(int piCode); 28 | boolean searchStrongStationList(int numStations); 29 | int[] getSearchList(); 30 | boolean cancelSearch(); 31 | String getProgramService(); 32 | String getRadioText(); 33 | int getProgramType(); 34 | int getProgramID(); 35 | boolean setLowPowerMode(boolean bLowPower); 36 | int getPowerMode(); 37 | boolean enableAutoAF(boolean bEnable); 38 | boolean enableStereo(boolean bEnable); 39 | boolean isAntennaAvailable(); 40 | boolean isWiredHeadsetAvailable(); 41 | boolean isCallActive(); 42 | int getRssi(); 43 | int getIoC(); 44 | int getMpxDcc(); 45 | int getIntDet(); 46 | int getSINR(); 47 | void setHiLoInj(int inj); 48 | void delayedStop(long nDuration, int nType); 49 | void cancelDelayedStop (int nType); 50 | void requestFocus(); 51 | boolean setSinrSamplesCnt(int samplesCnt); 52 | boolean setSinrTh(int sinr); 53 | boolean setIntfDetLowTh(int intfLowTh); 54 | boolean setIntfDetHighTh(int intfHighTh); 55 | String getExtenRadioText(); 56 | int getSinrSamplesCnt(); 57 | int getSinrTh(); 58 | int getSearchAlgoType(); 59 | boolean setSearchAlgoType(int searchType); 60 | int getSinrFirstStage(); 61 | boolean setSinrFirstStage(int sinr); 62 | int getRmssiFirstStage(); 63 | boolean setRmssiFirstStage(int rmssi); 64 | int getCFOMeanTh(); 65 | boolean setCFOMeanTh(int cf0); 66 | boolean setAfJmpRmssiTh(int afJmpRmssiTh); 67 | boolean setGoodChRmssiTh(int gdChRmssiTh); 68 | boolean setAfJmpRmssiSamplesCnt(int afJmpRmssiSmplsCnt); 69 | int getAfJmpRmssiTh(); 70 | int getGoodChRmssiTh(); 71 | int getAfJmpRmssiSamplesCnt(); 72 | boolean setRxRepeatCount(int count); 73 | long getRecordingStartTime(); 74 | boolean isSleepTimerActive(); 75 | boolean isSSRInProgress(); 76 | boolean isRtPlusSupported(); 77 | boolean isA2DPConnected(); 78 | } 79 | 80 | -------------------------------------------------------------------------------- /fmapp/res/layout-small/frequency_picker.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 34 | 35 | 43 | 44 | 45 | 54 | 55 | -------------------------------------------------------------------------------- /libfm_jni/FmIoctlsInterface.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2015, The Linux Foundation. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are 6 | met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #ifndef __FM_IOCTL_INTERFACE_H__ 31 | #define __FM_IOCTL_INTERFACE_H__ 32 | 33 | #include "FM_Const.h" 34 | 35 | #include 36 | 37 | class FmIoctlsInterface 38 | { 39 | public: 40 | static int start_fm_patch_dl(UINT fd); 41 | static int close_fm_patch_dl(void); 42 | static int get_cur_freq(UINT fd, long &freq); 43 | static int set_freq(UINT fd, ULINT freq); 44 | static int set_control(UINT fd, UINT id, int val); 45 | static int set_calibration(UINT fd); 46 | static int get_control(UINT fd, UINT id, long &val); 47 | static int start_search(UINT fd, UINT dir); 48 | static int set_band(UINT fd, ULINT low, ULINT high); 49 | static int get_upperband_limit(UINT fd, ULINT &freq); 50 | static int get_lowerband_limit(UINT fd, ULINT &freq); 51 | static int set_audio_mode(UINT fd, enum AUDIO_MODE mode); 52 | static int get_buffer(UINT fd, char *buff, UINT len, UINT index); 53 | static int get_rmssi(UINT fd, long &rmssi); 54 | static int set_ext_control(UINT fd, struct v4l2_ext_controls *v4l2_ctls); 55 | }; 56 | 57 | #endif //__FM_IOCTL_INTERFACE_H__ 58 | -------------------------------------------------------------------------------- /qcom/fmradio/FmRxEvCallbacksAdaptor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009,2012 The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package qcom.fmradio; 30 | /** 31 | * 32 | * Class to be implemented for event callbacks 33 | * @hide 34 | */ 35 | 36 | public class FmRxEvCallbacksAdaptor implements FmRxEvCallbacks { 37 | public void FmRxEvEnableReceiver() {}; 38 | public void FmRxEvDisableReceiver() {}; 39 | public void FmRxEvRadioReset() {}; 40 | public void FmRxEvRadioTuneStatus(int freq) {}; 41 | public void FmRxEvRdsLockStatus(boolean rdsAvail) {}; 42 | public void FmRxEvStereoStatus(boolean stereo) {}; 43 | public void FmRxEvServiceAvailable(boolean service) {}; 44 | public void FmRxEvSearchInProgress() {}; 45 | public void FmRxEvSearchCancelled() {}; 46 | public void FmRxEvSearchComplete(int freq) {}; 47 | public void FmRxEvSearchListComplete() {}; 48 | public void FmRxEvRdsGroupData() {}; 49 | public void FmRxEvRdsPsInfo() {}; 50 | public void FmRxEvRdsRtInfo() {}; 51 | public void FmRxEvRdsAfInfo() {}; 52 | public void FmRxEvRTPlus() {}; 53 | public void FmRxEvERTInfo() {}; 54 | } 55 | 56 | -------------------------------------------------------------------------------- /fmapp/res/layout-small/statusbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 29 | 30 | 34 | 35 | 40 | 41 | 42 | 46 | 47 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /libfm_jni/ConfFileParser.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2015, The Linux Foundation. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are 6 | met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above 10 | copyright notice, this list of conditions and the following 11 | disclaimer in the documentation and/or other materials provided 12 | with the distribution. 13 | * Neither the name of The Linux Foundation nor the names of its 14 | contributors may be used to endorse or promote products derived 15 | from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 18 | WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS 21 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 24 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 26 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | */ 29 | 30 | #ifndef __CONF_FILE_PARSER_H__ 31 | #define __CONF_FILE_PARSER_H__ 32 | 33 | #define MAX_LINE_LEN 512 34 | #define MAX_UNIQ_KEYS 5 35 | #define MAX_UNIQ_GRPS 10 36 | #define TRUE 1 37 | #define FALSE 0 38 | 39 | struct key_value_pair_list 40 | { 41 | char *key; 42 | char *value; 43 | key_value_pair_list *next; 44 | }; 45 | 46 | struct group 47 | { 48 | char *grp_name; 49 | unsigned int num_of_keys; 50 | unsigned int keys_hash_size; 51 | key_value_pair_list **list; 52 | group *grp_next; 53 | }; 54 | 55 | struct group_table 56 | { 57 | unsigned int grps_hash_size; 58 | unsigned int num_of_grps; 59 | group **grps_hash; 60 | }; 61 | 62 | enum CONF_PARSE_ERRO_CODE 63 | { 64 | PARSE_SUCCESS, 65 | INVALID_FILE_NAME, 66 | FILE_OPEN_FAILED, 67 | FILE_NOT_PROPER, 68 | MEMORY_ALLOC_FAILED, 69 | PARSE_FAILED, 70 | }; 71 | 72 | unsigned int get_hash_code(const char *str); 73 | group_table *get_key_file(); 74 | void free_strs(char **str_array); 75 | void free_key_file(group_table *key_file); 76 | char parse_load_file(group_table *key_file, const char *file); 77 | char **get_grps(const group_table *key_file); 78 | char **get_keys(const group_table *key_file, const char *grp); 79 | char *get_value(const group_table *key_file, const char *grp, 80 | const char *key); 81 | 82 | #endif //__CONF_FILE_PARSER_H__ 83 | -------------------------------------------------------------------------------- /jni/FmIoctlsInterface.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. 3 | 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | #ifndef __FM_IOCTL_INTERFACE_H__ 30 | #define __FM_IOCTL_INTERFACE_H__ 31 | 32 | #include "FmConst.h" 33 | 34 | #include 35 | 36 | class FmIoctlsInterface 37 | { 38 | private: 39 | static char const * const LOGTAG; 40 | public: 41 | static int start_fm_patch_dl(UINT fd); 42 | static int close_fm_patch_dl(void); 43 | static int get_cur_freq(UINT fd, long &freq); 44 | static int set_freq(UINT fd, ULINT freq); 45 | static int set_control(UINT fd, UINT id, int val); 46 | static int set_calibration(UINT fd); 47 | static int get_control(UINT fd, UINT id, long &val); 48 | static int start_search(UINT fd, UINT dir); 49 | static int set_band(UINT fd, ULINT low, ULINT high); 50 | static int get_upperband_limit(UINT fd, ULINT &freq); 51 | static int get_lowerband_limit(UINT fd, ULINT &freq); 52 | static int set_audio_mode(UINT fd, enum AUDIO_MODE mode); 53 | static int get_buffer(UINT fd, char *buff, UINT len, UINT index); 54 | static int get_rmssi(UINT fd, long &rmssi); 55 | static int set_ext_control(UINT fd, struct v4l2_ext_controls *v4l2_ctls); 56 | }; 57 | 58 | //char const *FmIoctlsInterface::LOGTAG = "FmIoctlsInterface"; 59 | 60 | #endif //__FM_IOCTL_INTERFACE_H__ 61 | -------------------------------------------------------------------------------- /qcom/fmradio/SpurFileFormatConst.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2014, The Linux Foundation. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions are met: 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of The Linux Foundation nor 12 | * the names of its contributors may be used to endorse or promote 13 | * products derived from this software without specific prior written 14 | * permission. 15 | * 16 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 19 | * NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 20 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | */ 28 | 29 | package qcom.fmradio; 30 | 31 | import java.util.regex.Pattern; 32 | 33 | public final class SpurFileFormatConst { 34 | public static final String SPUR_MODE = "Mode"; 35 | public static final String SPUR_NUM_ENTRY = "SpurNumEntry"; 36 | public static final String SPUR_FREQ = "SpurFreq"; 37 | public static final String SPUR_NO_OF = "NoOfSpursToTrack"; 38 | public static final String SPUR_ROTATION_VALUE = "RotationValue"; 39 | public static final String SPUR_LSB_LENGTH = "LsbOfIntegrationLength"; 40 | public static final String SPUR_FILTER_COEFF = "FilterCoefficeint"; 41 | public static final String SPUR_IS_ENABLE = "IsEnableSpur"; 42 | public static final String SPUR_LEVEL = "SpurLevel"; 43 | public static final char COMMENT = '#'; 44 | public static final char DELIMETER = '='; 45 | public static final Pattern SPACE_PATTERN = Pattern.compile("\\s"); 46 | public static int SPUR_DETAILS_FOR_EACH_FREQ_CNT = 5; 47 | 48 | public enum LineType { 49 | EMPTY_LINE, 50 | SPUR_MODE_LINE, 51 | SPUR_N_ENTRY_LINE, 52 | SPUR_FR_LINE, 53 | SPUR_NO_OF_LINE, 54 | SPUR_ROT0_LINE, 55 | SPUR_LSB0_LINE, 56 | SPUR_FILTER0_LINE, 57 | SPUR_ENABLE0_LINE, 58 | SPUR_LEVEL0_LINE, 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /fmapp2/res/layout/rename_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 32 | 38 | 39 | 46 | 47 | 48 | 52 | 53 |