Home
last modified time | relevance | path

Searched refs:convertCfgToBtnIndex (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBluetoothCodecDialogPreferenceController.java86 index.add(convertCfgToBtnIndex(BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC)); in getSelectableIndex()
141 return convertCfgToBtnIndex(config.getCodecType()); in getCurrentIndexByConfig()
153 indexArray.add(convertCfgToBtnIndex(configs[i].getCodecType())); in getIndexFromConfig()
159 int convertCfgToBtnIndex(int config) { in convertCfgToBtnIndex() method in BluetoothCodecDialogPreferenceController
DBluetoothChannelModeDialogPreferenceController.java85 return convertCfgToBtnIndex(config.getChannelMode()); in getCurrentIndexByConfig()
98 selectableIndex.add(convertCfgToBtnIndex(CHANNEL_MODES[i])); in getSelectableIndex()
106 int convertCfgToBtnIndex(int config) { in convertCfgToBtnIndex() method in BluetoothChannelModeDialogPreferenceController
DBluetoothSampleRateDialogPreferenceController.java91 return convertCfgToBtnIndex(config.getSampleRate()); in getCurrentIndexByConfig()
104 selectableIndex.add(convertCfgToBtnIndex(sampleRate)); in getSelectableIndex()
112 int convertCfgToBtnIndex(int config) { in convertCfgToBtnIndex() method in BluetoothSampleRateDialogPreferenceController
DBluetoothBitPerSampleDialogPreferenceController.java88 return convertCfgToBtnIndex(config.getBitsPerSample()); in getCurrentIndexByConfig()
101 selectableIndex.add(convertCfgToBtnIndex(BITS_PER_SAMPLES[i])); in getSelectableIndex()
109 int convertCfgToBtnIndex(int config) { in convertCfgToBtnIndex() method in BluetoothBitPerSampleDialogPreferenceController
DBluetoothQualityDialogPreferenceController.java79 return convertCfgToBtnIndex((int) config.getCodecSpecific1()); in getCurrentIndexByConfig()
112 int convertCfgToBtnIndex(int config) { in convertCfgToBtnIndex() method in BluetoothQualityDialogPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DBluetoothBitPerSampleDialogPreferenceControllerTest.java124 mController.convertCfgToBtnIndex(BluetoothCodecConfig.BITS_PER_SAMPLE_24)); in getCurrentIndexByConfig_verifyIndex()
135 indexList.add(mController.convertCfgToBtnIndex(BluetoothCodecConfig.BITS_PER_SAMPLE_16)); in getSelectableIndex_verifyList()
136 indexList.add(mController.convertCfgToBtnIndex(BluetoothCodecConfig.BITS_PER_SAMPLE_24)); in getSelectableIndex_verifyList()
DBluetoothSampleRateDialogPreferenceControllerTest.java130 mController.convertCfgToBtnIndex(BluetoothCodecConfig.SAMPLE_RATE_96000)); in getCurrentIndexByConfig_verifyIndex()
142 indexList.add(mController.convertCfgToBtnIndex(BluetoothCodecConfig.SAMPLE_RATE_48000)); in getSelectableIndex_verifyList()
143 indexList.add(mController.convertCfgToBtnIndex(BluetoothCodecConfig.SAMPLE_RATE_88200)); in getSelectableIndex_verifyList()
DBluetoothChannelModeDialogPreferenceControllerTest.java121 mController.convertCfgToBtnIndex(BluetoothCodecConfig.CHANNEL_MODE_STEREO)); in getCurrentIndexByConfig_verifyIndex()
132 indexList.add(mController.convertCfgToBtnIndex(BluetoothCodecConfig.CHANNEL_MODE_MONO)); in getSelectableIndex_verifyList()
133 indexList.add(mController.convertCfgToBtnIndex(BluetoothCodecConfig.CHANNEL_MODE_STEREO)); in getSelectableIndex_verifyList()
DBluetoothQualityDialogPreferenceControllerTest.java113 mController.convertCfgToBtnIndex(1001)); in getCurrentIndexByConfig_verifyIndex()
DBluetoothCodecDialogPreferenceControllerTest.java166 mController.convertCfgToBtnIndex(BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC)); in getCurrentIndexByConfig_verifyIndex()