Lines Matching refs:streamType
622 * @param streamType one of {@link AudioManager#STREAM_VOICE_CALL},
628 public Builder setLegacyStreamType(int streamType) {
629 if (streamType == AudioManager.STREAM_ACCESSIBILITY) {
633 return setInternalLegacyStreamType(streamType);
639 * @param streamType
642 public Builder setInternalLegacyStreamType(int streamType) {
643 switch(streamType) {
679 Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes");
681 mUsage = usageForStreamType(streamType);
896 private static int usageForStreamType(int streamType) {
897 switch(streamType) {