/system/vold/ |
H A D | Utils.cpp | 71 mode_t mode = 0660 | S_IFBLK; local 72 if (mknod(cpath, mode, dev) < 0) { 97 status_t PrepareDir(const std::string& path, mode_t mode, uid_t uid, gid_t gid) { argument 107 int res = fs_prepare_dir(cpath, mode, uid, gid);
|
H A D | Ext4Crypt.cpp | 91 uint32_t mode; member in struct:__anon2657::ext4_encryption_key 130 ext4_key->mode = EXT4_ENCRYPTION_MODE_AES_256_XTS; 283 static bool prepare_dir(const std::string& dir, mode_t mode, uid_t uid, gid_t gid) { argument 285 if (fs_prepare_dir(dir.c_str(), mode, uid, gid) != 0) { 502 // If this is a non-FBE device that recently left an emulated mode, 600 static bool emulated_unlock(const std::string& path, mode_t mode) { argument 601 if (chmod(path.c_str(), mode) != 0) { 686 // When in emulation mode, we just use chmod. However, we also 687 // unlock directories when not in emulation mode, to bring devices 706 // When in emulation mode, w [all...] |
/system/bt/bta/hh/ |
H A D | bta_hh_int.h | 120 tBTA_HH_PROTO_MODE mode; member in struct:__anon202 236 tBTA_HH_PROTO_MODE mode; /* protocol mode */ member in struct:__anon210
|
/system/bt/btif/src/ |
H A D | btif_core.cc | 120 * function in DUT mode. 243 * Description checks if BTIF is currently in DUT mode 245 * Returns 1 if test mode, otherwize 0 447 * non connectable/discoverable mode 529 * Description Callback invoked on completion of vendor specific test mode 544 * mode and 0 exits test mode 598 bt_scan_mode_t mode; local 622 BT_PROPERTY_ADAPTER_SCAN_MODE, sizeof(mode), 623 &mode); 944 bt_scan_mode_t mode = *(bt_scan_mode_t*)property->val; local [all...] |
H A D | btif_hf.cc | 1164 bthf_call_state_t state, bthf_call_mode_t mode, 1186 "clcc_response: [%d] dir %d state %d mode %d number = %s type = %d", 1187 index, dir, state, mode, number, type); 1190 state, mode, mpty); 1163 clcc_response(int index, bthf_call_direction_t dir, bthf_call_state_t state, bthf_call_mode_t mode, bthf_call_mpty_type_t mpty, const char* number, bthf_call_addrtype_t type, bt_bdaddr_t* bd_addr) argument
|
H A D | btif_storage.cc | 799 bt_scan_mode_t mode; local 826 /* TODO: At the time of BT on, always report the scan mode as 0 irrespective 830 mode = BT_SCAN_MODE_NONE; 832 adapter_props[num_props].len = sizeof(mode); 833 adapter_props[num_props].val = &mode;
|
/system/bt/stack/btm/ |
H A D | btm_inq.cc | 22 * setting discoverable mode, controlling the mode of the Baseband, and 134 * discoverable mode. Discoverable mode means inquiry 166 /*** Check mode parameter ***/ 178 "BTM_SetDiscoverability: mode %d [NonDisc-0, Lim-1, Gen-2], window " 183 /*** Only check window and duration if mode is connectable ***/ 197 /* Use the GIAC and LIAC codes for limited discoverable mode */ 224 /* Change the service class bit if mode has changed */ 315 * mode o 325 BTM_SetInquiryMode(uint8_t mode) argument 1930 btm_process_inq_complete(uint8_t status, uint8_t mode) argument 2040 btm_process_cancel_complete(uint8_t status, uint8_t mode) argument [all...] |
/system/bt/stack/hcic/ |
H A D | hcicmds.cc | 1336 void btsnd_hcic_write_inquiry_mode(uint8_t mode) { argument 1346 UINT8_TO_STREAM(pp, mode);
|
/system/bt/stack/include/ |
H A D | l2c_api.h | 142 uint8_t mode; member in struct:__anon1157 280 * mode only). The parameters are: 307 * connections with enhanced retransmission mode. 873 * Description Get the channel FCR mode 877 * Return value: Channel mode
|
/system/chre/host/msm/daemon/generated/ |
H A D | chre_slpi_skel.c | 384 uint8_t mode; member in struct:Parameter
|
/system/core/adb/ |
H A D | file_sync_client.cpp | 66 static bool should_pull_file(mode_t mode) { argument 67 return S_ISREG(mode) || S_ISBLK(mode) || S_ISCHR(mode); 70 static bool should_push_file(mode_t mode) { argument 71 return S_ISREG(mode) || S_ISLNK(mode); 78 uint32_t mode; member in struct:copyinfo 85 unsigned int mode) 86 : lpath(local_path), rpath(remote_path), mode(mod 82 copyinfo(const std::string& local_path, const std::string& remote_path, const std::string& name, unsigned int mode) argument 677 sync_send(SyncConnection& sc, const char* lpath, const char* rpath, unsigned mtime, mode_t mode) argument [all...] |
/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 797 /* Don't mount entries that are managed by vold or not for the mount mode*/ 1289 bool fs_mgr_load_verity_state(int* mode) { argument 1290 /* return the default mode, unless any of the verified partitions are in 1291 * logging mode, in which case return that */ 1292 *mode = VERITY_MODE_DEFAULT; 1303 *mode = VERITY_MODE_RESTART; // avb only supports restart mode. 1314 *mode = current; 1327 int mode; local 1328 if (!fs_mgr_load_verity_state(&mode)) { [all...] |
H A D | fs_mgr_fstab.cpp | 122 const char *mode, const char *type) 127 if (!strcmp(mode, j->name)) { 131 LERROR << "Unknown " << type << " encryption mode: " << mode; local 250 * the mode of contents encryption, then optionally a 251 * : and the mode of filenames encryption (defaults 254 char *mode = strchr(p, '=') + 1; local 255 char *colon = strchr(mode, ':'); 261 mode, "file contents"); 121 encryption_mode_to_flag(const struct flag_list *list, const char *mode, const char *type) argument
|
/system/core/init/ |
H A D | builtins.cpp | 204 mode_t mode = 0755; local 207 /* mkdir <path> [mode] [owner] [group] */ 210 mode = std::strtoul(args[2].c_str(), 0, 8); 213 ret = make_dir(args[1].c_str(), mode); 216 ret = fchmodat(AT_FDCWD, args[1].c_str(), mode, AT_SYMLINK_NOFOLLOW); 235 if (mode & (S_ISUID | S_ISGID)) { 236 ret = fchmodat(AT_FDCWD, args[1].c_str(), mode, AT_SYMLINK_NOFOLLOW); 316 int mode, loop, fd; local 319 mode = (flags & MS_RDONLY) ? O_RDONLY : O_RDWR; 320 fd = open(source + 5, mode | O_CLOEXE 632 int mode = -1; local 640 verity_update_property(fstab_rec *fstab, const char *mount_point, int mode, int status) argument 678 mode_t mode = 0; local 691 mode_t mode = get_mode(args[1].c_str()); local [all...] |
H A D | devices.cpp | 234 mode_t mode; local 238 mode = get_device_perm(path, links, &uid, &gid) | (block ? S_IFBLK : S_IFCHR); 241 if (selabel_lookup_best_match(sehandle, &secontext, path, links, mode)) { 260 if (mknod(path, mode, dev) && (errno == EEXIST) && secontext) {
|
/system/core/libpixelflinger/codeflinger/ |
H A D | MIPS64Assembler.cpp | 178 void ArmToMips64Assembler::set_condition(int mode, int R1, int R2) { argument 179 if (mode == 2) { 230 // reg_rrx mode is not used in the GLLAssember code at this time 236 // reg_reg mode is not used in the GLLAssember code at this time 277 LOG_ALWAYS_FATAL("adr mode reg_scale_post not yet implemented\n"); 284 LOG_ALWAYS_FATAL("adr mode immed8_pre not yet implemented\n"); 310 LOG_ALWAYS_FATAL("adr mode reg_post not yet implemented\n"); 350 // interprets the addressing mode, and generates the common code 386 } else { // adr mode RRX is not used in GGL Assembler at this time 388 LOG_ALWAYS_FATAL("adr mode reg_rr [all...] |
/system/core/libpixelflinger/tests/arch-mips64/assembler/ |
H A D | mips64_assembler_test.cpp | 133 int mode; member in struct:condTest_t 389 if (test.preCond.mode) { 390 a64asm->set_condition(test.preCond.mode, test.preCond.Rcond1, test.preCond.Rcond2);
|
/system/core/sdcard/ |
H A D | fuse.cpp | 193 attr->mode = s->st_mode; 226 attr->mode = (attr->mode & S_IFMT) | filtered_mode; 229 static int touch(char* path, mode_t mode) { argument 231 mode)); 314 const char* name, int mode) { 335 const struct fuse_in_header *hdr, const struct node* node, int mode) { 336 return check_caller_access_to_name(fuse, hdr, node->parent, node->name, mode); 732 DLOG(INFO) << "[" << handler->token << "] MKNOD " << name << " 0" << std::oct << req->mode 744 __u32 mode local 312 check_caller_access_to_name(struct fuse* fuse, const struct fuse_in_header *hdr, const struct node* parent_node, const char* name, int mode) argument 334 check_caller_access_to_node(struct fuse* fuse, const struct fuse_in_header *hdr, const struct node* node, int mode) argument 774 __u32 mode = (req->mode & (~0777)) | 0775; local [all...] |
/system/core/toolbox/ |
H A D | newfs_msdos.c | 752 static void check_mounted(const char *fname, mode_t mode) argument 768 r = S_ISCHR(mode) && s1 != fname && *s1 == 'r';
|
/system/extras/ext4_utils/ |
H A D | make_ext4fs.c | 113 .mode = S_IRWXU, 121 inode_set_permissions(inode, dentries.mode, 216 dentries[i].mode = stat.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO); 225 unsigned int mode = 0; local 229 fs_config_func(dentries[i].path, dir, target_out_path, &uid, &gid, &mode, &capabilities); 230 dentries[i].mode = mode; 285 dentries[0].mode = S_IRWXU; 290 if (selabel_lookup(sehnd, &dentries[0].secon, dentries[0].path, dentries[0].mode) < 0) 325 ret = inode_set_permissions(entry_inode, dentries[i].mode, [all...] |
/system/netd/server/ |
H A D | XfrmController.cpp | 353 int32_t transformId, int32_t mode, int32_t direction, const std::string& localAddress, 362 ALOGD("mode=%d", mode); 393 switch (static_cast<XfrmMode>(mode)) { 396 saInfo.mode = static_cast<XfrmMode>(mode); 488 // Invalid direction for Transport mode transform: time to bail 649 usersa->mode = static_cast<uint8_t>(record.mode); 750 tmpl->mode 352 ipSecAddSecurityAssociation( int32_t transformId, int32_t mode, int32_t direction, const std::string& localAddress, const std::string& remoteAddress, int64_t , int32_t spi, 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, int32_t encapType, int32_t encapLocalPort, int32_t encapRemotePort, int32_t* allocatedSpi) argument [all...] |
/system/tools/hidl/test/ |
H A D | hidl_test_client.cpp | 357 TestMode mode; member in class:HidlEnvironment 359 HidlEnvironment(TestMode mode, bool enableDelayMeasurementTests) : argument 360 mode(mode), enableDelayMeasurementTests(enableDelayMeasurementTests) {}; 379 // getStub is true if we are in passthrough mode to skip checking 380 // binderized server, false for binderized mode. 382 memoryTest = IMemoryTest::getService("memory", mode == PASSTHROUGH /* getStub */); 384 ASSERT_EQ(memoryTest->isRemote(), mode == BINDERIZED); 386 fetcher = IFetcher::getService("fetcher", mode == PASSTHROUGH /* getStub */); 388 ASSERT_EQ(fetcher->isRemote(), mode 435 TestMode mode = TestMode::PASSTHROUGH; member in class:HidlTest 1880 forkAndRunTests(TestMode mode, bool enableDelayMeasurementTests) argument 1910 handleStatus(int status, const char *mode) argument [all...] |
/system/tpm/trunks/ftdi/ |
H A D | mpsse.h | 155 enum modes mode; member in struct:mpsse_context 178 struct mpsse_context* MPSSE(enum modes mode, int freq, int endianess); 181 enum modes mode, 189 enum modes mode,
|
/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 590 // Check the codec config channel mode 600 ERROR("Invalid channel mode: 0x%x", codec_config->channel_mode); 982 // Check the codec config channel mode 992 ERROR("Invalid channel mode: 0x%x", codec_channel_mode); 1639 UNUSED_ATTR audio_mode_t mode) { 1638 adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, UNUSED_ATTR audio_mode_t mode) argument
|
/system/bt/bta/hf_client/ |
H A D | bta_hf_client_at.cc | 513 uint32_t mode) { 514 APPL_TRACE_DEBUG("%s: %u %s", __func__, mode, opstr); 528 uint16_t status, uint16_t mode, 531 APPL_TRACE_DEBUG("%s: idx: %u dir: %u status: %u mode: %u mpty: %u", __func__, 532 idx, dir, status, mode, mpty); 1143 uint8_t mode; local 1153 res = sscanf(buffer, "%hhi,0,\"%16[^\"]\"%n", &mode, opstr, &offset); 1169 bta_hf_client_handle_cops(client_cb, opstr, mode); 1220 uint16_t idx, dir, status, mode, mpty; local 1228 res = sscanf(buffer, "%hu,%hu,%hu,%hu,%hu%n", &idx, &dir, &status, &mode, 512 bta_hf_client_handle_cops(tBTA_HF_CLIENT_CB* client_cb, char* opstr, uint32_t mode) argument 526 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...] |