HomeSort by relevance Sort by last modified time
    Searched defs:hw (Results 1 - 25 of 51) sorted by null

1 2 3

  /cts/suite/audio_quality/lib/src/task/
TaskInput.cpp 52 android::sp<AudioHardware> hw = AudioHardware::createAudioHw(localDevice, false, local
54 if (hw.get() == NULL) {
69 if (!hw->prepare(AudioHardware::ESampleRate_44100, mVolume, mMode)) {
73 if (!hw->startPlaybackOrRecord(buffer)) {
78 mHw = hw;
TaskOutput.cpp 48 android::sp<AudioHardware> hw = AudioHardware::createAudioHw(localDevice, true, getTestCase()); local
49 if (hw.get() == NULL) {
50 LOGE("cannot create Audio HW");
53 if (!hw->prepare(AudioHardware::ESampleRate_44100, mVolume, mMode)) {
64 if (!hw->startPlaybackOrRecord(buffer)) {
73 AudioRemotePlayback* remote = reinterpret_cast<AudioRemotePlayback*>(hw.get());
79 mHw = hw;
  /cts/suite/audio_quality/lib/src/audio/
AudioHardware.cpp 75 android::sp<AudioHardware> hw; local
84 hw = new AudioPlaybackLocal(mHwId);
86 hw = new AudioRecordingLocal(mHwId);
91 hw = new AudioRemotePlayback(testCase->getRemoteAudio());
93 hw = new AudioRemoteRecording(testCase->getRemoteAudio());
97 return hw;
  /external/dhcpcd/
duid.c 46 uint16_t hw = 0; local
79 hw = htons(iface->family);
80 memcpy(p, &hw, 2);
bpf.c 142 struct ether_header hw; local
145 memset(&hw, 0, ETHER_HDR_LEN);
146 memset(&hw.ether_dhost, 0xff, ETHER_ADDR_LEN);
147 hw.ether_type = htons(protocol);
148 iov[0].iov_base = &hw;
  /external/qemu/audio/
audio_template.h 27 #define HWBUF hw->mix_buf
29 #define HW HWVoiceOut
34 #define HW HWVoiceIn
36 #define HWBUF hw->conv_buf
72 static void glue (audio_pcm_hw_free_resources_, TYPE) (HW *hw)
81 static int glue (audio_pcm_hw_alloc_resources_, TYPE) (HW *hw)
83 HWBUF = audio_calloc (AUDIO_FUNC, hw->samples, sizeof (struct st_sample));
86 hw->samples)
198 HW *hw = *hwp; local
246 HW *hw; local
320 HW *hw; local
348 HW *hw; local
474 HW *hw = sw->hw; local
    [all...]
noaudio.c 32 HWVoiceOut hw; member in struct:NoVoiceOut
37 HWVoiceIn hw; member in struct:NoVoiceIn
41 static int no_run_out (HWVoiceOut *hw, int live)
43 NoVoiceOut *no = (NoVoiceOut *) hw;
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
53 samples = bytes >> hw->info.shift;
57 hw->rpos = (hw->rpos + decr) % hw->samples;
66 static int no_init_out (HWVoiceOut *hw, struct audsettings *as
    [all...]
paaudio.c 44 HWVoiceOut hw; member in struct:__anon11880
55 HWVoiceIn hw; member in struct:__anon11881
90 HWVoiceOut *hw = &pa->hw; local
93 threshold = conf.divisor ? hw->samples / conf.divisor : 0;
117 rpos = hw->rpos;
125 int chunk = audio_MIN (to_mix, hw->samples - rpos);
126 struct st_sample *src = hw->mix_buf + rpos;
128 hw->clip (pa->pcm_buf, src, chunk);
131 chunk << hw->info.shift, &error) < 0)
185 HWVoiceIn *hw = &pa->hw; local
    [all...]
wavaudio.c 25 #include "hw/hw.h"
38 HWVoiceOut hw; member in struct:WAVVoiceOut
58 static int wav_out_run (HWVoiceOut *hw, int live)
60 WAVVoiceOut *wav = (WAVVoiceOut *) hw;
67 muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
70 samples = INT_MAX >> hw->info.shift;
73 samples = bytes >> hw->info.shift;
79 rpos = hw->rpos;
81 int left_till_end_samples = hw->samples - rpos
225 HWVoiceIn hw; member in struct:WAVVoiceIn
    [all...]
coreaudio.c 286 void* hw,
309 // TODO: audio_pcm_init_info (&hw->info, as);
389 // TODO: hw->samples = *pNBuffers * core->bufferFrameSize;
427 status = AudioDeviceAddIOProc(core->deviceID, ioproc, hw);
458 HWVoiceOut hw; member in struct:coreaudioVoiceOut
462 #define CORE_OUT(hw) ((coreaudioVoiceOut*)(hw))->core
465 static int coreaudio_run_out (HWVoiceOut *hw, int live)
468 coreaudioVoice *core = CORE_OUT(hw);
485 hw->rpos = core->pos
503 HWVoiceOut *hw = hwptr; local
603 HWVoiceIn hw; member in struct:coreaudioVoiceIn
641 HWVoiceIn *hw = hwptr; local
    [all...]
dsoundaudio.c 76 HWVoiceOut hw; member in struct:__anon11871
88 HWVoiceIn hw; member in struct:__anon11872
352 static void dsound_write_sample (HWVoiceOut *hw, uint8_t *dst, int dst_len)
356 int pos = hw->rpos + dst_len;
357 struct st_sample *src1 = hw->mix_buf + hw->rpos;
360 if (pos > hw->samples) {
361 src_len1 = hw->samples - hw->rpos;
362 src2 = hw->mix_buf
    [all...]
esdaudio.c 71 HWVoiceOut hw; member in struct:__anon11873
82 HWVoiceIn hw; member in struct:__anon11874
117 HWVoiceOut *hw = &esd->hw; local
120 threshold = conf.divisor ? hw->samples / conf.divisor : 0;
144 rpos = hw->rpos;
152 int chunk = audio_MIN (to_mix, hw->samples - rpos);
153 struct st_sample *src = hw->mix_buf + rpos;
155 hw->clip (esd->pcm_buf, src, chunk);
158 written = write (esd->fd, esd->pcm_buf, chunk << hw->info.shift)
326 HWVoiceIn *hw = &esd->hw; local
    [all...]
fmodaudio.c 33 HWVoiceOut hw; member in struct:FMODVoiceOut
40 HWVoiceIn hw; member in struct:FMODVoiceIn
94 HWVoiceOut *hw = &fmd->hw; local
102 hw->samples << hw->info.shift,
114 if ((len1 & hw->info.align) || (len2 & hw->info.align)) {
116 len1, len2, hw->info.align + 1);
120 if ((len1 + len2) - (hw->samples << hw->info.shift))
    [all...]
winaudio.c 91 HWVoiceOut hw; member in struct:WinAudioOut
128 winaudio_out_fini (HWVoiceOut *hw)
130 WinAudioOut* s = (WinAudioOut*) hw;
159 winaudio_out_init (HWVoiceOut *hw, struct audsettings *as)
161 WinAudioOut* s = (WinAudioOut*) hw;
199 (DWORD_PTR)winaudio_out_buffer_done, (DWORD_PTR) hw,
242 audio_pcm_init_info (&hw->info, as);
243 hw->samples = conf.nb_samples*2;
254 winaudio_out_run (HWVoiceOut *hw, int live)
256 WinAudioOut* s = (WinAudioOut*) hw;
343 HWVoiceIn hw; member in struct:WinAudioIn
    [all...]
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/devices/
DeviceParserTest.java 60 Hardware hw = device.getDefaultHardware(); local
61 Screen screen = hw.getScreen();
73 Set<Network> networks = hw.getNetworking();
77 Set<Sensor> sensors = hw.getSensors();
84 assertTrue(hw.hasMic());
85 assertEquals(2, hw.getCameras().size());
86 Camera c = hw.getCamera(CameraLocation.FRONT);
91 c = hw.getCamera(CameraLocation.BACK);
96 assertEquals(Keyboard.NOKEY, hw.getKeyboard());
97 assertEquals(Navigation.NONAV, hw.getNav())
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldCharArrayReaderTest.java 25 char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; field in class:OldCharArrayReaderTest
36 cr = new CharArrayReader(hw);
54 cr = new CharArrayReader(hw, -1, 0);
60 cr = new CharArrayReader(hw, 0, -1);
66 cr = new CharArrayReader(hw, hw.length + 1, 1);
72 cr = new CharArrayReader(hw, 5, 5);
82 cr = new CharArrayReader(hw);
97 cr = new CharArrayReader(hw);
118 cr = new CharArrayReader(hw);
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
CharArrayReaderTest.java 25 char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; field in class:CharArrayReaderTest
33 cr = new CharArrayReader(hw);
41 cr = new CharArrayReader(hw, 5, 5);
53 cr = new CharArrayReader(hw);
70 cr = new CharArrayReader(hw);
82 cr = new CharArrayReader(hw);
90 cr = new CharArrayReader(hw);
101 cr = new CharArrayReader(hw);
104 .equals(new String(hw, 0, 10)));
111 cr = new CharArrayReader(hw);
    [all...]
CharArrayWriterTest.java 27 char[] hw = { 'H', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd' }; field in class:CharArrayWriterTest
82 cw.write(hw, 5, 5);
111 cw.write(hw, 5, 5);
  /external/wpa_supplicant_8/src/ap/
hw_features.c 519 u16 hw = iface->current_mode->ht_capab; local
523 !(hw & HT_CAP_INFO_LDPC_CODING_CAP)) {
530 !(hw & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET)) {
536 if ((conf & HT_CAP_INFO_SMPS_MASK) != (hw & HT_CAP_INFO_SMPS_MASK) &&
544 !(hw & HT_CAP_INFO_GREEN_FIELD)) {
551 !(hw & HT_CAP_INFO_SHORT_GI20MHZ)) {
558 !(hw & HT_CAP_INFO_SHORT_GI40MHZ)) {
564 if ((conf & HT_CAP_INFO_TX_STBC) && !(hw & HT_CAP_INFO_TX_STBC)) {
571 (hw & HT_CAP_INFO_RX_STBC_MASK)) {
578 !(hw & HT_CAP_INFO_DELAYED_BA))
    [all...]
  /sdk/sdk_common/src/com/android/ide/common/resources/configuration/
DeviceConfigHelper.java 43 Hardware hw = state.getHardware(); local
47 Screen screen = hw.getScreen();
49 config.setNavigationMethodQualifier(new NavigationMethodQualifier(hw.getNav()));
59 config.setTextInputMethodQualifier(new TextInputMethodQualifier(hw.getKeyboard()));
  /system/core/init/
util.c 397 char *x, *hw, *rev; local
411 hw = strstr(data, "\nHardware");
414 if (hw) {
415 x = strstr(hw, ": ");
  /external/qemu/android/
main.c 48 #include "hw/goldfish_nand.h"
174 AndroidHwConfig* hw; local
323 /* update the avd hw config from this new skin */
328 hw = android_hw;
329 if (avdInfo_initHwConfig(avd, hw) < 0) {
370 parse_skin_files(opts->skindir, opts->skin, opts, hw,
402 /* Update CPU architecture for HW configs created from build dir. */
435 hw->kernel_path = kernelFile;
507 AFREE(hw->disk_ramdisk_path);
508 hw->disk_ramdisk_path = ASTRDUP(opts->ramdisk)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/joystick/bsd/
SDL_sysjoystick.c 257 struct joystick_hwdata *hw; local
270 hw = (struct joystick_hwdata *)SDL_malloc(sizeof(struct joystick_hwdata));
271 if (hw == NULL) {
276 joy->hwdata = hw;
277 hw->fd = fd;
278 hw->path = strdup(path);
279 hw->x = 0;
280 hw->y = 0;
281 hw->xmin = 0xffff;
282 hw->ymin = 0xffff
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
timer.h 85 struct snd_timer_hardware hw; member in struct:snd_timer
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
timer.h 85 struct snd_timer_hardware hw; member in struct:snd_timer

Completed in 1921 milliseconds

1 2 3