Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/javatests/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()
DShardMainResultForwarderTest.java225 Map<String, String> attributes = main.getAttributes().getUniqueMap(); in testForward_contextAttributes()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DBaseModuleController.java70 String abi = mContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0); in getModuleAbi()
76 return mContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in getModuleName()
/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/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java147 public MultiMap<String, String> getAttributes(); in getAttributes() method
218 List<String> values = getAttributes().get(key); in getAttribute()
/tools/tradefederation/core/src/com/android/tradefed/result/
DConsoleResultReporter.java174 if (mDisplayInvocationAttributes && !mContext.getAttributes().isEmpty()) { in invocationEnded()
177 for (String key : mContext.getAttributes().keySet()) { in invocationEnded()
179 " " + key + "=" + mContext.getAttributes().get(key).toString() + "\n"); in invocationEnded()
DReportPassedTests.java97 String moduleId = mContextForEmptyModule.getAttributes() in testModuleEnded()
163 return context.getAttributes().getUniqueMap().get(ModuleDefinition.MODULE_ID); in getBaseName()
DEventsLoggerListener.java77 .getAttributes() in testModuleStarted()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java644 return mContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null in getModuleName()
645 ? mContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0) in getModuleName()
696 if (mContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null) { in resolveRelativeFilePath()
697 mModuleName = mContext.getAttributes().get(ModuleDefinition.MODULE_NAME) in resolveRelativeFilePath()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java443 if (moduleContext.getAttributes().containsKey(ModuleDefinition.MODULE_ID)) { in handleModuleStart()
446 .getAttributes() in handleModuleStart()
473 mModuleContext.addInvocationAttributes(moduleContext.getAttributes()); in handleModuleEnded()
731 MultiMap<String, String> attributes = endInvocationContext.getAttributes(); in mergeInvocationContext()
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DProtoResultParserTest.java176 assertFalse(context.getAttributes().containsKey(CONTEXT_TEST_KEY)); in testEvents()
180 assertEquals("context_value", context.getAttributes().get("early_context_key").get(0)); in testEvents()
252 assertEquals("context_value", context.getAttributes().get(CONTEXT_TEST_KEY).get(0)); in testEvents()
256 assertEquals("context_value", context.getAttributes().get("early_context_key").get(0)); in testEvents()
662 assertEquals("context_value", context.getAttributes().get(CONTEXT_TEST_KEY).get(0)); in testEvents_subprocess()
DFileProtoResultReporterTest.java100 assertEquals("test", endContext.getAttributes().get("test").get(0)); in testWriteResults()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DUAnnotationItem.kt106 private fun getAttributes( in getAttributes() method
138 val attributes = getAttributes(uAnnotation, showDefaultAttrs) in appendAnnotation()
DPsiAnnotationItem.kt106 private fun getAttributes( in getAttributes() method
139 val attributes = getAttributes(psiAnnotation, showDefaultAttrs) in appendAnnotation()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java225 holder.context.getAttributes().getUniqueMap().get(COMMAND_LINE_ARGS))); in writeResults()
258 for (String key : holder.context.getAttributes().keySet()) { in writeResults()
262 String.join(",", holder.context.getAttributes().get(key))); in writeResults()
274 String runHistoryJson = holder.context.getAttributes().getUniqueMap().get(RUN_HISTORY); in writeResults()
DSuiteResultReporter.java98 List<String> abiName = moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI); in testModuleStarted()
102 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0), abi); in testModuleStarted()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPushFilePreparer.java208 if (invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME) != null) { in setInvocationContext()
211 invocationContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0); in setInvocationContext()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java361 metadata.getAttributes() in invocationComplete()
365 metadata.getAttributes() in invocationComplete()
369 metadata.getAttributes() in invocationComplete()
/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DDefaultConnection.java161 public final MultiMap<String, String> getAttributes() { in getAttributes() method in DefaultConnection
/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/javatests/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java377 assertNull(moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION)); in testCreateModule()
398 moduleContext.getAttributes().get(ModuleDefinition.MODULE_PARAMETERIZATION).size()); in testCreateModule_withParams()
402 .getAttributes() in testCreateModule_withParams()
1200 moduleContext.getAttributes().get(ModuleDefinition.MODULE_NAME).get(0)); in testAbiSetting()
1201 assertEquals("arm", moduleContext.getAttributes().get(ModuleDefinition.MODULE_ABI).get(0)); in testAbiSetting()
1204 moduleContext.getAttributes().get(ModuleDefinition.MODULE_ID).get(0)); in testAbiSetting()
/tools/asuite/atest/bazel/reporter/javatests/com/android/tradefed/result/
DBazelXmlResultReporterTest.java191 node.getAttributes().getNamedItem(attributeName).getNodeValue(), attributeValue); in assertNodeContainsAttribute()
/tools/carrier_settings/java/
DCarrierConfigConverterV2.java768 NamedNodeMap attributes = element.getAttributes(); in checkFilters()
997 NamedNodeMap attributes = element.getAttributes(); in loadUniqueRulesFromVendorXml()
1021 NamedNodeMap attributes = childElement.getAttributes(); in findParentConfigByUniqueRuleId()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DJavaCodeCoverageCollectorTest.java134 when(mMockContext.getAttributes()) in setUp()
209 when(mMockContext.getAttributes()).thenReturn(new MultiMap(ImmutableMap.of())); in testRunEnded_rootEnabled_noModuleName_logsCoverageMeasurement()
DClangCodeCoverageCollectorTest.java141 when(mMockContext.getAttributes()) in setUp()
392 when(mMockContext.getAttributes()).thenReturn(new MultiMap(ImmutableMap.of())); in testRun_noModuleName_logsCoverageFile()

12