Home
last modified time | relevance | path

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

12

/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc74 bool bool_value = true; in TEST() local
75 ASSERT_TRUE(policy.GetGuestModeEnabled(&bool_value)); in TEST()
76 ASSERT_FALSE(bool_value); in TEST()
78 bool_value = true; in TEST()
79 ASSERT_TRUE(policy.GetCameraEnabled(&bool_value)); in TEST()
80 ASSERT_FALSE(bool_value); in TEST()
82 bool_value = true; in TEST()
83 ASSERT_TRUE(policy.GetShowUserNames(&bool_value)); in TEST()
84 ASSERT_FALSE(bool_value); in TEST()
86 bool_value = true; in TEST()
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_param_writer_unittest.cc59 bool bool_value = false; in TEST() local
64 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
68 EXPECT_TRUE(bool_value); in TEST()
118 bool bool_value = false; in TEST() local
123 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
127 EXPECT_TRUE(bool_value); in TEST()
177 bool bool_value = false; in TEST() local
182 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
186 EXPECT_TRUE(bool_value); in TEST()
Ddata_serialization_unittest.cc156 bool bool_value = false; in TEST() local
158 EXPECT_FALSE(PopValueFromReader(&reader, &bool_value)); in TEST()
190 bool bool_value = false; in TEST() local
204 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
218 EXPECT_TRUE(bool_value); in TEST()
286 bool bool_value = true; in TEST() local
302 EXPECT_TRUE(PopVariantValueFromReader(&reader, &bool_value)); in TEST()
318 EXPECT_FALSE(bool_value); in TEST()
351 Any bool_value; in TEST() local
365 EXPECT_TRUE(PopValueFromReader(&reader, &bool_value)); in TEST()
[all …]
/external/libchrome/base/json/
Djson_reader_unittest.cc323 bool bool_value = false; in TEST() local
324 EXPECT_TRUE(tmp_value->GetAsBoolean(&bool_value)); in TEST()
325 EXPECT_TRUE(bool_value); in TEST()
395 bool bool_value = true; in TEST() local
396 EXPECT_TRUE(dict_val->GetBoolean("false", &bool_value)); in TEST()
397 EXPECT_FALSE(bool_value); in TEST()
555 bool bool_value; in TEST() local
556 EXPECT_TRUE(root->GetAsBoolean(&bool_value)); in TEST()
557 EXPECT_TRUE(bool_value); in TEST()
Djson_parser_unittest.cc101 bool bool_value = false; in TEST_F() local
102 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
103 EXPECT_TRUE(bool_value); in TEST_F()
114 EXPECT_TRUE(value->GetAsBoolean(&bool_value)); in TEST_F()
115 EXPECT_FALSE(bool_value); in TEST_F()
Djson_value_serializer_unittest.cc233 bool bool_value = false; in TEST() local
234 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST()
235 ASSERT_TRUE(bool_value); in TEST()
432 bool bool_value = false; in TEST_F() local
433 ASSERT_TRUE(root_dict->GetBoolean("bool", &bool_value)); in TEST_F()
434 ASSERT_TRUE(bool_value); in TEST_F()
/external/libchrome/base/trace_event/
Dtrace_event_argument.cc253 bool bool_value; in SetBaseValueWithCopiedName() local
254 value.GetAsBoolean(&bool_value); in SetBaseValueWithCopiedName()
255 SetBooleanWithCopiedName(name, bool_value); in SetBaseValueWithCopiedName()
307 bool bool_value; in AppendBaseValue() local
308 value.GetAsBoolean(&bool_value); in AppendBaseValue()
309 AppendBoolean(bool_value); in AppendBaseValue()
Dtrace_event_argument_unittest.cc101 FundamentalValue bool_value(true); in TEST() local
/external/libchrome/dbus/
Dvalues_util.cc223 bool bool_value = false; in AppendBasicTypeValueData() local
224 bool success = value.GetAsBoolean(&bool_value); in AppendBasicTypeValueData()
226 writer->AppendBool(bool_value); in AppendBasicTypeValueData()
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_extra_interfaces.proto51 optional bool bool_value = 2; field
60 optional bool bool_value = 1; field
/external/protobuf/src/google/protobuf/util/
Djson_format_proto3.proto53 bool bool_value = 1; field
114 google.protobuf.BoolValue bool_value = 1; field
170 bool bool_value = 1; field
Dtype_resolver_util_test.cc136 BoolValue bool_value; in HasBoolOption() local
137 if (option.value().UnpackTo(&bool_value) && in HasBoolOption()
138 bool_value.value() == value) { in HasBoolOption()
/external/protobuf/gtest/include/gtest/internal/
Dgtest-port.h1236 template <bool bool_value>
1238 typedef bool_constant<bool_value> type;
1239 static const bool value = bool_value;
1241 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1467 template <bool bool_value>
1469 typedef bool_constant<bool_value> type;
1470 static const bool value = bool_value;
1472 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-port.h1475 template <bool bool_value>
1477 typedef bool_constant<bool_value> type;
1478 static const bool value = bool_value;
1480 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/libchrome/base/
Dvalues_unittest.cc72 bool bool_value = false; in TEST() local
81 ASSERT_FALSE(mixed_list->GetBoolean(1, &bool_value)); in TEST()
82 ASSERT_FALSE(bool_value); in TEST()
87 ASSERT_FALSE(mixed_list->GetBoolean(3, &bool_value)); in TEST()
88 ASSERT_FALSE(bool_value); in TEST()
90 ASSERT_TRUE(mixed_list->GetBoolean(0, &bool_value)); in TEST()
91 ASSERT_TRUE(bool_value); in TEST()
877 FundamentalValue bool_value(false); in TEST() local
885 main_dict.Set("bool", bool_value.CreateDeepCopy()); in TEST()
893 main_list.Append(bool_value.CreateDeepCopy()); in TEST()
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-port.h1610 template <bool bool_value>
1612 typedef bool_constant<bool_value> type;
1613 static const bool value = bool_value;
1615 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-port.h1518 template <bool bool_value>
1520 typedef bool_constant<bool_value> type;
1521 static const bool value = bool_value;
1523 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py66 message.bool_value = True
330 message.bool_value.value = False
394 message.repeated_value.add().bool_value = False
419 message.value.values.add().bool_value = True
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-port.h1885 template <bool bool_value>
1887 typedef bool_constant<bool_value> type;
1888 static const bool value = bool_value;
1890 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_dict_helpers.h125 dbus_bool_t bool_value; member
/external/googletest/googletest/include/gtest/internal/
Dgtest-port.h2233 template <bool bool_value>
2235 typedef bool_constant<bool_value> type;
2236 static const bool value = bool_value;
2238 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/v8/testing/gtest/include/gtest/internal/
Dgtest-port.h2206 template <bool bool_value>
2208 typedef bool_constant<bool_value> type;
2209 static const bool value = bool_value;
2211 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-port.h2202 template <bool bool_value>
2204 typedef bool_constant<bool_value> type;
2205 static const bool value = bool_value;
2207 template <bool bool_value> const bool bool_constant<bool_value>::value;
/external/protobuf/src/google/protobuf/util/internal/testdata/
Ddefault_value_test.proto43 bool bool_value = 13; field

12