Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 110) sorted by relevance

12345

/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp86 0, 0, m->info.xres, m->info.yres, NULL); in fb_post()
90 m->info.activate = FB_ACTIVATE_VBL; in fb_post()
91 m->info.yoffset = offset / m->finfo.line_length; in fb_post()
97 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
149 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
172 0, 0, m->info.xres, m->info.yres, &fb_vaddr); in fb_post()
175 0, 0, m->info.xres, m->info.yres, &buffer_vaddr); in fb_post()
177 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post()
223 struct fb_var_screeninfo info; in init_frame_buffer_locked() local
225 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in init_frame_buffer_locked()
[all …]
/device/huawei/angler/
Dreleasetools.py62 info = {}
63 (info["magic"], info["major_version"],
64 info["minor_version"], info["img_version"],
65 info["meta_hdr_size"], info["img_hdr_size"]) = num_imgs_fmt.unpack(header)
69 num = info["img_hdr_size"] / img_info_size
78 if info["magic"] != MAGIC:
100 def FullOTA_InstallEnd(info): argument
102 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
106 WriteBootloader(info, bootloader_img)
108 radio_img = FindRadio(info.input_zip)
[all …]
/device/lge/bullhead/
Dreleasetools.py28 def FullOTA_InstallEnd(info): argument
30 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
34 WriteBootloader(info, bootloader_img)
36 radio_img = FindRadio(info.input_zip)
38 WriteRadio(info, radio_img)
43 def IncrementalOTA_VerifyEnd(info): argument
44 target_radio_img = FindRadio(info.target_zip)
50 source_radio_img = FindRadio(info.source_zip)
54 info.script.CacheFreeSpaceCheck(len(source_radio_img))
55 radio_type, radio_device = common.GetTypeAndDevice("/radio", info.info_dict)
[all …]
/device/asus/fugu/
Dreleasetools.py22 def WriteIfwi(info): argument
23 info.script.AppendExtra('package_extract_file("ifwi.bin", "/tmp/ifwi.bin");')
24 info.script.AppendExtra("""fugu.flash_ifwi("/tmp/ifwi.bin");""")
26 def WriteDroidboot(info): argument
27 info.script.WriteRawImage("/fastboot", "droidboot.img")
29 def WriteSplashscreen(info): argument
30 info.script.WriteRawImage("/splashscreen", "splashscreen.img")
32 def WriteBootloader(info, bootloader): argument
49 common.ZipWriteStr(info.output_zip, "droidboot.img", droidboot)
50 common.ZipWriteStr(info.output_zip, "ifwi.bin", ifwi)
[all …]
/device/moto/shamu/
Dreleasetools.py80 def FullOTA_InstallEnd(info): argument
82 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
86 WriteBootloader(info, bootloader_img)
88 radio_img = FindRadio(info.input_zip)
90 WriteRadio(info, radio_img)
94 def IncrementalOTA_VerifyEnd(info): argument
95 target_radio_img = FindRadio(info.target_zip)
101 source_radio_img = FindRadio(info.source_zip)
109 info.script.CacheFreeSpaceCheck(len(source_modem_img.data))
110 radio_type, radio_device = common.GetTypeAndDevice("/modem", info.info_dict)
[all …]
/device/google/dragon/
Dreleasetools.py19 def FullOTA_InstallEnd(info): argument
22 bootloader_img = info.input_zip.read("RADIO/bootloader.img")
23 ec_img = info.input_zip.read("RADIO/ec.bin")
28 common.ZipWriteStr(info.output_zip, "bootloader.img", bootloader_img)
29 common.ZipWriteStr(info.output_zip, "ec.bin", ec_img)
32 info.script.AppendExtra(
35 def IncrementalOTA_InstallEnd(info): argument
37 target_bootloader_img = info.target_zip.read("RADIO/bootloader.img")
38 target_ec_img = info.target_zip.read("RADIO/ec.bin")
46 common.ZipWriteStr(info.output_zip, "bootloader.img", target_bootloader_img)
[all …]
/device/htc/flounder/
Dreleasetools.py4 def FullOTA_InstallEnd(info): argument
6 firmware_img = info.input_zip.read("RADIO/bootloader.img")
10 info.script.Print("Writing bootloader.img...")
11 common.ZipWriteStr(info.output_zip, "bootloader.img", firmware_img)
12 info.script.AppendExtra(
16 def IncrementalOTA_InstallEnd(info): argument
18 source_firmware_img = info.source_zip.read("RADIO/bootloader.img")
23 target_firmware_img = info.target_zip.read("RADIO/bootloader.img")
29 info.script.Print("Writing bootloader.img...")
30 common.ZipWriteStr(info.output_zip, "bootloader.img", target_firmware_img)
[all …]
/device/google/dragon/sensor_hub/
Dcros_ec_sensors.cpp132 struct cros_ec_gesture_info* info = &mGestureInfo[handle - CROS_EC_MAX_PHYSICAL_SENSOR]; in flush() local
133 if (info->sensor_data.flags & SENSOR_FLAG_ONE_SHOT_MODE) in flush()
138 struct cros_ec_sensor_info *info = &mSensorInfo[handle]; in flush() local
140 if (!info->enabled) in flush()
143 return cros_ec_sysfs_set_input_attr_by_int(info->device_name, "flush", 1); in flush()
157 struct cros_ec_sensor_info *info = &mSensorInfo[handle]; in activate() local
162 long frequency = enabled ? 1e12 / info->sampling_period_ns : 0; in activate()
164 err = cros_ec_sysfs_set_input_attr_by_int(info->device_name, in activate()
169 long ec_period = nanoseconds_to_milliseconds(info->max_report_latency_ns); in activate()
178 info->device_name, "sampling_frequency", ec_period); in activate()
[all …]
/device/google/dragon/recovery/updater/
Dflash_file.cpp37 struct stat info; member
45 dev->info.st_size = param->size; in file_blob_open()
69 if (fstat(dev->fd, &dev->info)) { in file_open()
74 dev->data = reinterpret_cast<uint8_t*>(mmap(NULL, dev->info.st_size, PROT_READ | PROT_WRITE, in file_open()
82 (long long)dev->info.st_size, (long)dev->info.st_blksize); in file_open()
99 munmap(dev->data, dev->info.st_size); in file_close()
109 if (offset + (off_t)count > dev->info.st_size) { in file_read()
111 offset, count, (long long)dev->info.st_size); in file_read()
124 if (offset + (off_t)count > dev->info.st_size) { in file_write()
126 offset, count, (long long)dev->info.st_size); in file_write()
[all …]
Dflash_mtd.c39 struct mtd_info_user info; member
55 if (ioctl(dev->fd, MEMGETINFO, &dev->info)) { in mtd_open()
60 if (dev->info.type != MTD_NORFLASH) { in mtd_open()
61 ALOGE("Unsupported MTD device type: %d\n", dev->info.type); in mtd_open()
66 path, dev->info.size, dev->info.erasesize, dev->info.writesize); in mtd_open()
166 return dev && dev->fd > 0 ? dev->info.size : 0; in mtd_get_size()
173 return dev && dev->fd > 0 ? dev->info.writesize : 0; in mtd_get_write_size()
180 return dev && dev->fd > 0 ? dev->info.erasesize : 0; in mtd_get_erase_size()
Dflash_ec.c54 struct ec_response_flash_info_1 info; member
111 &dev->info, sizeof(dev->info)); in ec_open()
127 path, dev->info.flash_size, dev->info.erase_block_size, in ec_open()
128 dev->info.write_ideal_size); in ec_open()
181 uint32_t write_size = dev->info.write_ideal_size; in ec_write()
228 return dev && dev->fd > 0 ? dev->info.flash_size : 0; in ec_get_size()
235 return dev && dev->fd > 0 ? dev->info.write_ideal_size : 0; in ec_get_write_size()
242 return dev && dev->fd > 0 ? dev->info.erase_block_size : 0; in ec_get_erase_size()
/device/generic/goldfish/opengl/
Dcommon.mk134 $(info Unknown imported emugles module: $1)\
139 $(info Please one of the following names: $(_names))\
163 $(foreach _list_item,$(strip $1),$(info . $(_list_item)))
166 $(info MODULE=$(_emugl_MODULE))\
167 $(info . HOST=$(_emugl_HOST))\
168 $(info . TYPE=$(_emugl.$(_emugl_MODULE).type))\
169 $(info . IMPORTS=$(_emugl.$(_emugl_MODULE).imports))\
172 $(info . EXPORT.$(_type) :=)\
174 $(info . LOCAL_$(_type) :=)\
177 $(info . EXPORT.$(_type) := $(strip $(_emugl.$(_emugl_MODULE).export.$(_type))))\
[all …]
/device/asus/fugu/libaudio/
DAudioHotplugThread.cpp197 DeviceInfo* info) in getDeviceInfo() argument
223 info->pcmCard = pcmCard; in getDeviceInfo()
224 info->pcmDevice = pcmDevice; in getDeviceInfo()
226 &info->minSampleBits, &info->maxSampleBits); in getDeviceInfo()
228 &info->minChannelCount, &info->maxChannelCount); in getDeviceInfo()
230 &info->minSampleRate, &info->maxSampleRate); in getDeviceInfo()
233 info->forVoiceRecognition = false; in getDeviceInfo()
239 info->forVoiceRecognition = true; in getDeviceInfo()
/device/generic/goldfish/camera/
DEmulatedBaseCamera.cpp58 status_t EmulatedBaseCamera::getCameraInfo(struct camera_info* info) in getCameraInfo() argument
62 info->device_version = mCameraDeviceVersion; in getCameraInfo()
64 info->static_camera_characteristics = mCameraInfo; in getCameraInfo()
66 info->static_camera_characteristics = (camera_metadata_t*)0xcafef00d; in getCameraInfo()
/device/google/contexthub/firmware/src/platform/stm32f4xx/
DeeData.c34 uint32_t info = *p++; in eeFind() local
35 uint32_t name = info & EE_DATA_NAME_MAX; in eeFind()
36 uint32_t sz = info / (EE_DATA_NAME_MAX + 1); in eeFind()
114 uint32_t sz, effectiveSz, info = name + len * (EE_DATA_NAME_MAX + 1); in eeDataSet() local
134 ret = eeWrite(((uint32_t*)space) - 1, &info, sizeof(info)) && ret; in eeDataSet()
/device/moto/shamu/camera/QCamera2/
DQCamera2Factory.cpp61 camera_info info; in QCamera2Factory() local
85 getCameraInfo(i, &info); in QCamera2Factory()
146 int QCamera2Factory::get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
148 return gQCamera2Factory->getCameraInfo(camera_id, info); in get_camera_info()
230 int QCamera2Factory::getCameraInfo(int camera_id, struct camera_info *info) in getCameraInfo() argument
235 if (!mNumOfCameras || camera_id >= mNumOfCameras || !info || in getCameraInfo()
246 rc = QCamera3HardwareInterface::getCamInfo(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
248 rc = QCamera2HardwareInterface::getCapabilities(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
DQCamera2Factory.h51 static int get_camera_info(int camera_id, struct camera_info *info);
59 int getCameraInfo(int camera_id, struct camera_info *info);
/device/lge/bullhead/camera/QCamera2/
DQCamera2Factory.cpp61 camera_info info; in QCamera2Factory() local
84 getCameraInfo(i, &info); in QCamera2Factory()
145 int QCamera2Factory::get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
147 return gQCamera2Factory->getCameraInfo(camera_id, info); in get_camera_info()
238 int QCamera2Factory::getCameraInfo(int camera_id, struct camera_info *info) in getCameraInfo() argument
243 if (!mNumOfCameras || camera_id >= mNumOfCameras || !info || in getCameraInfo()
254 rc = QCamera3HardwareInterface::getCamInfo(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
256 rc = QCamera2HardwareInterface::getCapabilities(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
DQCamera2Factory.h51 static int get_camera_info(int camera_id, struct camera_info *info);
59 int getCameraInfo(int camera_id, struct camera_info *info);
/device/huawei/angler/camera/QCamera2/
DQCamera2Factory.cpp61 camera_info info; in QCamera2Factory() local
84 getCameraInfo(i, &info); in QCamera2Factory()
145 int QCamera2Factory::get_camera_info(int camera_id, struct camera_info *info) in get_camera_info() argument
147 return gQCamera2Factory->getCameraInfo(camera_id, info); in get_camera_info()
238 int QCamera2Factory::getCameraInfo(int camera_id, struct camera_info *info) in getCameraInfo() argument
243 if (!mNumOfCameras || camera_id >= mNumOfCameras || !info || in getCameraInfo()
254 rc = QCamera3HardwareInterface::getCamInfo(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
256 rc = QCamera2HardwareInterface::getCapabilities(mHalDescriptors[camera_id].cameraId, info); in getCameraInfo()
DQCamera2Factory.h51 static int get_camera_info(int camera_id, struct camera_info *info);
59 int getCameraInfo(int camera_id, struct camera_info *info);
/device/google/contexthub/contexthubhal/
Dsystem_comms.cpp61 static void readNanohubAppInfo(MessageBuf &buf, NanohubAppInfo &info) { in readNanohubAppInfo() argument
63 readAppName(buf, info.name); in readNanohubAppInfo()
64 info.version = buf.readU32(); in readNanohubAppInfo()
65 info.flashUse = buf.readU32(); in readNanohubAppInfo()
66 info.ramUse = buf.readU32(); in readNanohubAppInfo()
67 if ((buf.getPos() - pos) != sizeof(info)) { in readNanohubAppInfo()
151 NanohubAppInfo info; in handleRx() local
152 readNanohubAppInfo(buf, info); in handleRx()
155 if (info.flashUse != NANOHUB_MEM_SZ_UNKNOWN) { in handleRx()
158 range.total_bytes = info.flashUse; in handleRx()
[all …]
/device/google/contexthub/util/nanotool/
Dnanomessage.cpp38 info = *source; in Populate()
52 info.hardware_type, in ToString()
53 info.hardware_version, in ToString()
54 info.bootloader_version, in ToString()
55 info.operating_system_version, in ToString()
56 info.variant_version); in ToString()
/device/sample/apps/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java68 NetworkInfo info = cm.getActiveNetworkInfo(); in getConnectedResId() local
71 if (info == null || !info.isAvailable() || !info.isConnected()) { in getConnectedResId()
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraHAL.h33 extern "C" status_t getStaticInfo(camera_metadata_t **info,
36 camera_metadata_t **info, bool sizeRequest);

12345