Searched refs:type (Results 101 - 125 of 592) sorted by relevance

1234567891011>>

/system/core/include/utils/
H A DCondition.h63 explicit Condition(int type);
73 void signal(WakeUpType type) { argument
74 if (type == WAKE_UP_ONE) {
97 inline Condition::Condition(int type) { argument
104 if (type == SHARED) {
H A DMutex.h56 explicit Mutex(int type, const char* name = NULL);
117 inline Mutex::Mutex(int type, __attribute__((unused)) const char* name) { argument
118 if (type == SHARED) {
H A DRWLock.h51 explicit RWLock(int type, const char* name = NULL);
90 inline RWLock::RWLock(int type, __attribute__((unused)) const char* name) { argument
91 if (type == SHARED) {
/system/core/libcutils/
H A Dsocket_local_client_unix.c27 int socket_local_client(const char *name, int namespaceId, int type) argument
127 int type UNUSED)
153 int socket_local_client(const char *name, int namespaceId, int type) argument
157 s = socket(AF_LOCAL, type, 0);
160 if ( 0 > socket_local_client_connect(s, name, namespaceId, type)) {
H A Dsocket_network_client_unix.c46 int socket_network_client_timeout(const char* host, int port, int type, int timeout, argument
51 hints.ai_socktype = type;
65 int s = socket(addr->ai_family, type, addr->ai_protocol);
122 int socket_network_client(const char* host, int port, int type) { argument
124 return socket_network_client_timeout(host, port, type, 0, &getaddrinfo_error);
/system/core/libutils/include/utils/
H A DCondition.h63 explicit Condition(int type);
73 void signal(WakeUpType type) { argument
74 if (type == WAKE_UP_ONE) {
97 inline Condition::Condition(int type) { argument
104 if (type == SHARED) {
H A DMutex.h56 explicit Mutex(int type, const char* name = NULL);
117 inline Mutex::Mutex(int type, __attribute__((unused)) const char* name) { argument
118 if (type == SHARED) {
H A DRWLock.h51 explicit RWLock(int type, const char* name = NULL);
90 inline RWLock::RWLock(int type, __attribute__((unused)) const char* name) { argument
91 if (type == SHARED) {
/system/extras/simpleperf/
H A Drecord.h54 // defined records (type > SIMPLE_PERF_RECORD_TYPE_START).
56 uint32_t type; member in struct:simpleperf_record_header
133 uint32_t type; member in struct:RecordHeader
137 RecordHeader() : type(0), misc(0), size(0) {}
141 if (pheader->type < SIMPLE_PERF_RECORD_TYPE_START) {
142 type = pheader->type;
147 type = sheader->type;
154 if (type < SIMPLE_PERF_RECORD_TYPE_STAR
224 uint32_t type() const { return header.type; } function in struct:Record
237 SetTypeAndMisc(uint32_t type, uint16_t misc) argument
[all...]
/system/media/camera/src/
H A Dcamera_metadata.c39 * A single metadata entry, storing an array of values of a given type. If the
52 uint8_t type; member in struct:camera_metadata_buffer_entry
111 * non-pointer type description in order to figure out the largest alignment
139 _Static_assert(offsetof(camera_metadata_buffer_entry_t, type) == 12,
140 "Offset of type must be 12");
361 static int validate_and_calculate_camera_metadata_entry_data_size(size_t *data_size, uint8_t type, argument
363 if (type >= NUM_TYPES) return ERROR;
367 camera_metadata_type_size[type] > (SIZE_MAX - DATA_ALIGNMENT + 1) / data_count) {
372 size_t data_bytes = data_count * camera_metadata_type_size[type];
381 size_t calculate_camera_metadata_entry_data_size(uint8_t type, argument
638 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument
680 int type = get_local_camera_metadata_tag_type(tag, dst); local
1114 print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument
[all...]
/system/chre/apps/imu_cal/
H A Dimu_cal.cc35 const uint8_t type; member in struct:chre::__anon1306::__anon1307::SensorState
45 { .type = CHRE_SENSOR_TYPE_ACCELEROMETER_TEMPERATURE,
50 { .type = CHRE_SENSOR_TYPE_GYROSCOPE_TEMPERATURE,
55 { .type = CHRE_SENSOR_TYPE_UNCALIBRATED_ACCELEROMETER,
60 { .type = CHRE_SENSOR_TYPE_UNCALIBRATED_GYROSCOPE,
65 { .type = CHRE_SENSOR_TYPE_UNCALIBRATED_GEOMAGNETIC_FIELD,
79 sensor.isInitialized = chreSensorFindDefault(sensor.type, &sensor.handle);
/system/extras/memory_replay/
H A DAction.cpp179 Action* Action::CreateAction(uintptr_t key_pointer, const char* type, argument
182 if (strcmp(type, "malloc") == 0) {
184 } else if (strcmp(type, "free") == 0) {
186 } else if (strcmp(type, "calloc") == 0) {
188 } else if (strcmp(type, "realloc") == 0) {
190 } else if (strcmp(type, "memalign") == 0) {
192 } else if (strcmp(type, "thread_done") == 0) {
/system/security/keystore/
H A Dkeystore.h72 android::String8 getKeyName(const android::String8& keyName, const BlobType type);
74 const BlobType type);
76 const BlobType type);
88 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId);
90 ResponseCode del(const char* filename, const BlobType type, uid_t userId);
106 const BlobType type);
152 const BlobType type, uid_t uid);
/system/extras/simpleperf/scripts/
H A Dprofile_pb2.py38 number=1, type=11, cpp_type=10, label=3,
45 number=2, type=11, cpp_type=10, label=3,
52 number=3, type=11, cpp_type=10, label=3,
59 number=4, type=11, cpp_type=10, label=3,
66 number=5, type=11, cpp_type=10, label=3,
73 number=6, type=9, cpp_type=9, label=3,
80 number=7, type=3, cpp_type=2, label=1,
87 number=8, type=3, cpp_type=2, label=1,
94 number=9, type=3, cpp_type=2, label=1,
101 number=10, type
[all...]
/system/bt/btif/src/
H A Dbtif_sock_thread.cc82 int type; member in struct:__anon682
100 static inline void add_poll(int h, int fd, int type, int flags,
217 int type; member in struct:__anon684
221 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) { argument
236 add_poll(h, fd, type, flags, user_id);
242 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id};
269 int btsock_thread_post_cmd(int h, int type, const unsigned char* data, int size, argument
280 sock_cmd_t cmd = {CMD_USER_PRIVATE, 0, type, size, user_id};
281 APPL_TRACE_DEBUG("post cmd type:%d, size:%d, h:%d, ", type, siz
362 set_poll(poll_slot_t* ps, int fd, int type, int flags, uint32_t user_id) argument
375 add_poll(int h, int fd, int type, int flags, uint32_t user_id) argument
474 int type = ts[h].ps[ps_i].type; local
[all...]
/system/extras/perfprofd/quipper/
H A Dperf_reader.cc40 // The type of the number of string data, found in the command line metadata in
49 // The type of the number of nodes field in NUMA topology.
129 sizeof(header.type) + sizeof(header.misc) + sizeof(header.size));
149 sizeof(event.header.type) + sizeof(event.header.misc) +
188 new_event->header.type = HEADER_BUILD_ID;
248 // Read read info from perf data. Corresponds to sample format type
270 // Read call chain info from perf data. Corresponds to sample format type
296 // Read raw info from perf data. Corresponds to sample format type
319 // Read call chain info from perf data. Corresponds to sample format type
776 if (event.header.type
793 IsSupportedEventType(uint32_t type) argument
1072 perf_trace_event_type type; local
1240 ReadStringMetadata(const ConstBufferWithSize& data, u32 type, size_t offset, size_t size) argument
1261 ReadUint32Metadata(const ConstBufferWithSize& data, u32 type, size_t offset, size_t size) argument
1283 ReadUint64Metadata(const ConstBufferWithSize& data, u32 type, size_t offset, size_t size) argument
1471 uint32_t type = event_copy->header.type; local
[all...]
/system/update_engine/payload_generator/
H A Dab_generator.cc91 if (aop.op.type() == InstallOperation::SOURCE_COPY) {
93 } else if (IsAReplaceOperation(aop.op.type())) {
108 TEST_AND_RETURN_FALSE(original_op.type() == InstallOperation::SOURCE_COPY);
163 TEST_AND_RETURN_FALSE(IsAReplaceOperation(original_op.type()));
164 const bool is_replace = original_op.type() == InstallOperation::REPLACE;
205 bool last_is_a_replace = IsAReplaceOperation(last_aop.op.type());
220 bool is_a_replace = IsAReplaceOperation(curr_aop.op.type());
222 bool is_delta_op = curr_aop.op.type() == InstallOperation::SOURCE_COPY;
223 if (((is_delta_op && (last_aop.op.type() == curr_aop.op.type())) ||
[all...]
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp109 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) { argument
122 /* int type + int size + private key data + int size + public key data */
123 *keyBlobLength = get_softkey_header_size() + sizeof(type) + sizeof(publicLen) + privateLen +
138 /* Write key type to allocated buffer */
139 for (int i = sizeof(type) - 1; i >= 0; i--) {
140 *p++ = (type >> (8 * i)) & 0xFF;
173 int type = 0; local
174 if (keyBlobLength < (get_softkey_header_size() + sizeof(type) + sizeof(publicLen) + 1 +
186 for (size_t i = 0; i < sizeof(type); i++) {
187 type
583 int type = EVP_PKEY_type(pkey->type); local
704 int type = EVP_PKEY_type(pkey->type); local
[all...]
/system/bt/test/suite/gatt/
H A Dgatt_unittest.cc91 {.type = BTGATT_DB_PRIMARY_SERVICE, .uuid = srvc_uuid},
92 {.type = BTGATT_DB_CHARACTERISTIC,
96 {.type = BTGATT_DB_DESCRIPTOR, .uuid = desc_uuid, .permissions = 0x01}};
/system/bt/vendor_libs/test_vendor_lib/include/
H A Dpacket_stream.h42 // Reads a single octet from |fd| and interprets it as a packet type octet.
43 // Validates the type octet for correctness.
51 // Checks if |type| is in the valid range from DATA_TYPE_COMMAND to
53 bool ValidateTypeOctet(serial_data_type_t type) const;
/system/core/include/private/
H A Dandroid_logger.h65 int8_t type; // EVENT_TYPE_INT member in struct:__anon1442
77 int8_t type; // EVENT_TYPE_LONG member in struct:__anon1444
100 int8_t type; // EVENT_TYPE_STRING; member in struct:__anon1446
108 int8_t type; // EVENT_TYPE_STRING; member in struct:__anon1447
/system/core/init/parser/
H A Dtokenizer.h44 TokenType type; member in struct:init::Tokenizer::Token
/system/core/liblog/include/private/
H A Dandroid_logger.h65 int8_t type; // EVENT_TYPE_INT member in struct:__anon1544
77 int8_t type; // EVENT_TYPE_LONG member in struct:__anon1546
100 int8_t type; // EVENT_TYPE_STRING; member in struct:__anon1548
108 int8_t type; // EVENT_TYPE_STRING; member in struct:__anon1549
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/
H A Dkernel.h31 #define container_of(ptr,type,member) ({ const typeof(((type *) 0)->member) * __mptr = (ptr); (type *) ((char *) __mptr - offsetof(type, member)); })
/system/update_engine/common/
H A Dhttp_common.h25 // Enumeration type for HTTP response codes.
61 // Enumeration type for HTTP Content-Type.
68 const char *GetHttpContentTypeString(HttpContentType type);

Completed in 2519 milliseconds

1234567891011>>