Home
last modified time | relevance | path

Searched refs:bools (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java61 final boolean bools[] = { false, true }; in testDrawingForTypicalValues()
63 for (boolean charging : bools) { in testDrawingForTypicalValues()
64 for (boolean saver : bools) { in testDrawingForTypicalValues()
65 for (boolean percent : bools) { in testDrawingForTypicalValues()
/frameworks/native/libs/binder/rust/tests/
Dintegration.rs715 let bools = Bools { binder_died, binder_dealloc }; in register_death_notification() localVariable
717 (bools, death_recipient) in register_death_notification()
730 let (bools, recipient) = register_death_notification(&mut remote); in test_death_notifications()
738 bools.assert_died(); in test_death_notifications()
739 bools.assert_not_dropped(); in test_death_notifications()
743 bools.assert_dropped(); in test_death_notifications()
755 let (bools, mut recipient) = register_death_notification(&mut remote); in test_unregister_death_notifications()
765 assert!(!bools.is_dead(), "Received unexpected death notification after unlinking",); in test_unregister_death_notifications()
767 bools.assert_not_dropped(); in test_unregister_death_notifications()
769 bools.assert_dropped(); in test_unregister_death_notifications()
[all …]
Dserialization.cpp97 vector<bool> bools(begin(TESTDATA_BOOL), end(TESTDATA_BOOL)); in TEST_F() local
100 ASSERT_EQ(data.writeBoolVector(bools), OK); in TEST_F()
111 ASSERT_EQ(read_bools, bools); in TEST_F()
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs1255 let bools = [true, false, false, true]; in test_slice_parcelables() localVariable
1260 assert!(bools.serialize(&mut parcel.borrowed()).is_ok()); in test_slice_parcelables()