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 …]
Dupdater_test.cpp126 if (args[0]->type != Value::Type::BLOB) { in BlobToString()
130 args[0]->type = Value::Type::STRING; in BlobToString()
/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.h63 Value(Type type, const std::string& str) : type(type), data(str) {} in Value()
65 Type type; member
/bootable/recovery/recovery_utils/
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/
Ddynamic_partitions.cpp53 if (args[i]->type != Value::Type::STRING) { in ReadStringArgs()
100 if (op_list_value->type != Value::Type::BLOB) { in UpdateDynamicPartitionsFn()
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()
Dblockimg.cpp1659 if (blockdev_filename->type != Value::Type::STRING) { in PerformBlockImageUpdate()
1663 if (transfer_list_value->type != Value::Type::BLOB) { in PerformBlockImageUpdate()
1667 if (new_data_fn->type != Value::Type::STRING) { in PerformBlockImageUpdate()
1671 if (patch_data_fn->type != Value::Type::STRING) { in PerformBlockImageUpdate()
2082 if (blockdev_filename->type != Value::Type::STRING) { in RangeSha1Fn()
2086 if (ranges->type != Value::Type::STRING) { in RangeSha1Fn()
2157 if (arg_filename->type != Value::Type::STRING) { in CheckFirstBlockFn()
2223 if (filename->type != Value::Type::STRING) { in BlockImageRecoverFn()
2227 if (ranges->type != Value::Type::STRING) { in BlockImageRecoverFn()
Dinstall.cpp264 if (!ReadValueArgs(state, argv, &values, 2, 1) || values[0]->type != Value::Type::BLOB) { in PatchPartitionFn()
/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.cpp249 if (ev.type == EV_SYN) { in OnInputEvent()
265 if (ev.type == EV_REL) { in OnInputEvent()
286 if (touch_screen_allowed_ && ev.type == EV_ABS) { in OnInputEvent()
312 if (ev.type == EV_KEY && ev.code <= KEY_MAX) { in OnInputEvent()
Dscreen_ui.cpp986 void ScreenRecoveryUI::SetProgressType(ProgressType type) { in SetProgressType() argument
988 if (progressBarType != type) { in SetProgressType()
989 progressBarType = type; in SetProgressType()
/bootable/recovery/minui/
Dgraphics_drm.cpp210 static drmModeConnector* find_used_connector_by_type(int fd, drmModeRes* resources, unsigned type) { in find_used_connector_by_type() argument
214 if ((connector->connector_type == type) && (connector->connection == DRM_MODE_CONNECTED) && in find_used_connector_by_type()
265 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/tests/unit/host/
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()
/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/fonts/
DOFL.txt24 however, cannot be released under any other type of license. The
/bootable/recovery/recovery_ui/include/recovery_ui/
Dscreen_ui.h208 void SetProgressType(ProgressType type) override;