Home
last modified time | relevance | path

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

12345

/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 …]
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.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 …]
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 __anon7a9120630102()
280 .constructor = spaceToBatchConstructor};
299 .constructor = spaceToBatchConstructor};
[all …]
DResize.cpp81 .constructor = resizeOpConstructor};
98 .constructor = resizeOpConstructor}; \
108 .constructor = resizeOpConstructor};
130 .constructor = resizeOpConstructor}; \
142 .constructor = resizeOpConstructor};
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 …]
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 __anon673c54010102()
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()
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()
DBoundingBox.cpp38 .constructor = roiTensorConstructor};
40 .constructor = roiTensorConstructor};
150 .constructor = roiConstructor, \
175 .constructor = roiConstructor, \
238 .constructor = heatmapMaxKeypointConstructor, \
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.java85 Constructor<?> constructor = getConstructorFromClass(clazz); in testAllIndexableXML_onlyValidBasePreferenceControllersAdded() local
87 if (constructor == null) { in testAllIndexableXML_onlyValidBasePreferenceControllersAdded()
180 Constructor<?> constructor = null; in getConstructorFromClass() local
182 constructor = clazz.getConstructor(Context.class); in getConstructorFromClass()
186 if (constructor != null) { in getConstructorFromClass()
187 return constructor; in getConstructorFromClass()
191 constructor = clazz.getConstructor(Context.class, String.class); in getConstructorFromClass()
195 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/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/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapVcardList.java76 VCardEntryConstructor constructor = in parse() local
80 constructor.addEntryHandler(handler); in parse()
82 parser.addInterpreter(constructor); in parse()
104 constructor.clear(); in parse()
105 parser.addInterpreter(constructor); in parse()
/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/services/Car/tools/GenericCarApiBuilder/src/com/android/car/tool/apibuilder/
DParsedDataBuilder.java79 ConstructorDeclaration constructor = constructors.get(i); in populateParsedDataForFile() local
80 ConstructorData constructorData = getConstructorData(n, constructor); in populateParsedDataForFile()
86 constructor.getAnnotations()); in populateParsedDataForFile()
347 ConstructorDeclaration constructor) { in getConstructorData() argument
348 if (!n.isInterface() && !constructor.isPublic() && !constructor.isProtected()) { in getConstructorData()
352 String constructorName = constructor.getName().asString(); in getConstructorData()
359 List<Parameter> parameters = constructor.getParameters(); in getConstructorData()
373 if (!constructor.getJavadoc().isEmpty()) { in getConstructorData()
374 isHidden = constructor.getJavadoc().get().toText().contains("@hide"); in getConstructorData()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_le_audio.cpp63 jmethodID constructor; member
75 jmethodID constructor; member
80 jmethodID constructor; member
86 jmethodID constructor; member
91 jmethodID constructor; member
96 jmethodID constructor; member
101 jmethodID constructor; member
106 jmethodID constructor; member
127 android_bluetooth_BluetoothLeAudioCodecConfig.constructor, in prepareCodecConfigObj()
868 android_bluetooth_BluetoothLeAudioCodecConfigMetadata.constructor, in prepareLeAudioCodecConfigMetadataObject()
[all …]
/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/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/modules/AppSearch/safeparcel-processor/src/android/app/appsearch/safeparcel/
DSafeParcelProcessor.java369 final ExecutableElement constructor = findAnnotatedConstructor(parcelableClass); in processParcelableClass() local
370 if (constructor == null) { in processParcelableClass()
503 if (constructor != null) { in processParcelableClass()
504 isOkay &= processParcelableConstructor(cl, constructor, reservedIds); in processParcelableClass()
553 for (ExecutableElement constructor : constructors) { in findAnnotatedConstructor()
555 constructor.getAnnotation(SafeParcelable.Constructor.class); in findAnnotatedConstructor()
562 constructor); in findAnnotatedConstructor()
564 annotatedConstructor = constructor; in findAnnotatedConstructor()
585 ParcelableClass cl, ExecutableElement constructor, Set<Integer> reservedIds) { in processParcelableConstructor() argument
594 Set<Modifier> modifiers = constructor.getModifiers(); in processParcelableConstructor()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsSocketTests.java151 Constructor<NetworkInterface> constructor = in createEmptyNetworkInterface() local
153 constructor.setAccessible(true); in createEmptyNetworkInterface()
154 return constructor.newInstance(); in createEmptyNetworkInterface()

12345