/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResultMatchInfoTest.java | 99 ScanResultMatchInfo key1 = ScanResultMatchInfo.fromWifiConfiguration(wifiConfiguration); in testEqualityRulesForTransitionMode() local 104 assertTrue(key1.equals(key1)); in testEqualityRulesForTransitionMode() 107 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode() 108 assertTrue(key2.equals(key1)); in testEqualityRulesForTransitionMode() 111 assertTrue(key1.equals(key2)); in testEqualityRulesForTransitionMode() 113 assertTrue(key1.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() [all …]
|
D | WifiCandidatesTest.java | 142 WifiCandidates.Key key1 = new WifiCandidates.Key(matchInfo1, mac1, 1); in testKeyEquivalence() local 144 assertFalse(key1.equals(null)); in testKeyEquivalence() 145 assertFalse(key1.equals((Integer) 0)); in testKeyEquivalence() 147 assertEquals(key1, new WifiCandidates.Key(matchInfo1, mac1, 1)); in testKeyEquivalence() 149 assertEquals(key1, new WifiCandidates.Key(matchInfo1Prime, mac1, 1)); in testKeyEquivalence() 151 assertEquals(key1.hashCode(), key1.hashCode()); in testKeyEquivalence() 152 assertEquals(key1.hashCode(), new WifiCandidates.Key(matchInfo1, mac1, 1).hashCode()); in testKeyEquivalence() 153 assertEquals(key1.hashCode(), new WifiCandidates.Key(matchInfo1Prime, mac1, 1).hashCode()); in testKeyEquivalence() 156 assertFalse(key1.equals(new WifiCandidates.Key(matchInfo2, mac1, 1))); in testKeyEquivalence() 157 assertFalse(key1.equals(new WifiCandidates.Key(matchInfo1, mac2, 1))); in testKeyEquivalence() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ObjectCounterTest.java | 43 public int key1; field in ObjectCounterTest.TestKey 47 public TestKey(int key1, String key2, boolean key3) { in TestKey() argument 48 this.key1 = key1; in TestKey() 59 return key1 == testKey.key1 in equals() 67 return Objects.hash(key1, key2, key3); in hashCode() 74 + "key1=" + key1 in toString() 85 public int key1; field in ObjectCounterTest.TestKeyProto 90 public TestKeyProto(int key1, String key2, boolean key3, int count) { in TestKeyProto() argument 91 this.key1 = key1; in TestKeyProto() 102 return key1 == that.key1 in equals() [all …]
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | MaxDurationTracker_test.cpp | 46 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); variable 52 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); in TEST() local 70 tracker.noteStart(key1, true, bucketStartTimeNs, ConditionKey()); in TEST() 72 tracker.noteStart(key1, true, bucketStartTimeNs + 3, ConditionKey()); in TEST() 74 tracker.noteStop(key1, bucketStartTimeNs + 10, false); in TEST() 88 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); in TEST() local 106 tracker.noteStart(key1, true, bucketStartTimeNs + 1, ConditionKey()); in TEST() 125 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); in TEST() local 166 const HashableDimensionKey key1 = getMockedDimensionKey(TagId, 1, "1"); in TEST() local 203 const HashableDimensionKey conditionDimKey = key1; in TEST() [all …]
|
D | OringDurationTracker_test.cpp | 192 ConditionKey key1; in TEST() local 193 key1[StringToId("APP_BACKGROUND")] = kConditionKey1; in TEST() 195 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)) // #4 in TEST() 210 tracker.noteStart(kEventKey1, true, eventStartTimeNs, key1); in TEST() 230 ConditionKey key1; in TEST() local 231 key1[StringToId("APP_BACKGROUND")] = kConditionKey1; in TEST() 233 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)) in TEST() 250 tracker.noteStart(kEventKey1, true, eventStartTimeNs, key1); in TEST() 272 ConditionKey key1; in TEST() local 273 key1[StringToId("APP_BACKGROUND")] = kConditionKey1; in TEST() [all …]
|
D | EventMetricProducer_test.cpp | 106 ConditionKey key1; in TEST() local 107 … key1[StringToId("APP_IN_BACKGROUND_PER_UID")] = {getMockedDimensionKey(conditionTagId, 2, "111")}; in TEST() 116 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
|
D | CountMetricProducer_test.cpp | 178 ConditionKey key1; in TEST() local 179 key1[StringToId("APP_IN_BACKGROUND_PER_UID")] = in TEST() 190 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/storage/ |
D | TertiaryKeysTableTest.java | 90 TertiaryKey key1 = generateTertiaryKey(SECONDARY_ALIAS, PACKAGE_NAME); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey() local 93 long primaryKey1 = mTertiaryKeysTable.addKey(key1); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey() 99 mTertiaryKeysTable.getKey(SECONDARY_ALIAS, PACKAGE_NAME).get(), key1); in addKey_havingSamePackageNameButDifferentAlias_doesNotReplaceOldKey() local 130 TertiaryKey key1 = generateTertiaryKey(SECONDARY_ALIAS, PACKAGE_NAME); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() local 131 mTertiaryKeysTable.addKey(key1); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() 143 assertTertiaryKeysEqual(keysByPackageName.get(PACKAGE_NAME), key1); in getAllKeys_withMatchingKeys_returnsAllKeysWrappedWithSecondary() local
|
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdManagerTest.java | 93 int key1 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testResolveService() local 95 sendResponse(NsdManager.RESOLVE_SERVICE_FAILED, err, key1, null); in testResolveService() 115 int key1 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testParallelResolveService() local 121 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key1, reply); in testParallelResolveService() 140 int key1 = verifyRequest(NsdManager.REGISTER_SERVICE); in testRegisterService() local 150 sendResponse(NsdManager.REGISTER_SERVICE_FAILED, err, key1, request1); in testRegisterService() 198 int key1 = verifyRequest(NsdManager.DISCOVER_SERVICES); in testDiscoverService() local 201 sendResponse(NsdManager.DISCOVER_SERVICES_FAILED, err, key1, null); in testDiscoverService()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyGeneratorTest.java | 68 SecretKey key1 = 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 | 98 PackageProviderKey key1 = new PackageProviderKey(PACKAGE1, PROVIDER1); in testSinglePackage_multipleProviders() local 99 PackageStatistics stats1 = mStatistics.statistics.get(key1); in testSinglePackage_multipleProviders() 129 PackageProviderKey key1 = new PackageProviderKey(PACKAGE1, PROVIDER1); in testMultiplePackages() local 130 PackageStatistics stats1 = mStatistics.statistics.get(key1); in testMultiplePackages()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiCandidates.java | 362 ScanResultMatchInfo key1 = ScanResultMatchInfo.fromWifiConfiguration(config); in add() local 364 if (!key1.equals(key2)) return failure(key1, key2); in add() 365 Key key = new Key(key1, bssid, config.networkId); in add()
|
/frameworks/av/camera/ |
D | CameraParameters2.cpp | 150 status_t CameraParameters2::compareSetOrder(const char *key1, const char *key2, in compareSetOrder() argument 152 if (key1 == NULL) { in compareSetOrder() 163 ssize_t index1 = mMap.indexOfKey(String8(key1)); in compareSetOrder() 166 ALOGW("%s: Key1 (%s) was not set", __FUNCTION__, key1); in compareSetOrder()
|
/frameworks/base/core/tests/coretests/assets/ |
D | backup_mock.gld | 1 key1:
|
/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/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 | 228 mButton1 = findViewById(R.id.key1); in onFinishInflate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverableKeyStoreDbTest.java | 116 WrappedKey key1 = new WrappedKey( in insertKey_allowsTwoUidsToHaveSameAlias() local 127 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 1, alias, key1); in insertKey_allowsTwoUidsToHaveSameAlias()
|