Searched defs:mode (Results 76 - 100 of 145) sorted by relevance

123456

/system/libhwbinder/vts/performance/
H A DBenchmark_throughput.cpp306 HwBinderMode mode = HwBinderMode::kBinderize; local
321 mode = HwBinderMode::kPassthrough;
346 if (mode == HwBinderMode::kBinderize) {
359 bool get_stub = mode == HwBinderMode::kBinderize ? false : true;
391 if (mode == HwBinderMode::kBinderize) {
/system/sepolicy/tools/
H A Dcheckfc.c53 static const char * const *filemode_to_assert_attrs(filemode mode) argument
55 switch (mode) {
68 fprintf(stderr, "Error: Invalid mode of operation: %d\n", mode);
261 static void do_fc_check_and_die_on_error(struct selinux_opt opts[], unsigned int backend, filemode mode, argument
310 global_state.assert.attrs = filemode_to_assert_attrs(mode);
344 filemode mode = filemode_file_contexts; local
355 mode = filemode_property_contexts;
359 mode = filemode_service_contexts;
363 mode
[all...]
/system/tools/hidl/
H A DArrayType.cpp65 std::string ArrayType::getCppType(StorageMode mode, argument
85 switch (mode) {
146 ErrorMode mode) const {
174 handleError(out, mode);
189 handleError(out, mode);
201 mode,
215 ErrorMode mode,
249 mode,
268 ErrorMode mode) const {
278 mode,
206 emitReaderWriterEmbedded( Formatter &out, size_t depth, 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
283 emitResolveReferencesEmbedded( Formatter &out, size_t depth, 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
[all...]
H A DCompoundType.cpp85 StorageMode mode,
90 switch (mode) {
125 ErrorMode mode) const {
146 handleError(out, mode);
158 handleError(out, mode);
174 mode,
188 ErrorMode mode,
198 mode,
269 ErrorMode mode) const {
279 mode,
84 getCppType( StorageMode mode, bool specifyNamespaces) const argument
179 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
284 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...]
H A DEnumType.cpp130 ErrorMode mode) const {
140 mode,
736 std::string BitFieldType::getCppType(StorageMode mode, argument
738 return resolveToScalarType()->getCppType(mode, specifyNamespaces);
785 ErrorMode mode) const {
792 mode,
H A DgenerateCpp.cpp1236 Type::ErrorMode mode,
1246 mode);
1255 Type::ErrorMode mode,
1266 mode);
1230 emitCppReaderWriter( Formatter &out, const std::string &parcelObj, bool parcelObjIsPointer, const TypedVar *arg, bool isReader, Type::ErrorMode mode, bool addPrefixToName) const argument
1249 emitCppResolveReferences( Formatter &out, const std::string &parcelObj, bool parcelObjIsPointer, const TypedVar *arg, bool isReader, Type::ErrorMode mode, bool addPrefixToName) const argument
H A DInterface.cpp620 std::string Interface::getCppType(StorageMode mode, argument
628 switch (mode) {
656 ErrorMode mode) const {
675 handleError(out, mode);
724 handleError(out, mode);
H A DType.cpp137 const std::string &name, StorageMode mode, bool specifyNamespaces) const {
138 return getCppType(mode, specifyNamespaces) + " " + name;
285 void Type::handleError(Formatter &out, ErrorMode mode) const {
286 switch (mode) {
320 ErrorMode mode,
374 handleError(out, mode);
136 decorateCppName( const std::string &name, StorageMode mode, bool specifyNamespaces) const argument
313 emitReaderWriterEmbeddedForTypeName( Formatter &out, const std::string &name, bool nameIsPointer, const std::string &parcelObj, bool parcelObjIsPointer, bool isReader, ErrorMode mode, const std::string &parentName, const std::string &offsetText, const std::string &typeName, const std::string &childName, const std::string &funcNamespace) const argument
/system/tpm/trunks/ftdi/
H A Dmpsse.c52 * @mode - Mode to open the device in. One of enum modes.
53 * @freq - Clock frequency to use for the specified mode.
58 struct mpsse_context* MPSSE(enum modes mode, int freq, int endianess) { argument
63 mpsse = Open(supported_devices[i].vid, supported_devices[i].pid, mode, freq,
79 * @mode - MPSSE mode, one of enum modes.
80 * @freq - Clock frequency to use for the specified mode.
90 enum modes mode,
96 return OpenIndex(vid, pid, mode, freq, endianess, interface, description,
105 * @mode
88 Open(int vid, int pid, enum modes mode, int freq, int endianess, int interface, const char* description, const char* serial) argument
117 OpenIndex(int vid, int pid, enum modes mode, int freq, int endianess, int interface, const char* description, const char* serial, int index) argument
[all...]
/system/chre/chre_api/include/chre_api/chre/
H A Dsensor.h213 * nanoapp, the sensor automatically goes into DONE mode. Sensors of this
214 * type must be configured with a ONE_SHOT mode.
223 * nanoapp, the sensor automatically goes into DONE mode. Sensors of this
224 * type must be configured with a ONE_SHOT mode.
452 * Our mode will affect not only how/if we receive events, but
473 * changes to CHRE_SENSOR_CONFIGURE_MODE_DONE mode.
858 * Configures a given sensor at a specific interval and latency and mode.
861 * then the mode must be one of the ONE_SHOT modes, or this method will fail.
880 * chreSensorConfigure(myHandle, mode, interval0, latency0);
882 * chreSensorConfigure(myHandle, mode, interval
958 chreSensorConfigureModeOnly( uint32_t sensorHandle, enum chreSensorConfigureMode mode) argument
[all...]
/system/chre/platform/slpi/
H A Dplatform_sensor.cc776 * @param mode The sensor mode.
777 * @return Returns the SMGR request action given the sensor mode.
779 uint8_t getSmgrRequestActionForMode(SensorMode mode) { argument
780 if (sensorModeIsActive(mode)) {
/system/core/adb/
H A Dsysdeps.h188 extern int adb_mkdir(const std::string& path, int mode);
194 extern int adb_creat(const char* path, int mode);
230 static __inline__ int adb_open_mode(const char* path, int options, int mode) argument
462 // configurable CR/LF translation which defaults to text mode, but is settable
472 int mode;
475 mode = va_arg( args, int );
477 return TEMP_FAILURE_RETRY( open( path, options, mode ) );
481 // Similar to the two-argument adb_open(), but takes a mode parameter for file
483 static __inline__ int adb_open_mode( const char* pathname, int options, int mode )
485 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) );
[all...]
/system/core/adf/libadf/
H A Dadf.cpp342 int adf_interface_blank(int fd, __u8 mode) argument
344 int err = ioctl(fd, ADF_BLANK, mode);
350 int adf_interface_set_mode(int fd, struct drm_mode_modeinfo *mode) argument
352 int err = ioctl(fd, ADF_SET_MODE, mode);
/system/core/fs_mgr/
H A Dfs_mgr_verity.cpp83 int32_t mode; member in struct:verity_state
187 int mode; member in struct:verity_table_params
201 if (params->mode == VERITY_MODE_RESTART) {
203 } else if (params->mode == VERITY_MODE_LOGGING) {
239 if (params->mode == VERITY_MODE_EIO) {
242 res = snprintf(buf, bufsize, "%s %d", params->table, params->mode);
471 static int write_verity_state(const char *fname, off64_t offset, int32_t mode) argument
475 struct verity_state s = { VERITY_STATE_HEADER, VERITY_STATE_VERSION, mode };
500 static int read_verity_state(const char *fname, off64_t offset, int *mode) argument
521 *mode
656 load_verity_state(struct fstab_rec* fstab, int* mode) argument
[all...]
/system/core/include/private/
H A Dandroid_filesystem_config.h197 unsigned mode; member in struct:fs_path_config
219 unsigned* mode, uint64_t* capabilities);
/system/core/libcutils/include/private/
H A Dandroid_filesystem_config.h197 unsigned mode; member in struct:fs_path_config
219 unsigned* mode, uint64_t* capabilities);
/system/core/libcutils/include_vndk/private/
H A Dandroid_filesystem_config.h197 unsigned mode; member in struct:fs_path_config
219 unsigned* mode, uint64_t* capabilities);
/system/core/libpixelflinger/
H A Dpixelflinger.cpp197 static void ggl_shadeModel(void* con, GGLenum mode) argument
200 switch (mode) {
/system/core/libutils/
H A DRefBase.cpp714 void RefBase::extendObjectLifetime(int32_t mode) argument
718 mRefs->mFlags.fetch_or(mode, std::memory_order_relaxed);
/system/core/logd/
H A DLogTags.cpp439 // we are in readonly mode.
494 static int openFile(const char* name, int mode, bool warning) { argument
495 int fd = TEMP_FAILURE_RETRY(open(name, mode));
594 static const int mode = local
597 int fd = openFile(dynamic_event_log_tags, mode, true);
616 static const int mode = local
620 int fd = openFile(debug_event_log_tags, mode, one);
679 // are in readonly mode.
/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/extras/ext4_utils/
H A Dext4fixup.c525 static int recurse_dir(int fd, struct ext4_inode *inode, char *dirbuf, int dirsize, int mode) argument
536 switch (mode) {
542 critical_error("recurse_dir() called witn unknown mode!\n");
584 if (((mode == SANITY_CHECK_PASS) || (mode == UPDATE_INODE_NUMS)) &&
615 is_dir = is_entry_dir(fd, dirp, mode);
617 ((mode == SANITY_CHECK_PASS) || (mode == MARK_INODE_NUMS) ||
618 ((mode == UPDATE_INODE_NUMS) && (dirp->inode & 0x80000000))) ) {
641 recurse_dir(fd, &tmp_inode, tmp_dirbuf, tmp_dirsize, mode);
[all...]
/system/netd/server/
H A DNetdNativeService.cpp343 int32_t mode,
359 transformId, mode, direction, localAddress, remoteAddress,
341 ipSecAddSecurityAssociation( int32_t transformId, int32_t mode, int32_t direction, const std::string& localAddress, const std::string& remoteAddress, int64_t underlyingNetworkHandle, int32_t spi, const std::string& authAlgo, const std::vector<uint8_t>& authKey, int32_t authTruncBits, const std::string& cryptAlgo, const std::vector<uint8_t>& cryptKey, int32_t cryptTruncBits, int32_t encapType, int32_t encapLocalPort, int32_t encapRemotePort, int32_t* allocatedSpi) argument
H A DSockDiagTest.cpp274 const char *testTypeName(MicroBenchmarkTestType mode) { argument
276 switch((mode)) {
329 MicroBenchmarkTestType mode = GetParam(); local
330 switch (mode) {
344 MicroBenchmarkTestType mode = GetParam(); local
345 switch (mode) {
366 MicroBenchmarkTestType mode = GetParam(); local
368 switch (mode) {
375 bool excludeLoopback = (mode == UID_EXCLUDE_LOOPBACK);
383 bool excludeLoopback = (mode
400 MicroBenchmarkTestType mode = GetParam(); local
453 MicroBenchmarkTestType mode = GetParam(); local
[all...]
/system/nfc/src/nfc/nfc/
H A Dnfc_ncif.c553 ** and mode and the associated parameters for DISCOVER_NTF and
571 if (NCI_DISCOVERY_TYPE_POLL_A == p_param->mode ||
572 NCI_DISCOVERY_TYPE_POLL_A_ACTIVE == p_param->mode) {
605 } else if (NCI_DISCOVERY_TYPE_POLL_B == p_param->mode) {
618 } else if (NCI_DISCOVERY_TYPE_POLL_F == p_param->mode ||
619 NCI_DISCOVERY_TYPE_POLL_F_ACTIVE == p_param->mode) {
636 } else if (NCI_DISCOVERY_TYPE_LISTEN_F == p_param->mode ||
637 NCI_DISCOVERY_TYPE_LISTEN_F_ACTIVE == p_param->mode) {
643 } else if (NCI_DISCOVERY_TYPE_POLL_ISO15693 == p_param->mode) {
648 } else if (NCI_DISCOVERY_TYPE_POLL_KOVIO == p_param->mode) {
710 tNCI_DISCOVERY_TYPE mode; local
[all...]

Completed in 565 milliseconds

123456