Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 2910) sorted by relevance

12345678910>>...117

/frameworks/base/tools/aapt2/
DResource_test.cpp24 const ResourceType* type = ParseResourceType("anim"); in TEST() local
25 ASSERT_NE(type, nullptr); in TEST()
26 EXPECT_EQ(*type, ResourceType::kAnim); in TEST()
28 type = ParseResourceType("animator"); in TEST()
29 ASSERT_NE(type, nullptr); in TEST()
30 EXPECT_EQ(*type, ResourceType::kAnimator); in TEST()
32 type = ParseResourceType("array"); in TEST()
33 ASSERT_NE(type, nullptr); in TEST()
34 EXPECT_EQ(*type, ResourceType::kArray); in TEST()
36 type = ParseResourceType("attr"); in TEST()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtype_resolver_util_test.cc70 const Field* FindField(const Type& type, const string& name) { in FindField() argument
71 for (int i = 0; i < type.fields_size(); ++i) { in FindField()
72 const Field& field = type.fields(i); in FindField()
80 bool HasField(const Type& type, const string& name) { in HasField() argument
81 return FindField(type, name) != NULL; in HasField()
84 bool HasField(const Type& type, Field::Cardinality cardinality, in HasField() argument
86 const Field* field = FindField(type, name); in HasField()
94 bool CheckFieldTypeUrl(const Type& type, const string& name, in CheckFieldTypeUrl() argument
96 const Field* field = FindField(type, name); in CheckFieldTypeUrl()
103 bool FieldInOneof(const Type& type, const string& name, in FieldInOneof() argument
[all …]
/frameworks/base/core/java/android/hardware/camera2/utils/
DTypeReference.java89 private TypeReference(Type type) { in TypeReference() argument
90 mType = type; in TypeReference()
106 public SpecializedBaseTypeReference(Type type) { in SpecializedBaseTypeReference() argument
107 super(type); in SpecializedBaseTypeReference()
142 public static TypeReference<?> createSpecializedTypeReference(Type type) { in createSpecializedTypeReference() argument
143 return new SpecializedBaseTypeReference(type); in createSpecializedTypeReference()
165 private static final Class<?> getRawType(Type type) { in getRawType() argument
166 if (type == null) { in getRawType()
170 if (type instanceof Class<?>) { in getRawType()
171 return (Class<?>)type; in getRawType()
[all …]
/frameworks/base/core/java/android/os/health/
DUidHealthStats.java34 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
41 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
48 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
55 @HealthKeys.Constant(type=HealthKeys.TYPE_MEASUREMENT)
63 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
71 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
74 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
82 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
89 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
96 @HealthKeys.Constant(type=HealthKeys.TYPE_TIMERS)
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java254 private void testResetModePackageDefaultsCommon(int type) throws Exception { in testResetModePackageDefaultsCommon() argument
256 setSettingViaShell(type, FAKE_SETTING_NAME, null, true); in testResetModePackageDefaultsCommon()
259 setSettingViaShell(type, FAKE_SETTING_NAME, in testResetModePackageDefaultsCommon()
263 resetToDefaultsViaShell(type, "com.android.shell"); in testResetModePackageDefaultsCommon()
264 resetToDefaultsViaShell(type, "root"); in testResetModePackageDefaultsCommon()
267 assertNull(getSetting(type, FAKE_SETTING_NAME)); in testResetModePackageDefaultsCommon()
270 setSettingViaShell(type, FAKE_SETTING_NAME, in testResetModePackageDefaultsCommon()
273 setSettingViaShell(type, FAKE_SETTING_NAME, in testResetModePackageDefaultsCommon()
277 resetToDefaultsViaShell(type, "com.android.shell"); in testResetModePackageDefaultsCommon()
278 resetToDefaultsViaShell(type, "root"); in testResetModePackageDefaultsCommon()
[all …]
/frameworks/ml/nn/runtime/test/generated/vts_models/
Dmobilenet_224_gender_basic_fixed_relaxed.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
34 .type = OperandType::INT32, in createTestModel()
43 .type = OperandType::INT32, in createTestModel()
52 .type = OperandType::INT32, in createTestModel()
61 .type = OperandType::INT32, in createTestModel()
70 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
79 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
[all …]
Dmobilenet_224_gender_basic_fixed.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
34 .type = OperandType::INT32, in createTestModel()
43 .type = OperandType::INT32, in createTestModel()
52 .type = OperandType::INT32, in createTestModel()
61 .type = OperandType::INT32, in createTestModel()
70 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
79 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
[all …]
Dbbox_graph.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized()
34 .type = OperandType::TENSOR_FLOAT32, in createTestModel_zero_sized()
43 .type = OperandType::FLOAT32, in createTestModel_zero_sized()
52 .type = OperandType::FLOAT32, in createTestModel_zero_sized()
61 .type = OperandType::INT32, in createTestModel_zero_sized()
70 .type = OperandType::INT32, in createTestModel_zero_sized()
79 .type = OperandType::FLOAT32, in createTestModel_zero_sized()
88 .type = OperandType::FLOAT32, in createTestModel_zero_sized()
[all …]
Dconcat_zero_sized.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_INT32, in createTestModel()
34 .type = OperandType::FLOAT32, in createTestModel()
43 .type = OperandType::INT32, in createTestModel()
52 .type = OperandType::INT32, in createTestModel()
61 .type = OperandType::FLOAT32, in createTestModel()
70 .type = OperandType::FLOAT32, in createTestModel()
79 .type = OperandType::FLOAT32, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
[all …]
Davg_pool_v1_2.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
16 .type = OperandType::INT32, in createTestModel_nhwc()
25 .type = OperandType::INT32, in createTestModel_nhwc()
34 .type = OperandType::INT32, in createTestModel_nhwc()
43 .type = OperandType::INT32, in createTestModel_nhwc()
52 .type = OperandType::INT32, in createTestModel_nhwc()
61 .type = OperandType::INT32, in createTestModel_nhwc()
70 .type = OperandType::INT32, in createTestModel_nhwc()
79 .type = OperandType::INT32, in createTestModel_nhwc()
88 .type = OperandType::INT32, in createTestModel_nhwc()
[all …]
Dl2_pool_v1_2.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
16 .type = OperandType::INT32, in createTestModel_nhwc()
25 .type = OperandType::INT32, in createTestModel_nhwc()
34 .type = OperandType::INT32, in createTestModel_nhwc()
43 .type = OperandType::INT32, in createTestModel_nhwc()
52 .type = OperandType::INT32, in createTestModel_nhwc()
61 .type = OperandType::INT32, in createTestModel_nhwc()
70 .type = OperandType::INT32, in createTestModel_nhwc()
79 .type = OperandType::INT32, in createTestModel_nhwc()
88 .type = OperandType::INT32, in createTestModel_nhwc()
[all …]
Dlayer_norm_lstm.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
34 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
43 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
52 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
61 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
70 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
79 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
[all …]
Droi_align.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
25 .type = OperandType::TENSOR_INT32, in createTestModel_nhwc()
34 .type = OperandType::INT32, in createTestModel_nhwc()
43 .type = OperandType::INT32, in createTestModel_nhwc()
52 .type = OperandType::FLOAT32, in createTestModel_nhwc()
61 .type = OperandType::FLOAT32, in createTestModel_nhwc()
70 .type = OperandType::INT32, in createTestModel_nhwc()
79 .type = OperandType::INT32, in createTestModel_nhwc()
88 .type = OperandType::BOOL, in createTestModel_nhwc()
[all …]
Dunidirectional_sequence_lstm_layer_norm_cifg_peephole.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
34 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
43 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
52 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
61 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
70 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
79 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
[all …]
Dfully_connected_v1_2.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
34 .type = OperandType::INT32, in createTestModel()
43 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
55 .type = OperationType::FULLY_CONNECTED, in createTestModel()
87 .type = OperandType::TENSOR_FLOAT32, in createTestModel_relaxed()
96 .type = OperandType::TENSOR_FLOAT32, in createTestModel_relaxed()
105 .type = OperandType::TENSOR_FLOAT32, in createTestModel_relaxed()
114 .type = OperandType::INT32, in createTestModel_relaxed()
[all …]
Dmax_pool_v1_2.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
16 .type = OperandType::INT32, in createTestModel_nhwc()
25 .type = OperandType::INT32, in createTestModel_nhwc()
34 .type = OperandType::INT32, in createTestModel_nhwc()
43 .type = OperandType::INT32, in createTestModel_nhwc()
52 .type = OperandType::INT32, in createTestModel_nhwc()
61 .type = OperandType::INT32, in createTestModel_nhwc()
70 .type = OperandType::INT32, in createTestModel_nhwc()
79 .type = OperandType::INT32, in createTestModel_nhwc()
88 .type = OperandType::INT32, in createTestModel_nhwc()
[all …]
Dmul_v1_2.model.cpp7 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
25 .type = OperandType::INT32, in createTestModel()
34 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
46 .type = OperationType::MUL, in createTestModel()
78 .type = OperandType::TENSOR_FLOAT16, in createTestModel_dynamic_output_shape()
87 .type = OperandType::TENSOR_FLOAT16, in createTestModel_dynamic_output_shape()
96 .type = OperandType::INT32, in createTestModel_dynamic_output_shape()
105 .type = OperandType::TENSOR_FLOAT16, in createTestModel_dynamic_output_shape()
117 .type = OperationType::MUL, in createTestModel_dynamic_output_shape()
[all …]
Dadd_v1_2.model.cpp7 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
25 .type = OperandType::INT32, in createTestModel()
34 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
46 .type = OperationType::ADD, in createTestModel()
78 .type = OperandType::TENSOR_FLOAT16, in createTestModel_dynamic_output_shape()
87 .type = OperandType::TENSOR_FLOAT16, in createTestModel_dynamic_output_shape()
96 .type = OperandType::INT32, in createTestModel_dynamic_output_shape()
105 .type = OperandType::TENSOR_FLOAT16, in createTestModel_dynamic_output_shape()
117 .type = OperationType::ADD, in createTestModel_dynamic_output_shape()
[all …]
Dconv2d_dilation.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel_nhwc()
34 .type = OperandType::INT32, in createTestModel_nhwc()
43 .type = OperandType::INT32, in createTestModel_nhwc()
52 .type = OperandType::INT32, in createTestModel_nhwc()
61 .type = OperandType::INT32, in createTestModel_nhwc()
70 .type = OperandType::INT32, in createTestModel_nhwc()
79 .type = OperandType::INT32, in createTestModel_nhwc()
88 .type = OperandType::INT32, in createTestModel_nhwc()
[all …]
Dresize_bilinear_v1_2.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel_shape_nhwc()
16 .type = OperandType::INT32, in createTestModel_shape_nhwc()
25 .type = OperandType::INT32, in createTestModel_shape_nhwc()
34 .type = OperandType::BOOL, in createTestModel_shape_nhwc()
43 .type = OperandType::TENSOR_FLOAT32, in createTestModel_shape_nhwc()
55 .type = OperationType::RESIZE_BILINEAR, in createTestModel_shape_nhwc()
87 .type = OperandType::TENSOR_FLOAT32, in createTestModel_shape_nhwc_relaxed()
96 .type = OperandType::INT32, in createTestModel_shape_nhwc_relaxed()
105 .type = OperandType::INT32, in createTestModel_shape_nhwc_relaxed()
114 .type = OperandType::BOOL, in createTestModel_shape_nhwc_relaxed()
[all …]
Dbidirectional_sequence_lstm_cifg_peephole.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
34 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
43 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
52 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
61 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
70 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
79 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_float16_batch_major.model.cpp7 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
34 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
43 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
52 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
61 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
70 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
79 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT16, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_norm_fw_output.model.cpp7 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
16 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
25 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
34 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
43 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
52 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
61 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
70 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
79 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
88 .type = OperandType::TENSOR_FLOAT32, in createTestModel()
[all …]
/frameworks/av/media/img_utils/src/
DTiffEntry.cpp37 const sp<TiffIfd>* TiffEntry::forceValidType<sp<TiffIfd> >(TagType type, const sp<TiffIfd>* value) { in forceValidType() argument
38 if (type == LONG) { in forceValidType()
42 __FUNCTION__, type); in forceValidType()
47 const uint8_t* TiffEntry::forceValidType<uint8_t>(TagType type, const uint8_t* value) { in forceValidType() argument
48 if (type == BYTE || type == ASCII || type == UNDEFINED) { in forceValidType()
52 __FUNCTION__, type); in forceValidType()
57 const int8_t* TiffEntry::forceValidType<int8_t>(TagType type, const int8_t* value) { in forceValidType() argument
58 if (type == SBYTE || type == ASCII || type == UNDEFINED) { in forceValidType()
62 __FUNCTION__, type); in forceValidType()
67 const uint16_t* TiffEntry::forceValidType<uint16_t>(TagType type, const uint16_t* value) { in forceValidType() argument
[all …]
/frameworks/base/libs/androidfw/tests/
DResourceUtils_test.cpp24 StringPiece package, type, entry; in TEST() local
25 ASSERT_TRUE(ExtractResourceName("android:string/foo", &package, &type, &entry)); in TEST()
27 EXPECT_EQ("string", type); in TEST()
30 ASSERT_TRUE(ExtractResourceName("@android:string/foo", &package, &type, &entry)); in TEST()
32 EXPECT_EQ("string", type); in TEST()
35 ASSERT_TRUE(ExtractResourceName("string/foo", &package, &type, &entry)); in TEST()
37 EXPECT_EQ("string", type); in TEST()
40 ASSERT_TRUE(ExtractResourceName("@string/foo", &package, &type, &entry)); in TEST()
42 EXPECT_EQ("string", type); in TEST()
45 ASSERT_TRUE(ExtractResourceName("foo", &package, &type, &entry)); in TEST()
[all …]

12345678910>>...117