Searched refs:mode (Results 101 - 125 of 282) sorted by relevance

1234567891011>>

/system/bt/embdrv/sbc/decoder/srce/
H A Ddecoder-private.c85 * syncword has already been examined, and the enhanced mode flag set, by
108 frame->mode = (d1 & (BIT3 | BIT2)) >> 2;
109 frame->nrof_channels = channel_values[frame->mode];
138 common->frameInfo.mode != SBC_JOINT_STEREO) {
139 if (common->frameInfo.mode == SBC_JOINT_STEREO) {
157 common->frameInfo.mode == SBC_JOINT_STEREO);
166 * In 4-subband joint stereo mode, the joint stereo information ends on a
/system/tools/hidl/
H A DEnumType.h51 std::string getCppType(StorageMode mode,
62 std::string getBitfieldCppType(StorageMode mode, bool specifyNamespaces = true) const;
82 ErrorMode mode) const override;
182 std::string getCppType(StorageMode mode,
205 ErrorMode mode) const override;
H A DCompoundType.cpp116 StorageMode mode,
120 switch (mode) {
172 ErrorMode mode) const {
180 parcelObj, parcelObjIsPointer, isReader, mode);
192 handleError(out, mode);
203 handleError(out, mode);
211 isReader, mode, parentName, "0 /* parentOffset */");
225 ErrorMode mode,
235 mode,
306 ErrorMode mode) cons
115 getCppType( StorageMode mode, bool ) const argument
216 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
321 emitResolveReferencesEmbedded( 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
[all...]
/system/core/libappfuse/
H A DFuseAppLoop.cc161 response.entry_out.attr.mode = S_IFREG | 0777;
166 bool FuseAppLoop::ReplyGetAttr(uint64_t unique, uint64_t inode, int64_t size, int mode) { argument
167 CHECK(mode == (S_IFREG | 0777) || mode == (S_IFDIR | 0777));
172 response.attr_out.attr.mode = mode;
/system/extras/tests/workloads/
H A Dpwrtest.sh213 mode=true
216 mode=false
220 adb shell am broadcast -a android.intent.action.AIRPLANE_MODE --ez state $mode
221 echo Set airplane mode to $mode
265 echo Restarting for power baseline in airplane mode...
/system/netd/server/
H A DNFLogListener.cpp81 // Control delivery mode for NFLOG messages marked with nfLogGroup.
83 // mode must be one of: NFULNL_COPY_NONE, NFULNL_COPY_META, NFULNL_COPY_PACKET
84 Status cfgMode(const SendFn& send, uint16_t nfLogGroup, uint32_t range, uint8_t mode) { argument
89 nfulnl_msg_config_mode mode; member in struct:android::net::__anon2083::__anon2085
97 msg.attr.nfa_len = sizeof(msg.attr) + sizeof(msg.mode);
99 msg.mode.copy_mode = mode;
100 msg.mode.copy_range = htonl(range);
H A DResolverController.cpp88 const char* getPrivateDnsModeString(PrivateDnsMode mode) { argument
89 switch (mode) {
190 const auto mode = mPrivateDnsModes.find(netId); local
191 if (mode == mPrivateDnsModes.end()) return status;
192 status.mode = mode->second;
218 const auto& mode = mPrivateDnsModes.find(netId); local
219 dw.println("Private DNS mode: %s", getPrivateDnsModeString(
220 (mode != mPrivateDnsModes.end()) ? mode
[all...]
/system/bt/binder/android/bluetooth/
H A DIBluetoothHeadset.aidl57 void clccResponse(int index, int direction, int status, int mode, boolean mpty,
/system/netd/libnetdutils/include/netdutils/
H A DMockSyscalls.h37 StatusOr<UniqueFd>(const std::string& pathname, int flags, mode_t mode));
63 StatusOr<UniqueFile>(const std::string& path, const std::string& mode));
/system/update_engine/payload_consumer/
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
H A Dfake_file_descriptor.h40 bool Open(const char* path, int flags, mode_t mode) override {
H A Dfile_writer.h76 int Open(const char* path, int flags, mode_t mode);
H A Dmtd_file_descriptor.cc104 bool MtdFileDescriptor::Open(const char* path, int flags, mode_t mode) { argument
107 // But we need to open the underlying file descriptor in O_RDWR mode because
115 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode));
156 // Ignore seek in write mode.
177 bool UbiFileDescriptor::Open(const char* path, int flags, mode_t mode) { argument
186 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode));
233 // Ignore seek in write mode.
/system/tools/hidl/test/hidl_test/
H A Dhidl_test_client.cpp318 TestMode mode; member in class:HidlEnvironment
320 HidlEnvironment(TestMode mode, bool enableDelayMeasurementTests) : argument
321 mode(mode), enableDelayMeasurementTests(enableDelayMeasurementTests) {};
340 // getStub is true if we are in passthrough mode to skip checking
341 // binderized server, false for binderized mode.
343 memoryTest = IMemoryTest::getService("memory", mode == PASSTHROUGH /* getStub */);
345 ASSERT_EQ(memoryTest->isRemote(), mode == BINDERIZED);
347 fetcher = IFetcher::getService("fetcher", mode == PASSTHROUGH /* getStub */);
349 ASSERT_EQ(fetcher->isRemote(), mode
406 TestMode mode = TestMode::PASSTHROUGH; member in class:HidlTest
1808 TestMode mode = TestMode::PASSTHROUGH; member in class:HidlMultithreadTest
2152 forkAndRunTests(TestMode mode, bool enableDelayMeasurementTests) argument
2182 handleStatus(int status, const char *mode) argument
[all...]
/system/bt/stack/l2cap/
H A Dl2c_fcr.cc233 (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE)) {
377 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) {
435 /* Set the F-bit and reqseq only if using re-transmission mode */
436 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE) {
493 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_ERTM_MODE)
620 if (p_ccb->peer_cfg.fcr.mode == L2CAP_FCR_STREAM_MODE) {
1291 /* If any SAR problem in eRTM mode, spec says disconnect. */
1332 * Description This function processes frames in streaming mode
1373 "Rx L2CAP PDU: CID: 0x%04x BAD S-frame in streaming mode ctrl_word: "
1766 if (p_ccb->peer_cfg.fcr.mode
[all...]
/system/nfc/src/nfc/nfc/
H A Dnfc_ncif.cc613 ** and mode and the associated parameters for DISCOVER_NTF and
633 if (NCI_DISCOVERY_TYPE_POLL_A == p_param->mode ||
634 (NCI_DISCOVERY_TYPE_POLL_A_ACTIVE == p_param->mode &&
668 } else if (NCI_DISCOVERY_TYPE_POLL_B == p_param->mode) {
681 } else if (NCI_DISCOVERY_TYPE_POLL_F == p_param->mode ||
682 (NCI_DISCOVERY_TYPE_POLL_F_ACTIVE == p_param->mode &&
700 } else if (NCI_DISCOVERY_TYPE_LISTEN_F == p_param->mode ||
701 (NCI_DISCOVERY_TYPE_LISTEN_F_ACTIVE == p_param->mode &&
708 } else if (NCI_DISCOVERY_TYPE_POLL_V == p_param->mode) {
713 } else if (NCI_DISCOVERY_TYPE_POLL_KOVIO == p_param->mode) {
833 tNCI_DISCOVERY_TYPE mode; local
[all...]
/system/connectivity/wificond/tests/
H A Dmock_netlink_utils.h40 bool(uint32_t interface_index, InterfaceMode mode));
/system/core/base/include/android-base/
H A Dfile.h46 mode_t mode, uid_t owner, gid_t group,
/system/core/fs_mgr/
H A Dfs_mgr_priv.h48 #define CRYPTO_TMPFS_OPTIONS "size=512m,mode=0771,uid=1000,gid=1000"
126 int load_verity_state(struct fstab_rec* fstab, int* mode);
/system/tpm/trunks/ftdi/
H A Dmpsse.h155 enum modes mode; member in struct:mpsse_context
178 struct mpsse_context* MPSSE(enum modes mode, int freq, int endianess);
181 enum modes mode,
189 enum modes mode,
/system/update_engine/common/
H A Dtest_utils.h83 inline int Chmod(const std::string& path, mode_t mode) { argument
84 return chmod(path.c_str(), mode);
87 inline int Mkdir(const std::string& path, mode_t mode) { argument
88 return mkdir(path.c_str(), mode);
/system/netd/libnetdutils/
H A DSyscalls.cpp44 StatusOr<UniqueFd> open(const std::string& pathname, int flags, mode_t mode) const override {
45 UniqueFd fd(::open(pathname.c_str(), flags, mode));
182 StatusOr<UniqueFile> fopen(const std::string& path, const std::string& mode) const override {
183 UniqueFile file(::fopen(path.c_str(), mode.c_str()));
185 return statusFromErrno(errno, "fopen(\"" + path + "\", \"" + mode + "\") failed");
/system/bt/bta/hh/
H A Dbta_hh_le.cc370 * Description find a report entry by report ID and protocol mode
376 uint8_t mode,
392 if (mode == BTA_HH_PROTO_RPT_MODE && p_rpt->uuid == GATT_UUID_HID_REPORT)
395 if (mode == BTA_HH_PROTO_BOOT_MODE &&
551 * for the protocol mode.
561 APPL_TRACE_DEBUG("%s: bta_hh_le_register_input_notif mode: %d", __func__,
571 /* boot mode, deregister report input notification */
605 else unknow protocol mode */
652 bta_hh_le_register_input_notif(p_cb, p_cb->mode, true);
733 /* enable notification for all input report, regardless mode */
375 bta_hh_le_find_rpt_by_idtype(tBTA_HH_LE_RPT* p_head, uint8_t mode, tBTA_HH_RPT_TYPE r_type, uint8_t rpt_id) argument
789 bta_hh_le_set_protocol_mode(tBTA_HH_DEV_CB* p_cb, tBTA_HH_PROTO_MODE mode) argument
[all...]
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dgrep.c111 bool qflag; /* -q: quiet mode (don't output anything) */
112 bool sflag; /* -s: silent mode (ignore errors) */
249 add_fpattern(const char *pat, int mode) argument
259 fpattern[fpatterns].mode = mode;
267 add_dpattern(const char *pat, int mode) argument
277 dpattern[dpatterns].mode = mode;
/system/bt/doc/
H A Dpower_management.md66 level specifies a set of parameters for the SNIFF mode which relate to the
68 action is still the same, however -- SNIFF mode is attempted. There are
98 - The power mode config is looked up in the `bta_dm_pm_cfg` table. If none
125 `pm_mode_attempted` fields), its timeout and mode are used. Otherwise,
128 `BTA_DM_PM_NO_ACTION`. Only the highest power mode action is chosen from
140 `BTM_ReadRemoteFeatures` and `BTM_SetPowerMode` to ensure SNIFF mode is
144 mode.
166 - If the status is `BTM_PM_STS_ACTIVE` (still in the ACTIVE power mode),
168 - If that's non-zero and a PARK or SNIFF mode change was attempted,
180 previous low power mode i
[all...]

Completed in 631 milliseconds

1234567891011>>