Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 25 of 133) sorted by relevance

123456

/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DNormalization.cpp39 .constructor = softmaxConstructor}; in DEFINE_OPERATION_SIGNATURE()
49 .constructor = softmaxConstructor}; in DEFINE_OPERATION_SIGNATURE()
58 .constructor = softmaxConstructor}; in DEFINE_OPERATION_SIGNATURE()
70 .constructor = softmaxConstructor}; in DEFINE_OPERATION_SIGNATURE()
79 .constructor = softmaxConstructor}; in DEFINE_OPERATION_SIGNATURE()
89 .constructor = softmaxConstructor}; in DEFINE_OPERATION_SIGNATURE()
109 .constructor = l2normConstructor}; in DEFINE_OPERATION_SIGNATURE()
118 .constructor = l2normConstructor}; in DEFINE_OPERATION_SIGNATURE()
128 .constructor = l2normConstructor}; in DEFINE_OPERATION_SIGNATURE()
138 .constructor = l2normConstructor}; in DEFINE_OPERATION_SIGNATURE()
[all …]
DConcatSplit.cpp56 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
69 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
81 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
94 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
105 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
117 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
154 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
167 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
179 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
191 .constructor = [](TestOperandType, uint32_t rank, RandomOperation* op) { in DEFINE_OPERATION_SIGNATURE()
DOperationSignatureUtils.h313 .type = RandomOperandType::INPUT, .constructor = defaultOperandConstructor, \
321 .type = RandomOperandType::INPUT, .constructor = defaultScalarOperandConstructor, \
330 .constructor = [](TestOperandType, uint32_t rank, \
342 .constructor = \
372 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { \
386 .constructor = [](TestOperandType dataType, uint32_t, RandomOperand* op) { \
399 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { \
410 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { op->dataType = opType; } \
417 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { op->dataType = opType; } \
424 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { \
[all …]
DReshape.cpp58 .constructor = spaceToDepthConstructor};
74 .constructor = spaceToDepthConstructor};
114 .constructor = depthToSpaceConstructor};
130 .constructor = depthToSpaceConstructor};
162 .constructor = reshapeConstructor};
202 .constructor = batchToSpaceConstructor};
220 .constructor = batchToSpaceConstructor};
262 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { in __anon0a84149d0102()
280 .constructor = spaceToBatchConstructor};
299 .constructor = spaceToBatchConstructor};
[all …]
DResize.cpp81 .constructor = resizeOpConstructor};
98 .constructor = resizeOpConstructor}; \
108 .constructor = resizeOpConstructor};
130 .constructor = resizeOpConstructor}; \
142 .constructor = resizeOpConstructor};
DFullyConnected.cpp57 .constructor = std::bind(fullyConnectedConstructor, _1, _2, TestHalVersion::V1_0, _3)}; in DEFINE_OPERATION_SIGNATURE()
68 .constructor = std::bind(fullyConnectedConstructor, _1, _2, TestHalVersion::V1_2, _3)}; in DEFINE_OPERATION_SIGNATURE()
78 .constructor = std::bind(fullyConnectedConstructor, _1, _2, TestHalVersion::V1_3, _3)}; in DEFINE_OPERATION_SIGNATURE()
DElementwise.cpp63 .constructor = elementwiseOpConstructor};
91 .constructor = elementwiseOpConstructor};
120 .constructor = sameDimensionOpConstructor};
155 .constructor = castingOpConstructor};
188 .constructor = castingOpConstructor};
222 .constructor = sameDimensionOpConstructor}; in DEFINE_OPERATION_SIGNATURE()
DSelection.cpp55 .constructor = embeddingLookupConstructor, \
97 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { in __anonbfbd3ebb0102()
112 .constructor = hashtableLookupConstructor, in DEFINE_OPERATION_SIGNATURE()
158 .constructor = gatherConstructor, \
182 .constructor = selectConstructor};
219 .constructor = topKConstructor};
259 .constructor = sliceConstructor, \
358 .constructor = stridedSliceConstructor, in DEFINE_OPERATION_SIGNATURE()
372 .constructor = stridedSliceConstructor, in DEFINE_OPERATION_SIGNATURE()
386 .constructor = stridedSliceConstructor, in DEFINE_OPERATION_SIGNATURE()
DConvolutions.cpp150 .constructor = std::bind(conv2DExplicitConstructor, _1, _2, TestHalVersion::ver, _3)}; \
167 .constructor = std::bind(conv2DImplicitConstructor, _1, _2, TestHalVersion::ver, _3)};
196 .constructor = std::bind(conv2DExplicitConstructor, _1, _2, TestHalVersion::ver, _3)}; \
214 .constructor = std::bind(conv2DImplicitConstructor, _1, _2, TestHalVersion::ver, _3)}; \
237 .constructor = std::bind(conv2DExplicitConstructor, _1, _2, TestHalVersion::ver, _3)}; \
257 .constructor = std::bind(conv2DImplicitConstructor, _1, _2, TestHalVersion::ver, _3)};
392 .constructor = std::bind(depthwiseConv2DExplicitConstructor, _1, _2, \
411 .constructor = std::bind(depthwiseConv2DImplicitConstructor, _1, _2, \
442 .constructor = std::bind(depthwiseConv2DExplicitConstructor, _1, _2, \
462 .constructor = std::bind(depthwiseConv2DImplicitConstructor, _1, _2, \
[all …]
DBoundingBox.cpp36 .constructor = roiTensorConstructor};
38 .constructor = roiTensorConstructor};
146 .constructor = roiConstructor, \
171 .constructor = roiConstructor, \
229 .constructor = heatmapMaxKeypointConstructor, \
DPoolings.cpp121 .constructor = poolingExplicitOpConstructor}; \
138 .constructor = poolingImplicitOpConstructor};
171 .constructor = poolingExplicitOpConstructor}; \
189 .constructor = poolingImplicitOpConstructor};
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DDrawableInflater_Delegate.java39 Constructor<? extends Drawable> constructor; in inflateFromClass() local
41 constructor = CONSTRUCTOR_MAP.get(className); in inflateFromClass()
42 if (constructor == null) { in inflateFromClass()
46 constructor = clazz.getConstructor(); in inflateFromClass()
47 CONSTRUCTOR_MAP.put(className, constructor); in inflateFromClass()
50 return constructor.newInstance(); in inflateFromClass()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DReflectionInflater.java87 Constructor<? extends T> constructor = in createItem() local
91 if (constructor == null) { in createItem()
96 constructor = clazz.getConstructor(CONSTRUCTOR_SIGNATURE); in createItem()
97 constructor.setAccessible(true); in createItem()
98 constructorMap.put(tagName, constructor); in createItem()
103 final T item = constructor.newInstance(tempConstructorArgs); in createItem()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawableInflater.java200 Constructor<? extends Drawable> constructor; in inflateFromClass() local
202 constructor = CONSTRUCTOR_MAP.get(className); in inflateFromClass()
203 if (constructor == null) { in inflateFromClass()
206 constructor = clazz.getConstructor(); in inflateFromClass()
207 CONSTRUCTOR_MAP.put(className, constructor); in inflateFromClass()
210 return constructor.newInstance(); in inflateFromClass()
/frameworks/base/core/jni/
Dandroid_view_VerifiedMotionEvent.cpp28 jmethodID constructor; member
35 gVerifiedMotionEventClassInfo.constructor, event.deviceId, in android_view_VerifiedMotionEvent()
45 gVerifiedMotionEventClassInfo.constructor = in register_android_view_VerifiedMotionEvent()
Dandroid_view_VerifiedKeyEvent.cpp28 jmethodID constructor; member
34 return env->NewObject(gVerifiedKeyEventClassInfo.clazz, gVerifiedKeyEventClassInfo.constructor, in android_view_VerifiedKeyEvent()
44 gVerifiedKeyEventClassInfo.constructor = in register_android_view_VerifiedKeyEvent()
Dandroid_os_HidlMemory.cpp32 jmethodID constructor; // HidlMemory(String, long, NativeHandle) member
92 gFields.constructor, in toJava()
144 gFields.constructor = GetMethodIDOrDie(env, in register_android_os_HidlMemory()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteLayoutlibCallbackAdapter.java73 Constructor<?> constructor = null; in createNewInstance() local
76 constructor = clazz.getConstructor(constructorSignature); in createNewInstance()
118 constructor = clazz.getConstructor(constructorSignature); in createNewInstance()
119 if (constructor != null) { in createNewInstance()
138 if (constructor == null) { in createNewInstance()
143 constructor.setAccessible(true); in createNewInstance()
144 return constructor.newInstance(constructorParameters); in createNewInstance()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DTestUtils.java30 final Constructor<SensorEvent> constructor = in createSensorEvent() local
32 constructor.setAccessible(true); in createSensorEvent()
33 final SensorEvent event = constructor.newInstance(1); in createSensorEvent()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java88 for (Constructor constructor : constructors) { in instantiateTest()
89 Class[] params = constructor.getParameterTypes(); in instantiateTest()
91 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); in instantiateTest()
97 return ((Constructor<? extends TestCase>) constructor) in instantiateTest()
/frameworks/base/core/java/android/preference/
DGenericInflater.java377 Constructor constructor = (Constructor) sConstructorMap.get(name); in createItem() local
380 if (null == constructor) { in createItem()
385 constructor = clazz.getConstructor(mConstructorSignature); in createItem()
386 constructor.setAccessible(true); in createItem()
387 sConstructorMap.put(name, constructor); in createItem()
392 return (T) constructor.newInstance(args); in createItem()
409 + constructor.getClass().getName()); in createItem()
/frameworks/base/test-base/src/junit/framework/
DTestSuite.java52 Constructor<?> constructor; in createTest() local
54 constructor= getTestConstructor(theClass); in createTest()
60 if (constructor.getParameterTypes().length == 0) { in createTest()
61 test= constructor.newInstance(new Object[0]); in createTest()
65 test= constructor.newInstance(new Object[]{name}); in createTest()
/frameworks/base/core/java/android/transition/
DTransitionInflater.java208 Constructor constructor = sConstructors.get(className); in createCustom() local
209 if (constructor == null) { in createCustom()
213 constructor = c.getConstructor(sConstructorSignature); in createCustom()
214 constructor.setAccessible(true); in createCustom()
215 sConstructors.put(className, constructor); in createCustom()
218 return constructor.newInstance(mContext, attrs); in createCustom()
/frameworks/ml/nn/runtime/test/fuzzing/
DOperationManager.h41 std::function<void(test_helper::TestOperandType, uint32_t, RandomOperand*)> constructor = member
84 std::function<void(test_helper::TestOperandType, uint32_t, RandomOperation*)> constructor = member
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java50 Constructor constructor = clazz.getDeclaredConstructor(paramType); in createNewInstance() local
51 constructor.setAccessible(true); in createNewInstance()
53 return constructor.newInstance(params); in createNewInstance()

123456