Home
last modified time | relevance | path

Searched refs:BuilderBase (Results 1 – 16 of 16) sorted by relevance

/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DBuilderBase.java26 public abstract class BuilderBase { class
28 private static final String TAG = BuilderBase.class.getSimpleName();
102 public BuilderBase setNumExchangeFrames(int numFrames) { in setNumExchangeFrames()
121 public BuilderBase setSampleRate(int sampleRate) { in setSampleRate()
141 public BuilderBase setChannelCount(int channelCount) { in setChannelCount()
162 public BuilderBase setChannelMask(int mask) { in setChannelMask()
180 public BuilderBase setSharingMode(int mode) { in setSharingMode()
197 public BuilderBase setPerformanceMode(int mode) { in setPerformanceMode()
241 public BuilderBase setRouteDevice(AudioDeviceInfo routeDevice) { in setRouteDevice()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioMultiApiActivity.java27 import org.hyphonate.megaaudio.common.BuilderBase;
34 protected int mAudioApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_AAUDIO;
66 mAudioApi = BuilderBase.TYPE_JAVA; in onClick()
69 mAudioApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_AAUDIO; in onClick()
DAudioDisconnectActivity.java34 import org.hyphonate.megaaudio.common.BuilderBase;
514 mNumExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
551 ? BuilderBase.PERFORMANCE_MODE_LOWLATENCY in startAudio()
552 : BuilderBase.PERFORMANCE_MODE_NONE); in startAudio()
554 ? BuilderBase.SHARING_MODE_EXCLUSIVE in startAudio()
555 : BuilderBase.SHARING_MODE_SHARED); in startAudio()
559 playerBuilder.setPlayerType(BuilderBase.TYPE_OBOE); in startAudio()
572 recorderBuilder.setRecorderType(BuilderBase.TYPE_OBOE); in startAudio()
579 ? BuilderBase.PERFORMANCE_MODE_LOWLATENCY in startAudio()
580 : BuilderBase.PERFORMANCE_MODE_NONE); in startAudio()
[all …]
DAudioColdStartBaseActivity.java28 import org.hyphonate.megaaudio.common.BuilderBase;
44 protected int mAudioApi = BuilderBase.TYPE_OBOE;
182 mAudioApi = BuilderBase.TYPE_JAVA; in onClick()
188 mAudioApi = BuilderBase.TYPE_OBOE; in onClick()
DUSBAudioPeripheralPlayerActivity.java25 import org.hyphonate.megaaudio.common.BuilderBase;
58 mNumExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_JAVA); in onCreate()
DAudioOutputRoutingNotificationsActivity.java33 import org.hyphonate.megaaudio.common.BuilderBase;
79 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
DAudioInputRoutingNotificationsActivity.java33 import org.hyphonate.megaaudio.common.BuilderBase;
73 int numExchangeFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in onCreate()
DAudioTap2ToneActivity.java52 import org.hyphonate.megaaudio.common.BuilderBase;
81 private int mApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_DEFAULT;
297 if (mDuplexAudioManager.buildStreams(mApi, BuilderBase.TYPE_JAVA) == StreamBase.OK) { in startAudio()
511 mApi = BuilderBase.TYPE_JAVA; in onClick()
517 mApi = BuilderBase.TYPE_OBOE | BuilderBase.SUB_TYPE_OBOE_DEFAULT; in onClick()
DAudioLoopbackCalibrationDialog.java40 import org.hyphonate.megaaudio.common.BuilderBase;
185 if (mDuplexAudioManager.buildStreams(BuilderBase.TYPE_OBOE, BuilderBase.TYPE_OBOE) in startAudio()
DAudioDataPathsBaseActivity.java47 import org.hyphonate.megaaudio.common.BuilderBase;
626 ? BuilderBase.SHARING_MODE_EXCLUSIVE : BuilderBase.SHARING_MODE_SHARED); in startTest()
634 ? BuilderBase.SHARING_MODE_EXCLUSIVE : BuilderBase.SHARING_MODE_SHARED); in startTest()
DAnalogHeadsetAudioActivity.java44 import org.hyphonate.megaaudio.common.BuilderBase;
368 int numBufferFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_JAVA); in setupPlayer()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java21 import org.hyphonate.megaaudio.common.BuilderBase;
59 private int mPlayerSharingMode = BuilderBase.SHARING_MODE_SHARED;
60 private int mRecorderSharingMode = BuilderBase.SHARING_MODE_SHARED;
162 if ((recorderType & BuilderBase.TYPE_MASK) != BuilderBase.TYPE_NONE) { in buildStreams()
164 mNumRecorderBufferFrames = StreamBase.getNumBurstFrames(BuilderBase.TYPE_NONE); in buildStreams()
182 if ((playerType & BuilderBase.TYPE_MASK) != BuilderBase.TYPE_NONE) { in buildStreams()
193 .setPerformanceMode(BuilderBase.PERFORMANCE_MODE_LOWLATENCY); in buildStreams()
317 || sharingMode == BuilderBase.SHARING_MODE_NOTSUPPORTED; in isSpecifiedPlayerSharingMode()
332 || sharingMode == BuilderBase.SHARING_MODE_NOTSUPPORTED; in isSpecifiedRecorderSharingMode()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DPlayerBuilder.java20 import org.hyphonate.megaaudio.common.BuilderBase;
25 public class PlayerBuilder extends BuilderBase {
DJavaPlayer.java24 import org.hyphonate.megaaudio.common.BuilderBase;
72 return BuilderBase.SHARING_MODE_NOTSUPPORTED; in getSharingMode()
114 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
116 return BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DRecorderBuilder.java18 import org.hyphonate.megaaudio.common.BuilderBase;
23 public class RecorderBuilder extends BuilderBase {
DJavaRecorder.java25 import org.hyphonate.megaaudio.common.BuilderBase;
55 ? routedDevice.getId() : BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
57 return BuilderBase.ROUTED_DEVICE_ID_DEFAULT; in getRoutedDeviceId()
77 return BuilderBase.SHARING_MODE_NOTSUPPORTED; in getSharingMode()