Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 12 of 12) sorted by relevance

/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp101 const size_t SIZE = 256; in dumpInternals() local
102 char buffer[SIZE]; in dumpInternals()
105 snprintf(buffer, SIZE, "\tmMicMute: %s\n", mMicMute? "true": "false"); in dumpInternals()
143 const size_t SIZE = 256; in dump() local
144 char buffer[SIZE]; in dump()
146 snprintf(buffer, SIZE, "AudioStreamOutStub::dump\n"); in dump()
147 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
148 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
149 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
150 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
[all …]
DAudioHardwareGeneric.cpp168 const size_t SIZE = 256; in dumpInternals() local
169 char buffer[SIZE]; in dumpInternals()
172 snprintf(buffer, SIZE, "\tmFd: %d mMicMute: %s\n", mFd, mMicMute? "true": "false"); in dumpInternals()
247 const size_t SIZE = 256; in dump() local
248 char buffer[SIZE]; in dump()
250 snprintf(buffer, SIZE, "AudioStreamOutGeneric::dump\n"); in dump()
252 snprintf(buffer, SIZE, "\tsample rate: %d\n", sampleRate()); in dump()
254 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
256 snprintf(buffer, SIZE, "\tchannels: %d\n", channels()); in dump()
258 snprintf(buffer, SIZE, "\tformat: %d\n", format()); in dump()
[all …]
DAudioHardwareInterface.cpp139 const size_t SIZE = 256; in dumpState() local
140 char buffer[SIZE]; in dumpState()
142 snprintf(buffer, SIZE, "AudioHardwareBase::dumpState\n"); in dumpState()
144 snprintf(buffer, SIZE, "\tmMode: %d\n", mMode); in dumpState()
/hardware/interfaces/drm/1.0/default/
DTypeConvert.h56 template<typename T, size_t SIZE> const Vector<T> toVector( in toVector()
57 const hidl_array<T, SIZE> &array) { in toVector()
63 template<typename T, size_t SIZE> Vector<T> toVector( in toVector()
64 hidl_array<T, SIZE> &array) { in toVector()
/hardware/google/av/media/eco/
DECOData.cpp376 const size_t SIZE = 100; in debugString() local
377 char keyValue[SIZE]; in debugString()
381 snprintf(keyValue, SIZE, "int32_t %s = %d, ", it.first.c_str(), in debugString()
385 snprintf(keyValue, SIZE, "int64_t %s = %" PRId64 ", ", it.first.c_str(), in debugString()
389 snprintf(keyValue, SIZE, "size_t %s = %zu, ", it.first.c_str(), in debugString()
393 snprintf(keyValue, SIZE, "float %s = %f, ", it.first.c_str(), in debugString()
397 snprintf(keyValue, SIZE, "double %s = %f, ", it.first.c_str(), in debugString()
401 snprintf(keyValue, SIZE, "string %s = %s, ", it.first.c_str(), in debugString()
405 snprintf(keyValue, SIZE, "int8_t %s = %d, ", it.first.c_str(), in debugString()
/hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/
DFooHelper.h40 template<typename T, size_t SIZE>
41 std::string to_string(const hidl_array<T, SIZE> &array) { in to_string()
42 return to_string(&array[0], SIZE); in to_string()
/hardware/google/easel/amber/camera/include/
DHdrPlusTypes.h222 template<typename T, size_t SIZE>
224 std::vector<std::array<T, SIZE>> values);
226 template<typename T, size_t SIZE>
228 std::array<T, SIZE> values);
501 template<typename T, size_t SIZE>
503 std::vector<std::array<T, SIZE>> values) { in appendVectorArrayToString()
522 template<typename T, size_t SIZE>
524 std::array<T, SIZE> values) { in appendArrayArrayToString()
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp32 template <size_t SIZE>
33 inline static bool operator<(const hidl_array<uint8_t, SIZE>& a, in operator <()
34 const hidl_array<uint8_t, SIZE>& b) { in operator <()
35 return memcmp(a.data(), b.data(), SIZE) == -1; in operator <()
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDevice_3_4.h121 template <size_t SIZE>
124 uint32_t fourcc, const std::array<int, SIZE>& formats,
/hardware/interfaces/camera/common/1.0/default/
DCameraParameters.cpp478 const size_t SIZE = 256; in dump() local
479 char buffer[SIZE]; in dump()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp579 template <size_t SIZE>
582 uint32_t fourcc, const std::array<int, SIZE>& halFormats, in initOutputCharskeysByFormat()
/hardware/interfaces/input/common/1.0/
Dtypes.hal77 SIZE = 3,