/system/core/include/cutils/ |
H A D | sockets.h | 87 extern int socket_loopback_client(int port, int type); 88 extern int socket_network_client(const char *host, int port, int type); 89 extern int socket_network_client_timeout(const char *host, int port, int type, 91 extern int socket_loopback_server(int port, int type); 92 extern int socket_local_server(const char *name, int namespaceId, int type); 95 const char *name, int namespaceId, int type); 96 extern int socket_local_client(const char *name, int namespaceId, int type); 97 extern int socket_inaddr_any_server(int port, int type);
|
/system/core/init/ |
H A D | log.h | 26 extern int log_callback(int type, const char *fmt, ...);
|
/system/core/libcutils/ |
H A D | socket_inaddr_any_server.c | 35 int socket_inaddr_any_server(int port, int type) argument 45 s = socket(AF_INET, type, 0); 56 if (type == SOCK_STREAM) {
|
H A D | socket_loopback_server.c | 35 int socket_loopback_server(int port, int type) argument 45 s = socket(AF_INET, type, 0); 56 if (type == SOCK_STREAM) {
|
H A D | socket_local_server.c | 28 int socket_local_server(const char *name, int namespaceId, int type) argument 46 /* Only the bottom bits are really the socket type; there are flags too. */ 97 int socket_local_server(const char *name, int namespace, int type) argument 102 s = socket(AF_LOCAL, type, 0); 112 if ((type & SOCK_TYPE_MASK) == SOCK_STREAM) {
|
H A D | socket_loopback_client.c | 32 /* Connect to port on the loopback IP interface. type is 36 int socket_loopback_client(int port, int type) argument 46 s = socket(AF_INET, type, 0);
|
H A D | socket_local_client.c | 27 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 D | socket_network_client.c | 32 /* Connect to port on the IP interface. type is 36 int socket_network_client(const char *host, int port, int type) argument 38 return socket_network_client_timeout(host, port, type, 0); 41 /* Connect to port on the IP interface. type is SOCK_STREAM or SOCK_DGRAM. 44 int socket_network_client_timeout(const char *host, int port, int type, int timeout) argument 66 s = socket(hp->h_addrtype, type, 0);
|
/system/core/adb/ |
H A D | adb_client.h | 26 void adb_set_transport(transport_type type, const char* serial);
|
/system/core/libpixelflinger/ |
H A D | raster.h | 28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
|
/system/core/include/utils/ |
H A D | Condition.h | 57 Condition(int type); 66 void signal(WakeUpType type) { argument 67 if (type == WAKE_UP_ONE) { 91 inline Condition::Condition(int type) { argument 92 if (type == SHARED) {
|
H A D | Mutex.h | 51 Mutex(int type, const char* name = NULL); 97 inline Mutex::Mutex(int type, __attribute__((unused)) const char* name) { argument 98 if (type == SHARED) {
|
H A D | RWLock.h | 51 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/libsparse/ |
H A D | backed_block.c | 29 enum backed_block_type type; member in struct:backed_block 77 assert(bb->type == BACKED_BLOCK_DATA); 83 assert(bb->type == BACKED_BLOCK_FILE); 89 assert(bb->type == BACKED_BLOCK_FD); 95 assert(bb->type == BACKED_BLOCK_FILE || bb->type == BACKED_BLOCK_FD); 96 if (bb->type == BACKED_BLOCK_FILE) { 98 } else { /* bb->type == BACKED_BLOCK_FD */ 105 assert(bb->type == BACKED_BLOCK_FILL); 111 return bb->type; [all...] |
/system/media/audio_route/ |
H A D | audio_route.c | 80 static bool is_supported_ctl_type(enum mixer_ctl_type type) argument 82 switch (type) { 305 enum mixer_ctl_type type; local 310 type = mixer_ctl_get_type(ctl); 311 if (!is_supported_ctl_type(type)) 328 enum mixer_ctl_type type; local 333 type = mixer_ctl_get_type(ctl); 334 if (!is_supported_ctl_type(type)) 374 enum mixer_ctl_type type; local 432 type 479 enum mixer_ctl_type type; local 517 enum mixer_ctl_type type; local 542 enum mixer_ctl_type type; local 576 enum mixer_ctl_type type; local 592 enum mixer_ctl_type type; local 673 enum mixer_ctl_type type; local [all...] |
/system/media/camera/docs/ |
H A D | metadata_model_test.py | 16 entry1 = Entry(name="entry1", type="int32", kind="static", 18 entry2 = Entry(name="entry2", type="int32", kind="static", 20 entry3 = Entry(name="entry3", type="int32", kind="static", 62 entry1 = Entry(name="entry1", type="int32", kind="static", 64 entry2 = Entry(name="entry2", type="int32", kind="static", 96 entry1 = Entry(name="entry1", type="int32", kind="static", 98 entry2 = Entry(name="entry2", type="int32", kind="static", 100 entry3 = Entry(name="entry3", type="int32", kind="static",
|
/system/extras/tests/framebuffer/ |
H A D | minui.h | 37 unsigned type; member in struct:event
|
/system/core/libmemtrack/ |
H A D | memtrack.c | 32 enum memtrack_type type; member in struct:memtrack_proc::memtrack_proc_type 80 pid_t pid, enum memtrack_type type) 86 ret = module->getMemory(module, pid, type, t->records, &num_records); 148 enum memtrack_type type = types[i]; local 149 for (j = 0; j < p->types[type].num_records; j++) { 150 if ((p->types[type].records[j].flags & flags) == flags) { 151 sum += p->types[type].records[j].size_in_bytes; 79 memtrack_proc_get_type(struct memtrack_proc_type *t, pid_t pid, enum memtrack_type type) argument
|
/system/security/softkeymaster/ |
H A D | keymaster_openssl.cpp | 124 static int wrap_key(EVP_PKEY* pkey, int type, uint8_t** keyBlob, size_t* keyBlobLength) { argument 137 /* int type + int size + private key data + int size + public key data */ 138 *keyBlobLength = get_softkey_header_size() + sizeof(type) + sizeof(publicLen) + privateLen + 153 /* Write key type to allocated buffer */ 154 for (int i = sizeof(type) - 1; i >= 0; i--) { 155 *p++ = (type >> (8 * i)) & 0xFF; 188 int type = 0; local 189 if (keyBlobLength < (get_softkey_header_size() + sizeof(type) + sizeof(publicLen) + 1 + 201 for (size_t i = 0; i < sizeof(type); i++) { 202 type 605 int type = EVP_PKEY_type(pkey->type); local 727 int type = EVP_PKEY_type(pkey->type); local [all...] |
/system/media/camera/src/ |
H A D | camera_metadata.c | 36 * A single metadata entry, storing an array of values of a given type. If the 49 uint8_t type; member in struct:camera_metadata_buffer_entry 107 * non-pointer type description in order to figure out the largest alignment 335 "expected %p) to type %s", 401 if (entry.type >= NUM_TYPES) { 402 ALOGE("%s: Entry index %zu had a bad type %d", 403 __FUNCTION__, i, entry.type); 411 if (tag_type != (int)entry.type && tag_section < VENDOR_SECTION) { 412 ALOGE("%s: Entry index %zu had tag type %d, but the type wa 511 calculate_camera_metadata_entry_data_size(uint8_t type, size_t data_count) argument 519 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument 561 int type = get_camera_metadata_tag_type(tag); local 915 print_data(int fd, const uint8_t *data_ptr, uint32_t tag, int type, int count, int indentation) argument [all...] |
/system/core/include/log/ |
H A D | logd.h | 42 int __android_log_btwrite(int32_t tag, char type, const void *payload,
|
/system/core/fastbootd/ |
H A D | network_discovery.c | 80 const char *type = FASTBOOTD_TYPE; local 93 name, type, domain, host, port,
|
/system/keymaster/include/keymaster/ |
H A D | keymaster_tags.h | 32 * TypedTag and TypedEnumTag. These classes are templated on a tag type and a tag value, and in the 33 * case of TypedEnumTag, an enumeration type as well. Specializations are created for each 34 * keymaster tag, associating the tag type with the tag, and an instance of each specialization is 39 * They also define a "value_type" typedef, which specifies the type of values associated with that 41 * parameter type is used for a given tag, and that use the correct union entry for the tag type. A 49 * type-safe, allows the program to have both the type-safety of the templates and the compactness 71 // An unusable type that we can associate with tag types that don't have a simple value type [all...] |
/system/core/libsysutils/src/ |
H A D | NetlinkEvent.cpp | 88 static const char *rtMessageName(int type) { argument 90 switch (type) { 171 int type = nh->nlmsg_type; local 172 if (type != RTM_NEWADDR && type != RTM_DELADDR) { 173 SLOGE("parseIfAddrMessage on incorrect message type 0x%x\n", type); 178 const char *msgtype = rtMessageName(type); 238 mAction = (type == RTM_NEWADDR) ? NlActionAddressUpdated : 278 uint8_t type local [all...] |
/system/core/toolbox/upstream-netbsd/bin/cp/ |
H A D | cp.c | 109 enum op type; local 269 type = DIR_TO_DNE; 271 type = FILE_TO_FILE; 273 type = FILE_TO_FILE; 275 if (have_trailing_slash && type == FILE_TO_FILE) { 286 type = FILE_TO_DIR; 299 exit(copy(argv, type, fts_options)); 324 copy(char *argv[], enum op type, int fts_options) argument 359 if (type != FILE_TO_FILE) { 388 if (type ! [all...] |