Home
last modified time | relevance | path

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

1234

/packages/modules/NeuralNetworks/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 …]
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 __anon80b30f0f0102()
280 .constructor = spaceToBatchConstructor};
299 .constructor = spaceToBatchConstructor};
[all …]
DOperationSignatureUtils.h323 .type = RandomOperandType::INPUT, .constructor = defaultOperandConstructor, \
331 .type = RandomOperandType::INPUT, .constructor = defaultScalarOperandConstructor, \
340 .constructor = [](TestOperandType, uint32_t rank, \
352 .constructor = \
382 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { \
396 .constructor = [](TestOperandType dataType, uint32_t, RandomOperand* op) { \
409 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { \
420 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { op->dataType = opType; } \
427 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { op->dataType = opType; } \
434 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { \
[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()
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 …]
DResize.cpp81 .constructor = resizeOpConstructor};
98 .constructor = resizeOpConstructor}; \
108 .constructor = resizeOpConstructor};
130 .constructor = resizeOpConstructor}; \
142 .constructor = resizeOpConstructor};
DSelection.cpp55 .constructor = embeddingLookupConstructor, \
97 .constructor = [](TestOperandType, uint32_t, RandomOperand* op) { in __anon7d949dad0102()
112 .constructor = hashtableLookupConstructor, in DEFINE_OPERATION_SIGNATURE()
158 .constructor = gatherConstructor, \
182 .constructor = selectConstructor};
219 .constructor = topKConstructor};
268 .constructor = sliceConstructor, \
376 .constructor = stridedSliceConstructor, in DEFINE_OPERATION_SIGNATURE()
390 .constructor = stridedSliceConstructor, in DEFINE_OPERATION_SIGNATURE()
404 .constructor = stridedSliceConstructor, 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()
DBoundingBox.cpp38 .constructor = roiTensorConstructor};
40 .constructor = roiTensorConstructor};
150 .constructor = roiConstructor, \
175 .constructor = roiConstructor, \
238 .constructor = heatmapMaxKeypointConstructor, \
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()
DPoolings.cpp121 .constructor = poolingExplicitOpConstructor}; \
138 .constructor = poolingImplicitOpConstructor};
171 .constructor = poolingExplicitOpConstructor}; \
189 .constructor = poolingImplicitOpConstructor};
DReduce.cpp72 .constructor = reduceOpConstructor};
87 .constructor = reduceOpConstructor};
123 .constructor = singleAxisReduceOpConstructor};
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
DTestUtils.java80 Constructor<TvInputInfo> constructor = in createTvInputInfoForO() local
98 constructor.setAccessible(true); in createTvInputInfoForO()
99 return constructor.newInstance( in createTvInputInfoForO()
134 Constructor<TvInputInfo> constructor = in createTvInputInfoForNyc() local
153 constructor.setAccessible(true); in createTvInputInfoForNyc()
154 return constructor.newInstance( in createTvInputInfoForNyc()
177 Constructor<TvInputInfo> constructor = in createTvInputInfoForMnc() local
180 constructor.setAccessible(true); in createTvInputInfoForMnc()
181 return constructor.newInstance(service, id, parentId, type, isHardwareInput); in createTvInputInfoForMnc()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DXmlControllerAttributeTest.java86 Constructor<?> constructor = getConstructorFromClass(clazz); in testAllIndexableXML_onlyValidBasePreferenceControllersAdded() local
88 if (constructor == null) { in testAllIndexableXML_onlyValidBasePreferenceControllersAdded()
187 Constructor<?> constructor = null; in getConstructorFromClass() local
189 constructor = clazz.getConstructor(Context.class); in getConstructorFromClass()
193 if (constructor != null) { in getConstructorFromClass()
194 return constructor; in getConstructorFromClass()
198 constructor = clazz.getConstructor(Context.class, String.class); in getConstructorFromClass()
202 return constructor; in getConstructorFromClass()
DBasePreferenceControllerSignatureInspector.java63 for (Constructor constructor : constructors) { in run()
64 if (hasValidConstructorSignature(constructor)) { in run()
86 private static boolean hasValidConstructorSignature(Constructor constructor) { in hasValidConstructorSignature() argument
87 final Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructorSignature()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_le_audio.cpp52 jmethodID constructor; member
58 jmethodID constructor; member
63 jmethodID constructor; member
69 jmethodID constructor; member
74 jmethodID constructor; member
79 jmethodID constructor; member
84 jmethodID constructor; member
89 jmethodID constructor; member
102 android_bluetooth_BluetoothLeAudioCodecConfig.constructor, in prepareCodecConfigObj()
280 android_bluetooth_BluetoothLeAudioCodecConfig.constructor = env->GetMethodID( in classInitNative()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DPreferenceInflater.java56 Constructor<?> constructor = sConstructorMap.get(name); in newPreference() local
58 if (constructor == null) { in newPreference()
62 constructor = clazz.getConstructor(CTOR_SIGNATURE); in newPreference()
63 sConstructorMap.put(name, constructor); in newPreference()
65 return (CameraPreference) constructor.newInstance(args); in newPreference()
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DBasePreferenceControllerSignatureInspector.java63 for (Constructor constructor : constructors) { in run()
64 if (hasValidConstructorSignature(constructor)) { in run()
86 private static boolean hasValidConstructorSignature(Constructor constructor) { in hasValidConstructorSignature() argument
87 final Class[] parameterTypes = constructor.getParameterTypes(); in hasValidConstructorSignature()
/packages/modules/Uwb/service/uci/jni/
DUwbNativeManager.cpp951 jmethodID constructor = in uwbNativeManager_getDeviceInfo() local
954 if (constructor == JNI_NULL) { in uwbNativeManager_getDeviceInfo()
966 return env->NewObject(deviceDataClass, constructor, uciVersion, macVersion, in uwbNativeManager_getDeviceInfo()
994 jmethodID constructor = in uwbNativeManager_getSpecificationInfo() local
996 if (constructor == JNI_NULL) { in uwbNativeManager_getSpecificationInfo()
1016 return env->NewObject(deviceDataClass, constructor, uciMajor, uciMaintenance, in uwbNativeManager_getSpecificationInfo()
1218 jmethodID constructor = in uwbNativeManager_setAppConfigurations() local
1220 if (constructor == JNI_NULL) { in uwbNativeManager_setAppConfigurations()
1228 …return env->NewObject(configStatusDataClass, constructor, sSetAppConfigStatus, sNoOfAppConfigIds, … in uwbNativeManager_setAppConfigurations()
1288 jmethodID constructor = in uwbNativeManager_sendRawUci() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapVcardList.java69 VCardEntryConstructor constructor = in parse() local
74 constructor.addEntryHandler(handler); in parse()
76 parser.addInterpreter(constructor); in parse()
/packages/apps/Tag/src/com/android/apps/tag/record/
DVCardRecord.java123 final VCardEntryConstructor constructor = new VCardEntryConstructor(type); in getVCardEntries() local
124 constructor.addEntryHandler(new VCardEntryHandler() { in getVCardEntries()
136 parser.parse(new ByteArrayInputStream(mVCard), constructor); in getVCardEntries()
140 parser.parse(new ByteArrayInputStream(mVCard), constructor); in getVCardEntries()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DImportProcessor.java153 final VCardEntryConstructor constructor = in runInternal() local
156 constructor.addEntryHandler(committer); in runInternal()
157 constructor.addEntryHandler(this); in runInternal()
171 successful = readOneVCard(is, estimatedVCardType, estimatedCharset, constructor, in runInternal()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGenerator.cpp48 if (operand.constructor) operand.constructor(dataType, rank, this); in RandomOperand()
97 if (operation.constructor) operation.constructor(dataType, rank, this); in RandomOperation()
/packages/services/Car/service-builtin/src/com/android/car/pm/
DCarSafetyAccessibilityService.java48 Constructor constructor = implClass.getConstructor(); in onCreate() local
49 mImpl = (CarSafetyAccessibilityServiceImplBase) constructor.newInstance(); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java80 public static Object newInstance(final Constructor<?> constructor, final Object ... args) { in newInstance() argument
81 if (constructor == null) { in newInstance()
85 return constructor.newInstance(args); in newInstance()

1234