/system/tools/hidl/ |
H A D | ScalarType.h | 53 StorageMode mode, 70 ErrorMode mode) const override; 78 ErrorMode mode,
|
H A D | ArrayType.h | 52 std::string getCppType(StorageMode mode, 69 ErrorMode mode) const override; 80 ErrorMode mode, 91 ErrorMode mode) const override; 102 ErrorMode mode,
|
H A D | CompoundType.h | 52 std::string getCppType(StorageMode mode, 65 ErrorMode mode) const override; 76 ErrorMode mode, 87 ErrorMode mode) const override; 98 ErrorMode mode,
|
H A D | ArrayType.cpp | 92 std::string ArrayType::getCppType(StorageMode mode, argument 112 switch (mode) { 173 ErrorMode mode) const { 201 handleError(out, mode); 216 handleError(out, mode); 228 mode, 242 ErrorMode mode, 276 mode, 295 ErrorMode mode) const { 305 mode, 233 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 310 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...] |
/system/chre/core/ |
H A D | sensor_request.cc | 45 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/connectivity/wificond/ |
H A D | looper_backed_event_loop.h | 42 ReadyMode mode,
|
/system/chre/apps/chqts/src/general_test/ |
H A D | basic_sensor_test_base.cc | 97 chreSensorConfigureMode mode = isOneShotSensor() ? local 104 if (chreSensorConfigure(mSensorHandle, mode, 109 if (chreSensorConfigure(mSensorHandle, mode, 114 // TODO: In a more in-depth test, we should test passive mode 122 if (!chreSensorConfigure(mSensorHandle, mode, 129 mSensorHandle, mode, kNanosecondsPerSecond, 135 mSensorHandle, mode, kNanosecondsPerSecond, 194 chreSensorConfigureMode mode = isOneShotSensor() ? local 198 if (!chreSensorConfigure(mSensorHandle, mode, 224 mSensorHandle, mode, mNewStatu [all...] |
/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...] |
H A D | support.c | 34 if (mpsse->mode) { 47 if (mpsse->mode) { 72 if (mpsse->mode) { 104 if (mpsse->mode == I2C || (cmd & MPSSE_BITMODE)) { 119 if (mpsse->mode == I2C) { 138 if (mpsse->mode == I2C) { 168 /* In I2C mode we need to clock one ACK bit after each byte */ 169 if (mpsse->mode == I2C) { 230 if (mpsse->mode == BITBANG) {
|
/system/core/adb/ |
H A D | file_sync_service.cpp | 74 unsigned int mode = 0775; local 86 fs_config(partial_path.c_str(), 1, nullptr, &uid, &gid, &mode, &capabilities); 88 if (adb_mkdir(partial_path.c_str(), mode) == -1) { 110 msg.stat_v1.mode = st.st_mode; 134 msg.stat_v2.mode = st.st_mode; 162 msg.dent.mode = st.st_mode; 176 msg.dent.mode = 0; 200 mode_t mode, std::vector<char>& buffer, bool do_unlink) { 206 int fd = adb_open_mode(path, O_WRONLY | O_CREAT | O_EXCL | O_CLOEXEC, mode); 218 fd = adb_open_mode(path, O_WRONLY | O_CREAT | O_EXCL | O_CLOEXEC, mode); 199 handle_send_file(int s, const char* path, uid_t uid, gid_t gid, uint64_t capabilities, mode_t mode, std::vector<char>& buffer, bool do_unlink) argument 378 mode_t mode = strtoul(spec.substr(comma + 1).c_str(), nullptr, 0); local [all...] |
H A D | file_sync_client.cpp | 66 static bool should_pull_file(mode_t mode) { argument 67 return S_ISREG(mode) || S_ISBLK(mode) || S_ISCHR(mode); 70 static bool should_push_file(mode_t mode) { argument 71 return S_ISREG(mode) || S_ISLNK(mode); 78 uint32_t mode; member in struct:copyinfo 85 unsigned int mode) 86 : lpath(local_path), rpath(remote_path), mode(mod 82 copyinfo(const std::string& local_path, const std::string& remote_path, const std::string& name, unsigned int mode) argument 677 sync_send(SyncConnection& sc, const char* lpath, const char* rpath, unsigned mtime, mode_t mode, bool sync) argument [all...] |
H A D | sysdeps.h | 109 extern int adb_mkdir(const std::string& path, int mode); 115 extern int adb_creat(const char* path, int mode); 151 static __inline__ int adb_open_mode(const char* path, int options, int mode) argument 377 // configurable CR/LF translation which defaults to text mode, but is settable 387 int mode; 390 mode = va_arg( args, int ); 392 return TEMP_FAILURE_RETRY( open( path, options, mode ) ); 396 // Similar to the two-argument adb_open(), but takes a mode parameter for file 398 static __inline__ int adb_open_mode( const char* pathname, int options, int mode ) 400 return TEMP_FAILURE_RETRY( open( pathname, options, mode ) ); [all...] |
/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/chre/platform/shared/ |
H A D | chre_api_sensor.cc | 67 enum chreSensorConfigureMode mode, 70 SensorMode sensorMode = getSensorModeFromEnum(mode); 66 chreSensorConfigure(uint32_t sensorHandle, enum chreSensorConfigureMode mode, uint64_t interval, uint64_t latency) argument
|
/system/core/base/include/android-base/ |
H A D | utf8.h | 91 FILE* fopen(const char* name, const char* mode); 92 int mkdir(const char* name, mode_t mode);
|
/system/core/fs_mgr/include/ |
H A D | fs_mgr.h | 52 const char *mount_point, int mode, int status); 76 bool fs_mgr_load_verity_state(int* mode);
|
/system/core/init/ |
H A D | util.h | 49 bool mkdir_recursive(const std::string& pathname, mode_t mode); 53 bool make_dir(const std::string& path, mode_t mode);
|
/system/extras/ioshark/ |
H A D | ioshark.h | 111 #define open_mode u.open_a.mode 114 u_int32_t mode; member in struct:ioshark_file_operation::__anon1871::open_args
|
/system/update_engine/payload_consumer/ |
H A D | cached_file_descriptor.h | 39 bool Open(const char* path, int flags, mode_t mode) override { 40 return fd_->Open(path, flags, mode);
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | bitalloc-sbc.c | 102 OI_ASSERT(common->frameInfo.mode < OI_ARRAYSIZE(balloc)); 109 balloc[common->frameInfo.mode](common); 136 if (frame->mode == SBC_JOINT_STEREO) { 139 if (frame->mode == SBC_MONO) { 144 if (frame->mode == SBC_DUAL_CHANNEL) {
|
/system/chre/chre_api/legacy/v1_1/chre/ |
H A D | sensor.h | 212 * nanoapp, the sensor automatically goes into DONE mode. Sensors of this 213 * type must be configured with a ONE_SHOT mode. 222 * nanoapp, the sensor automatically goes into DONE mode. Sensors of this 223 * type must be configured with a ONE_SHOT mode. 444 * Our mode will affect not only how/if we receive events, but 465 * changes to CHRE_SENSOR_CONFIGURE_MODE_DONE mode. 852 * Configures a given sensor at a specific interval and latency and mode. 855 * then the mode must be one of the ONE_SHOT modes, or this method will fail. 871 * chreSensorConfigure(myHandle, mode, interval0, latency0); 873 * chreSensorConfigure(myHandle, mode, interval 950 chreSensorConfigureModeOnly( uint32_t sensorHandle, enum chreSensorConfigureMode mode) argument 992 chreSensorConfigureWithBatchInterval( uint32_t sensorHandle, enum chreSensorConfigureMode mode, uint64_t sampleInterval, uint64_t batchInterval) argument [all...] |
/system/core/base/ |
H A D | utf8.cpp | 184 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/core/libcutils/ |
H A D | fs_config.cpp | 192 // Support FIFO scheduling mode in SurfaceFlinger. 290 unsigned* mode, uint64_t* capabilities) { 335 *mode = (*mode & (~07777)) | get2LE((const uint8_t*)&(header.mode)); 351 *mode = (*mode & (~07777)) | pc->mode; 365 p->mode = get2LE((const uint8_t*)&(pc->mode)); 289 fs_config(const char* path, int dir, const char* target_out_path, unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) argument [all...] |
/system/chre/chre_api/legacy/v1_0/chre/ |
H A D | sensor.h | 158 * nanoapp, the sensor automatically goes into DONE mode. Sensors of this 159 * type must be configured with a ONE_SHOT mode. 168 * nanoapp, the sensor automatically goes into DONE mode. Sensors of this 169 * type must be configured with a ONE_SHOT mode. 322 * Our mode will affect not only how/if we receive events, but 343 * changes to CHRE_SENSOR_CONFIGURE_MODE_DONE mode. 706 * Configures a given sensor at a specific interval and latency and mode. 709 * then the mode must be one of the ONE_SHOT modes, or this method will fail. 725 * chreSensorConfigure(myHandle, mode, interval0, latency0); 727 * chreSensorConfigure(myHandle, mode, interval 804 chreSensorConfigureModeOnly( uint32_t sensorHandle, enum chreSensorConfigureMode mode) argument [all...] |
/system/libhwbinder/vts/performance/ |
H A D | Benchmark.cpp | 115 HwBinderMode mode = HwBinderMode::kBinderize; local 121 mode = HwBinderMode::kPassthrough; 126 if (mode == HwBinderMode::kBinderize) {
|