Home
last modified time | relevance | path

Searched refs:int8_t (Results 1 – 25 of 140) sorted by relevance

123456

/system/connectivity/wifilogd/tests/
Dlocal_utils_unittest.cpp68 EXPECT_EQ(std::numeric_limits<int8_t>::max(), GetMaxVal<int8_t>()); in TEST()
82 EXPECT_EQ(std::numeric_limits<int8_t>::max(), GetMaxVal(int8_t{})); in TEST()
134 EXPECT_EQ(int8_t{0}, (SAFELY_CLAMP(int8_t{-1}, int8_t, 0, 2))); in TEST()
135 EXPECT_EQ(int8_t{0}, (SAFELY_CLAMP(int8_t{0}, int8_t, 0, 2))); in TEST()
136 EXPECT_EQ(int8_t{1}, (SAFELY_CLAMP(int8_t{1}, int8_t, 0, 2))); in TEST()
137 EXPECT_EQ(int8_t{2}, (SAFELY_CLAMP(int8_t{2}, int8_t, 0, 2))); in TEST()
138 EXPECT_EQ(int8_t{2}, (SAFELY_CLAMP(int8_t{3}, int8_t, 0, 2))); in TEST()
142 static_assert(std::numeric_limits<int8_t>::max() == 127, in TEST()
144 EXPECT_EQ(uint8_t{0}, (SAFELY_CLAMP(int8_t{-1}, uint8_t, 0, 127))); in TEST()
145 EXPECT_EQ(uint8_t{0}, (SAFELY_CLAMP(int8_t{0}, uint8_t, 0, 127))); in TEST()
[all …]
/system/core/liblog/include/private/
Dandroid_logger.h62 int8_t type; // EVENT_TYPE_LIST
63 int8_t element_count;
68 int8_t type; // EVENT_TYPE_FLOAT
74 int8_t type; // EVENT_TYPE_INT
86 int8_t type; // EVENT_TYPE_LONG
109 int8_t type; // EVENT_TYPE_STRING;
117 int8_t type; // EVENT_TYPE_STRING;
/system/core/include/private/
Dandroid_logger.h62 int8_t type; // EVENT_TYPE_LIST
63 int8_t element_count;
68 int8_t type; // EVENT_TYPE_FLOAT
74 int8_t type; // EVENT_TYPE_INT
86 int8_t type; // EVENT_TYPE_LONG
109 int8_t type; // EVENT_TYPE_STRING;
117 int8_t type; // EVENT_TYPE_STRING;
/system/tools/hidl/hidl2aidl/test/1.0/
DIFoo.hal23 oneway someFoo(int8_t a);
24 retVec(int8_t a) generates (vec<string> b);
25 someBar(string a, int8_t b) generates (string foo);
28 // someBar(string a, int8_t b) generates (string foo, int8_t[2] bar);
/system/core/liblog/
DREADME.protocol.md38 int8_t type; // EVENT_TYPE_LIST
39 int8_t element_count;
43 int8_t type; // EVENT_TYPE_FLOAT
48 int8_t type; // EVENT_TYPE_INT
53 int8_t type; // EVENT_TYPE_LONG
58 int8_t type; // EVENT_TYPE_STRING;
/system/bt/gd/common/
Dnumbers_test.cc32 ASSERT_FALSE(IsNumberInNumericLimits<int8_t>(int32_t(128))); in TEST()
34 ASSERT_FALSE(IsNumberInNumericLimits<int8_t>(int32_t(-129))); in TEST()
/system/tools/hidl/test/format_test/1.0/
DIFoo.hal42 int8_t number;
77 oneway someFoo(int8_t a);
79 retVec(int8_t a) generates (vec<string> b);
81 someBar(string a, int8_t b) generates (string foo);
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_messages_generated.h340 const flatbuffers::Vector<int8_t> *name() const {
341 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_NAME);
343 const flatbuffers::Vector<int8_t> *vendor() const {
344 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_VENDOR);
346 const flatbuffers::Vector<int8_t> *toolchain() const {
347 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_TOOLCHAIN);
406 void add_name(flatbuffers::Offset<flatbuffers::Vector<int8_t>> name) {
409 void add_vendor(flatbuffers::Offset<flatbuffers::Vector<int8_t>> vendor) {
412 void add_toolchain(flatbuffers::Offset<flatbuffers::Vector<int8_t>> toolchain) {
456 flatbuffers::Offset<flatbuffers::Vector<int8_t>> name = 0,
[all …]
/system/bt/include/hardware/
Dble_scanner.h42 uint8_t advertising_sid, int8_t tx_power,
43 int8_t rssi, uint16_t periodic_adv_int,
124 base::Callback<void(uint16_t sync_handle, int8_t tx_power, int8_t rssi,
Dble_advertiser.h31 int8_t tx_power;
53 base::Callback<void(uint8_t /* advertiser_id */, int8_t /* tx_power */,
56 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc182 uint8_t GKI_create_task(TASKPTR task_entry, uint8_t task_id, int8_t* taskname, in GKI_create_task()
807 int8_t* GKI_map_taskname(uint8_t task_id) { in GKI_map_taskname()
818 return (int8_t*)"BAD"; in GKI_map_taskname()
914 int8_t* GKI_get_time_stamp(int8_t* tbuf) { in GKI_get_time_stamp()
919 int8_t* p_out = tbuf; in GKI_get_time_stamp()
931 *p_out++ = (int8_t)((h_time / 10) + '0'); in GKI_get_time_stamp()
932 *p_out++ = (int8_t)((h_time % 10) + '0'); in GKI_get_time_stamp()
934 *p_out++ = (int8_t)((m_time / 10) + '0'); in GKI_get_time_stamp()
935 *p_out++ = (int8_t)((m_time % 10) + '0'); in GKI_get_time_stamp()
937 *p_out++ = (int8_t)((s_time / 10) + '0'); in GKI_get_time_stamp()
[all …]
/system/core/libcutils/
Dproperties.cpp27 int8_t property_get_bool(const char* key, int8_t default_value) { in property_get_bool()
30 int8_t result = default_value; in property_get_bool()
/system/teeui/libteeui/include/teeui/example/
Dexample.h60 static constexpr const int8_t kFrameBufferError = -1;
61 static constexpr const int8_t kLayoutExampleError = -2;
/system/core/libcutils/include/cutils/
Dproperties.h65 int8_t property_get_bool(const char *key, int8_t default_value);
/system/core/libcutils/include_vndk/cutils/
Dproperties.h65 int8_t property_get_bool(const char *key, int8_t default_value);
/system/chre/platform/shared/
Dhost_protocol_common.cc40 Offset<Vector<int8_t>> HostProtocolCommon::addStringAsByteVector( in addStringAsByteVector()
42 return builder.CreateVector(reinterpret_cast<const int8_t *>(str), in addStringAsByteVector()
Dhost_protocol_chre.cc33 const char *getStringFromByteVector(const flatbuffers::Vector<int8_t> *vec) { in getStringFromByteVector()
34 constexpr int8_t kNullChar = static_cast<int8_t>('\0'); in getStringFromByteVector()
182 reinterpret_cast<const int8_t *>(logBuffer), bufferSize); in encodeLogMessages()
191 reinterpret_cast<const int8_t *>(debugStr), debugStrSize); in encodeDebugDumpData()
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h442 int8_t rssi;
504 int8_t rssiChain0;
505 int8_t rssiChain1; //!< @see #rssiChain0
640 int8_t rssi;
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h442 int8_t rssi;
504 int8_t rssiChain0;
505 int8_t rssiChain1; //!< @see #rssiChain0
640 int8_t rssi;
/system/nfc/src/gki/common/
Dgki.h344 extern uint8_t GKI_create_task(TASKPTR, uint8_t, int8_t*, uint16_t*, uint16_t,
349 extern int8_t* GKI_map_taskname(uint8_t);
403 extern int8_t* GKI_get_time_stamp(int8_t*);
/system/bt/stack/include/
Dble_advertiser.h33 base::Callback<void(uint8_t /* status */, int8_t /* tx_power */)>;
51 int8_t tx_power;
100 base::Callback<void(uint8_t /* inst_id */, int8_t /* tx_power */,
/system/bt/btcore/include/
Dproperty.h50 bt_property_t* property_new_rssi(const int8_t rssi);
78 int8_t property_as_rssi(const bt_property_t* property);
/system/chre/host/common/include/chre_host/
Dhost_messages_generated.h483 std::vector<int8_t> name;
484 std::vector<int8_t> vendor;
485 std::vector<int8_t> toolchain;
528 const flatbuffers::Vector<int8_t> *name() const {
529 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_NAME);
531 flatbuffers::Vector<int8_t> *mutable_name() {
532 return GetPointer<flatbuffers::Vector<int8_t> *>(VT_NAME);
534 const flatbuffers::Vector<int8_t> *vendor() const {
535 return GetPointer<const flatbuffers::Vector<int8_t> *>(VT_VENDOR);
537 flatbuffers::Vector<int8_t> *mutable_vendor() {
[all …]
/system/nvram/messages/include/nvram/messages/
Dio.h219 enum class WireType : int8_t {
271 static constexpr int8_t kInvalidWireType = -1;
277 int8_t wire_type_ = kInvalidWireType;
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_types_generated.h157 int8_t rssi_dbm() const { return GetField<int8_t>(VT_RSSI_DBM, 0); } in rssi_dbm()
168 VerifyField<int8_t>(verifier, VT_RSSI_DBM) && in Verify()
192 void add_rssi_dbm(int8_t rssi_dbm) { in add_rssi_dbm()
193 fbb_.AddElement<int8_t>(ScanResult::VT_RSSI_DBM, rssi_dbm, 0); in add_rssi_dbm()
214 int8_t rssi_dbm = 0, uint64_t tsf = 0) {
230 int8_t rssi_dbm = 0, uint64_t tsf = 0) {
392 int8_t min_rssi_threshold_dbm() const { in min_rssi_threshold_dbm()
393 return GetField<int8_t>(VT_MIN_RSSI_THRESHOLD_DBM, 0); in min_rssi_threshold_dbm()
400 VerifyField<int8_t>(verifier, VT_MIN_RSSI_THRESHOLD_DBM) && in Verify()
414 void add_min_rssi_threshold_dbm(int8_t min_rssi_threshold_dbm) { in add_min_rssi_threshold_dbm()
[all …]

123456