summaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Collapse)Author
2017-11-01Add PRESUBMIT.cfg to disable tab checkChinyue Chen
Allow tabs since it's adhd coding convention. BUG=None TEST=ran hooks against changes in adhd Change-Id: I9cec3fb477939632c5adc37064a3c80d450429f2 Reviewed-on: https://chromium-review.googlesource.com/741301 Commit-Ready: Chinyue Chen <chinyue@chromium.org> Tested-by: Chinyue Chen <chinyue@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
2016-10-17CRAS: Add files to .gitignore found during development.John Muir
Add a few files commonly found in the adhd directory or one of it's sub-directories during development (eg: after cros_workon_make --test adhd). BUG=None TEST=N/A Change-Id: I5ba43d9e56f0f25aefe30f1ca1bd7fed602abde0 Reviewed-on: https://chromium-review.googlesource.com/391050 Commit-Ready: John Muir <muirj@google.com> Tested-by: John Muir <muirj@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org>
2011-10-06ADHD: Provide better diagnostics for function entry & exitTaylor Hutt
Details Since ADHD is a multithreaded application, where different threads will use the same functions, I think it is beneficial to provide more context, at sufficient verbosity, about how functions are being entered an exited. This change alters VERBOSE_FUNCTION_ENTER() and VERBOSE_FUNCTION_EXIT() to take a varadic set of parameters, facilitating the output of the arguments passed to the function. Testing o tegra2_kaen killed default instance of gavd /usr/bin/gavd --verbose=10 grep gavd /var/log/messages gavd[2859]: daemonize: release mode. gavd[2859]: signal_start gavd[2859]: threads_start: 'Internal Microphone' gavd[2859]: threads_start: 'Internal Headphone' gavd[2859]: beg gpio_switch_monitor(Internal Microphone, tegra-seaboard Mic Jack, 4, (null), (null)) gavd[2859]: beg sys_input_find_device_by_name(tegra-seaboard Mic Jack) gavd[2859]: utils_execute_command: '/usr/bin/amixer set 'Speaker' 100% && /usr/bin/amixer set 'Headphone' 100% && /usr/bin/amixer set 'Digital' 100% && /usr/bin/amixer set 'Left Speaker Mixer DACL' on && /usr/bin/amixer set 'Right Speaker Mixer DACL' on && /usr/bin/amixer set 'Left Speaker Mixer DACR' on && /usr/bin/amixer set 'Right Speaker Mixer DACR' on && /usr/bin/amixer set 'ADC Input' 'DMIC'' succeeded. gavd[2859]: beg gpio_switch_monitor(Internal Headphone, tegra-seaboard Headphone Jack, 2, /usr/bin/amixer set 'Speaker' off && /usr/bin/amixer set 'Int Spk' off && /usr/bin/amixer set 'Headphone' on, /usr/bin/amixer set 'Speaker' on && /usr/bin/amixer set 'Int Spk' on && /usr/bin/amixer set 'Headphone' off) gavd[2859]: beg sys_input_find_device_by_name(tegra-seaboard Headphone Jack) gavd[2859]: end sys_input_find_device_by_name(tegra-seaboard Mic Jack) o x86-mario killed default instance of gavd /usr/bin/gavd --verbose=10 grep gavd /var/log/messages gavd[2967]: compiled for target machine: 'x86-mario' gavd[2967]: beg daemonize(void) gavd[2967]: Child process: '2968'. gavd[2968]: daemonize: release mode. gavd[2968]: signal_start There is less output because x86-based machines do not have any hardware monitoring yet. BUG=chromium-os:19558 TEST=See above. Change-Id: I711403710fbfe42f2fe3ee77d95063efbd19c6bb Signed-off-by: Taylor Hutt <thutt@chromium.org>
2011-08-26ADHD: Daemon for watching A/V device eventsTaylor Hutt
Details This project will be a daemon which will monitor the hardware for insert & remove events of A/V devices and handle the multiplexing of sound I/O & video output amongst devices. The initial commit has no functionality; it is being used to integrate the code into the Chromium OS codebase & build process. Subsequent changes will enable functionality. Testing Execute 'make' in the 'adhd' directory, and the project builds. Execute 'gavd', and note the message output. BUG=chromium-os:19558 TEST=See above Signed-off-by: Taylor Hutt <thutt@chromium.org> Change-Id: I5106acc83e4f2fe60e34c4d8de62f2ff9a5f6f51 Signed-off-by: Taylor Hutt <thutt@chromium.org>