/system/netd/server/ |
H A D | DnsProxyListener.cpp | 141 if (privateDnsStatus.mode == PrivateDnsMode::OFF) return res_goahead; 144 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { 171 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { 172 // In opportunistic mode, handle falling back to cleartext in some 173 // cases (DNS shouldn't fail if a validated opportunistic mode server 196 switch (privateDnsStatus.mode) { 236 // Always set the qhook. An opportunistic mode server might have finished
|
H A D | XfrmController.cpp | 495 int32_t transformId, int32_t mode, const std::string& sourceAddress, 503 ALOGD("mode=%d", mode); 536 switch (static_cast<XfrmMode>(mode)) { 539 saInfo.mode = static_cast<XfrmMode>(mode); 542 return netdutils::statusFromErrno(EINVAL, "Invalid xfrm mode"); 788 saInfo.mode = XfrmMode::TUNNEL; 975 usersa->mode = static_cast<uint8_t>(record.mode); 494 ipSecAddSecurityAssociation( int32_t transformId, int32_t mode, const std::string& sourceAddress, const std::string& destinationAddress, int32_t underlyingNetId, int32_t spi, int32_t markValue, int32_t markMask, const std::string& authAlgo, const std::vector<uint8_t>& authKey, int32_t authTruncBits, const std::string& cryptAlgo, const std::vector<uint8_t>& cryptKey, int32_t cryptTruncBits, const std::string& aeadAlgo, const std::vector<uint8_t>& aeadKey, int32_t aeadIcvBits, int32_t encapType, int32_t encapLocalPort, int32_t encapRemotePort) argument [all...] |
H A D | XfrmController.h | 120 XfrmMode mode; member in struct:android::net::XfrmEncapType::XfrmSaInfo 138 int32_t transformId, int32_t mode, const std::string& sourceAddress,
|
H A D | XfrmControllerTest.cpp | 267 const XfrmMode& mode, __u32 underlying_netid) { 298 1 /* resourceId */, static_cast<int>(mode), localAddr, remoteAddr, 316 EXPECT_EQ(static_cast<int>(mode), usersa.mode); 318 if (mode == XfrmMode::TUNNEL) { 266 testIpSecAddSecurityAssociation(int version, const MockSyscalls& mockSyscalls, const XfrmMode& mode, __u32 underlying_netid) argument
|
/system/nfc/src/nfa/ee/ |
H A D | nfa_ee_api.cc | 223 ** (mode = NFA_EE_MD_ACTIVATE) or deactivate 224 ** (mode = NFA_EE_MD_DEACTIVATE) the NFCEE identified by the 233 tNFA_STATUS NFA_EeModeSet(tNFA_HANDLE ee_handle, tNFA_EE_MD mode) { argument 248 << StringPrintf("handle:<0x%x>, mode:0x%02X", ee_handle, mode); 258 p_msg->mode = mode; 275 ** default routing based on RF technology in the listen mode 284 ** function to change the listen mode routing is called. 342 ** default routing based on Protocol in the listen mode routin [all...] |
/system/nfc/src/nfa/include/ |
H A D | nfa_ee_api.h | 273 ** (mode = NFA_EE_MD_ACTIVATE) or deactivate 274 ** (mode = NFA_EE_MD_DEACTIVATE) the NFCEE identified by the 283 extern tNFA_STATUS NFA_EeModeSet(tNFA_HANDLE ee_handle, tNFA_EE_MD mode); 290 ** default routing based on RF technology in the listen mode 299 ** function to change the listen mode routing is called. 319 ** default routing based on Protocol in the listen mode routing 328 ** function to change the listen mode routing is called. 348 ** listen mode routing table in NFCC. The status of this 356 ** function to change the listen mode routing is called. 373 ** the listen mode routin [all...] |
/system/tools/hidl/ |
H A D | Coordinator.h | 70 void onFileAccess(const std::string& path, const std::string& mode) const;
|
H A D | EnumType.cpp | 179 std::string EnumType::getBitfieldCppType(StorageMode /* mode */, bool specifyNamespaces) const { 211 ErrorMode mode) const { 221 mode, 856 std::string BitFieldType::getCppType(StorageMode mode, argument 858 return getElementEnumType()->getBitfieldCppType(mode, specifyNamespaces); 904 ErrorMode mode) const { 911 mode,
|
/system/vold/ |
H A D | Utils.h | 48 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid);
|
H A D | VolumeManager.h | 101 int remountUid(uid_t uid, const std::string& mode);
|
H A D | VolumeManager.cpp | 443 int VolumeManager::remountUid(uid_t uid, const std::string& mode) { argument 444 LOG(DEBUG) << "Remounting " << uid << " as mode " << mode; local 515 if (mode == "default") { 517 } else if (mode == "read") { 519 } else if (mode == "write") {
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_at.cc | 504 uint32_t mode) { 505 APPL_TRACE_DEBUG("%s: %u %s", __func__, mode, opstr); 519 uint16_t status, uint16_t mode, 522 APPL_TRACE_DEBUG("%s: idx: %u dir: %u status: %u mode: %u mpty: %u", __func__, 523 idx, dir, status, mode, mpty); 1134 uint8_t mode; local 1144 res = sscanf(buffer, "%hhi,0,\"%16[^\"]\"%n", &mode, opstr, &offset); 1160 bta_hf_client_handle_cops(client_cb, opstr, mode); 1211 uint16_t idx, dir, status, mode, mpty; local 1219 res = sscanf(buffer, "%hu,%hu,%hu,%hu,%hu%n", &idx, &dir, &status, &mode, 503 bta_hf_client_handle_cops(tBTA_HF_CLIENT_CB* client_cb, char* opstr, uint32_t mode) argument 517 bta_hf_client_handle_clcc(tBTA_HF_CLIENT_CB* client_cb, uint16_t idx, uint16_t dir, uint16_t status, uint16_t mode, uint16_t mpty, char* numstr, uint16_t type) argument [all...] |
/system/bt/bta/hh/ |
H A D | bta_hh_int.h | 120 tBTA_HH_PROTO_MODE mode; member in struct:__anon169 236 tBTA_HH_PROTO_MODE mode; /* protocol mode */ member in struct:__anon177
|
/system/bt/btif/src/ |
H A D | btif_util.cc | 323 const char* dump_adapter_scan_mode(bt_scan_mode_t mode) { argument 324 switch (mode) { 330 return "unknown scan mode"; 344 return "unknown scan mode";
|
/system/bt/stack/l2cap/ |
H A D | l2c_api.cc | 293 * Enhaced retransmission mode configurations 327 /* currently use BR/EDR for ERTM mode l2cap connection */ 539 /* currently use BR/EDR for ERTM mode l2cap connection */ 827 "L2CA_ConfigReq() CID 0x%04x: fcr_present:%d (mode %d) mtu_present:%d " 829 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); 838 /* We need to have at least one mode type common with the peer */ 842 if ((!p_cfg->fcr_present) || (p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE)) { 843 /* FCR and FCS options are not used in basic mode */ 1326 if (p_ccb->peer_cfg.fcr.mode != L2CAP_FCR_ERTM_MODE) { 1327 L2CAP_TRACE_EVENT("L2CA_FlowControl() invalid mode [all...] |
/system/core/base/ |
H A D | utf8_test.cpp | 466 int mode = 0666; local 467 android::base::unique_fd fd(open(utf8.c_str(), flags, mode));
|
/system/core/libprocessgroup/ |
H A D | processgroup.cpp | 282 static bool MkdirAndChown(const std::string& path, mode_t mode, uid_t uid, gid_t gid) { argument 283 if (mkdir(path.c_str(), mode) == -1 && errno != EEXIST) {
|
/system/core/fs_mgr/ |
H A D | fs_mgr_fstab.cpp | 136 const char *mode, const char *type) 141 if (!strcmp(mode, j->name)) { 145 LERROR << "Unknown " << type << " encryption mode: " << mode; local 264 * the mode of contents encryption, then optionally a 265 * : and the mode of filenames encryption (defaults 268 char *mode = strchr(p, '=') + 1; local 269 char *colon = strchr(mode, ':'); 275 mode, "file contents"); 135 encryption_mode_to_flag(const struct flag_list *list, const char *mode, const char *type) argument
|
H A D | fs_mgr.cpp | 817 /* Don't mount entries that are managed by vold or not for the mount mode*/ 1313 bool fs_mgr_load_verity_state(int* mode) { argument 1314 /* return the default mode, unless any of the verified partitions are in 1315 * logging mode, in which case return that */ 1316 *mode = VERITY_MODE_DEFAULT; 1327 *mode = VERITY_MODE_RESTART; // avb only supports restart mode. 1338 *mode = current; 1351 int mode; local 1352 if (!fs_mgr_load_verity_state(&mode)) { [all...] |
/system/core/logd/ |
H A D | LogTags.cpp | 439 // we are in readonly mode. 494 static int openFile(const char* name, int mode, bool warning) { argument 495 int fd = TEMP_FAILURE_RETRY(open(name, mode)); 594 static const int mode = local 597 int fd = openFile(dynamic_event_log_tags, mode, true); 616 static const int mode = local 620 int fd = openFile(debug_event_log_tags, mode, one); 679 // are in readonly mode.
|
/system/nfc/src/nfa/dm/ |
H A D | nfa_dm_act.cc | 205 ** Description Processing NFCC power mode changes 214 /* if NFCC power mode is change to full power */ 387 /* Notify NFA submodules change of NFCC power mode */ 406 /* Notify NFA submodules change of NFCC power mode */ 630 /* Use exclusive RF mode callback */ 656 /* Stop exclusive RF discovery for exclusive RF mode */ 767 /* Deactivate to sleep mode not allowed in this state. */ 803 LOG(ERROR) << StringPrintf("invalid protocol, mode or state"); 816 ** Description Process power off sleep mode request 1165 /* If not in exclusive mode, an [all...] |
/system/core/logcat/ |
H A D | logcat.cpp | 741 int mode = ANDROID_LOG_RDONLY; local 923 mode |= ANDROID_LOG_WRAP | ANDROID_LOG_RDONLY | 964 mode |= ANDROID_LOG_WRONLY; 968 mode |= ANDROID_LOG_RDONLY | ANDROID_LOG_PSTORE | 973 mode |= ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK; 978 mode |= ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK; 1436 logger_list = android_logger_list_alloc_time(mode, tail_time, pid); 1438 logger_list = android_logger_list_alloc(mode, tail_lines, pid); 1611 setupOutputAndSchedulingPolicy(context, !(mode & ANDROID_LOG_NONBLOCK));
|
/system/bt/stack/gap/ |
H A D | gap_conn.cc | 139 * but put into a "listen" mode waiting for 270 p_ccb->ertm_info.preferred_mode = p_ccb->cfg.fcr.mode; 900 if (p_ccb->cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) { 945 p_ccb->cfg.fcr.mode = p_cfg->fcr.mode; 947 p_ccb->cfg.fcr.mode = L2CAP_FCR_BASIC_MODE;
|
/system/chre/platform/slpi/smgr/ |
H A D | platform_sensor.cc | 63 // - it's a passive request and the merged mode (to be explained 69 // 3) The merged mode of a sensor is the strongest mode of all sensor 77 // all passive requests are removed if the merged mode is passive. 717 SensorMode mode = getMergedMode(sensorId, SensorType::Unknown, dummyRequest); local 718 bool removeAllRequests = (sensorModeIsPassive(mode) && !otherClientPresent); 728 LOGD("%s: id %" PRIu8 ", otherClientPresent %d, mode %d", 730 static_cast<size_t>(mode)); 1032 * @param mode The sensor mode 1035 getSmgrRequestActionForMode(SensorMode mode) argument [all...] |
/system/nfc/src/nfc/include/ |
H A D | nfc_api.h | 297 tNFC_NFCEE_MODE mode; /* NFCEE mode */ member in struct:__anon2462 610 tNFC_DISCOVERY_TYPE mode; member in struct:__anon2485 740 tNFC_RF_TECH_N_MODE rf_tech_n_mode; /* RF tech and mode */ 930 ** mode - 0 to activate NFCEE, 1 to de-activate. 935 extern tNFC_STATUS NFC_NfceeModeSet(uint8_t nfcee_id, tNFC_NFCEE_MODE mode); 1097 ** put the listen device in sleep mode or terminate the NFC 1103 ** Parameters deactivate_type - NFC_DEACTIVATE_TYPE_IDLE, to IDLE mode. 1104 ** NFC_DEACTIVATE_TYPE_SLEEP to SLEEP mode. 1106 ** mode [all...] |