Searched refs:defaultVol (Results 1 – 1 of 1) sorted by relevance
1188 final int defaultVol = mContext.getResources().getInteger(defaultResId[s]); in AudioService() local1189 if (defaultVol > MAX_STREAM_VOLUME[streams[s]]) { in AudioService()1190 throw new IllegalArgumentException("Invalid default volume (" + defaultVol in AudioService()1194 if (defaultVol < MIN_STREAM_VOLUME[streams[s]]) { in AudioService()1195 throw new IllegalArgumentException("Invalid default volume (" + defaultVol in AudioService()1199 Log.i(TAG, "Stream " + streams[s] + ": using default vol of " + defaultVol); in AudioService()1200 AudioSystem.DEFAULT_STREAM_VOLUME[streams[s]] = defaultVol; in AudioService()