Home
last modified time | relevance | path

Searched refs:GetVar (Results 1 – 15 of 15) sorted by relevance

/aosp12/system/core/fastboot/fuzzy_fastboot/
H A Dmain.cpp273 TEST_F(Conformance, GetVar) { in TEST_F() argument
284 EXPECT_EQ(fb->GetVar("version-bootloader", &var), SUCCESS) in TEST_F()
312 EXPECT_EQ(fb->GetVar("secure", &var), SUCCESS); in TEST_F()
379 if (SUCCESS != fb->GetVar("max-fetch-size", &var)) { in TEST_F()
433 EXPECT_EQ(fb->GetVar(cmd, &resp), SUCCESS); in TEST_F()
678 if (fb->GetVar("max-fetch-size", &var) != SUCCESS) { in TEST_F()
825 EXPECT_EQ(fb->GetVar("product", &resp), SUCCESS) in TEST_F()
917 EXPECT_EQ(fb->GetVar("product", &resp), SUCCESS) in TEST_F()
936 EXPECT_EQ(fb->GetVar("product", &resp), SUCCESS) in TEST_F()
991 EXPECT_EQ(fb->GetVar("product", &resp), SUCCESS) in TEST_F()
[all …]
H A Dfixtures.cpp101 fb->GetVar("is-userspace", &value); in UserSpaceFastboot()
148 fb->GetVar("current-slot", &initial_slot); in SetUp()
256 EXPECT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()
267 ASSERT_EQ(fb->GetVar("unlocked", &resp), SUCCESS) << "getvar:unlocked failed"; in SetLockState()
296 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()
301 if (fb->GetVar("product", &tmp) != SUCCESS) { in TearDown()
326 ASSERT_EQ(fb->GetVar("slot-count", &var), SUCCESS) << "Getting slot count failed"; in SetUp()
330 ASSERT_EQ(fb->GetVar("partition-size:" + real_parts.front(), &var), SUCCESS) in SetUp()
335 ASSERT_EQ(fb->GetVar("max-download-size", &var), SUCCESS) << "Getting max download size failed"; in SetUp()
H A Dextensions.h54 struct GetVar { struct
60 friend ::std::ostream& operator<<(::std::ostream& os, const GetVar& self) {
120 std::unordered_map<std::string, GetVar> getvars;
H A Dfixtures.h103 std::pair<std::string, extension::Configuration::GetVar>> {};
H A Dextensions.cpp205 Configuration::GetVar getvar{reg, MakeRegex(reg, var->GetLineNum()), var->GetLineNum()}; in ExtractGetVars()
/aosp12/system/core/fastboot/
H A Dfastboot.cpp705 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement()
786 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists()
805 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements()
842 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError()
881 if (fb->GetVar(var_name, &value_str) != fastboot::SUCCESS || value_str.empty()) { in get_uint_var()
1144 if (fb->GetVar("current-slot", &current_slot) != fastboot::SUCCESS) return ""; in get_current_slot()
1152 if (fb->GetVar("slot-count", &var) != fastboot::SUCCESS || in get_slot_count()
1230 if (fb->GetVar("has-slot:" + part_tokens[0], &has_slot) != fastboot::SUCCESS) { in do_for_partition()
1284 if (fb->GetVar("super-partition-name", &value) != fastboot::SUCCESS) { in is_retrofit_device()
1387 return fb->GetVar("is-userspace", &value) == fastboot::SUCCESS && value == "yes"; in is_userspace_fastboot()
[all …]
H A Dfastboot_driver.cpp99 RetCode FastBootDriver::GetVar(const std::string& key, std::string* val, in GetVar() function in fastboot::FastBootDriver
106 return GetVar("all", &tmp, response); in GetVarAll()
H A Dfastboot_driver.h97 RetCode GetVar(const std::string& key, std::string* val,
/aosp12/art/test/1914-get-local-instance/src/art/
H A DTest1914.java71 public Object GetVar(Thread t, int depth); in GetVar() method
78 Object res = get.GetVar(t, depth); in NamedGet()
/aosp12/art/test/1939-proxy-frames/src/art/
H A DTest1939.java44 public Object GetVar(Thread t, int depth); in GetVar() method
61 Object res = get.GetVar(t, depth); in NamedGet()
/aosp12/art/test/1965-get-set-local-primitive-no-tables/src/art/
H A DTest1965.java54 public static interface GetterFunction { public Object GetVar(Thread t, int depth, int slot); } in GetVar() method
78 Object res = get.GetVar(t, depth, slot);
/aosp12/art/test/1966-get-set-local-objects-no-table/src/art/
H A DTest1966.java99 public static interface GetterFunction { public Object GetVar(Thread t, int depth, int slot); } in GetVar() method
123 Object res = get.GetVar(t, depth, slot);
/aosp12/art/test/1967-get-set-local-bad-slot/src/art/
H A DTest1967.java67 public Object GetVar(Thread t, int depth, int slot); in GetVar() method
99 Object res = get.GetVar(t, depth, real_slot);
/aosp12/art/test/1913-get-set-local-objects/src/art/
H A DTest1913.java137 public static interface GetterFunction { public Object GetVar(Thread t, int depth, int slot); } in GetVar() method
161 Object res = get.GetVar(t, depth, desc.slot);
/aosp12/art/test/1912-get-set-local-primitive/src/art/
H A DTest1912.java107 public static interface GetterFunction { public Object GetVar(Thread t, int depth, int slot); } in GetVar() method
131 Object res = get.GetVar(t, depth, desc.slot);