/frameworks/base/tools/aapt2/ |
D | Resource_test.cpp | 24 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/ |
D | type_resolver_util_test.cc | 70 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/ |
D | TypeReference.java | 89 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/ |
D | UidHealthStats.java | 34 @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/ |
D | SettingsProviderTest.java | 254 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/ |
D | mobilenet_224_gender_basic_fixed_relaxed.model.cpp | 7 .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 …]
|
D | mobilenet_224_gender_basic_fixed.model.cpp | 7 .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 …]
|
D | bbox_graph.model.cpp | 7 .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 …]
|
D | concat_zero_sized.model.cpp | 7 .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 …]
|
D | avg_pool_v1_2.model.cpp | 7 .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 …]
|
D | l2_pool_v1_2.model.cpp | 7 .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 …]
|
D | layer_norm_lstm.model.cpp | 7 .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 …]
|
D | roi_align.model.cpp | 7 .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 …]
|
D | unidirectional_sequence_lstm_layer_norm_cifg_peephole.model.cpp | 7 .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 …]
|
D | fully_connected_v1_2.model.cpp | 7 .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 …]
|
D | max_pool_v1_2.model.cpp | 7 .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 …]
|
D | mul_v1_2.model.cpp | 7 .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 …]
|
D | add_v1_2.model.cpp | 7 .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 …]
|
D | conv2d_dilation.model.cpp | 7 .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 …]
|
D | resize_bilinear_v1_2.model.cpp | 7 .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 …]
|
D | bidirectional_sequence_lstm_cifg_peephole.model.cpp | 7 .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 …]
|
D | bidirectional_sequence_lstm_float16_batch_major.model.cpp | 7 .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 …]
|
D | bidirectional_sequence_lstm_norm_fw_output.model.cpp | 7 .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/ |
D | TiffEntry.cpp | 37 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/ |
D | ResourceUtils_test.cpp | 24 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 …]
|