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

123456

/system/bt/service/common/bluetooth/
H A Dadvertise_settings.cc21 AdvertiseSettings::AdvertiseSettings(Mode mode, base::TimeDelta timeout, argument
24 : mode_(mode),
H A Dscan_settings.cc27 ScanSettings::ScanSettings(Mode mode, CallbackTypeBitField callback_type, argument
32 : mode_(mode),
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, base::TimeDelta timeout,
68 // mode: MODE_LOW_POWER
74 // Returns the advertise mode.
75 Mode mode() cons function in class:bluetooth::AdvertiseSettings
[all...]
/system/core/libcutils/include/private/
H A Dfs_config.h30 uint16_t mode; member in struct:fs_path_config_from_file
/system/core/libcutils/include_vndk/private/
H A Dfs_config.h30 uint16_t mode; member in struct:fs_path_config_from_file
/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.c40 uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc,
56 if (mode > SBC_JOINT_STEREO) {
78 context->common.frameInfo.mode = mode;
38 OI_CODEC_SBC_DecoderConfigureRaw( OI_CODEC_SBC_DECODER_CONTEXT* context, OI_BOOL enhanced, uint8_t frequency, uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc, uint8_t maxBitpool) argument
/system/chre/platform/shared/
H A Dchre_api_sensor.cc54 enum chreSensorConfigureMode mode,
57 SensorMode sensorMode = getSensorModeFromEnum(mode);
53 chreSensorConfigure(uint32_t sensorHandle, enum chreSensorConfigureMode mode, uint64_t interval, uint64_t latency) argument
/system/core/adf/libadf/tests/
H A Dadf_test.cpp93 void blank(uint8_t mode) { argument
94 int err = adf_interface_blank(intf, mode);
238 EXPECT_EQ(-EINVAL, err) << "setting bogus DPMS mode should have failed";
/system/extras/ext4_utils/
H A Dcontents.h29 u16 mode; member in struct:dentry
42 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime);
/system/nfc/src/nfc/nfc/
H A Dnfc_ee.c63 ** mode - NFC_MODE_ACTIVATE to activate NFCEE,
69 tNFC_STATUS NFC_NfceeModeSet(uint8_t nfcee_id, tNFC_NFCEE_MODE mode) { argument
70 if (mode >= NCI_NUM_NFCEE_MODE) {
71 NFC_TRACE_ERROR1("NFC_NfceeModeSet bad mode:%d", mode);
75 return nci_snd_nfcee_mode_set(nfcee_id, mode);
/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/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);
/system/libhwbinder/vts/performance/
H A DBenchmark.cpp115 HwBinderMode mode = HwBinderMode::kBinderize; local
121 mode = HwBinderMode::kPassthrough;
126 if (mode == HwBinderMode::kBinderize) {
/system/tools/hidl/
H A DDeathRecipientType.cpp30 std::string DeathRecipientType::getCppType(StorageMode mode, argument
38 switch (mode) {
65 ErrorMode /* mode */) const {
66 out << "LOG_ALWAYS_FATAL(\"DeathRecipient is only supported in passthrough mode\");\n";
82 *align = *size = 0; // this object should only be used in passthrough mode
H A DFmqType.cpp41 StorageMode mode,
46 switch (mode) {
64 ErrorMode mode) const {
85 handleError(out, mode);
97 handleError(out, mode);
109 mode,
123 ErrorMode mode,
133 mode,
40 getCppType( StorageMode mode, bool) const argument
114 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 DHandleType.cpp36 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 DMemoryType.cpp32 std::string MemoryType::getCppType(StorageMode mode, argument
38 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
/system/bt/service/
H A Dlogging_helpers.cc75 const char* BtScanModeText(const bt_scan_mode_t mode) { argument
76 switch (mode) {
81 return "unknown scan mode";
/system/core/libcutils/
H A Dcanned_fs_config.c31 unsigned mode; member in struct:__anon1517
65 p->mode = strtol(strtok(NULL, " "), NULL, 8); // mode is in octal
90 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) {
102 *mode = p->mode;
115 if (c_mode != *mode) printf("%s mode 0%o 0%o\n", path, *mode, c_mode);
89 canned_fs_config(const char* path, int dir, const char* target_out_path, unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) argument
/system/chre/core/
H A Dsensor_request.cc205 SensorRequest::SensorRequest(SensorMode mode, argument
208 : mInterval(interval), mLatency(latency), mMode(mode) {}
210 SensorRequest::SensorRequest(Nanoapp *nanoapp, SensorMode mode, argument
213 : mNanoapp(nanoapp), mInterval(interval), mLatency(latency), mMode(mode) {}
234 // Compute the highest priority mode. Active continuous is the highest

Completed in 669 milliseconds

123456