/system/libhwbinder/vts/performance/ |
H A D | Benchmark_throughput.cpp | 306 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 D | checkfc.c | 53 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 D | ArrayType.cpp | 65 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 D | CompoundType.cpp | 85 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 D | EnumType.cpp | 130 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 D | generateCpp.cpp | 1236 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 D | Interface.cpp | 620 std::string Interface::getCppType(StorageMode mode, argument 628 switch (mode) { 656 ErrorMode mode) const { 675 handleError(out, mode); 724 handleError(out, mode);
|
H A D | Type.cpp | 137 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 D | mpsse.c | 52 * @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 D | sensor.h | 213 * 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 D | platform_sensor.cc | 776 * @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 D | sysdeps.h | 188 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 D | adf.cpp | 342 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 D | fs_mgr_verity.cpp | 83 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 D | android_filesystem_config.h | 197 unsigned mode; member in struct:fs_path_config 219 unsigned* mode, uint64_t* capabilities);
|
/system/core/libcutils/include/private/ |
H A D | android_filesystem_config.h | 197 unsigned mode; member in struct:fs_path_config 219 unsigned* mode, uint64_t* capabilities);
|
/system/core/libcutils/include_vndk/private/ |
H A D | android_filesystem_config.h | 197 unsigned mode; member in struct:fs_path_config 219 unsigned* mode, uint64_t* capabilities);
|
/system/core/libpixelflinger/ |
H A D | pixelflinger.cpp | 197 static void ggl_shadeModel(void* con, GGLenum mode) argument 200 switch (mode) {
|
/system/core/libutils/ |
H A D | RefBase.cpp | 714 void RefBase::extendObjectLifetime(int32_t mode) argument 718 mRefs->mFlags.fetch_or(mode, std::memory_order_relaxed);
|
/system/core/logd/ |
H A D | LogTags.cpp | 439 // 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 D | grep.c | 111 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 D | ext4fixup.c | 525 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 D | NetdNativeService.cpp | 343 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 D | SockDiagTest.cpp | 274 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 D | nfc_ncif.c | 553 ** 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...] |