Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: third_party/hwcplus/include/hardware/hardware.h

Issue 262153002: Revert of Make it possible to build libhardware. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hwc2
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/hwcplus/include/cutils/properties.h ('k') | third_party/hwcplus/include/log/log.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 The Android Open Source Project 2 * Copyright (C) 2008 The Android Open Source Project
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 * multiple concurrent interfaces and thus 'audio' is the module class 218 * multiple concurrent interfaces and thus 'audio' is the module class
219 * and 'primary' or 'a2dp' are module interfaces. This implies that the files 219 * and 'primary' or 'a2dp' are module interfaces. This implies that the files
220 * providing these modules would be named audio.primary.<variant>.so and 220 * providing these modules would be named audio.primary.<variant>.so and
221 * audio.a2dp.<variant>.so 221 * audio.a2dp.<variant>.so
222 * 222 *
223 * @return: 0 == success, <0 == error and *module == NULL 223 * @return: 0 == success, <0 == error and *module == NULL
224 */ 224 */
225 int hw_get_module_by_class(const char *class_id, const char *inst, 225 int hw_get_module_by_class(const char *class_id, const char *inst,
226 const struct hw_module_t **module); 226 const struct hw_module_t **module);
227 227
228 /**
229 * Provide a function to handle log messages.
230 */
231 typedef int (*hwcplus_log_fn_t)(int prio, const char* tag, const char* msg);
232 void hwcplus_set_log_fn(hwcplus_log_fn_t fn);
233
234 __END_DECLS 228 __END_DECLS
235 229
236 #endif /* ANDROID_INCLUDE_HARDWARE_HARDWARE_H */ 230 #endif /* ANDROID_INCLUDE_HARDWARE_HARDWARE_H */
OLDNEW
« no previous file with comments | « third_party/hwcplus/include/cutils/properties.h ('k') | third_party/hwcplus/include/log/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698