Home
last modified time | relevance | path

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

12

/aosp12/system/update_engine/payload_generator/
H A Dpayload_generation_config.cc123 if (!store.GetBoolean("RUN_POSTINSTALL_" + part.name, &run_postinstall) || in LoadPostInstallConfig()
131 store.GetBoolean("POSTINSTALL_OPTIONAL_" + part.name, in LoadPostInstallConfig()
178 store.GetBoolean("virtual_ab", &snapshot_enabled); in LoadDynamicPartitionMetadata()
181 if (store.GetBoolean("virtual_ab_compression", &vabc_enabled) && in LoadDynamicPartitionMetadata()
/aosp12/system/update_engine/update_manager/
H A Devaluation_context_unittest.cc60 bool GetBoolean(bool* value) { in GetBoolean() function
266 Bind(&GetBoolean, &value)); in TEST_F()
283 Bind(&GetBoolean, &value)); in TEST_F()
327 Bind(&GetBoolean, &done)); in TEST_F()
358 Bind(&GetBoolean, &value)); in TEST_F()
H A Dreal_updater_provider.cc320 if (prefs->Exists(key_) && !prefs->GetBoolean(key_, &result)) in OnPrefSet()
/aosp12/system/update_engine/common/
H A Dprefs_unittest.cc346 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
354 EXPECT_TRUE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
362 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
369 EXPECT_FALSE(prefs_.GetBoolean(kKey, &value)); in TEST_F()
374 EXPECT_FALSE(prefs_.GetBoolean("random-key", &value)); in TEST_F()
H A Dmock_prefs.h38 MOCK_CONST_METHOD2(GetBoolean, bool(const std::string& key, bool* value));
H A Dprefs_interface.h69 virtual bool GetBoolean(const std::string& key, bool* value) const = 0;
H A Dfake_prefs.h47 bool GetBoolean(const std::string& key, bool* value) const override;
H A Dprefs.h73 bool GetBoolean(const std::string& key, bool* value) const override;
H A Dfake_prefs.cc84 bool FakePrefs::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::FakePrefs
H A Dprefs.cc82 bool PrefsBase::GetBoolean(const string& key, bool* value) const { in GetBoolean() function in chromeos_update_engine::PrefsBase
/aosp12/system/update_engine/cros/
H A Dcommon_service.cc266 !prefs->GetBoolean(kPrefsP2PEnabled, &p2p_pref)) { in GetP2PUpdatePermission()
351 if (!prefs->GetBoolean(kPrefsUpdateOverCellularPermission, &is_allowed)) { in GetUpdateOverCellularPermission()
H A Dimage_properties_chromeos.cc134 if (!lsb_release.GetBoolean(kLsbReleaseIsPowerwashAllowedKey, in LoadMutableImageProperties()
H A Dhardware_chromeos.cc303 if (!store.GetBoolean(kConfigOptsIsOOBEEnabled, &is_oobe_enabled_)) in LoadConfig()
H A Dpayload_state.cc716 if (!prefs_->GetBoolean(kPrefsAttemptInProgress, &attempt_in_progress)) in ReportAndClearPersistedAttemptMetrics()
1117 powerwash_safe_prefs_->GetBoolean(kPrefsRollbackHappened, &rollback_happened); in LoadRollbackHappened()
H A Dpayload_state_unittest.cc997 EXPECT_CALL(*mock_powerwash_safe_prefs, GetBoolean(kPrefsRollbackHappened, _)) in TEST_F()
1162 EXPECT_CALL(*prefs, GetBoolean(_, _)).Times(0); in TEST_F()
1163 EXPECT_CALL(*prefs, GetBoolean(kPrefsAttemptInProgress, _)); in TEST_F()
/aosp12/art/dexlayout/
H A Ddex_verify.cc699 if (orig->GetBoolean() != output->GetBoolean()) { in VerifyEncodedValue()
703 orig->GetBoolean(), in VerifyEncodedValue()
704 output->GetBoolean()); in VerifyEncodedValue()
/aosp12/art/runtime/
H A Dtransaction_test.cc187 ASSERT_EQ(booleanField->GetBoolean(h_klass.Get()), false); in TEST_F()
252 EXPECT_EQ(booleanField->GetBoolean(h_klass.Get()), false); in TEST_F()
287 ASSERT_EQ(booleanField->GetBoolean(h_instance.Get()), false); in TEST_F()
352 EXPECT_EQ(booleanField->GetBoolean(h_instance.Get()), false); in TEST_F()
H A Dcommon_dex_operations.h125 result->SetZ(field->GetBoolean(obj)); in DoFieldGetCommon()
H A Dart_field.h112 uint8_t GetBoolean(ObjPtr<mirror::Object> object) REQUIRES_SHARED(Locks::mutator_lock_);
H A Dreflection.cc296 DO_FIRST_ARG("Ljava/lang/Boolean;", GetBoolean, Append) in BuildArgArrayFromObjectArray()
958 boxed_value.SetZ(primitive_field->GetBoolean(o)); in UnboxPrimitive()
H A Dart_field-inl.h151 inline uint8_t ArtField::GetBoolean(ObjPtr<mirror::Object> object) { in GetBoolean() function
/aosp12/art/openjdkjvmti/
H A Dti_threadgroup.cc152 info_ptr->is_daemon = daemon_field->GetBoolean(obj.Get()) == 0 ? JNI_FALSE : JNI_TRUE; in GetThreadGroupInfo()
H A Dti_thread.cc354 info_ptr->is_daemon = f->GetBoolean(peer) == 0 ? JNI_FALSE : JNI_TRUE; in GetThreadInfo()
622 bool started = started_field->GetBoolean(peer.Get()) != 0; in GetThreadState()
/aosp12/art/runtime/hprof/
H A Dhprof.cc1348 __ AddU1(field.GetBoolean(klass)); in DumpHeapClass()
1498 __ AddU1(f->GetBoolean(obj)); in DumpHeapInstanceObject()
/aosp12/system/update_engine/aosp/
H A Dupdate_attempter_android.cc259 if (prefs_->GetBoolean(kPrefsVerityWritten, &verity_written) && in ApplyPayload()

12