/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 | 141 WifiCandidates.Key key1 = new WifiCandidates.Key(matchInfo1, mac1, 1); in testKeyEquivalence() local 143 assertFalse(key1.equals(null)); in testKeyEquivalence() 144 assertFalse(key1.equals((Integer) 0)); in testKeyEquivalence() 146 assertEquals(key1, new WifiCandidates.Key(matchInfo1, mac1, 1)); in testKeyEquivalence() 148 assertEquals(key1, new WifiCandidates.Key(matchInfo1Prime, mac1, 1)); in testKeyEquivalence() 150 assertEquals(key1.hashCode(), key1.hashCode()); in testKeyEquivalence() 151 assertEquals(key1.hashCode(), new WifiCandidates.Key(matchInfo1, mac1, 1).hashCode()); in testKeyEquivalence() 152 assertEquals(key1.hashCode(), new WifiCandidates.Key(matchInfo1Prime, mac1, 1).hashCode()); in testKeyEquivalence() 155 assertFalse(key1.equals(new WifiCandidates.Key(matchInfo2, mac1, 1))); in testKeyEquivalence() 156 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 | 94 int key1 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testResolveService() local 96 sendResponse(NsdManager.RESOLVE_SERVICE_FAILED, err, key1, null); in testResolveService() 116 int key1 = verifyRequest(NsdManager.RESOLVE_SERVICE); in testParallelResolveService() local 122 sendResponse(NsdManager.RESOLVE_SERVICE_SUCCEEDED, 0, key1, reply); in testParallelResolveService() 141 int key1 = verifyRequest(NsdManager.REGISTER_SERVICE); in testRegisterService() local 151 sendResponse(NsdManager.REGISTER_SERVICE_FAILED, err, key1, request1); in testRegisterService() 199 int key1 = verifyRequest(NsdManager.DISCOVER_SERVICES); in testDiscoverService() local 202 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/av/camera/ |
D | CameraParameters2.cpp | 149 status_t CameraParameters2::compareSetOrder(const char *key1, const char *key2, in compareSetOrder() argument 151 if (key1 == NULL) { in compareSetOrder() 162 ssize_t index1 = mMap.indexOfKey(String8(key1)); in compareSetOrder() 165 ALOGW("%s: Key1 (%s) was not set", __FUNCTION__, key1); in compareSetOrder()
|
/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/base/cmds/bootanimation/iot/ |
D | BootParameters_test.cpp | 152 "param_names":["key1", "key2"], in TEST() 187 "param_names":["key1", "key2"], in TEST() 205 "param_names":["key1", "key2"], in TEST()
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | map_test.cc | 640 int32 key1 = 0; in TEST_P() local 648 map1[key1] = value1a; in TEST_P() 655 map2[key1] = value1b; in TEST_P() 743 int32 key1 = 0; in TEST_P() local 749 map[key1] = value1; in TEST_P() 758 EXPECT_TRUE(map_.end() == map_.find(key1)); in TEST_P() 779 int32 key1 = 0; in CopyConstructorHelper() local 785 map[key1] = value1; in CopyConstructorHelper() 793 EXPECT_EQ(value1, other.at(key1)); in CopyConstructorHelper() 807 int32 key1 = 0; in TEST_P() local [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/ |
D | hash.h | 263 bool operator()(const Key& key1, const Key& key2) const { 264 return !equalkey_(key1, key2);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | MapForProto2LiteTest.java | 516 private static <K, V> Map<K, V> newMap(K key1, V value1) { in newMap() argument 518 map.put(key1, value1); in newMap() 522 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { in newMap() argument 524 map.put(key1, value1); in newMap()
|
D | MapForProto2Test.java | 677 KeyType key1, ValueType value1, KeyType key2, ValueType value2) { in mapForValues() argument 679 map.put(key1, value1); in mapForValues() 1146 private static <K, V> Map<K, V> newMap(K key1, V value1) { in newMap() argument 1148 map.put(key1, value1); in newMap() 1152 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { in newMap() argument 1154 map.put(key1, value1); in newMap()
|
D | MapTest.java | 789 KeyType key1, ValueType value1, KeyType key2, ValueType value2) { in mapForValues() argument 791 map.put(key1, value1); in mapForValues() 1310 private static <K, V> Map<K, V> newMap(K key1, V value1) { in newMap() argument 1312 map.put(key1, value1); in newMap() 1316 private static <K, V> Map<K, V> newMap(K key1, V value1, K key2, V value2) { in newMap() argument 1318 map.put(key1, value1); in newMap()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPINView.java | 95 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | GeneratedMessageTest.cs | 369 var key1 = 10; in MapNonContiguousEntries() 374 output.WriteInt32(key1); in MapNonContiguousEntries() 402 MapInt32Int32 = { { key1, value1 }, { key3, value3 } }, in MapNonContiguousEntries()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBRootObject.m | 88 const char *key1 = (const char *)value1; 90 return strcmp(key1, key2) == 0;
|