Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 8 of 8) 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 …]
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/intel/common/utils/ituxd/jni/
DthermalJNI.cpp66 const int SIZE = 20; in writeToFile() local
68 char value[SIZE]; in writeToFile()
79 len = snprintf(value, SIZE, "%d\n", val); in writeToFile()
88 const int SIZE = 128; in lookup() local
89 char buf[SIZE]; in lookup()
90 char full_path[SIZE]; in lookup()
94 snprintf(full_path, SIZE, "%s%d/type", base_path, count); in lookup()
100 if (readFromFile(full_path, buf, SIZE, false) < 0) break; in lookup()
113 const int SIZE = 128; in lookup_contains() local
114 char buf[SIZE]; in lookup_contains()
[all …]
/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/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/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp27 template <size_t SIZE>
28 inline static bool operator<(const hidl_array<uint8_t, SIZE>& a, in operator <()
29 const hidl_array<uint8_t, SIZE>& b) { in operator <()
30 return memcmp(a.data(), b.data(), SIZE) == -1; in operator <()
/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/camera/common/1.0/default/
DCameraParameters.cpp478 const size_t SIZE = 256; in dump() local
479 char buffer[SIZE]; in dump()