Searched refs:presetNumber (Results 1 – 4 of 4) sorted by relevance
144 public CarRadioPreset getRadioPreset(int presetNumber) { in getRadioPreset() argument147 Log.d(TAG, "getRadioPreset called with preset number " + presetNumber); in getRadioPreset()149 if (!isValidPresetNumber(presetNumber)) { in getRadioPreset()150 throw new IllegalArgumentException("Preset number not valid: " + presetNumber); in getRadioPreset()155 presetNumberValue.value.int32Values.addAll(Arrays.asList(presetNumber, 0, 0, 0)); in getRadioPreset()177 if (retPresetNumber != presetNumber) { in getRadioPreset()178 Log.e(TAG, "Preset number is not the same: " + presetNumber + " vs " + retPresetNumber); in getRadioPreset()215 private boolean isValidPresetNumber(int presetNumber) { in isValidPresetNumber() argument217 if (presetNumber < VehicleRadioConstants.VEHICLE_RADIO_PRESET_MIN_VALUE in isValidPresetNumber()218 || presetNumber > mPresetCount) { in isValidPresetNumber()[all …]
79 public CarRadioPreset(int presetNumber, int bandType, int channel, int subChannel) { in CarRadioPreset() argument80 mPresetNumber = presetNumber; in CarRadioPreset()
181 public CarRadioPreset getPreset(int presetNumber) throws CarNotConnectedException { in getPreset() argument186 CarRadioPreset preset = mService.getPreset(presetNumber); in getPreset()
42 CarRadioPreset getPreset(int presetNumber) = 3; in getPreset() argument