Home
last modified time | relevance | path

Searched refs:key2 (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanResultMatchInfoTest.java100 ScanResultMatchInfo key2 = ScanResultMatchInfo.fromScanResult(scanDetail.getScanResult()); in testEqualityRulesForTransitionMode() local
107 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
108 assertTrue(key2.equals(key1)); in testEqualityRulesForTransitionMode()
111 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
112 assertTrue(key2.equals(key3)); in testEqualityRulesForTransitionMode()
116 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
117 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
118 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
119 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode()
133 ScanResultMatchInfo key2 = ScanResultMatchInfo.fromScanResult(scanDetail.getScanResult()); in testEqualityRulesForPsk() local
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DObjectCounterTest.java44 public String key2; field in ObjectCounterTest.TestKey
47 public TestKey(int key1, String key2, boolean key3) { in TestKey() argument
49 this.key2 = key2; in TestKey()
61 && Objects.equals(key2, testKey.key2); in equals()
67 return Objects.hash(key1, key2, key3); in hashCode()
75 + ", key2='" + key2 + '\'' in toString()
86 public String key2; field in ObjectCounterTest.TestKeyProto
90 public TestKeyProto(int key1, String key2, boolean key3, int count) { in TestKeyProto() argument
92 this.key2 = key2; in TestKeyProto()
105 && Objects.equals(key2, that.key2); in equals()
[all …]
/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java100 int key2 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testResolveService() local
101 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in testResolveService()
119 int key2 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testParallelResolveService() local
121 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in testParallelResolveService()
144 int key2 = verifyRequest(NsdManager.REGISTER_SERVICE); in testRegisterService() local
147 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); in testRegisterService()
172 assertEquals(key2, key2again); in testRegisterService()
207 int key2 = verifyRequest(NsdManager.DISCOVER_SERVICES); in testDiscoverService() local
209 sendResponse(NsdManager.DISCOVER_SERVICES_STARTED, 0, key2, reply1); in testDiscoverService()
214 sendResponse(NsdManager.SERVICE_FOUND, 0, key2, reply1); in testDiscoverService()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/storage/
DTertiaryKeysTableTest.java91 TertiaryKey key2 = generateTertiaryKey(alias2, PACKAGE_NAME); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey() local
94 long primaryKey2 = mTertiaryKeysTable.addKey(key2); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey()
101 assertTertiaryKeysEqual(mTertiaryKeysTable.getKey(alias2, PACKAGE_NAME).get(), key2); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey() local
133 TertiaryKey key2 = generateTertiaryKey(SECONDARY_ALIAS, package2); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() local
134 mTertiaryKeysTable.addKey(key2); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary()
145 assertTertiaryKeysEqual(keysByPackageName.get(package2), key2); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() local
/frameworks/base/cmds/statsd/tests/metrics/
DMaxDurationTracker_test.cpp47 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); variable
53 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); in TEST() local
77 tracker.noteStart(key2, true, bucketStartTimeNs + 20, ConditionKey()); in TEST()
78 tracker.noteStop(key2, bucketStartTimeNs + 40, false /*stop all*/); in TEST()
89 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); in TEST() local
109 tracker.noteStart(key2, true, bucketStartTimeNs + 20, ConditionKey()); in TEST()
126 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); in TEST() local
167 const HashableDimensionKey key2 = getMockedDimensionKey(TagId, 1, "2"); in TEST() local
343 tracker.noteStart(key2, true, eventStartTimeNs2, conditionKey2); // Condition is on already. in TEST()
364 tracker.noteStop(key2, eventStopTimeNs, false); in TEST()
[all …]
DEventMetricProducer_test.cpp112 ConditionKey key2; in TEST() local
113key2[StringToId("APP_IN_BACKGROUND_PER_UID")] = {getMockedDimensionKey(conditionTagId, 2, "222")}; in TEST()
118 EXPECT_CALL(*wizard, query(_, key2, _, _, _, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
DCountMetricProducer_test.cpp185 ConditionKey key2; in TEST() local
186 key2[StringToId("APP_IN_BACKGROUND_PER_UID")] = in TEST()
192 EXPECT_CALL(*wizard, query(_, key2, _, _, _, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/
DTertiaryKeyGeneratorTest.java69 SecretKey key2 = mTertiaryKeyGenerator.generate(); in generate_generatesNewKeys() local
71 assertThat(key1).isNotEqualTo(key2); in generate_generatesNewKeys()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationRequestStatisticsTest.java104 PackageProviderKey key2 = new PackageProviderKey(PACKAGE1, PROVIDER2); in testSinglePackage_multipleProviders() local
105 PackageStatistics stats2 = mStatistics.statistics.get(key2); in testSinglePackage_multipleProviders()
136 PackageProviderKey key2 = new PackageProviderKey(PACKAGE1, PROVIDER2); in testMultiplePackages() local
137 PackageStatistics stats2 = mStatistics.statistics.get(key2); in testMultiplePackages()
/frameworks/av/camera/
DCameraParameters2.cpp149 status_t CameraParameters2::compareSetOrder(const char *key1, const char *key2, in compareSetOrder() argument
154 } else if (key2 == NULL) { in compareSetOrder()
163 ssize_t index2 = mMap.indexOfKey(String8(key2)); in compareSetOrder()
168 ALOGW("%s: Key2 (%s) was not set", __FUNCTION__, key2); in compareSetOrder()
/frameworks/base/cmds/bootanimation/iot/
DBootParameters_test.cpp152 "param_names":["key1", "key2"], in TEST()
187 "param_names":["key1", "key2"], in TEST()
205 "param_names":["key1", "key2"], in TEST()
/frameworks/base/tools/obbtool/
Dmkobb.sh117 hidden_prompt "Encryption key (again): " key2
119 if [ "${key}x" != "${key2}x" ]; then \
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCandidates.java363 ScanResultMatchInfo key2 = ScanResultMatchInfo.fromScanResult(scanResult); in add() local
364 if (!key1.equals(key2)) return failure(key1, key2); in add()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java1205 private static boolean isPrivateKeyEquals(PrivateKey key1, PrivateKey key2) { in isPrivateKeyEquals() argument
1206 if (key1 == null && key2 == null) { in isPrivateKeyEquals()
1211 if (key1 == null || key2 == null) { in isPrivateKeyEquals()
1215 return TextUtils.equals(key1.getAlgorithm(), key2.getAlgorithm()) && in isPrivateKeyEquals()
1216 Arrays.equals(key1.getEncoded(), key2.getEncoded()); in isPrivateKeyEquals()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java135 WifiKey key2 = new WifiKey("\"ssid2\"", BSSID); in updateScoresShouldAddNewNetwork() local
136 ScoredNetwork network2 = buildScoredNetwork(key2, mockRssiCurve); in updateScoresShouldAddNewNetwork()
/frameworks/av/camera/include/camera/
DCameraParameters2.h60 status_t compareSetOrder(const char *key1, const char *key2,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_test.cc641 int32 key2 = 1; in TEST_P() local
649 map1[key2] = value2a; in TEST_P()
656 map2[key2] = value2b; in TEST_P()
744 int32 key2 = 1; in TEST_P() local
750 map[key2] = value2; in TEST_P()
759 EXPECT_TRUE(map_.end() == map_.find(key2)); in TEST_P()
780 int32 key2 = 1; in CopyConstructorHelper() local
786 map[key2] = value2; in CopyConstructorHelper()
794 EXPECT_EQ(value2, other.at(key2)); in CopyConstructorHelper()
808 int32 key2 = 1; in TEST_P() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dhash.h263 bool operator()(const Key& key1, const Key& key2) const {
264 return !equalkey_(key1, key2);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java95 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
DKeyguardPinBasedInputView.java227 mButton2 = findViewById(R.id.key2); in onFinishInflate()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs379 var key2 = "a"; in MapNonContiguousEntries()
384 output.WriteString(key2); in MapNonContiguousEntries()
403 MapStringString = { { key2, value2 } } in MapNonContiguousEntries()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBRootObject.m89 const char *key2 = (const char *)value2;
90 return strcmp(key1, key2) == 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1563 String8 key2; in insertCommand_l() local
1565 param2.getAt(k, key2, value2); in insertCommand_l()
1566 if (key2 == key) { in insertCommand_l()
1567 param2.remove(key2); in insertCommand_l()
1568 ALOGV("Filtering out parameter %s", key2.string()); in insertCommand_l()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DMapForProto2Test.java677 KeyType key1, ValueType value1, KeyType key2, ValueType value2) { in mapForValues() argument
680 map.put(key2, value2); in mapForValues()
1152 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { in newMap() argument
1155 map.put(key2, value2); in newMap()
DMapTest.java789 KeyType key1, ValueType value1, KeyType key2, ValueType value2) { in mapForValues() argument
792 map.put(key2, value2); in mapForValues()
1316 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { in newMap() argument
1319 map.put(key2, value2); in newMap()

12