/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | oslo_package_test.c | 157 err = ioctl(fileno(odsp_node), ODSP_LOAD_PACKAGE, (unsigned long)&pkg_info); in main() 171 err = ioctl(fileno(odsp_node), ODSP_LOAD_PACKAGE, (unsigned long)&pkg_info); in main() 188 err = ioctl(fileno(odsp_node), ODSP_PLG_SET_CREATE_CFG, (unsigned long)&pcc); in main() 201 err = ioctl(fileno(odsp_node), ODSP_PLG_CREATE, (unsigned long)&pi); in main() 214 err = ioctl(fileno(odsp_node), ODSP_PLG_CREATE, (unsigned long)&pi); in main() 225 err = ioctl(fileno(odsp_node), ODSP_PLG_SET_EVENT, (unsigned long)&se); in main() 240 err = ioctl(fileno(odsp_node), ODSP_EVENT_SUBSCRIBE, (unsigned long)&ei); in main() 254 err = ioctl(fileno(odsp_node), ODSP_EVENT_SUBSCRIBE, (unsigned long)&ei); in main() 268 err = ioctl(fileno(odsp_node), ODSP_EVENT_SUBSCRIBE, (unsigned long)&ei); in main() 300 err = ioctl(fileno(odsp_node), ODSP_EVENT_UNSUBSCRIBE, (unsigned long)&ei); in main() [all …]
|
D | tunnel_test_sensor.c | 106 err = ioctl(fileno(tun_dev), FLICKER_ROUTE_SETUP, NULL); in main() 115 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_SETUP, &tm); in main() 124 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_SETUP, &tm); in main() 307 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_TERMINATE, &tm); in main() 316 err = ioctl(fileno(tun_dev), FLICKER_TUNNEL_TERMINATE, &tm); in main() 322 err = ioctl(fileno(tun_dev), FLICKER_ROUTE_TERMINATE, NULL); in main()
|
D | spi_reliability_test.c | 90 err = ioctl(fileno(odsp_node), ODSP_LOAD_PACKAGE, (unsigned long) &pkg_info); in main() 103 err = ioctl(fileno(odsp_node), ODSP_PLG_CREATE, (unsigned long) &pi); in main() 116 err = ioctl(fileno(odsp_node), ODSP_PLG_SET_PARAM_BLK, &ppb); in main() 129 err = ioctl(fileno(odsp_node), ODSP_PLG_GET_PARAM_BLK, &ppb); in main()
|
D | oslo_iaxxx_sensor_control.c | 80 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_SET_PARAM, (unsigned long)&sp); in oslo_driver_set_param() 103 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_GET_PARAM, (unsigned long)&sp); in oslo_driver_get_param() 136 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_WRITE_PARAM_BLK, (unsigned long)&spb); in oslo_driver_set_param_blk() 155 rc = ioctl(fileno(smd->dev_node), IAXXX_SENSOR_MODE_STATS, (unsigned long)stats); in oslo_driver_get_stats()
|
D | sensor_param_test.c | 91 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_SET_PARAM, (unsigned long) &sp); in set_param() 113 err = ioctl(fileno(smd->dev_node), MODULE_SENSOR_GET_PARAM, (unsigned long) &sp); in get_param()
|
D | crash_trigger_test.c | 130 err = ioctl(fileno(smd->dev_node), SCRIPT_TRIGGER, (unsigned long) &script_id); in main()
|
D | get_pwr_stats.c | 90 err = ioctl(fileno(pwr->dev_node), IAXXX_POWER_STATS_COUNT, &pwr_stats_count); in main()
|
D | crash_event_logger.c | 212 fd = fileno(fp); in split_crash_dump_file() 432 fd = fileno(fp); in ssr_split_crash_dump_file()
|
/hardware/knowles/athletico/sound_trigger_hal/ |
D | iaxxx_odsp_hw.c | 134 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_package_load() 171 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_package_unload() 217 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_get_package_version() 265 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_get_plugin_version() 319 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_create() 377 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_set_creation_config() 416 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_destroy() 454 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_enable() 492 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_disable() 530 err = ioctl(fileno(odsp_hw_hdl->dev_node), in iaxxx_odsp_plugin_reset() [all …]
|
/hardware/google/gfxstream/guest/android-emu/android/utils/ |
D | debug.c | 142 out_fd = fileno(stdout); in stdio_disable() 143 err_fd = fileno(stderr); in stdio_disable() 157 out_fd = fileno(stdout); in stdio_enable() 158 err_fd = fileno(stderr); in stdio_enable()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | fossilize_db.c | 193 int fd = fileno(f); in lock_file_with_timeout() 260 flock(fileno(foz_db->file[file_idx]), LOCK_UN); in load_foz_dbs() 277 flock(fileno(foz_db->file[file_idx]), LOCK_UN); in load_foz_dbs() 339 if (fstat(fileno(db_file), &new_file_stat) == -1) in check_file_already_loaded() 345 if (fstat(fileno(foz_db->file[i]), &loaded_file_stat) == -1) in check_file_already_loaded() 681 flock(fileno(foz_db->file[0]), LOCK_UN); in foz_write_entry() 744 flock(fileno(foz_db->file[0]), LOCK_UN); in foz_write_entry() 752 flock(fileno(foz_db->file[0]), LOCK_UN); in foz_write_entry()
|
D | mesa_cache_db.c | 90 return !ftruncate(fileno(file), pos); in mesa_db_truncate() 98 if (flock(fileno(db->cache.file), LOCK_EX) == -1) in mesa_db_lock() 101 if (flock(fileno(db->index.file), LOCK_EX) == -1) in mesa_db_lock() 107 flock(fileno(db->cache.file), LOCK_UN); in mesa_db_lock() 117 flock(fileno(db->index.file), LOCK_UN); in mesa_db_unlock() 118 flock(fileno(db->cache.file), LOCK_UN); in mesa_db_unlock()
|
/hardware/google/aemu/snapshot/ |
D | TextureLoader.cpp | 70 if (base::getFileSize(fileno(mStream.get()), &size)) { in readIndex()
|
/hardware/google/gfxstream/host/apigen-codec-common/X11/ |
D | Xw32defs.h | 31 # define fileno _fileno macro
|
/hardware/nxp/nfc/pn8x/halimpl/utils/ |
D | NfccPowerTracker.cpp | 431 if (!flock(fileno(fp), LOCK_EX | LOCK_NB)) return true; in TryLockFile() 446 void NfccPowerTracker::UnlockFile(FILE* fp) { flock(fileno(fp), LOCK_UN); } in UnlockFile()
|
/hardware/google/camera/common/hal/tests/ |
D | camera_device_tests.cc | 128 EXPECT_EQ(device->DumpState(fileno(f)), OK); in TEST()
|
D | hal_camera_metadata_tests.cc | 192 hal_metadata->Dump(fileno(f), MetadataDumpVerbosity::kAllInformation, in SetGetMetadata()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/ |
D | mesa-overlay-control.py | 47 if fd != self.sock.fileno():
|
/hardware/google/gfxstream/scripts/print_gfx_logs/ |
D | print_gfx_logs.py | 192 with mmap.mmap(f.fileno(), 0) as mm:
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | arec.c | 396 fd = fileno(stdout); in rec_raw() 433 fd = fileno(stdout); in rec_wav()
|
D | aplay.c | 478 fd = fileno(stdin); in play_raw() 506 fd = fileno(stdin); in play_wav()
|