Home
last modified time | relevance | path

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

/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.java99 int key2 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testResolveService() local
100 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in testResolveService()
118 int key2 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testParallelResolveService() local
120 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key2, reply); in testParallelResolveService()
143 int key2 = verifyRequest(NsdManager.REGISTER_SERVICE); in testRegisterService() local
146 sendResponse(NsdManager.REGISTER_SERVICE_SUCCEEDED, 0, key2, request2); in testRegisterService()
171 assertEquals(key2, key2again); in testRegisterService()
206 int key2 = verifyRequest(NsdManager.DISCOVER_SERVICES); in testDiscoverService() local
208 sendResponse(NsdManager.DISCOVER_SERVICES_STARTED, 0, key2, reply1); in testDiscoverService()
213 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.cpp150 status_t CameraParameters2::compareSetOrder(const char *key1, const char *key2, in compareSetOrder() argument
155 } else if (key2 == NULL) { in compareSetOrder()
164 ssize_t index2 = mMap.indexOfKey(String8(key2)); in compareSetOrder()
169 ALOGW("%s: Key2 (%s) was not set", __FUNCTION__, key2); in compareSetOrder()
/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/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java96 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
DKeyguardPinBasedInputView.java229 mButton2 = findViewById(R.id.key2); in onFinishInflate()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1647 String8 key2; in insertCommand_l() local
1649 param2.getAt(k, key2, value2); in insertCommand_l()
1650 if (key2 == key) { in insertCommand_l()
1651 param2.remove(key2); in insertCommand_l()
1652 ALOGV("Filtering out parameter %s", key2.string()); in insertCommand_l()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java121 WrappedKey key2 = new WrappedKey( in insertKey_allowsTwoUidsToHaveSameAlias() local
128 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 2, alias, key2); in insertKey_allowsTwoUidsToHaveSameAlias()