/system/core/libvndksupport/include/vndksupport/ |
H A D | linker.h | 23 void* android_load_sphal_library(const char* name, int flag);
|
/system/nvram/core/include/nvram/core/ |
H A D | persistence.h | 40 // Check whether a flag is present. 41 bool HasFlag(Flags flag) const { 42 return (flags & flag) != 0; 45 // Set a flag. 46 void SetFlag(Flags flag) { argument 47 flags |= flag; 97 // Check whether a given flag is set. 98 bool HasFlag(Flags flag) const { 99 return (flags & flag) != 0; 102 // Set a flag 103 SetFlag(Flags flag) argument [all...] |
/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothSocketManager.aidl | 30 @nullable ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in @nullable ParcelUuid uuid, int port, int flag); 31 @nullable ParcelFileDescriptor createSocketChannel(int type, in @nullable String serviceName, in @nullable ParcelUuid uuid, int port, int flag);
|
H A D | IBluetoothHeadsetClient.aidl | 44 boolean acceptCall(in BluetoothDevice device, int flag);
|
/system/core/libnativebridge/include/nativebridge/ |
H A D | native_bridge.h | 68 void* NativeBridgeLoadLibrary(const char* libpath, int flag); 162 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag, native_bridge_namespace_t* ns); 187 // flag [IN] the stardard RTLD_XXX defined in bionic dlfcn.h 193 void* (*loadLibrary)(const char* libpath, int flag); 346 // flag [IN] the stardard RTLD_XXX defined in bionic dlfcn.h 353 void* (*loadLibraryExt)(const char* libpath, int flag, native_bridge_namespace_t* ns);
|
/system/core/libvndksupport/ |
H A D | linker.c | 48 void* android_load_sphal_library(const char* name, int flag) { argument 56 handle = android_dlopen_ext(name, flag, &dlextinfo); 64 return dlopen(name, flag);
|
/system/core/adb/ |
H A D | adb_trace.cpp | 134 const auto& flag = trace_flags.find(elem); local 135 if (flag == trace_flags.end()) { 136 LOG(ERROR) << "Unknown trace flag: " << elem; 140 if (flag->second == -1) { 146 adb_trace_mask |= 1 << flag->second;
|
H A D | sysdeps_test.cpp | 207 static volatile bool flag = false; local 212 flag = true; 217 while (!flag) {
|
/system/core/base/ |
H A D | properties_test.cpp | 129 std::atomic<bool> flag{false}; 133 while (!flag) std::this_thread::yield(); 138 flag = true; 155 std::atomic<bool> flag{false}; 158 while (!flag) std::this_thread::yield(); 164 flag = true; 171 std::atomic<bool> flag{false}; 174 while (!flag) std::this_thread::yield(); 180 flag = true;
|
H A D | logging_test.cpp | 72 bool flag = false; local 76 flag = true; 77 EXPECT_FALSE(flag) << "CHECK macro probably has a dangling if with no else"; 79 flag = false; 83 flag = true; 84 EXPECT_FALSE(flag) << "CHECK_STREQ probably has a dangling if with no else"; 452 bool flag = false; local 456 flag = true; 458 EXPECT_FALSE(flag) << "LOG macro probably has a dangling if with no else"; 460 flag [all...] |
/system/libfmq/ |
H A D | EventFlag.cpp | 34 status_t EventFlag::createEventFlag(int fd, off_t offset, EventFlag** flag) { argument 35 if (flag == nullptr) { 40 *flag = nullptr; 45 *flag = evFlag; 55 EventFlag** flag) { 56 if (flag == nullptr) { 61 *flag = nullptr; 66 *flag = evFlag; 88 ALOGE("Attempt to mmap event flag word failed: %s\n", strerror(errno)); 128 ALOGE("Error in event flag wak 54 createEventFlag(std::atomic<uint32_t>* fwAddr, EventFlag** flag) argument [all...] |
/system/core/liblog/ |
H A D | properties.c | 406 static bool check_flag(const char* prop, const char* flag) { argument 407 const char* cp = strcasestr(prop, flag); 416 cp += strlen(flag); 440 int flag) { 442 if (flag & BOOL_DEFAULT_FLAG_PERSIST) { 463 flag &= ~(BOOL_DEFAULT_FLAG_ENG | BOOL_DEFAULT_FLAG_SVELTE); 466 flag |= BOOL_DEFAULT_FLAG_ENG; 468 /* this is really a "not" flag */ 470 flag |= BOOL_DEFAULT_FLAG_SVELTE; 474 if (flag 439 __android_logger_property_get_bool(const char* key, int flag) argument [all...] |
/system/netd/bpfloader/ |
H A D | bpf_kern.h | 107 uint16_t flag; local 115 ret = bpf_skb_load_bytes(skb, ihl * 4 + TCP_FLAG_OFF, &flag, 1); 116 if (ret == 0 && (flag >> RST_OFFSET & 1)) { 129 uint16_t flag; local 130 ret = bpf_skb_load_bytes(skb, sizeof(struct ipv6hdr) + TCP_FLAG_OFF, &flag, 1); 131 if (ret == 0 && (flag >> RST_OFFSET & 1)) {
|
/system/core/fs_mgr/ |
H A D | fs_mgr_fstab.cpp | 58 unsigned int flag; member in struct:flag_list 142 return j->flag; 150 unsigned int flag) 155 if (flag == j->flag) { 216 /* initialize flag values. If we find a relevant flag, we'll 231 /* Look for the flag "p" in the flag list "fl" 236 f |= fl[i].flag; 149 flag_to_encryption_mode(const struct flag_list *list, unsigned int flag) argument [all...] |
/system/core/logcat/ |
H A D | getopt_long.cpp | 167 long_options[i].flag != long_options[match].flag || 189 // XXX: GNU sets optopt to val regardless of flag 191 long_options[match].flag ? 0 : long_options[match].val; 212 // XXX: GNU sets optopt to val regardless of flag 214 long_options[match].flag ? 0 : long_options[match].val; 231 if (long_options[match].flag) { 232 *long_options[match].flag = long_options[match].val;
|
/system/bt/stack/smp/ |
H A D | smp_cmac.cc | 179 bool flag; local 182 /* last block is a complete block set flag to 1 */ 183 flag = 186 SMP_TRACE_WARNING("flag = %d round = %d", flag, cmac_cb.round); 188 if (flag) { /* last block is complete block */
|
/system/extras/tests/timetest/ |
H A D | rtc_test.cpp | 29 static int hwtime(int flag, int request, struct rtc_time *tm) { argument 32 int ret = access(rtc, flag & O_WRONLY); 37 if (flag & O_WRONLY) { 48 ret = TEMP_FAILURE_RETRY(open(rtc, flag));
|
/system/bt/bta/hh/ |
H A D | bta_hh_utils.cc | 143 uint8_t flag) 145 UNUSED_ATTR uint8_t flag) 156 p_cb->dscp_info.flag = flag; 271 /* control key flag is set */ 140 bta_hh_update_di_info(tBTA_HH_DEV_CB* p_cb, uint16_t vendor_id, uint16_t product_id, uint16_t version, uint8_t flag) argument
|
/system/connectivity/wificond/net/ |
H A D | nl80211_packet.h | 92 // |flags| is set of flag bits described by NLM_F_* macros in netlink.h 93 void AddFlag(uint16_t flag);
|
/system/core/libnativebridge/ |
H A D | native_bridge.cc | 489 void* NativeBridgeLoadLibrary(const char* libpath, int flag) { argument 491 return callbacks->loadLibrary(libpath, flag); 618 void* NativeBridgeLoadLibraryExt(const char* libpath, int flag, native_bridge_namespace_t* ns) { argument 621 return callbacks->loadLibraryExt(libpath, flag, ns);
|
/system/extras/tests/sdcard/ |
H A D | plot_sdcard.py | 315 for flag, val in optlist: 316 if flag in ('-i', '--iteration'): 320 elif flag in ('-t', '--time'): 324 elif flag in ('-p', '--profile'):
|
/system/bt/stack/btm/ |
H A D | btm_ble_gap.cc | 146 static void btm_ble_update_adv_flag(uint8_t flag); 1088 * Description Obtain updated adv flag value based on connect and 1090 * flag based on whether the controller supports both LE and 1093 * Parameters: flag_value (Input / Output) - flag value 1110 /* if local controller support, mark both controller and host support in flag 1122 * Description Set adv flag in adv data. 1131 uint8_t flag = 0, old_flag = 0; local 1134 if (p_adv_data->p_flags != NULL) flag = old_flag = *(p_adv_data->p_flags); 1136 btm_ble_update_dmt_flag_bits(&flag, connect_mode, disc_mode); 1139 /* update discoverable flag */ 1532 btm_ble_update_adv_flag(uint8_t flag) argument 1569 uint8_t flag = 0, rt = 0; local [all...] |
/system/core/fastboot/ |
H A D | udp.cpp | 73 void Set(uint8_t id, uint16_t sequence, Flag flag); 86 void Header::Set(uint8_t id, uint16_t sequence, Flag flag) { argument 88 bytes_[kIndexFlags] = flag; 219 // Set the continuation flag and truncate packet data if needed. 300 // If the response has a continuation flag we need to prompt for more data by sending
|
/system/core/include/private/ |
H A D | android_logger.h | 144 bool __android_logger_property_get_bool(const char* key, int flag);
|
/system/core/liblog/include/private/ |
H A D | android_logger.h | 144 bool __android_logger_property_get_bool(const char* key, int flag);
|