Home
last modified time | relevance | path

Searched refs:isValid (Results 1 – 25 of 850) sorted by relevance

12345678910>>...34

/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp77 EXPECT_TRUE(child->isValid()); in TEST()
78 EXPECT_TRUE(parent->isValid()); in TEST()
84 EXPECT_TRUE(child->isValid()); in TEST()
85 EXPECT_TRUE(parent->isValid()); in TEST()
93 EXPECT_TRUE(child->isValid()); in TEST()
94 EXPECT_TRUE(parent->isValid()); in TEST()
100 EXPECT_FALSE(child->isValid()); in TEST()
101 EXPECT_TRUE(parent->isValid()); in TEST()
109 EXPECT_TRUE(child->isValid()); in TEST()
117 EXPECT_TRUE(child->isValid()); in TEST()
[all …]
/frameworks/ml/nn/runtime/test/
DTestWrapper.cpp39 ASSERT_TRUE(mModel.isValid()); in TEST_F()
41 ASSERT_TRUE(mModel.isValid()); in TEST_F()
43 ASSERT_TRUE(mModel.isValid()); in TEST_F()
47 ASSERT_TRUE(mModel.isValid()); in TEST_F()
52 ASSERT_FALSE(mModel.isValid()); in TEST_F()
54 ASSERT_FALSE(mModel.isValid()); in TEST_F()
58 ASSERT_TRUE(mModel.isValid()); in TEST_F()
60 ASSERT_TRUE(mModel.isValid()); in TEST_F()
62 ASSERT_TRUE(mModel.isValid()); in TEST_F()
66 ASSERT_FALSE(mModel.isValid()); in TEST_F()
/frameworks/base/drm/java/android/drm/
DDrmStore.java140 /* package */ static boolean isValid(int playbackStatus) { in isValid() method in DrmStore.Playback
141 boolean isValid = false; in isValid()
148 isValid = true; in isValid()
150 return isValid; in isValid()
197 /* package */ static boolean isValid(int action) { in isValid() method in DrmStore.Action
198 boolean isValid = false; in isValid()
209 isValid = true; in isValid()
211 return isValid; in isValid()
DDrmInfoRequest.java70 if (!isValid()) { in DrmInfoRequest()
144 boolean isValid() { in isValid() method in DrmInfoRequest
150 boolean isValid = false; in isValidType()
157 isValid = true; in isValidType()
160 return isValid; in isValidType()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEntry.java103 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, in RecipientEntry() argument
107 true /* shouldDisplayIcon */, isFirstLevel, isValid, lookupKey, permissions); in RecipientEntry()
113 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) { in RecipientEntry() argument
126 mIsValid = isValid; in RecipientEntry()
135 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid, in RecipientEntry() argument
138 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, in RecipientEntry()
142 public boolean isValid() { in isValid() method in RecipientEntry
159 public static RecipientEntry constructFakeEntry(final String address, final boolean isValid) { in constructFakeEntry() argument
165 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */); in constructFakeEntry()
172 final boolean isValid) { in constructFakePhoneEntry() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java42 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload")); in testIsValid()
43 assertFalse(FieldMaskUtil.isValid(NestedTestAllTypes.class, "nonexist")); in testIsValid()
44 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.optional_int32")); in testIsValid()
45 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.repeated_int32")); in testIsValid()
46 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.optional_nested_message")); in testIsValid()
47 assertTrue(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.repeated_nested_message")); in testIsValid()
48 assertFalse(FieldMaskUtil.isValid(NestedTestAllTypes.class, "payload.nonexist")); in testIsValid()
51 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("payload"))); in testIsValid()
53 FieldMaskUtil.isValid(NestedTestAllTypes.class, FieldMaskUtil.fromString("nonexist"))); in testIsValid()
55 FieldMaskUtil.isValid( in testIsValid()
[all …]
/frameworks/native/libs/ui/tests/
DSize_test.cpp58 EXPECT_FALSE(s.isValid()); in TEST()
64 EXPECT_FALSE(s.isValid()); in TEST()
70 EXPECT_FALSE(s.isValid()); in TEST()
76 EXPECT_FALSE(s.isValid()); in TEST()
82 EXPECT_FALSE(s.isValid()); in TEST()
88 EXPECT_FALSE(s.isValid()); in TEST()
95 EXPECT_FALSE(s.isValid()); in TEST()
101 EXPECT_TRUE(s.isValid()); in TEST()
107 EXPECT_TRUE(s.isValid()); in TEST()
114 EXPECT_TRUE(s.isValid()); in TEST()
[all …]
DBufferHubMetadata_test.cpp29 EXPECT_FALSE(m1.isValid()); in TEST_F()
34 EXPECT_TRUE(m1.isValid()); in TEST_F()
40 EXPECT_TRUE(m1.isValid()); in TEST_F()
48 EXPECT_TRUE(m1.isValid()); in TEST_F()
56 EXPECT_TRUE(m2.isValid()); in TEST_F()
67 EXPECT_TRUE(m1.isValid()); in TEST_F()
/frameworks/ml/nn/runtime/test/generated/models/
Dcast.model.cpp14 assert(model->isValid()); in CreateModel()
34 assert(model->isValid()); in CreateModel_dynamic_output_shape()
54 assert(model->isValid()); in CreateModel_2()
76 assert(model->isValid()); in CreateModel_relaxed()
96 assert(model->isValid()); in CreateModel_dynamic_output_shape_2()
118 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
138 assert(model->isValid()); in CreateModel_3()
158 assert(model->isValid()); in CreateModel_dynamic_output_shape_3()
178 assert(model->isValid()); in CreateModel_4()
198 assert(model->isValid()); in CreateModel_dynamic_output_shape_4()
[all …]
Dl2_normalization_v1_2.model.cpp14 assert(model->isValid()); in CreateModel_dim4_axis3()
35 assert(model->isValid()); in CreateModel_dim4_axis3_relaxed()
54 assert(model->isValid()); in CreateModel_dim4_axis3_float16()
74 assert(model->isValid()); in CreateModel_dim4_axis3_quant8()
93 assert(model->isValid()); in CreateModel_dim3_axis2()
114 assert(model->isValid()); in CreateModel_dim3_axis2_relaxed()
133 assert(model->isValid()); in CreateModel_dim3_axis2_float16()
153 assert(model->isValid()); in CreateModel_dim3_axis2_quant8()
172 assert(model->isValid()); in CreateModel_dim2_axis1()
193 assert(model->isValid()); in CreateModel_dim2_axis1_relaxed()
[all …]
Dequal.model.cpp16 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_int32()
58 assert(model->isValid()); in CreateModel_float16()
81 assert(model->isValid()); in CreateModel_relaxed()
102 assert(model->isValid()); in CreateModel_dynamic_output_shape()
123 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
144 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
167 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
189 assert(model->isValid()); in CreateModel_2()
211 assert(model->isValid()); in CreateModel_int32_2()
[all …]
Dgreater.model.cpp16 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_int32()
58 assert(model->isValid()); in CreateModel_float16()
81 assert(model->isValid()); in CreateModel_relaxed()
102 assert(model->isValid()); in CreateModel_dynamic_output_shape()
123 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
144 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
167 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
189 assert(model->isValid()); in CreateModel_2()
211 assert(model->isValid()); in CreateModel_int32_2()
[all …]
Dless.model.cpp16 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_int32()
58 assert(model->isValid()); in CreateModel_float16()
81 assert(model->isValid()); in CreateModel_relaxed()
102 assert(model->isValid()); in CreateModel_dynamic_output_shape()
123 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
144 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
167 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
189 assert(model->isValid()); in CreateModel_2()
211 assert(model->isValid()); in CreateModel_int32_2()
[all …]
Dnot_equal.model.cpp16 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_int32()
58 assert(model->isValid()); in CreateModel_float16()
81 assert(model->isValid()); in CreateModel_relaxed()
102 assert(model->isValid()); in CreateModel_dynamic_output_shape()
123 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
144 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
167 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
189 assert(model->isValid()); in CreateModel_2()
211 assert(model->isValid()); in CreateModel_int32_2()
[all …]
Dgreater_equal.model.cpp16 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_int32()
58 assert(model->isValid()); in CreateModel_float16()
81 assert(model->isValid()); in CreateModel_relaxed()
102 assert(model->isValid()); in CreateModel_dynamic_output_shape()
123 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
144 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
167 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
189 assert(model->isValid()); in CreateModel_2()
211 assert(model->isValid()); in CreateModel_int32_2()
[all …]
Dless_equal.model.cpp16 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_int32()
58 assert(model->isValid()); in CreateModel_float16()
81 assert(model->isValid()); in CreateModel_relaxed()
102 assert(model->isValid()); in CreateModel_dynamic_output_shape()
123 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
144 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
167 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
189 assert(model->isValid()); in CreateModel_2()
211 assert(model->isValid()); in CreateModel_int32_2()
[all …]
Dl2_normalization_axis.model.cpp18 assert(model->isValid()); in CreateModel_dim4_axis0()
43 assert(model->isValid()); in CreateModel_dim4_axis0_relaxed()
66 assert(model->isValid()); in CreateModel_dim4_axis0_float16()
90 assert(model->isValid()); in CreateModel_dim4_axis0_quant8()
113 assert(model->isValid()); in CreateModel_dim4_axis0_neg()
138 assert(model->isValid()); in CreateModel_dim4_axis0_neg_relaxed()
161 assert(model->isValid()); in CreateModel_dim4_axis0_neg_float16()
185 assert(model->isValid()); in CreateModel_dim4_axis0_neg_quant8()
208 assert(model->isValid()); in CreateModel_dim4_axis1()
233 assert(model->isValid()); in CreateModel_dim4_axis1_relaxed()
[all …]
Dminimum.model.cpp15 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_relaxed()
57 assert(model->isValid()); in CreateModel_float16()
77 assert(model->isValid()); in CreateModel_int32()
99 assert(model->isValid()); in CreateModel_quant8()
120 assert(model->isValid()); in CreateModel_dynamic_output_shape()
143 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
164 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
185 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
207 assert(model->isValid()); in CreateModel_dynamic_output_shape_quant8()
[all …]
Dmaximum.model.cpp15 assert(model->isValid()); in CreateModel()
37 assert(model->isValid()); in CreateModel_relaxed()
57 assert(model->isValid()); in CreateModel_float16()
77 assert(model->isValid()); in CreateModel_int32()
99 assert(model->isValid()); in CreateModel_quant8()
120 assert(model->isValid()); in CreateModel_dynamic_output_shape()
143 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
164 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
185 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
207 assert(model->isValid()); in CreateModel_dynamic_output_shape_quant8()
[all …]
Dexpand_dims.model.cpp19 assert(model->isValid()); in CreateModel()
45 assert(model->isValid()); in CreateModel_relaxed()
69 assert(model->isValid()); in CreateModel_quant8()
93 assert(model->isValid()); in CreateModel_int32()
117 assert(model->isValid()); in CreateModel_float16()
141 assert(model->isValid()); in CreateModel_dynamic_output_shape()
167 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
191 assert(model->isValid()); in CreateModel_dynamic_output_shape_quant8()
215 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
239 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
[all …]
Dpow.model.cpp16 assert(model->isValid()); in CreateModel()
39 assert(model->isValid()); in CreateModel_relaxed()
60 assert(model->isValid()); in CreateModel_float16()
82 assert(model->isValid()); in CreateModel_dynamic_output_shape()
106 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
128 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
150 assert(model->isValid()); in CreateModel_2()
174 assert(model->isValid()); in CreateModel_relaxed_2()
196 assert(model->isValid()); in CreateModel_float16_2()
218 assert(model->isValid()); in CreateModel_dynamic_output_shape_2()
[all …]
Dprelu.model.cpp18 assert(model->isValid()); in CreateModel()
43 assert(model->isValid()); in CreateModel_relaxed()
67 assert(model->isValid()); in CreateModel_quant8()
91 assert(model->isValid()); in CreateModel_quant8_2()
115 assert(model->isValid()); in CreateModel_quant8_3()
139 assert(model->isValid()); in CreateModel_quant8_4()
162 assert(model->isValid()); in CreateModel_float16()
183 assert(model->isValid()); in CreateModel_weight_as_input()
206 assert(model->isValid()); in CreateModel_weight_as_input_relaxed()
228 assert(model->isValid()); in CreateModel_weight_as_input_quant8()
[all …]
Dneg.model.cpp14 assert(model->isValid()); in CreateModel()
35 assert(model->isValid()); in CreateModel_relaxed()
54 assert(model->isValid()); in CreateModel_float16()
73 assert(model->isValid()); in CreateModel_int32()
93 assert(model->isValid()); in CreateModel_dynamic_output_shape()
115 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
135 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
155 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
Dselect_v1_2.model.cpp17 assert(model->isValid()); in CreateModel()
39 assert(model->isValid()); in CreateModel_int32()
61 assert(model->isValid()); in CreateModel_float16()
85 assert(model->isValid()); in CreateModel_relaxed()
109 assert(model->isValid()); in CreateModel_quant8()
132 assert(model->isValid()); in CreateModel_dynamic_output_shape()
155 assert(model->isValid()); in CreateModel_dynamic_output_shape_int32()
178 assert(model->isValid()); in CreateModel_dynamic_output_shape_float16()
203 assert(model->isValid()); in CreateModel_dynamic_output_shape_relaxed()
227 assert(model->isValid()); in CreateModel_dynamic_output_shape_quant8()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DResponderLocationTest.java209 boolean valid = responderLocation.isValid(); in testIfLciOrLcrIsNull()
225 boolean valid = responderLocation.isValid(); in testIfLciOrLcrIsEmpty()
243 boolean valid = responderLocation.isValid(); in testIfLciShortBuffer()
261 boolean valid = responderLocation.isValid(); in testLciValidSubelement()
305 boolean valid = responderLocation.isValid(); in testLciInvalidElement()
325 boolean valid = responderLocation.isValid(); in testSkipLciSubElementUnusedOrUnknown()
345 boolean valid = responderLocation.isValid(); in testInvalidLciSubElementLengthTooSmall()
365 boolean valid = responderLocation.isValid(); in testInvalidLciSubElementLengthTooBig()
384 boolean isValid = responderLocation.isValid(); in testLciValidZBufferSEAfterLci()
392 assertTrue(isValid); in testLciValidZBufferSEAfterLci()
[all …]

12345678910>>...34