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

1234567

/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.h45 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/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/core/
H A Dsensor_request.cc45 SensorRequest::SensorRequest(SensorMode mode, Nanoseconds interval, argument
47 : SensorRequest(nullptr /* nanoapp */, mode, interval, latency) {}
49 SensorRequest::SensorRequest(Nanoapp *nanoapp, SensorMode mode, argument
51 : mNanoapp(nanoapp), mInterval(interval), mLatency(latency), mMode(mode) {
100 // Compute the highest priority mode. Active continuous is the highest
/system/chre/platform/shared/
H A Dchre_api_sensor.cc67 enum chreSensorConfigureMode mode,
70 SensorMode sensorMode = getSensorModeFromEnum(mode);
66 chreSensorConfigure(uint32_t sensorHandle, enum chreSensorConfigureMode mode, uint64_t interval, uint64_t latency) argument
/system/chre/platform/slpi/smgr/
H A Dpower_control_manager.cc44 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/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/core/liblog/tests/
H A Dlog_wrap_test.cpp38 const int mode = ANDROID_LOG_RDONLY | ANDROID_LOG_NONBLOCK; local
40 android_logger_list_open(LOG_ID_MAIN, mode, 1000, 0);
53 android_logger_list_alloc_time(mode | ANDROID_LOG_WRAP, start, 0);
/system/nfc/src/nfc/nfc/
H A Dnfc_ee.cc68 ** 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/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/libhwbinder/vts/performance/
H A DBenchmark.cpp115 HwBinderMode mode = HwBinderMode::kBinderize; local
121 mode = HwBinderMode::kPassthrough;
126 if (mode == HwBinderMode::kBinderize) {
/system/netd/server/
H A DResolverController.h54 PrivateDnsMode mode; member in struct:android::net::ResolverController::PrivateDnsStatus
60 // If the requested |netid| is not known, the PrivateDnsStatus's mode has a
/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";
78 *align = *size = 0; // this object should only be used in passthrough mode
H A DFmqType.cpp40 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 DMemoryType.cpp28 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
/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/base/
H A Dutf8.cpp184 FILE* fopen(const char* name, const char* mode) { argument
191 if (!UTF8ToWide(mode, &mode_utf16)) {
213 int mode = 0; local
217 mode = va_arg(args, int);
221 return _wopen(name_utf16.c_str(), flags, mode);
/system/bt/btif/src/
H A Dbtif_util.cc323 const char* dump_adapter_scan_mode(bt_scan_mode_t mode) { argument
324 switch (mode) {
330 return "unknown scan mode";
344 return "unknown scan mode";

Completed in 3814 milliseconds

1234567