/system/core/adb/sysdeps/ |
H A D | stat.h | 48 #define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) 54 #define S_ISBLK(mode) (((mode) & S_IFMT) == S_IFBLK) 57 // Make sure that host file mode values match the ones on the device.
|
/system/core/include/cutils/ |
H A D | fs.h | 43 * Ensure that directory exists with given mode and owners. If it exists 44 * with a different mode or owners, they are fixed to match the given values. 46 extern int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid); 49 * Ensure that directory exists with given mode and owners. If it exists 52 extern int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid); 55 * Ensure that file exists with given mode and owners. If it exists 58 extern int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid); 79 extern int fs_mkdirs(const char* path, mode_t mode);
|
/system/core/libcutils/include/cutils/ |
H A D | fs.h | 43 * Ensure that directory exists with given mode and owners. If it exists 44 * with a different mode or owners, they are fixed to match the given values. 46 extern int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid); 49 * Ensure that directory exists with given mode and owners. If it exists 52 extern int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid); 55 * Ensure that file exists with given mode and owners. If it exists 58 extern int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid); 79 extern int fs_mkdirs(const char* path, mode_t mode);
|
/system/core/libcutils/include_vndk/cutils/ |
H A D | fs.h | 43 * Ensure that directory exists with given mode and owners. If it exists 44 * with a different mode or owners, they are fixed to match the given values. 46 extern int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid); 49 * Ensure that directory exists with given mode and owners. If it exists 52 extern int fs_prepare_dir_strict(const char* path, mode_t mode, uid_t uid, gid_t gid); 55 * Ensure that file exists with given mode and owners. If it exists 58 extern int fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid); 79 extern int fs_mkdirs(const char* path, mode_t mode);
|
/system/core/include/private/ |
H A D | canned_fs_config.h | 26 unsigned* gid, unsigned* mode, uint64_t* capabilities);
|
/system/core/libcutils/include/private/ |
H A D | canned_fs_config.h | 26 unsigned* gid, unsigned* mode, uint64_t* capabilities);
|
H A D | fs_config.h | 45 uint16_t mode; member in struct:fs_path_config_from_file 53 unsigned mode; member in struct:fs_path_config 75 unsigned* mode, uint64_t* capabilities);
|
/system/bt/service/common/bluetooth/ |
H A D | advertise_settings.cc | 21 AdvertiseSettings::AdvertiseSettings(Mode mode, base::TimeDelta timeout, argument 24 : mode_(mode),
|
H A D | scan_settings.h | 28 // A scan mode describes the power consumption involved in LE scans. 30 // A special Bluetooth LE scan mode. Applications using this scan mode will 35 // Perform Bluetooth LE scan in low power mode. This is the default scan 36 // mode as it consumes the least power. 39 // Perform Bluetooth LE scan in balanced power mode. Scan results are 44 // Scan using the highest duty cycle. It's recommended to only use this mode 84 // Hardware filter match mode. 86 // In aggressive mode the hardware will determine a match sooner even with 90 // In sticky mode 122 Mode mode() const { return mode_; } function in class:bluetooth::ScanSettings 123 set_mode(Mode mode) argument 141 set_match_mode(MatchMode mode) argument [all...] |
H A D | advertise_settings.h | 30 // Advertising mode describes power consumption mode used for advertising. 32 // Perform Bluetooth LE advertising in low power mode. This is the default 33 // and preferred advertising mode as it consumes the least power. 36 // Perform Bluetooth LE advertising in balanced power mode. This is balanced 40 // Perform Bluetooth LE advertising in low latency, high power mode. This 64 AdvertiseSettings(Mode mode, base::TimeDelta timeout, 68 // mode: MODE_LOW_POWER 74 // Returns the advertise mode. 75 Mode mode() cons function in class:bluetooth::AdvertiseSettings [all...] |
H A D | scan_settings.cc | 27 ScanSettings::ScanSettings(Mode mode, CallbackTypeBitField callback_type, argument 32 : mode_(mode),
|
/system/tools/hidl/ |
H A D | MemoryType.cpp | 28 std::string MemoryType::getCppType(StorageMode mode, argument 34 switch (mode) { 60 ErrorMode mode) const { 80 handleError(out, mode); 92 handleError(out, mode); 104 mode, 118 ErrorMode mode, 128 mode, 109 emitReaderWriterEmbedded( Formatter &out, size_t , const std::string &name, const std::string & , bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText) const argument
|
H A D | FmqType.cpp | 40 StorageMode mode, 45 switch (mode) { 63 ErrorMode mode) const { 84 handleError(out, mode); 96 handleError(out, mode); 108 mode, 122 ErrorMode mode, 132 mode, 39 getCppType( StorageMode mode, bool) const argument 113 emitReaderWriterEmbedded( Formatter &out, size_t , const std::string &name, const std::string & , bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText) const argument
|
H A D | HandleType.cpp | 36 std::string HandleType::getCppType(StorageMode mode, argument 42 switch (mode) { 64 ErrorMode mode) const { 78 handleError(out, mode); 88 handleError(out, mode); 105 ErrorMode mode, 132 handleError(out, mode); 152 handleError(out, mode); 96 emitReaderWriterEmbedded( Formatter &out, size_t , const std::string &name, const std::string &sanitizedName, bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText) const argument
|
H A D | StringType.cpp | 39 std::string StringType::getCppType(StorageMode mode, argument 45 switch (mode) { 75 ErrorMode mode) const { 95 handleError(out, mode); 107 handleError(out, mode); 119 mode, 133 ErrorMode mode, 143 mode, 124 emitReaderWriterEmbedded( Formatter &out, size_t , const std::string &name, const std::string & , bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText) const argument
|
H A D | RefType.h | 37 std::string getCppType(StorageMode mode, 49 ErrorMode mode) const override; 58 ErrorMode mode) const override; 69 ErrorMode mode,
|
/system/nfc/src/nfc/nfc/ |
H A D | nfc_ee.cc | 68 ** mode - NFC_MODE_ACTIVATE to activate NFCEE, 74 tNFC_STATUS NFC_NfceeModeSet(uint8_t nfcee_id, tNFC_NFCEE_MODE mode) { argument 76 if (mode >= NCI_NUM_NFCEE_MODE || nfcee_id == NCI_DH_ID) { 77 LOG(ERROR) << StringPrintf("%s invalid parameter:%d", __func__, mode); 81 status = nci_snd_nfcee_mode_set(nfcee_id, mode); 86 status = nci_snd_nfcee_mode_set(nfcee_id, mode);
|
/system/bt/stack/btm/ |
H A D | btm_pm.cc | 79 static const char* mode_to_string(const tBTM_PM_MODE mode); 140 * Description store the mode in control block or 152 tBTM_PM_MODE mode; local 166 << " mode:" << std::to_string(p_mode->mode); 169 mode = p_mode->mode & ~BTM_PM_MD_FORCE; 176 if (mode != BTM_PM_MD_ACTIVE) { 177 /* check if the requested mode is supported */ 178 ind = mode 564 tBTM_PM_MODE mode; local 750 btm_pm_proc_mode_change(uint8_t hci_status, uint16_t hci_handle, uint8_t mode, uint16_t interval) argument 951 mode_to_string(const tBTM_PM_MODE mode) argument [all...] |
/system/chre/platform/slpi/smgr/ |
H A D | power_control_manager.cc | 44 sns_pm_img_mode_e mode = bigImage ? SNS_IMG_MODE_BIG : SNS_IMG_MODE_NOCLIENT; local 45 sns_pm_err_code_e result = sns_pm_vote_img_mode(mClientHandle, mode); 49 LOGE("Failed to vote for power mode %d with result %d", mode, result);
|
/system/extras/tests/cpueater/ |
H A D | daemonize.c | 33 int pid, fd, mode; local 46 mode = O_TRUNC; 64 mode = O_APPEND; 72 if(open(file, O_WRONLY|mode|O_CREAT, 0666) < 0) {
|
/system/core/libcutils/ |
H A D | canned_fs_config.cpp | 33 unsigned mode; member in struct:__anon1657 71 p->mode = strtol(strtok(NULL, " "), NULL, 8); // mode is in octal 96 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) { 108 *mode = p->mode; 121 if (c_mode != *mode) printf("%s mode 0%o 0%o\n", path, *mode, c_mode); 95 canned_fs_config(const char* path, int dir, const char* target_out_path, unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) argument
|
H A D | fs.cpp | 42 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, argument 69 mode_match = ((sb.st_mode & ALL_PERMS) == mode); 80 ALOGW("Expected path %s with mode %o but found %o", 81 path, mode, (sb.st_mode & ALL_PERMS)); 88 ? TEMP_FAILURE_RETRY(mkdir(path, mode)) 103 if (TEMP_FAILURE_RETRY(chmod(path, mode)) == -1) { 104 ALOGE("Failed to chmod(%s, %d): %s", path, mode, strerror(errno)); 115 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { argument 116 return fs_prepare_path_impl(path, mode, uid, gid, /*allow_fixup*/ 1, /*prepare_as_dir*/ 1); 119 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_ argument 123 fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) argument 196 fs_mkdirs(const char* path, mode_t mode) argument [all...] |
/system/bt/hci/include/ |
H A D | hci_packet_factory.h | 33 BT_HDR* (*make_write_simple_pairing_mode)(uint8_t mode); 34 BT_HDR* (*make_write_secure_connections_host_support)(uint8_t mode);
|
/system/bt/service/ |
H A D | logging_helpers.h | 36 const char* BtScanModeText(const bt_scan_mode_t mode);
|
/system/chre/core/include/chre/core/ |
H A D | sensor_request.h | 46 * Constructs a sensor request given a mode, interval and latency. Non-default 49 * @param mode The mode of the sensor request. 54 SensorRequest(SensorMode mode, Nanoseconds interval, Nanoseconds latency); 57 * Constructs a sensor request given an owning nanoapp, mode, interval and 62 * @param mode The mode of the sensor request. 67 SensorRequest(Nanoapp *nanoapp, SensorMode mode, Nanoseconds interval, 80 * Assigns the current request to the maximal superset of the mode, rate 104 * @return The mode o [all...] |