Searched refs:mode (Results 1 - 25 of 219) sorted by relevance

123456789

/system/core/metricsd/
H A Dmetrics_client.cc44 " in guest mode always return 1\n"
47 " -g: return exit status 0 if machine in guest mode, 1 otherwise\n"
90 enum Mode mode,
102 if (mode == kModeSendSparseSample) {
104 } else if (mode == kModeSendEnumSample) {
142 enum Mode mode = kModeSendSample; local
150 mode = kModeHasConsent;
153 mode = kModeDumpHistograms;
156 mode = kModeSendEnumSample;
159 mode
88 SendStats(char* argv[], int name_index, enum Mode mode, bool secs_to_msecs) argument
[all...]
/system/connectivity/shill/net/
H A Dio_ready_handler.cc26 ReadyMode mode,
29 ready_mode_(mode),
38 base::MessageLoopForIO::Mode mode; local
40 mode = base::MessageLoopForIO::WATCH_WRITE;
42 mode = base::MessageLoopForIO::WATCH_READ;
46 fd_, true, mode, &fd_watcher_, this)) {
25 IOReadyHandler(int fd, ReadyMode mode, const ReadyCallback& ready_callback) argument
H A Dio_handler_factory.cc38 IOHandler::ReadyMode mode,
40 IOHandler* handler = new IOReadyHandler(fd, mode, ready_callback);
36 CreateIOReadyHandler( int fd, IOHandler::ReadyMode mode, const IOHandler::ReadyCallback& ready_callback) argument
H A Dio_handler_factory.h37 IOHandler::ReadyMode mode,
H A Dmock_io_handler_factory.h40 IOHandler::ReadyMode mode,
/system/core/include/cutils/
H A Dfs.h43 * 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 Dcanned_fs_config.h24 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities);
/system/vold/
H A DAutoCloseFD.h30 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) {}
/system/bt/service/common/bluetooth/
H A Dadvertise_settings.cpp22 Mode mode,
26 : mode_(mode),
21 AdvertiseSettings( Mode mode, base::TimeDelta timeout, TxPowerLevel tx_power_level, bool connectable) argument
H A Dscan_settings.h28 // 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
125 Mode mode() const { return mode_; } function in class:bluetooth::ScanSettings
126 set_mode(Mode mode) argument
144 set_match_mode(MatchMode mode) argument
[all...]
H A Dadvertise_settings.h30 // 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,
70 // mode: MODE_LOW_POWER
76 // Returns the advertise mode.
77 Mode mode() cons function in class:bluetooth::AdvertiseSettings
[all...]
H A Dscan_settings.cpp29 Mode mode,
35 : mode_(mode),
28 ScanSettings( Mode mode, CallbackTypeBitField callback_type, ResultType result_type, base::TimeDelta report_delay_ms, MatchMode match_mode, MatchCount match_count_per_filter) argument
/system/bt/stack/btm/
H A Dbtm_pm.c83 static const char *mode_to_string(tBTM_PM_MODE mode);
172 ** Description store the mode in control block or
184 tBTM_PM_MODE mode; local
193 BTM_TRACE_API( "BTM_SetPowerMode: pm_id %d BDA: %08x mode:0x%x", pm_id,
194 (remote_bda[2]<<24)+(remote_bda[3]<<16)+(remote_bda[4]<<8)+remote_bda[5], p_mode->mode);
197 mode = p_mode->mode & ~BTM_PM_MD_FORCE;
205 if(mode != BTM_PM_MD_ACTIVE)
207 /* check if the requested mode is supported */
208 ind = mode
608 tBTM_PM_MODE mode; local
813 btm_pm_proc_mode_change(UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval) argument
1031 mode_to_string(tBTM_PM_MODE mode) argument
[all...]
/system/connectivity/shill/wifi/
H A Dmock_wifi_service.cc34 const string& mode,
38 control_interface, dispatcher, metrics, manager, provider, ssid, mode,
28 MockWiFiService(ControlInterface* control_interface, EventDispatcher* dispatcher, Metrics* metrics, Manager* manager, WiFiProvider* provider, const vector<uint8_t>& ssid, const string& mode, const string& security, bool hidden_ssid) argument
/system/extras/tests/cpueater/
H A Ddaemonize.c33 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 Dcanned_fs_config.c31 unsigned mode; member in struct:__anon1609
60 p->mode = strtol(strtok(NULL, " "), NULL, 8); // mode is in octal
86 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) {
98 *mode = p->mode;
110 if (c_mode != *mode) printf("%s mode 0%o 0%o\n", path, *mode, c_mode);
85 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 Dfs.c40 static int fs_prepare_path_impl(const char* path, mode_t mode, uid_t uid, gid_t gid, argument
62 int mode_match = ((sb.st_mode & ALL_PERMS) == mode);
73 ALOGW("Expected path %s with mode %o but found %o",
74 path, mode, (sb.st_mode & ALL_PERMS));
81 ? TEMP_FAILURE_RETRY(mkdir(path, mode))
96 if (TEMP_FAILURE_RETRY(chmod(path, mode)) == -1) {
97 ALOGE("Failed to chmod(%s, %d): %s", path, mode, strerror(errno));
108 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { argument
109 return fs_prepare_path_impl(path, mode, uid, gid, /*allow_fixup*/ 1, /*prepare_as_dir*/ 1);
112 int fs_prepare_dir_strict(const char* path, mode_t mode, uid_ argument
116 fs_prepare_file_strict(const char* path, mode_t mode, uid_t uid, gid_t gid) argument
189 fs_mkdirs(const char* path, mode_t mode) argument
[all...]
/system/bt/hci/include/
H A Dhci_packet_factory.h32 BT_HDR *(*make_write_simple_pairing_mode)(uint8_t mode);
33 BT_HDR *(*make_write_secure_connections_host_support)(uint8_t mode);
/system/bt/service/
H A Dlogging_helpers.h36 const char *BtScanModeText(const bt_scan_mode_t mode);
/system/extras/ext4_utils/
H A Dcontents.h27 u16 mode; member in struct:dentry
40 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime);
/system/update_engine/payload_consumer/
H A Dfile_writer.cc23 int DirectFileWriter::Open(const char* path, int flags, mode_t mode) { argument
25 fd_ = open(path, flags, mode);
/system/update_engine/update_manager/
H A Dfake_variable.h32 FakeVariable(const std::string& name, VariableMode mode) argument
33 : Variable<T>(name, mode) {}
/system/bt/embdrv/sbc/decoder/srce/
H A Ddecoder-oina.c42 OI_UINT8 mode,
62 if (mode > SBC_JOINT_STEREO) {
84 context->common.frameInfo.mode = mode;
39 OI_CODEC_SBC_DecoderConfigureRaw(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_BOOL enhanced, OI_UINT8 frequency, OI_UINT8 mode, OI_UINT8 subbands, OI_UINT8 blocks, OI_UINT8 alloc, OI_UINT8 maxBitpool) argument
H A Dframing-sbc.c48 printf(" mode: %s\n", OI_CODEC_SBC_ModeText[frameInfo->mode]);
/system/extras/verity/fec/
H A Dmain.cpp97 "usage: fec <mode> [ <options> ] [ <data> <fec> [ <output> ] ]\n"
98 "mode:\n"
143 static int get_start(int mode, const std::string& filename) argument
151 if (mode == MODE_GETECCSTART) {
270 int mode = MODE_ENCODE; local
304 if (mode != MODE_ENCODE) {
309 if (mode != MODE_ENCODE) {
312 mode = MODE_DECODE;
327 if (mode != MODE_ENCODE) {
330 mode
[all...]

Completed in 1096 milliseconds

123456789