/system/extras/tests/sdcard/ |
H A D | sysutil.h | 8 * * Redistributions of source code must retain the above copyright 107 // @param code: 111 void syncAndDropCaches(int code = 3); 115 // @param code: 119 void fsyncAndDropCaches(int fd, int code = 3);
|
H A D | sysutil.cpp | 8 * * Redistributions of source code must retain the above copyright 390 void syncAndDropCaches(int code) argument 394 writeIntToFile(kDropCaches, code); 399 void fsyncAndDropCaches(int fd, int code) argument 403 writeIntToFile(kDropCaches, code);
|
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 53 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { argument 54 return sendMsg(code, msg, addErrno, mUseCmdNum); 57 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { argument 63 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno)); 65 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno)); 69 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg); 71 ret = asprintf(&buf, "%d %s", code, msg); 82 /** send 3-digit code, null, binary-length, binary data */ 83 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { argument 85 /* 4 bytes for the code 104 sendCode(int code) argument [all...] |
H A D | SocketListener.cpp | 246 void SocketListener::sendBroadcast(int code, const char *msg, bool addErrno) { argument 252 if ((*i)->sendMsg(code, msg, addErrno, false)) {
|
/system/core/include/sysutils/ |
H A D | SocketClient.h | 45 int sendMsg(int code, const char *msg, bool addErrno); 46 int sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum); 48 // Provides a mechanism to send a response code to the client. 49 // Sends the code and a null character. 50 int sendCode(int code); 53 // Sends the code and a null character, followed by 4 bytes of 55 int sendBinaryMsg(int code, const void *data, int len);
|
H A D | SocketListener.h | 42 void sendBroadcast(int code, const char *msg, bool addErrno);
|
/system/extras/tests/framebuffer/ |
H A D | minui.h | 38 unsigned code; member in struct:event
|
/system/vold/ |
H A D | vdc.c | 127 int code; local 132 code = atoi(tmp); 136 if (code >= 200 && code < 600)
|
/system/core/toolbox/ |
H A D | getevent.c | 193 static void print_event(int type, int code, int value, int print_flags) argument 204 code_label = get_label(syn_labels, code); 207 code_label = get_label(key_labels, code); 211 code_label = get_label(rel_labels, code); 214 code_label = get_label(abs_labels, code); 215 switch(code) { 221 code_label = get_label(msc_labels, code); 224 code_label = get_label(led_labels, code); 227 code_label = get_label(snd_labels, code); 230 code_label = get_label(sw_labels, code); [all...] |
H A D | sendevent.c | 16 __u16 code; member in struct:input_event 57 fprintf(stderr, "use: %s device type code value\n", argv[0]); 72 event.code = atoi(argv[3]);
|
/system/netd/ |
H A D | ndc.c | 162 int code; local 167 code = atoi(tmp); 171 if (code >= 200 && code < 600)
|
/system/extras/tests/bionic/libc/common/ |
H A D | test_udp.c | 26 usage(int code) argument 33 exit(code);
|
/system/media/camera/docs/ |
H A D | CameraCaptureResultTest.mako | 41 * End generated code
|
H A D | CameraMetadataEnums.mako | 88 * End generated code
|
H A D | CameraMetadataKeys.mako | 94 * End generated code
|
/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 83 virtual status_t onTransact(uint32_t code, 312 status_t AddIntsService::onTransact(uint32_t code, const Parcel &data, argument 330 switch (code) { 338 cerr << "server onTransact unknown code, code: " << code << endl;
|
/system/core/charger/ |
H A D | charger.c | 779 static int set_key_callback(int code, int value, void *data) argument 785 if (code > KEY_MAX) 789 if (charger->keys[code].down == down) 795 charger->keys[code].timestamp = now; 796 charger->keys[code].down = down; 797 charger->keys[code].pending = true; 799 LOGV("[%lld] key[%d] down\n", now, code); 801 int64_t duration = now - charger->keys[code].timestamp; 805 code, secs, msecs); 816 set_key_callback(ev->code, e 829 process_key(struct charger *charger, int code, int64_t now) argument [all...] |
/system/core/fastbootd/ |
H A D | protocol.c | 8 * * Redistributions of source code must retain the above copyright 113 static void fastboot_ack(struct protocol_handle *phandle, const char *code, argument 124 snprintf(response, 64, "%s%s", code, reason);
|
H A D | usb_linux_client.c | 146 __le16 code; member in struct:__anon28::__anon29
|
/system/core/include/diskconfig/ |
H A D | diskconfig.h | 74 uint8_t code[440]; /* bytes 0-439 */ member in struct:pc_boot_record
|
/system/core/debuggerd/ |
H A D | tombstone.c | 91 static const char *get_sigcode(int signo, int code) argument 96 switch (code) { 108 switch (code) { 115 switch (code) { 127 switch (code) { 133 switch (code) { 140 switch (code) { 186 _LOG(log, SCOPE_AT_FAULT, "signal %d (%s), code %d (%s), fault addr %08x\n", 191 _LOG(log, SCOPE_AT_FAULT, "signal %d (%s), code %d (%s), fault addr --------\n",
|
H A D | debuggerd.c | 139 && (e.code == KEY_HOME || e.code == KEY_VOLUMEDOWN)
|
/system/core/libcutils/tests/memset_mips/ |
H A D | memset_omips.S | 25 #error mips32 code being compiled for mips64!
|
/system/security/keystore/include/keystore/ |
H A D | IKeystoreService.h | 129 virtual status_t onTransact(uint32_t code, const Parcel& data, Parcel* reply,
|
/system/security/keystore/ |
H A D | IKeystoreService.cpp | 589 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 591 switch(code) { 879 return BBinder::onTransact(code, data, reply, flags); 588 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
|