/system/bt/btif/include/ |
H A D | btif_sock_l2cap.h | 18 int* sock_fd, int flags, int app_uid); 20 int channel, int* sock_fd, int flags, int app_uid); 21 void btsock_l2cap_signaled(int fd, int flags, uint32_t user_id);
|
H A D | btif_sock_rfc.h | 35 int* sock_fd, int flags, int app_uid); 37 int channel, int* sock_fd, int flags, int app_uid); 38 void btsock_rfc_signaled(int fd, int flags, uint32_t user_id);
|
H A D | btif_sock_sco.h | 27 bt_status_t btsock_sco_listen(int *sock_fd, int flags); 28 bt_status_t btsock_sco_connect(const bt_bdaddr_t *bd_addr, int *sock_fd, int flags);
|
H A D | btif_sock_thread.h | 41 typedef void (*btsock_signaled_cb)(int fd, int type, int flags, uint32_t user_id); 45 int btsock_thread_add_fd(int handle, int fd, int type, int flags, uint32_t user_id);
|
/system/core/include/cutils/ |
H A D | android_reboot.h | 32 int android_reboot(int cmd, int flags, const char *arg); 34 int cmd, int flags, const char *arg,
|
/system/extras/kexec_tools/ |
H A D | kexec.h | 20 struct kexec_segment *segment, unsigned long flags) { 21 return syscall(__NR_kexec_load, entry, nr_segments, segment, flags); 19 kexec_load(unsigned int entry, unsigned long nr_segments, struct kexec_segment *segment, unsigned long flags) argument
|
/system/core/liblog/ |
H A D | fake_log_device.h | 26 LIBLOG_HIDDEN int fakeLogOpen(const char *pathName, int flags);
|
/system/core/libpixelflinger/ |
H A D | trap.h | 27 void ggl_state_changed(context_t* c, int flags);
|
/system/vold/ |
H A D | AutoCloseFD.h | 30 AutoCloseFD(const char *path, int flags = O_RDONLY, int mode = 0): 31 fd{TEMP_FAILURE_RETRY(open(path, flags | O_CLOEXEC, mode))} {} 32 AutoCloseFD(const std::string &path, int flags = O_RDONLY, int mode = 0): 33 AutoCloseFD(path.c_str(), flags, mode) {}
|
H A D | Ext4Crypt.h | 38 bool e4crypt_prepare_user_storage(const char* volume_uuid, userid_t user_id, int serial, int flags); 39 bool e4crypt_destroy_user_storage(const char* volume_uuid, userid_t user_id, int flags);
|
/system/bt/btif/src/ |
H A D | btif_sock.c | 37 static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *uuid, int channel, int *sock_fd, int flags, int app_uid); 38 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags, int app_uid); 40 static void btsock_signaled(int fd, int type, int flags, uint32_t user_id); 120 static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, int flags, int app_uid) { argument 121 if((flags & BTSOCK_FLAG_NO_SDP) == 0) { 131 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, flags, app_uid); 134 status = btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); 138 status = btsock_sco_listen(sock_fd, flags); 149 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags, int app_uid) { argument 159 status = btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags, app_ui 178 btsock_signaled(int fd, int type, int flags, uint32_t user_id) argument [all...] |
H A D | btif_sock_thread.c | 86 int flags; member in struct:__anon691 103 static inline void add_poll(int h, int fd, int type, int flags, uint32_t user_id); 237 int flags; member in struct:__anon693 240 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) argument 252 if(flags & SOCK_THREAD_ADD_FD_SYNC) 257 //cleanup one-time flags 258 flags &= ~SOCK_THREAD_ADD_FD_SYNC; 259 add_poll(h, fd, type, flags, user_id); 264 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id}; 265 APPL_TRACE_DEBUG("adding fd:%d, flags 390 flags2pevents(int flags) argument 401 set_poll(poll_slot_t* ps, int fd, int type, int flags, uint32_t user_id) argument 412 add_poll(int h, int fd, int type, int flags, uint32_t user_id) argument 440 remove_poll(int h, poll_slot_t* ps, int flags) argument 515 int flags = 0; local [all...] |
/system/core/base/ |
H A D | utf8.cpp | 54 const DWORD flags = local 61 const int chars_required = WideCharToMultiByte(CP_UTF8, flags, utf16, size, 71 const int result = WideCharToMultiByte(CP_UTF8, flags, utf16, size, 96 // Internal helper function that takes MultiByteToWideChar() flags. 98 const DWORD flags) { 107 const int chars_required = MultiByteToWideChar(CP_UTF8, flags, utf8, size, 117 const int result = MultiByteToWideChar(CP_UTF8, flags, utf8, size, 159 int open(const char* name, int flags, ...) { argument 166 if ((flags & O_CREAT) != 0) { 168 va_start(args, flags); 97 UTF8ToWideWithFlags(const char* utf8, const size_t size, std::wstring* utf16, const DWORD flags) argument [all...] |
/system/nativepower/daemon/ |
H A D | BnPowerManager.cc | 26 uint32_t flags) { 34 int32_t flags = data.readInt32(); local 38 return acquireWakeLock(flags, lock, tag, package_name); 43 int32_t flags = data.readInt32(); local 47 return acquireWakeLockWithUid(flags, lock, tag, package_name, uid); 52 int32_t flags = data.readInt32(); local 53 return releaseWakeLock(lock, flags); 71 int32_t flags = data.readInt32(); local 72 return goToSleep(event_time_ms, reason, flags); 94 return BBinder::onTransact(code, data, reply, flags); 23 onTransact(uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument [all...] |
H A D | power_manager_stub.cc | 30 int flags) 33 flags(flags) {} 47 int flags) { 48 return base::StringPrintf("%" PRId64 ",%d,%d", event_time_ms, reason, flags); 71 request.flags); 74 status_t PowerManagerStub::acquireWakeLock(int flags, argument 85 status_t PowerManagerStub::acquireWakeLockWithUid(int flags, argument 98 int flags, 117 int flags) { 28 SuspendRequest(int64_t event_time_ms, int reason, int flags) argument 44 ConstructSuspendRequestString( int64_t event_time_ms, int reason, int flags) argument 97 releaseWakeLock(const sp<IBinder>& lock, int flags, bool isOneWay) argument 115 goToSleep(int64_t event_time_ms, int reason, int flags) argument [all...] |
/system/update_engine/payload_consumer/ |
H A D | file_descriptor.cc | 29 bool EintrSafeFileDescriptor::Open(const char* path, int flags, mode_t mode) { argument 31 return ((fd_ = HANDLE_EINTR(open(path, flags, mode))) >= 0); 34 bool EintrSafeFileDescriptor::Open(const char* path, int flags) { argument 36 return ((fd_ = HANDLE_EINTR(open(path, flags))) >= 0); 89 int flags = fcntl(fd_, F_GETFL, 0); 90 if (flags == -1) { 91 PLOG(WARNING) << "Couldn't get flags on fd " << fd_; 94 if ((flags & O_DIRECT) == 0 && fcntl(fd_, F_SETFL, flags | O_DIRECT) == -1) { 102 if ((flags [all...] |
H A D | file_descriptor.h | 63 virtual bool Open(const char* path, int flags, mode_t mode) = 0; 64 virtual bool Open(const char* path, int flags) = 0; 117 bool Open(const char* path, int flags, mode_t mode) override; 118 bool Open(const char* path, int flags) override;
|
H A D | mtd_file_descriptor.cc | 104 bool MtdFileDescriptor::Open(const char* path, int flags, mode_t mode) { argument 106 TEST_AND_RETURN_FALSE((flags & O_ACCMODE) != O_RDWR); 110 if ((flags & O_ACCMODE) == O_WRONLY) { 111 flags &= ~O_ACCMODE; 112 flags |= O_RDWR; 115 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode)); 117 if ((flags & O_ACCMODE) == O_RDWR) { 132 bool MtdFileDescriptor::Open(const char* path, int flags) { argument 135 return Open(path, flags, 0777 & ~cur); 177 bool UbiFileDescriptor::Open(const char* path, int flags, mode_ argument 211 Open(const char* path, int flags) argument [all...] |
/system/core/libion/include/ion/ |
H A D | ion.h | 34 unsigned int flags, ion_user_handle_t *handle); 36 unsigned int flags, int *handle_fd); 40 int flags, off_t offset, unsigned char **ptr, int *map_fd);
|
/system/core/init/ |
H A D | ueventd_keywords.h | 3 #define KEYWORD(symbol, flags, nargs) K_##symbol,
|
/system/gatekeeper/include/gatekeeper/ |
H A D | password_handle.h | 37 uint64_t flags; member in struct:gatekeeper::password_handle_t
|
/system/nativepower/include/nativepower/ |
H A D | BnPowerManager.h | 32 uint32_t flags=0) override;
|
H A D | power_manager_stub.h | 49 int flags); 70 status_t acquireWakeLock(int flags, 75 status_t acquireWakeLockWithUid(int flags, 82 int flags, 89 status_t goToSleep(int64_t event_time_ms, int reason, int flags) override; 97 SuspendRequest(int64_t uptime_ms, int reason, int flags); 101 int flags; member in struct:android::PowerManagerStub::SuspendRequest
|
/system/connectivity/shill/test-scripts/ |
H A D | routing.py | 45 def __init__(self, iface, dest, gway, flags, mask): 49 self.flagbits = int(flags, 16) 53 flags = "" 55 flags += "U" 57 flags += "G" 59 flags += "H" 60 return "<%s dest: %s gway: %s mask: %s flags: %s>" % ( 65 flags) 106 flags = route[colMap["Flags"]] 109 Route(interface, destination, gateway, flags, mas [all...] |
/system/connectivity/shill/net/ |
H A D | rtnl_message.h | 59 flags(0), 65 flags(in_flags), 68 unsigned int flags; member in struct:shill::RTNLMessage::LinkStatus 75 flags(0), 81 flags(flags_in), 84 unsigned char flags; member in struct:shill::RTNLMessage::AddressStatus 96 flags(0) {} 110 flags(flags_in) {} 117 unsigned char flags; member in struct:shill::RTNLMessage::RouteStatus 123 flags( 132 uint8_t flags; member in struct:shill::RTNLMessage::NeighborStatus 168 uint16_t flags() const { return flags_; } function in class:shill::RTNLMessage [all...] |