Home
last modified time | relevance | path

Searched refs:getAttributes (Results 1 – 25 of 38) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java97 assertEquals(Arrays.asList("TEST_VALUE"), mContext.getAttributes().get("TEST_KEY")); in testGetAttributes()
98 MultiMap<String, String> map = mContext.getAttributes(); in testGetAttributes()
101 assertEquals(Arrays.asList("TEST_VALUE"), mContext.getAttributes().get("TEST_KEY")); in testGetAttributes()
195 .getAttributes() in testProtoSerialize_moduleContext()
DTestInvocationTest.java615 .getAttributes() in testInvoke_metricsCollectedWhenStopped()
1417 assertEquals(0, context.getAttributes().size()); in testLogDeviceBatteryLevel_placeholderDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java185 assertFalse(context.getAttributes().containsKey(CONTEXT_TEST_KEY)); in testEvents()
189 assertEquals("context_value", context.getAttributes().get("early_context_key").get(0)); in testEvents()
238 assertEquals("context_value", context.getAttributes().get(CONTEXT_TEST_KEY).get(0)); in testEvents()
242 assertEquals("context_value", context.getAttributes().get("early_context_key").get(0)); in testEvents()
644 assertEquals("context_value", context.getAttributes().get(CONTEXT_TEST_KEY).get(0)); in testEvents_subprocess()
DFileProtoResultReporterTest.java92 assertEquals("test", endContext.getAttributes().get("test").get(0)); in testWriteResults()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java101 Attributes attrs = manifest.getAttributes("directory/file"); in signJarWithPrexistingSimpleTextFilePre18()
121 Attributes signAttrs = signature.getAttributes("directory/file"); in signJarWithPrexistingSimpleTextFilePre18()
158 Attributes attrs = manifest.getAttributes("directory/file"); in signJarWithPrexistingSimpleTextFilePos18()
179 Attributes signAttrs = signature.getAttributes("directory/file"); in signJarWithPrexistingSimpleTextFilePos18()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java384 assertNull(moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION)); in testCreateModule()
405 moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION).size()); in testCreateModule_withParams()
409 .getAttributes() in testCreateModule_withParams()
1090 moduleContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0)); in testAbiSetting()
1091 assertEquals("arm", moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0)); in testAbiSetting()
1094 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testAbiSetting()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java213 holder.context.getAttributes().getUniqueMap().get(COMMAND_LINE_ARGS))); in writeResults()
246 for (String key : holder.context.getAttributes().keySet()) { in writeResults()
248 NS, key, String.join(",", holder.context.getAttributes().get(key))); in writeResults()
254 String runHistoryJson = holder.context.getAttributes().getUniqueMap().get(RUN_HISTORY); in writeResults()
DSuiteResultReporter.java95 List<String> abiName = moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI); in testModuleStarted()
99 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0), abi); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java366 if (moduleContext.getAttributes().containsKey(ModuleDefinition.MODULE_ID)) { in handleModuleStart()
369 .getAttributes() in handleModuleStart()
598 MultiMap<String, String> attributes = endInvocationContext.getAttributes(); in mergeInvocationContext()
DProtoResultReporter.java230 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java298 metadata.getAttributes() in invocationComplete()
302 metadata.getAttributes() in invocationComplete()
306 metadata.getAttributes() in invocationComplete()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DBaseModuleController.java67 String abi = mContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0); in getModuleAbi()
73 return mContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in getModuleName()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPushFilePreparer.java190 if (invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null) { in setInvocationContext()
193 invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in setInvocationContext()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt122 private fun getAttributes(annotation: UAnnotation, showDefaultAttrs: Boolean): in <lambda>() method
151 val attributes = getAttributes(uAnnotation, showDefaultAttrs) in <lambda>()
DPsiAnnotationItem.kt137 private fun getAttributes(annotation: PsiAnnotation, showDefaultAttrs: Boolean): in <lambda>() method
166 val attributes = getAttributes(psiAnnotation, showDefaultAttrs) in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java475 if (mContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null) { in resolveRelativeFilePath()
476 mModuleName = mContext.getAttributes().get(ModuleDefinition.MODULE_NAME) in resolveRelativeFilePath()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java656 for (String key : protoBuild.getAttributes().keySet()) { in fromProto()
657 buildInfo.addBuildAttribute(key, protoBuild.getAttributes().get(key)); in fromProto()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java696 for (String key : context.getAttributes().keySet()) { in logInvocationEndedEvent()
697 args.put(key, context.getAttributes().get(key).get(0)); in logInvocationEndedEvent()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java147 public MultiMap<String, String> getAttributes(); in getAttributes() method
/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestParser.java336 public List<Attribute> getAttributes() { in getAttributes() method in ManifestParser.Section
/tools/tradefederation/core/src/com/android/tradefed/result/
DSubprocessResultsReporter.java248 Map<String, String> metrics = mContext.getAttributes().getUniqueMap(); in invocationEnded()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java227 public MultiMap<String, String> getAttributes() { in getAttributes() method in InvocationContext
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java693 .getAttributes() in toString()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java601 assertEquals(RUN_HISTORY, holder.context.getAttributes().getUniqueMap().get("run_history")); in testRunHistoryReporting()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java922 .getAttributes() in getClasses()

12