Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 25 of 26) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/util/
DPair.java41 final Pair<?, ?> pair = (Pair<?, ?>) o; in equals() local
42 if (this == pair) { in equals()
47 if (pair.first != null) { in equals()
50 } else if (!this.first.equals(pair.first)) { in equals()
54 if (pair.second != null) { in equals()
57 } else if (!this.second.equals(pair.second)) { in equals()
DSubprocessTestResultsParser.java625 for (String pair : Splitter.on(",").split(val)) { in handleEvent()
626 if (!pair.contains("=")) { in handleEvent()
629 String[] pairSplit = pair.split("="); in handleEvent()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Droute.py101 pair = None
105 pair = (self.DEFAULT_ROUTE,
111 pair = None
122 pair = (address, d['net_interface'])
125 if not pair:
131 if pair[1] == net_interface:
132 yield pair
135 yield pair
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestContext.java70 final JSONObject pair = envVars.getJSONObject(i); in fromJson() local
71 obj.mEnvVars.put(pair.getString("key"), pair.getString("value")); in fromJson()
86 final JSONObject pair = new JSONObject(); in toJson() local
87 pair.put("key", entry.getKey()); in toJson()
88 pair.put("value", entry.getValue()); in toJson()
89 envVars.put(pair); in toJson()
DTradefedConfigObject.java77 JSONObject pair = arr.getJSONObject(i); in fromJson() local
78 String key = pair.getString("key"); in fromJson()
79 JSONArray valueArr = pair.optJSONArray("values"); in fromJson()
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dradvd_config.py244 filter(lambda pair: pair[1] is not None,
268 filter(lambda pair: pair[1] is not None,
277 filter(lambda pair: pair[1] is not None,
282 filter(lambda pair: pair[1] is not None,
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPushFilePreparer.java154 String[] pair = pushspec.split("->"); in getPushSpecs() local
155 if (pair.length != 2) { in getPushSpecs()
156 fail(String.format("Invalid pushspec: '%s'", Arrays.asList(pair)), descriptor); in getPushSpecs()
159 remoteToLocalMapping.put(pair[1], new File(pair[0])); in getPushSpecs()
/tools/dexter/slicer/
Dcommon.cc34 thread_local std::set<std::pair<int, const char*>> weak_failures;
/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2FrameworkStressTest.java134 for (String pair : pairs) { in parseLog()
135 String[] keyValue = pair.split("="); in parseLog()
DCamera2StressTest.java163 for (String pair : pairs) { in parseLog()
164 String[] keyValue = pair.split("="); in parseLog()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4SchemeSigner.java100 Pair<V4Signature, byte[]> pair = generateV4Signature(apkContent, signerConfig); in generateV4Signature() local
102 pair.getFirst().writeTo(output); in generateV4Signature()
103 V4Signature.writeBytes(output, pair.getSecond()); in generateV4Signature()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java349 MapEntry pair = null; in setOptionMapValue() local
351 pair = ((MapHandler) handler).translate(keyText, valueText); in setOptionMapValue()
352 if (pair == null) { in setOptionMapValue()
392 map.put(pair.mKey, pair.mValue); in setOptionMapValue()
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS40 pair pair BD_ADDR<xx:xx:xx:xx:xx:xx>
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/
Dbtc_lib.py218 def pair(self, identifier, pairing_security_level, non_bondable, member in FuchsiaBtcLib
/tools/tradefederation/core/proto/
Dconfiguration_description.proto26 // Key of the pair to identify the metadata.
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java611 for (String pair : Splitter.on(",").split(val)) { in mergeInvocationContext()
612 if (!pair.contains("=")) { in mergeInvocationContext()
615 String[] pairSplit = pair.split("="); in mergeInvocationContext()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSl4aBluetoothUtilTest.java164 assertTrue(mBluetoothUtil.pair(mPrimary, mSecondary)); in testPair_alreadyPaired()
182 assertTrue(mBluetoothUtil.pair(mPrimary, mSecondary)); in testPair_success()
197 assertFalse(mBluetoothUtil.pair(mPrimary, mSecondary)); in testPair_timeout()
/tools/tradefederation/core/tests/res/testtype/
Dpython_output2.txt155 Test when the key pair already exists. ... ok
157 Test when the key pair created. ... ok
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1619 String[] pair = line.trim().split("=", -1); in getAllSettingsInternal() local
1620 if (pair.length > 1) { in getAllSettingsInternal()
1621 map.putIfAbsent(pair[0], pair[1]); in getAllSettingsInternal()
/tools/apksig/src/main/java/com/android/apksig/
DDefaultApkSignerEngine.java970 Pair<V4Signature, byte[]> pair = in produceV4Signature() local
972 pair.getFirst().writeTo(sigOutput); in produceV4Signature()
973 return pair.getSecond(); in produceV4Signature()
/tools/carrier_settings/proto/
Dcarrier_settings.proto173 // Key-Value pair as a config entry
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dapollo_acts.py111 def pair(self, phone, companion_app=True): member in ApolloTestActions
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt5 pair and a corresponding certificate. Typically, an APK is signed by just one
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dbluetooth_device.py1381 self.device.btc_lib.pair(peer_identifier, security_level,
/tools/test/connectivity/acts/tests/google/ble/filtering/
DFilteringTest.py12014 for pair in filters['manufacturer_specific_data_list']:
12015 (manu_id, manu_data) = pair

12