Searched refs:defaultVol (Results 1 – 1 of 1) sorted by relevance
1336 final int defaultVol = mContext.getResources().getInteger(defaultResId[s]); in AudioService() local1337 if (defaultVol > MAX_STREAM_VOLUME[streams[s]]) { in AudioService()1338 throw new IllegalArgumentException("Invalid default volume (" + defaultVol in AudioService()1342 if (defaultVol < MIN_STREAM_VOLUME[streams[s]]) { in AudioService()1343 throw new IllegalArgumentException("Invalid default volume (" + defaultVol in AudioService()1347 Log.i(TAG, "Stream " + streams[s] + ": using default vol of " + defaultVol); in AudioService()1348 AudioSystem.DEFAULT_STREAM_VOLUME[streams[s]] = defaultVol; in AudioService()