Searched defs:mode (Results 1 - 25 of 130) sorted by relevance

123456

/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.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
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...]
/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/update_engine/update_manager/
H A Dfake_variable.h32 FakeVariable(const std::string& name, VariableMode mode) argument
33 : Variable<T>(name, mode) {}
H A Dvariable_unittest.cc38 DefaultVariable(const string& name, VariableMode mode) argument
39 : 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
/system/connectivity/shill/net/
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_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
/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
H A Dwifi_driver_hal.cc63 string WiFiDriverSetupInterface(wifi_driver_mode mode) { argument
72 (*driver->wifi_driver_set_mode)(mode, device_name, sizeof(device_name));
74 LOG(ERROR) << "WiFi driver setup for mode " << mode << " failed: " << error;
/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/
H A Dfake_file_writer.h37 virtual int Open(const char* path, int flags, mode_t mode) { argument
/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);
H A Dfile_descriptor.cc31 bool EintrSafeFileDescriptor::Open(const char* path, int flags, mode_t mode) { argument
33 return ((fd_ = HANDLE_EINTR(open(path, flags, mode))) >= 0);
102 // Ensure the |fd_| is in O_DIRECT mode during this operation, so the write
/system/connectivity/shill/
H A Devent_dispatcher.cc72 IOHandler::ReadyMode mode,
75 fd, mode, ready_callback);
70 CreateReadyHandler( int fd, IOHandler::ReadyMode mode, const Callback<void(int)>& ready_callback) argument
/system/core/adf/libadf/tests/
H A Dadf_test.cpp110 void blank(uint8_t mode) { argument
111 int err = adf_interface_blank(intf, mode);
217 EXPECT_EQ(-EINVAL, err) << "setting bogus DPMS mode should have failed";
/system/core/base/
H A Dutf8.cpp165 int mode = 0; local
169 mode = va_arg(args, int);
173 return _wopen(name_utf16.c_str(), flags, mode);
H A Dfile.cpp85 mode_t mode, uid_t owner, gid_t group) {
87 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode));
94 // meant what they said and doesn't want the umask-influenced mode.
95 if (fchmod(fd, mode) == -1) {
84 WriteStringToFile(const std::string& content, const std::string& path, mode_t mode, uid_t owner, gid_t group) argument
/system/bt/service/
H A Dlogging_helpers.cpp75 const char *BtScanModeText(const bt_scan_mode_t mode) { argument
76 switch (mode) {
81 return "unknown scan mode";
/system/core/adb/
H A Dfile_sync_service.h45 uint32_t mode; member in struct:syncmsg::__anon1490
51 uint32_t mode; member in struct:syncmsg::__anon1491
/system/core/libcutils/
H A Dcanned_fs_config.c31 unsigned mode; member in struct:__anon1612
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...]
H A Dfs_config.c47 uint16_t mode; member in struct:fs_path_config_from_file
146 /* Support FIFO scheduling mode in SurfaceFlinger. */
212 unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities)
256 *mode = (*mode & (~07777)) | get2LE((const uint8_t *)&(header.mode));
273 *mode = (*mode & (~07777)) | pc->mode;
288 p->mode
211 fs_config(const char *path, int dir, const char *target_out_path, unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities) argument
[all...]
/system/connectivity/apmanager/
H A Dfake_config_adaptor.cc47 void FakeConfigAdaptor::SetSecurityMode(const std::string& mode) { argument
48 security_mode_ = mode;

Completed in 525 milliseconds

123456