Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 82) sorted by relevance

1234

/tools/test/connectivity/acts/framework/acts/controllers/cellular_lib/
DLteCellConfig.py116 def configure(self, parameters): argument
123 if self.PARAM_BAND not in parameters:
128 self.band = parameters[self.PARAM_BAND]
130 if self.PARAM_DL_EARFCN not in parameters:
140 self.dl_channel = parameters[self.PARAM_DL_EARFCN]
146 if self.PARAM_FRAME_CONFIG not in parameters:
152 self.dlul_config = int(parameters[self.PARAM_FRAME_CONFIG])
155 if self.PARAM_SSF not in parameters:
162 self.ssf_config = int(parameters[self.PARAM_SSF])
165 if self.PARAM_BW not in parameters:
[all …]
DGsmSimulation.py103 def configure(self, parameters): argument
114 if self.PARAM_BAND not in parameters:
119 self.set_band(self.bts1, parameters[self.PARAM_BAND])
124 if self.PARAM_GPRS in parameters:
126 elif self.PARAM_EGPRS in parameters:
128 elif self.PARAM_NO_GPRS in parameters:
137 if self.PARAM_SLOTS not in parameters or len(
138 parameters[self.PARAM_SLOTS]) != 2:
143 values = parameters[self.PARAM_SLOTS]
DUmtsSimulation.py137 def configure(self, parameters): argument
145 super().configure(parameters)
148 if self.PARAM_BAND not in parameters:
153 self.set_band(self.bts1, parameters[self.PARAM_BAND])
157 if (self.PARAM_RELEASE_VERSION not in parameters
158 or parameters[self.PARAM_RELEASE_VERSION] not in [
167 parameters[self.PARAM_RELEASE_VERSION])
170 if self.PARAM_RRC_STATUS_CHANGE_TIMER not in parameters:
177 parameters[self.PARAM_RRC_STATUS_CHANGE_TIMER])
DNrCellConfig.py41 def configure(self, parameters): argument
47 if self.PARAM_BAND not in parameters:
52 self.band = parameters[self.PARAM_BAND]
54 if self.PARAM_BW not in parameters:
60 self.bandwidth = parameters[self.PARAM_BW]
DBaseSimulation.py306 def configure(self, parameters): argument
315 ul_power = self.get_uplink_power_from_parameters(parameters)
323 dl_power = self.get_downlink_power_from_parameters(parameters)
353 def get_uplink_power_from_parameters(self, parameters): argument
356 if BaseCellConfig.PARAM_UL_PW in parameters:
357 value = parameters[BaseCellConfig.PARAM_UL_PW]
380 def get_downlink_power_from_parameters(self, parameters): argument
383 if BaseCellConfig.PARAM_DL_PW in parameters:
384 value = parameters[BaseCellConfig.PARAM_DL_PW]
DLteSimulation.py464 def configure(self, parameters): argument
474 if not isinstance(parameters, list):
475 parameters = [parameters]
478 super().configure(parameters[0])
481 for cell in parameters:
545 if self.PARAM_RRC_STATUS_CHANGE_TIMER not in parameters[0]:
551 timer = int(parameters[0][self.PARAM_RRC_STATUS_CHANGE_TIMER])
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt39 fun parameters(): List<ParameterItem> in <lambda>() method
69 for (parameter in parameters()) { in <lambda>()
198 for (parameter in parameters()) { in <lambda>()
222 for (parameter in parameters()) { in <lambda>()
251 val p1 = o1.parameters() in <lambda>()
252 val p2 = o2.parameters() in <lambda>()
300 val parameterList1 = method.parameters() in <lambda>()
301 val parameterList2 = superMethod.parameters() in <lambda>()
354 if (parameters().isEmpty()) { in <lambda>()
358 for (parameter in parameters()) { in <lambda>()
[all …]
DClassItem.kt509 fun findMethod(methodName: String, parameters: String): MethodItem? { in <lambda>()
513 .filter { parametersMatch(it, parameters) } in <lambda>()
517 .filter { it.name() == methodName && parametersMatch(it, parameters) } in <lambda>()
526 val parameters = method.parameters() in <lambda>() constant
527 if (parameters.size != parameterStrings.size) { in <lambda>()
530 for (i in parameters.indices) { in <lambda>()
536 val parameter = parameters[i].type().toErasedTypeString(method) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt249 for (parameter in method.parameters()) { in <lambda>()
529 for (parameter in method.parameters()) { in <lambda>()
577 method.parameters().size == 1 && in <lambda>()
579 !method.parameters().first().type().primitive && in <lambda>()
587 method.parameters().first().type().extendsThrowable() in <lambda>()
695 return method.name() == "equals" && method.parameters().size == 1 && in <lambda>()
696 method.parameters()[0].type().isJavaLangObject() && in <lambda>()
701 return method.name() == "hashCode" && method.parameters().isEmpty() && in <lambda>()
742 val parameters = it.parameters() in <lambda>() constant
743 parameters.size == 1 && parameters[0].type().toTypeString() == "android.os.Parcel" in <lambda>()
[all …]
DKotlinInteropChecks.kt190 val parameters = method.parameters() in <lambda>() constant
191 if (parameters.size > 1) { in <lambda>()
193 val lastIndex = parameters.size - 1 in <lambda>()
194 if (!isSamCompatible(parameters[lastIndex])) { in <lambda>()
196 val parameter = parameters[i] in <lambda>()
277 val parameters = method.parameters() in <lambda>() constant
278 if (parameters.size <= 1) { in <lambda>()
284 for (parameter in parameters) { in <lambda>()
305 val parameters = method.parameters() in <lambda>() constant
307 if (parameters.isNotEmpty() && method.isJava()) { in <lambda>()
[all …]
DComparisonVisitor.kt221 if (inherited.parameters().isNotEmpty()) { in visitAdded()
222 val parameters = inherited.parameters().map { ItemTree(it) }.toList() in visitAdded() constant
223 compare(visitor, parameters, newTree.children, newTree.item(), inherited, filter) in visitAdded()
295 if (inheritedMethod.parameters().isNotEmpty()) { in visitRemoved()
296 val parameters = inheritedMethod.parameters().map { ItemTree(it) }.toList() in visitRemoved() constant
297 … compare(visitor, oldTree.children, parameters, oldTree.item(), inheritedMethod, filter) in visitRemoved()
412 val parameters1 = item1.parameters() in compare()
413 val parameters2 = item2.parameters() in compare()
DAnnotationsMerger.kt409 val parameters = matcher.group(6) in <lambda>() constant
416 … mergeMethodOrParameter(item, containingClass, classItem, methodName, parameterIndex, parameters) in <lambda>()
456 private fun fixParameterString(parameters: String): String { in <lambda>()
457 return parameters.replace(" ", " ").replace(", ", ",").replace("?super", "? super ") in <lambda>()
467 parameters: String in <lambda>()
470 val parameters = fixParameterString(parameters) in <lambda>() constant
472 val methodItem: MethodItem? = classItem.findMethod(methodName, parameters) in <lambda>()
478 …warning("Could not find method $methodName($parameters) in $containingClass; omitting annotation f… in <lambda>()
483 val parameterItem = methodItem.parameters()[parameterIndex] in <lambda>()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils_tests/power/tel/lab/
Dconsume_parameter_test.py47 parameters = ['param1', 1, 2, 'param2', 3, 'param3', 'value']
49 self.test.unpack_userparams(parameters=parameters)
62 parameters = ['param1', 1, 2]
64 self.test.unpack_userparams(parameters=parameters)
79 parameters = ['param1', 1, 2]
80 self.test.unpack_userparams(parameters=parameters)
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt53 private val parameters: List<PsiParameterItem> in <lambda>() constant
64 for (parameter in parameters) { in <lambda>()
115 override fun parameters(): List<PsiParameterItem> = parameters in <lambda>() method
172 return ktParameters.size < parameters.size in <lambda>()
231 for (param in parameters) { in <lambda>()
325 method.parameters().asSequence().forEachIndexed { i, parameter -> in <lambda>()
385 val parameters = parameterList(codebase, psiMethod) in <lambda>() constant
407 parameters = parameters in <lambda>()
426 parameters = PsiParameterItem.create(codebase, original.parameters()) in <lambda>()
444 psiMethod.parameterList.parameters.mapIndexed { index, parameter -> in <lambda>()
DPsiTypeParameterList.kt31 val parameters = psiTypeParameterList.typeParameters in typeParameterNames() constant
32 val list = ArrayList<String>(parameters.size) in typeParameterNames()
33 for (parameter in parameters) { in typeParameterNames()
40 val parameters = psiTypeParameterList.typeParameters in typeParameters() constant
41 val list = ArrayList<TypeParameterItem>(parameters.size) in typeParameters()
42 parameters.mapTo(list) { PsiTypeParameterItem.create(codebase, it) } in typeParameters()
DPsiConstructorItem.kt41 parameters: List<PsiParameterItem>,
54 parameters = parameters
120 val parameters = parameterList(codebase, psiMethod) in create() constant
128 parameters = parameters, in create()
156 parameters = emptyList(), in createDefaultConstructor()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt59 val parameters1 = parameters() in equals()
60 val parameters2 = other.parameters() in equals()
167 duplicated.parameters.addAll(parameters) in duplicate()
175 private val parameters = mutableListOf<TextParameterItem>() constant
188 override fun parameters(): List<ParameterItem> = parameters in parameters() method
195 parameters += parameter in addParameter()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigResult.java79 public void addError(int issueId, Object... parameters) { in addError() argument
80 mErrors.add(new ApkVerificationIssue(issueId, parameters)); in addError()
87 public void addWarning(int issueId, Object... parameters) { in addWarning() argument
88 mWarnings.add(new ApkVerificationIssue(issueId, parameters)); in addWarning()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt269 val parameters = it.parameters() in <lambda>() constant
271 if (invokeOnThis || parameters.isNotEmpty()) { in <lambda>()
272 val includeCasts = parameters.isNotEmpty() && in <lambda>()
279 parameters.forEachIndexed { index, parameter -> in <lambda>()
429 method.parameters().asSequence().forEachIndexed { i, parameter -> in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DAlgorithmIdentifier.java52 public Asn1OpaqueObject parameters; field in AlgorithmIdentifier
56 public AlgorithmIdentifier(String algorithmOid, Asn1OpaqueObject parameters) { in AlgorithmIdentifier() argument
58 this.parameters = parameters; in AlgorithmIdentifier()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiParameterItemTest.kt27 fun `primary constructor parameters have properties`() { in <lambda>()
30 val propertyParameter = constructorItem.parameters().single { it.name() == "property" } in <lambda>()
31 val regularParameter = constructorItem.parameters().single { it.name() == "parameter" } in <lambda>()
/tools/test/connectivity/acts_tests/tests/google/coex/config/
Dsample_config.json20 // Iperf related parameters
30 //Attenuation related parameters
57 //Access point related parameters
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt67 fun `Invoking function with multiple parameters as parameter default value`() { in Invoking function with multiple parameters as parameter default value()
435 fun `Loading a signature file with annotations on classes, fields, methods and parameters`() { in Loading a signature file with annotations on classes, fields, methods and parameters()
665 fun `Type parameters in v3 format`() { in Type parameters in v3 format()
711 fun `Signatures with reified in type parameters`() { in Signatures with reified in type parameters()
DKotlinInteropChecksTest.kt55 fun `Sam-compatible parameters should be last`() { in Sam-compatible parameters should be last()
158 fun `Methods with default parameters should specify JvmOverloads`() { in Methods with default parameters should specify JvmOverloads()
189 fun `Methods annotated @JvmSynthetic with default parameters don't require @JvmOverloads`() { in Methods annotated @JvmSynthetic with default parameters don't require @JvmOverloads()
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/cellular/
Dcellular_base_test.py214 self.parameters = self.current_test_name.split('_')
217 self.parameters.remove('test')
304 i = self.parameters.index(parameter_name)
313 return_list.append(self.parameters.pop(i))

1234