Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dasn1_decoder.cpp76 int type = get_byte(); in asn1_constructed_get() local
77 if (type == -1 || (type & kMaskConstructed) != kTagConstructed) { in asn1_constructed_get()
85 app_ctx->app_type_ = type & kMaskAppType; in asn1_constructed_get()
Dinstall.cpp111 static std::string OtaTypeToString(OtaType type) { in OtaTypeToString() argument
112 switch (type) { in OtaTypeToString()
/bootable/recovery/updater_sample/tools/
Dgen_update_config.py130 type=str,
145 type=str,
148 type=str,
151 type=str,
/bootable/recovery/tests/unit/
Dcommands_test.cpp199 ASSERT_EQ(Command::Type::BSDIFF, command.type()); in TEST()
219 ASSERT_EQ(Command::Type::ERASE, command.type()); in TEST()
235 ASSERT_EQ(Command::Type::FREE, command.type()); in TEST()
256 ASSERT_EQ(Command::Type::IMGDIFF, command.type()); in TEST()
278 ASSERT_EQ(Command::Type::MOVE, command.type()); in TEST()
298 ASSERT_EQ(Command::Type::NEW, command.type()); in TEST()
314 ASSERT_EQ(Command::Type::STASH, command.type()); in TEST()
330 ASSERT_EQ(Command::Type::ZERO, command.type()); in TEST()
346 ASSERT_EQ(Command::Type::COMPUTE_HASH_TREE, command.type()); in TEST()
519 ASSERT_EQ(Command::Type::STASH, transfer_list.commands()[0].type()); in TEST()
[all …]
/bootable/recovery/applypatch/
Dimgpatch.cpp165 int type = Read4(patch_header + pos); in ApplyImagePatch() local
168 if (type == CHUNK_NORMAL) { in ApplyImagePatch()
190 } else if (type == CHUNK_RAW) { in ApplyImagePatch()
211 } else if (type == CHUNK_DEFLATE) { in ApplyImagePatch()
287 printf("patch chunk %d is unknown type %d\n", i, type); in ApplyImagePatch()
Dimgdiff.cpp258 ImageChunk::ImageChunk(int type, size_t start, const std::vector<uint8_t>* file_content, in ImageChunk() argument
260 : type_(type), in ImageChunk()
614 std::string type = is_source_ ? "source" : "target"; in DumpChunks() local
615 LOG(INFO) << "Dumping chunks for " << type; in DumpChunks()
Dapplypatch.cpp336 if (patch.type != Value::Type::BLOB) { in GenerateTarget()
/bootable/recovery/edify/include/edify/
Dexpr.h62 Value(Type type, const std::string& str) : type(type), data(str) {} in Value()
64 Type type; member
/bootable/recovery/otautil/
Dparse_install_logs.cpp109 int type = (android::base::GetProperty("ro.build.type", "") == "user") ? 1 : 0; in ParseLastInstall() local
110 metrics.emplace(OTA_SIDELOAD_METRICS, type); in ParseLastInstall()
/bootable/recovery/updater/include/private/
Dcommands.h305 Command(Type type, size_t index, std::string cmdline, PatchInfo patch, TargetInfo target, in Command() argument
307 : type_(type), in Command()
315 Command(Type type, size_t index, std::string cmdline, HashTreeInfo hash_tree_info);
325 Type type() const { in type() function
/bootable/recovery/recovery_ui/
Dui.cpp250 if (ev.type == EV_SYN) { in OnInputEvent()
266 if (ev.type == EV_REL) { in OnInputEvent()
287 if (touch_screen_allowed_ && ev.type == EV_ABS) { in OnInputEvent()
313 if (ev.type == EV_KEY && ev.code <= KEY_MAX) { in OnInputEvent()
Dscreen_ui.cpp972 void ScreenRecoveryUI::SetProgressType(ProgressType type) { in SetProgressType() argument
974 if (progressBarType != type) { in SetProgressType()
975 progressBarType = type; in SetProgressType()
/bootable/recovery/minui/
Dgraphics_drm.cpp206 static drmModeConnector* find_used_connector_by_type(int fd, drmModeRes* resources, unsigned type) { in find_used_connector_by_type() argument
210 if ((connector->connector_type == type) && (connector->connection == DRM_MODE_CONNECTED) && in find_used_connector_by_type()
261 if (main_monitor_connector->modes[modes].type & DRM_MODE_TYPE_PREFERRED) { in FindMainMonitor()
/bootable/recovery/edify/
Dparser.yy67 %type <expr> expr
68 %type <args> arglist
Dexpr.cpp54 if (v->type != Value::Type::STRING) { in Evaluate()
55 ErrorAbort(state, kArgsParsingFailure, "expecting string, got value type %d", v->type); in Evaluate()
/bootable/recovery/update_verifier/
DAndroid.bp57 type: "lite",
/bootable/recovery/updater/
Dcommands.cpp40 Command::Command(Type type, size_t index, std::string cmdline, HashTreeInfo hash_tree_info) in Command() argument
41 : type_(type), in Command()
45 CHECK(type == Type::COMPUTE_HASH_TREE); in Command()
Ddynamic_partitions.cpp79 if (args[i]->type != Value::Type::STRING) { in ReadStringArgs()
347 if (op_list_value->type != Value::Type::BLOB) { in UpdateDynamicPartitionsFn()
Dblockimg.cpp1654 if (blockdev_filename->type != Value::Type::STRING) { in PerformBlockImageUpdate()
1658 if (transfer_list_value->type != Value::Type::BLOB) { in PerformBlockImageUpdate()
1662 if (new_data_fn->type != Value::Type::STRING) { in PerformBlockImageUpdate()
1666 if (patch_data_fn->type != Value::Type::STRING) { in PerformBlockImageUpdate()
2073 if (blockdev_filename->type != Value::Type::STRING) { in RangeSha1Fn()
2077 if (ranges->type != Value::Type::STRING) { in RangeSha1Fn()
2141 if (arg_filename->type != Value::Type::STRING) { in CheckFirstBlockFn()
2198 if (filename->type != Value::Type::STRING) { in BlockImageRecoverFn()
2202 if (ranges->type != Value::Type::STRING) { in BlockImageRecoverFn()
Dinstall.cpp269 if (!ReadValueArgs(state, argv, &values, 2, 1) || values[0]->type != Value::Type::BLOB) { in PatchPartitionFn()
/bootable/recovery/tests/component/
Dimgdiff_test.cpp57 int type = get_unaligned<int32_t>(data + pos); in verify_patch_header() local
59 if (type == CHUNK_NORMAL) { in verify_patch_header()
63 } else if (type == CHUNK_RAW) { in verify_patch_header()
70 } else if (type == CHUNK_DEFLATE) { in verify_patch_header()
75 FAIL() << "Invalid patch type: " << type; in verify_patch_header()
Dupdater_test.cpp154 if (args[0]->type != Value::Type::BLOB) { in BlobToString()
158 args[0]->type = Value::Type::STRING; in BlobToString()
/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h41 ImageChunk(int type, size_t start, const std::vector<uint8_t>* file_content, size_t raw_data_len,
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h208 void SetProgressType(ProgressType type) override;
/bootable/recovery/fonts/
DOFL.txt24 however, cannot be released under any other type of license. The