Home
last modified time | relevance | path

Searched refs:addParameter (Results 1 – 25 of 135) sorted by relevance

123456

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
DJDWPMethodVariableTableTestCase.java61 checker.addParameter("booleanParam", "Z", 0); in initStaticMethods()
66 checker.addParameter("byteParam", "B", 0); in initStaticMethods()
71 checker.addParameter("charParam", "C", 0); in initStaticMethods()
76 checker.addParameter("shortParam", "S", 0); in initStaticMethods()
81 checker.addParameter("intParam", "I", 0); in initStaticMethods()
86 checker.addParameter("floatParam", "F", 0); in initStaticMethods()
91 checker.addParameter("longParam", "J", 0); in initStaticMethods()
96 checker.addParameter("doubleParam", "D", 0); in initStaticMethods()
101 checker.addParameter("objectParam", "Ljava/lang/Object;", 0); in initStaticMethods()
106 checker.addParameter("stringParam", "Ljava/lang/String;", 0); in initStaticMethods()
[all …]
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DServiceGenerator.java95 .addParameter(INTENT_CLASSNAME, "intent") in generateServiceClass()
129 .addParameter(long.class, "callId") in addPrepareCallMethod()
130 .addParameter(int.class, "blockId") in addPrepareCallMethod()
131 .addParameter(int.class, "numBytes") in addPrepareCallMethod()
132 .addParameter(ArrayTypeName.of(byte.class), "paramBytes") in addPrepareCallMethod()
146 .addParameter(long.class, "callId") in addCallMethod()
147 .addParameter(int.class, "blockId") in addCallMethod()
148 .addParameter(long.class, "crossProfileTypeIdentifier") in addCallMethod()
149 .addParameter(int.class, "methodIdentifier") in addCallMethod()
150 .addParameter(ArrayTypeName.of(byte.class), "paramBytes") in addCallMethod()
[all …]
DDispatcherGenerator.java106 .addParameter(CONTEXT_CLASSNAME, "context") in addPrepareCallMethod()
107 .addParameter(long.class, "callId") in addPrepareCallMethod()
108 .addParameter(int.class, "blockId") in addPrepareCallMethod()
109 .addParameter(int.class, "numBytes") in addPrepareCallMethod()
110 .addParameter(ArrayTypeName.of(byte.class), "paramBytes") in addPrepareCallMethod()
139 .addParameter(CONTEXT_CLASSNAME, "context") in addFetchResponseMethod()
140 .addParameter(long.class, "callId") in addFetchResponseMethod()
141 .addParameter(int.class, "blockId") in addFetchResponseMethod()
200 .addParameter(CONTEXT_CLASSNAME, "context") in addCallMethod()
201 .addParameter(long.class, "callId") in addCallMethod()
[all …]
DProtoParcelableWrapperGenerator.java104 .addParameter(BUNDLER_CLASSNAME, "bundler") in generateProtoParcelableWrapper()
105 .addParameter(BUNDLER_TYPE_CLASSNAME, "type") in generateProtoParcelableWrapper()
106 .addParameter(ClassName.get(parcelableWrapper.wrappedType()), "proto") in generateProtoParcelableWrapper()
121 .addParameter(BUNDLER_CLASSNAME, "bundler") in generateProtoParcelableWrapper()
122 .addParameter(BUNDLER_TYPE_CLASSNAME, "type") in generateProtoParcelableWrapper()
123 .addParameter(ClassName.get(parcelableWrapper.wrappedType()), "proto") in generateProtoParcelableWrapper()
130 .addParameter(PARCEL_CLASSNAME, "in") in generateProtoParcelableWrapper()
149 .addParameter(PARCEL_CLASSNAME, "dest") in generateProtoParcelableWrapper()
150 .addParameter(int.class, "flags") in generateProtoParcelableWrapper()
DBundlerGenerator.java86 .addParameter(PARCEL_CLASSNAME, "in") in generateBundlerClass()
102 .addParameter(PARCEL_CLASSNAME, "dest") in makeParcelable()
103 .addParameter(int.class, "flags") in makeParcelable()
129 .addParameter(PARCEL_CLASSNAME, "parcel") in addWriteToParcelMethod()
130 .addParameter(Object.class, "value") in addWriteToParcelMethod()
131 .addParameter(BUNDLER_TYPE_CLASSNAME, "valueType") in addWriteToParcelMethod()
132 .addParameter(int.class, "flags") in addWriteToParcelMethod()
188 .addParameter(PARCEL_CLASSNAME, "parcel") in addReadFromParcelMethod()
189 .addParameter(BUNDLER_TYPE_CLASSNAME, "valueType") in addReadFromParcelMethod()
243 .addParameter(BUNDLER_TYPE_CLASSNAME, "valueType") in addCreateArrayMethod()
[all …]
DInternalCrossProfileClassGenerator.java122 .addParameter(CONTEXT_CLASSNAME, "context") in generateInternalCrossProfileClass()
233 .addParameter(CONTEXT_CLASSNAME, "context") in addBlockingCrossProfileTypeMethod()
234 .addParameter(PARCEL_CLASSNAME, "params") in addBlockingCrossProfileTypeMethod()
235 .addParameter(CROSS_PROFILE_CALLBACK_CLASSNAME, "callback") in addBlockingCrossProfileTypeMethod()
281 .addParameter(CONTEXT_CLASSNAME, "context") in addCrossProfileCallbackCrossProfileTypeMethod()
282 .addParameter(PARCEL_CLASSNAME, "params") in addCrossProfileCallbackCrossProfileTypeMethod()
285 .addParameter(CROSS_PROFILE_CALLBACK_CLASSNAME, "crossProfileCallback") in addCrossProfileCallbackCrossProfileTypeMethod()
333 .addParameter(CONTEXT_CLASSNAME, "context") in addFutureCrossProfileTypeMethod()
334 .addParameter(PARCEL_CLASSNAME, "params") in addFutureCrossProfileTypeMethod()
335 .addParameter(CROSS_PROFILE_CALLBACK_CLASSNAME, "callback") in addFutureCrossProfileTypeMethod()
[all …]
DCrossProfileCallbackCodeGenerator.java137 .addParameter( in generateMultiMergerResultClass()
149 .addParameter(multiParameterType, "results") in generateMultiMergerResultClass()
190 .addParameter(PROFILE_CLASSNAME, "profileId") in generateMultiMergerInputClass()
191 .addParameter( in generateMultiMergerInputClass()
207 methodBuilder.addParameter(ClassName.get(paramType), paramName); in generateMultiMergerInputClass()
235 .addParameter(paramType, param.getSimpleName().toString()) in addMultiMethod()
273 .addParameter(CROSS_PROFILE_CALLBACK_CLASSNAME, "callback") in generateReceiverClass()
274 .addParameter(BUNDLER_CLASSNAME, "bundler") in generateReceiverClass()
384 .addParameter(ClassName.get(callbackInterface.interfaceElement()), "callback") in generateSenderClass()
385 .addParameter(EXCEPTION_CALLBACK_CLASSNAME, "exceptionCallback") in generateSenderClass()
[all …]
DInternalProviderClassGenerator.java110 .addParameter(CONTEXT_CLASSNAME, "context") in generateInternalProviderClassClass()
150 .addParameter(CONTEXT_CLASSNAME, "context") in addCallMethod()
151 .addParameter(long.class, "crossProfileTypeIdentifier") in addCallMethod()
152 .addParameter(int.class, "methodIdentifier") in addCallMethod()
153 .addParameter(PARCEL_CLASSNAME, "params") in addCallMethod()
154 .addParameter(CROSS_PROFILE_CALLBACK_CLASSNAME, "callback") in addCallMethod()
DFakeProfileConnectorGenerator.java70 .addParameter(CONTEXT_CLASSNAME, "context") in generateFakeProfileConnector()
78 .addParameter(CONTEXT_CLASSNAME, "context") in generateFakeProfileConnector()
79 .addParameter(ProfileType.class, "primaryProfile") in generateFakeProfileConnector()
86 .addParameter(CONTEXT_CLASSNAME, "context") in generateFakeProfileConnector()
DUserConnectorCodeGenerator.java86 .addParameter(CONTEXT_CLASSNAME, "context") in generateUserConnector()
93 .addParameter(builderClassName, "builder") in generateUserConnector()
123 .addParameter(CONTEXT_CLASSNAME, "context") in generateUserConnectorBuilder()
136 .addParameter(SCHEDULED_EXECUTOR_SERVICE_CLASSNAME, "scheduledExecutorService") in generateUserConnectorBuilder()
146 .addParameter(CONNECTION_BINDER_CLASSNAME, "binder") in generateUserConnectorBuilder()
DProfileConnectorCodeGenerator.java87 .addParameter(CONTEXT_CLASSNAME, "context") in generateProfileConnector()
94 .addParameter(builderClassName, "builder") in generateProfileConnector()
134 .addParameter(CONTEXT_CLASSNAME, "context") in generateProfileConnectorBuilder()
147 .addParameter(SCHEDULED_EXECUTOR_SERVICE_CLASSNAME, "scheduledExecutorService") in generateProfileConnectorBuilder()
157 .addParameter(CONNECTION_BINDER_CLASSNAME, "binder") in generateProfileConnectorBuilder()
DFakeCrossProfileTypeGenerator.java143 .addParameter(PROFILE_CLASSNAME, "profile") in generateFakeCrossProfileType()
166 .addParameter(ArrayTypeName.of(PROFILE_CLASSNAME), "profiles") in generateFakeCrossProfileType()
212 .addParameter(fakeProfileConnectorClassName, "connector") in addConstructor()
229 .addParameter(crossProfileType.className(), "personal") in addConstructor()
230 .addParameter(crossProfileType.className(), "work") in addConstructor()
231 .addParameter(fakeProfileConnectorClassName, "connector") in addConstructor()
332 .addParameter(fakeProfileConnectorClassName, "connector") in generateFakeCrossProfileTypeBuilder()
374 .addParameter(crossProfileType.className(), "personal") in setupNonStaticBuilder()
391 .addParameter(crossProfileType.className(), "work") in setupNonStaticBuilder()
DCurrentProfileGenerator.java110 .addParameter(long.class, "timeout") in generateCurrentProfileClass()
137 .addParameter(CONTEXT_CLASSNAME, "context") in addCrossProfileConstructor()
147 .addParameter(crossProfileType.className(), "crossProfileType") in addCrossProfileConstructor()
205 .addParameter(EXCEPTION_CALLBACK_CLASSNAME, "exceptionCallback") in generateCrossProfileCallbackWithExceptionMethodOnCurrentProfileClass()
DIfAvailableGenerator.java88 .addParameter(singleSenderCanThrowInterface, "singleSenderCanThrow") in generateIfAvailableClass()
130 methodBuilder.addParameter(method.returnTypeTypeName(), "defaultValue"); in generateMethodOnIfAvailableClass()
174 methodBuilder.addParameter( in generateMethodOnIfAvailableClass()
197 .addParameter(ClassName.get(wrappedReturnType), "defaultValue") in generateMethodOnIfAvailableClass()
/external/v4l2_codec2/components/
DV4L2DecodeInterface.cpp125 addParameter(DefineParam(mKind, C2_PARAMKEY_COMPONENT_KIND) in V4L2DecodeInterface()
133 addParameter( in V4L2DecodeInterface()
160 addParameter(DefineParam(mProfileLevel, C2_PARAMKEY_PROFILE_LEVEL) in V4L2DecodeInterface()
168 addParameter( in V4L2DecodeInterface()
184 addParameter( in V4L2DecodeInterface()
188 addParameter( in V4L2DecodeInterface()
195 addParameter(DefineParam(mOutputFormat, C2_PARAMKEY_OUTPUT_STREAM_BUFFER_TYPE) in V4L2DecodeInterface()
199 addParameter( in V4L2DecodeInterface()
204 addParameter(DefineParam(mInputMediaType, C2_PARAMKEY_INPUT_MEDIA_TYPE) in V4L2DecodeInterface()
209 addParameter(DefineParam(mOutputMediaType, C2_PARAMKEY_OUTPUT_MEDIA_TYPE) in V4L2DecodeInterface()
[all …]
DV4L2EncodeInterface.cpp287 addParameter(DefineParam(mKind, C2_PARAMKEY_COMPONENT_KIND) in Initialize()
291 addParameter(DefineParam(mInputVisibleSize, C2_PARAMKEY_PICTURE_SIZE) in Initialize()
300 addParameter(DefineParam(mFrameRate, C2_PARAMKEY_FRAME_RATE) in Initialize()
307 addParameter(DefineParam(mBitrate, C2_PARAMKEY_BITRATE) in Initialize()
318 addParameter( in Initialize()
339 addParameter(DefineParam(mProfileLevel, C2_PARAMKEY_PROFILE_LEVEL) in Initialize()
347 addParameter( in Initialize()
371 addParameter( in Initialize()
388 addParameter( in Initialize()
393 addParameter(DefineParam(mInputMediaType, C2_PARAMKEY_INPUT_MEDIA_TYPE) in Initialize()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/nodeTypes/
DNodeWithParameters.java16 default T addParameter(Type type, String name) { in addParameter() method
17 return addParameter(new Parameter(type, new VariableDeclaratorId(name))); in addParameter()
20 default T addParameter(Class<?> paramClass, String name) { in addParameter() method
22 return addParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name); in addParameter()
31 default T addParameter(String className, String name) { in addParameter() method
32 return addParameter(new ClassOrInterfaceType(className), name); in addParameter()
36 default T addParameter(Parameter parameter) { in addParameter() method
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
DNodeWithParameters.java52 default N addParameter(Type type, String name) { in addParameter() method
53 return addParameter(new Parameter(type, name)); in addParameter()
56 default N addParameter(Class<?> paramClass, String name) { in addParameter() method
58 return addParameter(parseType(paramClass.getSimpleName()), name); in addParameter()
67 default N addParameter(String className, String name) { in addParameter() method
68 return addParameter(parseType(className), name); in addParameter()
72 default N addParameter(Parameter parameter) { in addParameter() method
/external/oauth/core/src/main/java/net/oauth/
DOAuthMessage.java96 public void addParameter(String key, String value) { in addParameter() method in OAuthMessage
97 addParameter(new OAuth.Parameter(key, value)); in addParameter()
100 public void addParameter(Map.Entry<String, String> parameter) { in addParameter() method in OAuthMessage
257 addParameter(OAuth.OAUTH_TOKEN, accessor.accessToken); in addRequiredParameters()
261 addParameter(OAuth.OAUTH_CONSUMER_KEY, consumer.consumerKey); in addRequiredParameters()
269 addParameter(OAuth.OAUTH_SIGNATURE_METHOD, signatureMethod); in addRequiredParameters()
272 addParameter(OAuth.OAUTH_TIMESTAMP, (System.currentTimeMillis() / 1000) + ""); in addRequiredParameters()
275 addParameter(OAuth.OAUTH_NONCE, System.nanoTime() + ""); in addRequiredParameters()
278 addParameter(OAuth.OAUTH_VERSION, OAuth.VERSION_1_0); in addRequiredParameters()
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java131 .addParameter(bar, "bar") in anonymousInnerClass()
141 .addParameter(thungParameter) in anonymousInnerClass()
176 .addParameter(long.class, "id") in annotatedParameters()
177 .addParameter(ParameterSpec.builder(String.class, "one") in annotatedParameters()
180 .addParameter(ParameterSpec.builder(String.class, "two") in annotatedParameters()
183 .addParameter(ParameterSpec.builder(String.class, "three") in annotatedParameters()
188 .addParameter(ParameterSpec.builder(String.class, "four") in annotatedParameters()
253 .addParameter(ParameterSpec.builder(ParameterizedTypeName.get(things, thing), "things") in retrofitStyleInterface()
256 .addParameter(ParameterSpec.builder( in retrofitStyleInterface()
262 .addParameter(ParameterSpec.builder(string, "authorization") in retrofitStyleInterface()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_nodeTypes_NodeWithParameters.txt1 …ine 17) addParameter(new Parameter(type, new VariableDeclaratorId(name))) ==> com.github.javaparse…
3 …22) addParameter(new ClassOrInterfaceType(paramClass.getSimpleName()), name) ==> com.github.javapa…
5 …Line 32) addParameter(new ClassOrInterfaceType(className), name) ==> com.github.javaparser.ast.nod…
/external/dagger2/java/dagger/grpc/server/processor/
DUnscopedGrpcServiceModuleGenerator.java82 .addParameter(grpcServiceModel.serviceDefinitionTypeName, "component") in unscopedComponentFactory()
90 .addParameter(Dagger.GrpcServer.GRPC_CALL_METADATA_MODULE, "grpcCallMetadataModule") in unscopedComponentFactory()
107 .addParameter(unscopedComponentFactory, "factory") in bindSubcomponentFactory()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DNodeWithMembersBuildersTest.java77 …MethodDeclaration addMethod2 = classDeclaration.addMethod("foo", PUBLIC).addParameter(int.class, "… in testGetMethodsWithName()
87 …MethodDeclaration addMethod2 = classDeclaration.addMethod("foo", PUBLIC).addParameter(int.class, "… in testGetMethods()
99 …MethodDeclaration addMethod2 = classDeclaration.addMethod("foo", PUBLIC).addParameter(int.class, "… in testGetMethodsWithParameterTypes()
102 …n methodWithListParam = classDeclaration.addMethod("fooList", PUBLIC).addParameter(type, "overload… in testGetMethodsWithParameterTypes()
103 …MethodDeclaration addMethod3 = classDeclaration.addMethod("foo2", PUBLIC).addParameter(int.class, … in testGetMethodsWithParameterTypes()
/external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
DOperatorProcessor.java277 builder.addParameter(p); in buildOpMethod()
310 .addParameter(T_SCOPE, "scope") in buildGroupClass()
336 .addParameter(T_SCOPE, "scope") in buildTopClass()
383 .addParameter(T_STRING, "childScopeName") in buildTopClass()
395 .addParameter(T_STRING, "opName") in buildTopClass()
407 .addParameter(T_ITERABLE_OPERAND, "controls") in buildTopClass()
446 .addParameter(T_EXEC_ENV, "env") in buildTopClass()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DFragmentGenerator.java106 .addParameter(AndroidClassNames.CONTEXT, "context") in onAttachContextMethod()
127 .addParameter(AndroidClassNames.ACTIVITY, "activity") in onAttachActivityMethod()
191 .addParameter(AndroidClassNames.BUNDLE, "savedInstanceState") in inflatorMethod()

123456