/system/core/fs_mgr/liblp/ |
D | partition_opener.cpp | 65 bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device_info) { in GetBlockDeviceInfo() argument 72 if (!GetDescriptorSize(fd, &device_info->size)) { in GetBlockDeviceInfo() 75 if (ioctl(fd, BLKIOMIN, &device_info->alignment) < 0) { in GetBlockDeviceInfo() 97 device_info->alignment_offset = static_cast<uint32_t>(alignment_offset); in GetBlockDeviceInfo() 98 device_info->logical_block_size = static_cast<uint32_t>(logical_block_size); in GetBlockDeviceInfo() 99 device_info->partition_name = android::base::Basename(block_device); in GetBlockDeviceInfo() 103 (void)device_info; in GetBlockDeviceInfo()
|
D | builder_test.cpp | 162 BlockDeviceInfo device_info("super", 1024 * 1024, 768 * 1024, 0, 4096); in TEST_F() local 163 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(device_info, 1024, 2); in TEST_F() 172 device_info.alignment_offset = 753664; in TEST_F() 173 builder = MetadataBuilder::New(device_info, 1024, 2); in TEST_F() 182 device_info.alignment = 0; in TEST_F() 183 builder = MetadataBuilder::New(device_info, 1024, 2); in TEST_F() 187 device_info.alignment = 12 * 1024; in TEST_F() 188 device_info.alignment_offset = 3 * 1024; in TEST_F() 189 builder = MetadataBuilder::New(device_info, 16 * 1024, 2); in TEST_F() 198 device_info.alignment = 11 * 1024; in TEST_F() [all …]
|
D | device_test.cpp | 47 BlockDeviceInfo device_info; in TEST_F() local 48 ASSERT_TRUE(opener.GetInfo(fs_mgr_get_super_partition_name(), &device_info)); in TEST_F() 52 EXPECT_EQ(device_info.alignment % LP_SECTOR_SIZE, 0); in TEST_F() 53 EXPECT_EQ(device_info.logical_block_size % LP_SECTOR_SIZE, 0); in TEST_F()
|
D | builder.cpp | 208 BlockDeviceInfo device_info; in New() local 209 if (opener->GetInfo(partition_name, &device_info)) { in New() 210 builder->UpdateBlockDeviceInfo(i, device_info); in New() 360 static bool VerifyDeviceProperties(const BlockDeviceInfo& device_info) { in VerifyDeviceProperties() argument 361 if (device_info.logical_block_size == 0) { in VerifyDeviceProperties() 362 LERROR << "Block device " << device_info.partition_name in VerifyDeviceProperties() 366 if (device_info.logical_block_size % LP_SECTOR_SIZE != 0) { in VerifyDeviceProperties() 367 LERROR << "Block device " << device_info.partition_name in VerifyDeviceProperties() 371 if (device_info.size % device_info.logical_block_size != 0) { in VerifyDeviceProperties() 372 LERROR << "Block device " << device_info.partition_name in VerifyDeviceProperties() [all …]
|
D | io_test.cpp | 600 BlockDeviceInfo device_info("super", kDiskSize, 0, 0, 512); in TEST_F() local 602 MetadataBuilder::New(device_info, kMetadataSize, kMetadataSlots); in TEST_F()
|
/system/teeui/test/ |
D | teeui_device_config.cpp | 80 DeviceInfo* device_info_ptr = &TeeuiRenderTest::Instance()->device_info; in runRenderTest() 120 device_info.width_ = strtol(optarg, NULL, 10); in initFromOptions() 123 device_info.height_ = strtol(optarg, NULL, 10); in initFromOptions() 126 device_info.dp2px_ = strtod(optarg, NULL); in initFromOptions() 129 device_info.mm2px_ = strtod(optarg, NULL); in initFromOptions() 132 device_info.powerButtonTopMm_ = strtod(optarg, NULL); in initFromOptions() 135 device_info.powerButtonBottomMm_ = strtod(optarg, NULL); in initFromOptions() 138 device_info.volUpButtonTopMm_ = strtod(optarg, NULL); in initFromOptions() 141 device_info.volUpButtonBottomMm_ = strtod(optarg, NULL); in initFromOptions()
|
D | teeui_device_config.h | 38 example::DeviceInfo device_info = {
|
/system/update_engine/common/ |
D | test_utils.cc | 114 struct loop_info64 device_info {}; in SetLoopDeviceStatus() struct 115 device_info.lo_offset = 0; in SetLoopDeviceStatus() 116 device_info.lo_sizelimit = 0; // 0 means whole file. in SetLoopDeviceStatus() 117 device_info.lo_flags = (writable ? 0 : LO_FLAGS_READ_ONLY); in SetLoopDeviceStatus() 118 device_info.lo_number = loop_number; in SetLoopDeviceStatus() 119 strncpy(reinterpret_cast<char*>(device_info.lo_file_name), in SetLoopDeviceStatus() 122 device_info.lo_file_name[LO_NAME_SIZE - 1] = '\0'; in SetLoopDeviceStatus() 124 ioctl(loop_device_fd, LOOP_SET_STATUS64, &device_info) == 0); in SetLoopDeviceStatus() 162 struct loop_info64 device_info; in BindToUnusedLoopDeviceLegacy() local 163 if (ioctl(loop_device_fd, LOOP_GET_STATUS64, &device_info) != -1 || in BindToUnusedLoopDeviceLegacy() [all …]
|
/system/teeui/libteeui_jni/ |
D | libteeui_jni.cpp | 141 DeviceInfo device_info; in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() local 142 device_info.width_ = env->CallIntMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 144 device_info.height_ = env->CallIntMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 146 device_info.dp2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 148 device_info.mm2px_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 150 device_info.powerButtonTopMm_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 152 device_info.powerButtonBottomMm_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 154 device_info.volUpButtonTopMm_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 156 device_info.volUpButtonBottomMm_ = env->CallDoubleMethod(jDeviceInfo, method); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo() 160 return sCurrentExample->setDeviceInfo(device_info, magnified, inverted); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
|
/system/core/fs_mgr/libfiemap/ |
D | passthrough.cpp | 24 const DeviceInfo& device_info) { in Open() argument 26 return ImageManager::Open(dir_prefix, device_info); in Open()
|
D | metadata.cpp | 77 BlockDeviceInfo device_info; in OpenOrCreateMetadata() local 78 if (!opener.GetInfo(data_device, &device_info)) { in OpenOrCreateMetadata() 83 std::vector<BlockDeviceInfo> block_devices = {device_info}; in OpenOrCreateMetadata()
|
D | image_manager.cpp | 59 const DeviceInfo& device_info) { in Open() argument 67 return Open(metadata_dir, data_dir, device_info); in Open() 72 const DeviceInfo& device_info) { in Open() argument 73 return std::unique_ptr<ImageManager>(new ImageManager(metadata_dir, data_dir, device_info)); in Open() 77 const DeviceInfo& device_info) in ImageManager() argument 78 : metadata_dir_(metadata_dir), data_dir_(data_dir), device_info_(device_info) { in ImageManager()
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | image_manager.h | 51 const DeviceInfo& device_info = {}); 142 const DeviceInfo& device_info = {}); 147 const DeviceInfo& device_info = {}); 183 const DeviceInfo& device_info);
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 247 static std::unique_ptr<MetadataBuilder> New(const BlockDeviceInfo& device_info, in New() argument 250 return New({device_info}, device_info.partition_name, metadata_max_size, in New() 258 BlockDeviceInfo device_info(LP_METADATA_DEFAULT_PARTITION_NAME, blockdev_size, 0, 0, in New() 260 return New(device_info, metadata_max_size, metadata_slot_count); in New() 429 bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device_info);
|
/system/teeui/libteeui/example/ |
D | phys_button_example.cpp | 57 uint32_t setDeviceInfo(DeviceInfo device_info, bool magnified, bool inverted = false) override; 97 uint32_t GUIStatePhysButtons::setDeviceInfo(DeviceInfo device_info, bool magnified, bool inverted) { in setDeviceInfo() argument 99 instantiateLayout(ConfUILayout(), setLayoutParams(device_info, magnified, inverted)); in setDeviceInfo()
|
D | touch_button_example.cpp | 79 uint32_t setDeviceInfo(DeviceInfo device_info, bool magnified, bool inverted = false) override; 125 uint32_t GUIStateTouch::setDeviceInfo(DeviceInfo device_info, bool magnified, bool inverted) { in setDeviceInfo() argument 127 instantiateLayout(ConfUILayout(), setLayoutParams(device_info, magnified, inverted)); in setDeviceInfo()
|
/system/core/fs_mgr/libsnapshot/ |
D | device_info.cpp | 132 android::fiemap::ImageManager::DeviceInfo device_info = { in OpenImageManager() local 135 return android::fiemap::ImageManager::Open(gsid_dir, device_info); in OpenImageManager()
|
D | Android.bp | 86 "device_info.cpp",
|
/system/memory/libmemtrack/include/memtrack/ |
D | memtrack.h | 157 std::vector<aidl::android::hardware::memtrack::DeviceInfo>* device_info);
|
/system/memory/libmemtrack/ |
D | memtrack.cpp | 67 bool memtrack_gpu_device_info(std::vector<DeviceInfo>* device_info) { in memtrack_gpu_device_info() argument 73 auto status = memtrack_proxy_service->getGpuDeviceInfo(device_info); in memtrack_gpu_device_info()
|
/system/keymint/wire/src/ |
D | rpc.rs | 70 pub device_info: Vec<u8>, field
|
/system/keymint/hal/src/ |
D | rpc.rs | 73 *deviceInfo = rsp.device_info.innto(); in generateCertificateRequest()
|
/system/update_engine/aosp/ |
D | dynamic_partition_control_android_unittest.cc | 431 auto device_info = in TEST_P() local 433 ASSERT_TRUE(device_info.has_value()); in TEST_P() 434 ASSERT_EQ(device_info->readonly_device_path, device); in TEST_P() 473 auto device_info = in TEST_P() local 475 ASSERT_TRUE(device_info.has_value()); in TEST_P() 478 ASSERT_EQ(device_info->readonly_device_path, in TEST_P()
|
/system/keymint/common/ |
D | generated.cddl | 258 device_info: bstr, 539 device_info: DeviceInfo,
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 482 std::vector<uint8_t> device_info = device_info_map->encode(); in GenerateCsr() local 483 response->device_info_blob = KeymasterBlob(device_info.data(), device_info.size()); in GenerateCsr()
|