Home
last modified time | relevance | path

Searched refs:o (Results 1 – 25 of 57) sorted by relevance

123

/tools/treble/build/sandbox/
Doverlay_test.py96 o = overlay.BindOverlay(
100 self.assertIsNotNone(o)
101 bind_mounts = o.GetBindMounts()
129 o = overlay.BindOverlay(
133 self.assertIsNotNone(o)
134 bind_mounts = o.GetBindMounts()
153 o = overlay.BindOverlay(
157 self.assertIsNotNone(o)
158 bind_mounts = o.GetBindMounts()
185 o = overlay.BindOverlay(
[all …]
Dconfig.py256 return base + [o.get('name') for o in config_elem.findall('overlay')]
270 return base + [fs for o in config_elem.findall('view')
271 for fs in fs_view_map[o.get('name')]]
286 [o.get('path') for o in config_elem.findall('allow_readwrite')])
/tools/treble/split/
Dmanifest_split.py592 for o, a in opts:
593 if o in ("-h", "--help"):
596 elif o in ("--debug-file"):
598 elif o in ("--manifest"):
600 elif o in ("--split-manifest"):
602 elif o in ("--config"):
604 elif o == "--ignore-default-config":
606 elif o in ("--repo-list"):
608 elif o in ("--ninja-build"):
610 elif o in ("--ninja-binary"):
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSerializationUtilTest.java57 Object o = SerializationUtil.deserialize(serializedException); in testSerialize_DeserializeString() local
58 assertTrue(o instanceof RuntimeException); in testSerialize_DeserializeString()
59 assertEquals("test", ((RuntimeException) o).getMessage()); in testSerialize_DeserializeString()
67 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialize_Deserialize() local
68 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize()
69 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize()
84 Object o = SerializationUtil.deserialize(tmpSerialized, false); in testSerialize_Deserialize_noDelete() local
85 assertTrue(o instanceof BuildInfo); in testSerialize_Deserialize_noDelete()
86 BuildInfo test = (BuildInfo) o; in testSerialize_Deserialize_noDelete()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java550 for (Object o : entryList.getValue()) { in getAllConfigurationObjects()
551 if (o instanceof IDisableable && ((IDisableable) o).isDisabled()) { in getAllConfigurationObjects()
554 objectsCopy.add(o); in getAllConfigurationObjects()
744 for (Object o : listOfType) { in partialDeepClone()
745 clonedConfig.getDeviceConfig().get(i).addSpecificConfig(o); in partialDeepClone()
759 for (Object o : objects) { in cloneListTFObject()
760 copiedList.add(cloneTFobject(o)); in cloneListTFObject()
765 private Object cloneTFobject(Object o) throws ConfigurationException { in cloneTFobject() argument
767 Object clone = o.getClass().getConstructor().newInstance(); in cloneTFobject()
768 OptionCopier.copyOptions(o, clone); in cloneTFobject()
[all …]
DSandboxConfigurationFactory.java227 o -> in createConfigurationDef()
228 (o.applicableObjectType != null in createConfigurationDef()
231o.applicableObjectType))) in createConfigurationDef()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt429 override fun make(o: Any): Any { in make()
430 val name = o as String in make()
474 internal fun obtain(o: Any?): Any? { in obtain()
475 if (o == null) { in obtain()
478 var r: Any? = mCache[o] in obtain()
480 r = make(o) in obtain()
481 mCache[o] = r in obtain()
486 protected abstract fun make(o: Any): Any
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt79 o Expanded Addressing Capabilities
89 o Header Format Simplification
95 o Improved Support for Extensions and Options
102 o Flow Labeling Capability
119 o Authentication and Privacy Capabilities
1082 o
1083 o
1084 o
1282 o If the desired action is for the destination node to discard
1300 o If any other action is desired, the information must be encoded
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTargetSetupErrorTest.java52 Object o = SerializationUtil.deserialize(s, true); in testSerialization() local
53 assertTrue(o instanceof TargetSetupError); in testSerialization()
54 assertEquals("reason [null null:null null]", ((TargetSetupError) o).getMessage()); in testSerialization()
82 Object o = SerializationUtil.deserialize(s, true); in testSerialization_withIDevice() local
83 assertTrue(o instanceof TargetSetupError); in testSerialization_withIDevice()
86 ((TargetSetupError) o).getMessage()); in testSerialization_withIDevice()
/tools/tradefederation/core/src/com/android/tradefed/util/
DListInstrumentationParser.java93 public int compareTo(InstrumentationTarget o) { in compareTo() argument
94 if (!this.packageName.equals(o.packageName)) { in compareTo()
95 return this.packageName.compareTo(o.packageName); in compareTo()
96 } else if (!this.runnerName.equals(o.runnerName)) { in compareTo()
97 return this.runnerName.compareTo(o.runnerName); in compareTo()
99 return this.targetName.compareTo(o.targetName); in compareTo()
DSerializationUtil.java39 public static File serialize(Serializable o) throws IOException { in serialize() argument
46 out.writeObject(o); in serialize()
65 public static String serializeToString(Serializable o) throws IOException { in serializeToString() argument
71 out.writeObject(o); in serializeToString()
DPair.java36 public boolean equals(Object o) { in equals() argument
37 if (!(o instanceof Pair)) { in equals()
41 final Pair<?, ?> pair = (Pair<?, ?>) o; in equals()
DBulkEmailer.java110 Object o = config.getConfigurationObject("emailer"); in loadMailer() local
111 if (o instanceof BulkEmailer) { in loadMailer()
112 return (BulkEmailer) o; in loadMailer()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/
DSparseArray.kt107 var o = 0 in gc() variable
115 if (i != o) { in gc()
116 keys[o] = keys[i] in gc()
117 values[o] = `val` in gc()
121 o++ in gc()
126 mSize = o in gc()
/tools/platform-compat/java/android/processor/compat/
DSourcePosition.java60 public boolean equals(Object o) { in equals() argument
61 if (this == o) return true; in equals()
62 if (o == null || getClass() != o.getClass()) return false; in equals()
63 SourcePosition that = (SourcePosition) o; in equals()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DMetricSummary.java113 public boolean equals(Object o) { in equals() argument
114 if (this == o) return true; in equals()
115 if (o == null || getClass() != o.getClass()) return false; in equals()
116 MetricSummary summary = (MetricSummary) o; in equals()
DLoopSummary.java172 public boolean equals(Object o) { in equals() argument
173 if (this == o) return true; in equals()
174 if (o == null || getClass() != o.getClass()) return false; in equals()
175 LoopSummary that = (LoopSummary) o; in equals()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DGuaranteedEncodedFormX509Certificate.java44 public boolean equals(Object o) { in equals() argument
45 if (this == o) return true; in equals()
46 if (!(o instanceof X509Certificate)) return false; in equals()
50 byte[] b = ((X509Certificate) o).getEncoded(); in equals()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelper.java151 for (Object o : targetPrepList) { in checkTargetPrep()
152 if (o instanceof ITargetPreparer && o instanceof IMultiTargetPreparer) { in checkTargetPrep()
157 o.getClass().getCanonicalName(), in checkTargetPrep()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java262 public boolean equals(Object o) { in equals() argument
263 if (this == o) return true; in equals()
264 if (!(o instanceof SigningCertificateNode)) return false; in equals()
266 SigningCertificateNode that = (SigningCertificateNode) o; in equals()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java100 public boolean equals(Object o) { in equals() argument
101 if(o instanceof CommandLine) { in equals()
102 CommandLine otherLine = (CommandLine) o; in equals()
103 return super.equals(o) && in equals()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestContext.java111 public boolean equals(Object o) { in equals() argument
112 if (!(o instanceof TestContext)) { in equals()
116 return toString().equals(o.toString()); in equals()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceFolderBuildInfoTest.java110 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization() local
111 assertTrue(o instanceof DeviceFolderBuildInfo); in testSerialization()
112 DeviceFolderBuildInfo test = (DeviceFolderBuildInfo) o; in testSerialization()
DBuildInfoTest.java121 Object o = SerializationUtil.deserialize(tmpSerialized, true); in testSerialization() local
122 assertTrue(o instanceof BuildInfo); in testSerialization()
123 BuildInfo test = (BuildInfo) o; in testSerialization()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java712 DeviceSelectionOptions o = new DeviceSelectionOptions(); in createForSerial() local
713 o.setSerial(serial); in createForSerial()
714 return o; in createForSerial()

123