/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResultMatchInfoTest.java | 100 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/ |
D | ObjectCounterTest.java | 44 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/ |
D | NsdManagerTest.java | 99 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/ |
D | TertiaryKeysTableTest.java | 91 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/ |
D | MaxDurationTracker_test.cpp | 47 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 …]
|
D | EventMetricProducer_test.cpp | 112 ConditionKey key2; in TEST() local 113 … key2[StringToId("APP_IN_BACKGROUND_PER_UID")] = {getMockedDimensionKey(conditionTagId, 2, "222")}; in TEST() 118 EXPECT_CALL(*wizard, query(_, key2, _, _, _, _)).WillOnce(Return(ConditionState::kTrue)); in TEST()
|
D | CountMetricProducer_test.cpp | 185 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/ |
D | TertiaryKeyGeneratorTest.java | 69 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/ |
D | LocationRequestStatisticsTest.java | 104 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/ |
D | CameraParameters2.cpp | 150 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/ |
D | mkobb.sh | 117 hidden_prompt "Encryption key (again): " key2 119 if [ "${key}x" != "${key2}x" ]; then \
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiCandidates.java | 363 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/ |
D | Credential.java | 1205 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/ |
D | WifiNetworkScoreCacheTest.java | 135 WifiKey key2 = new WifiKey("\"ssid2\"", BSSID); in updateScoresShouldAddNewNetwork() local 136 ScoredNetwork network2 = buildScoredNetwork(key2, mockRssiCurve); in updateScoresShouldAddNewNetwork()
|
/frameworks/av/camera/include/camera/ |
D | CameraParameters2.h | 60 status_t compareSetOrder(const char *key1, const char *key2,
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 96 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
|
D | KeyguardPinBasedInputView.java | 229 mButton2 = findViewById(R.id.key2); in onFinishInflate()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1647 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/ |
D | RecoverableKeyStoreDbTest.java | 121 WrappedKey key2 = new WrappedKey( in insertKey_allowsTwoUidsToHaveSameAlias() local 128 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 2, alias, key2); in insertKey_allowsTwoUidsToHaveSameAlias()
|