Home
last modified time | relevance | path

Searched refs:key1 (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DMaxDurationTracker_test.cpp46 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 …]
DOringDurationTracker_test.cpp192 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 …]
DEventMetricProducer_test.cpp106 ConditionKey key1; in TEST() local
107key1[StringToId("APP_IN_BACKGROUND_PER_UID")] = {getMockedDimensionKey(conditionTagId, 2, "111")}; in TEST()
116 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
DCountMetricProducer_test.cpp167 ConditionKey key1; in TEST() local
168 key1[StringToId("APP_IN_BACKGROUND_PER_UID")] = in TEST()
179 EXPECT_CALL(*wizard, query(_, key1, _, _, _, _)).WillOnce(Return(ConditionState::kFalse)); in TEST()
/frameworks/support/work/workmanager/src/test/java/androidx/work/
DOverwritingInputMergerTest.java50 String key1 = "key1"; in testMerge_multipleArguments() local
59 .putString(key1, value1) in testMerge_multipleArguments()
63 .putString(key1, value1a) in testMerge_multipleArguments()
70 assertThat(output.getString(key1, null), is(value1a)); in testMerge_multipleArguments()
/frameworks/support/collection/src/test/java/androidx/collection/
DLongSparseArrayTest.java39 long key1 = 1L, key2 = 2L; in isEmpty() local
41 LongSparseArray.append(key1, value1); in isEmpty()
47 LongSparseArray.remove(key1); in isEmpty()
DSparseArrayCompatTest.java39 int key1 = 1, key2 = 2; in isEmpty() local
41 sparseArrayCompat.append(key1, value1); in isEmpty()
47 sparseArrayCompat.remove(key1); in isEmpty()
/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java94 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/tests/servicestests/src/com/android/server/location/
DLocationRequestStatisticsTest.java98 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/
DCameraParameters2.cpp149 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/base/core/tests/coretests/assets/
Dbackup_mock.gld1 key1:
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/
DAssistantTest.java328 String key1 = mAssistant.getKey("pkg1", 1, "channel1"); in testReadXml() local
345 + "<impression-set key=\"" + key1 + "\" " in testReadXml()
357 ChannelImpressions c1 = mAssistant.getImpressions(key1); in testReadXml()
375 String key1 = mAssistant.getKey("pkg1", 1, "channel1"); in testRoundTripXml() local
392 mAssistant.insertImpressions(key1, ci1); in testRoundTripXml()
404 assertEquals(ci1, assistant.getImpressions(key1)); in testRoundTripXml()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
DCredential.java1166 private static boolean isPrivateKeyEquals(PrivateKey key1, PrivateKey key2) { in isPrivateKeyEquals() argument
1167 if (key1 == null && key2 == null) { in isPrivateKeyEquals()
1172 if (key1 == null || key2 == null) { in isPrivateKeyEquals()
1176 return TextUtils.equals(key1.getAlgorithm(), key2.getAlgorithm()) && in isPrivateKeyEquals()
1177 Arrays.equals(key1.getEncoded(), key2.getEncoded()); in isPrivateKeyEquals()
/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.java93 findViewById(R.id.key1), findViewById(R.id.key2), in onFinishInflate()
DKeyguardPinBasedInputView.java222 mButton1 = findViewById(R.id.key1); in onFinishInflate()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DBaseWrapContentTest.java366 long key1 = map1.keyAt(index); in assertAtIndex() local
368 assertEquals(prefix + "key mismatch at index " + index, key1, key2); in assertAtIndex()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java106 WrappedKey key1 = new WrappedKey( in insertKey_allowsTwoUidsToHaveSameAlias() local
115 mRecoverableKeyStoreDb.insertKey(userId, /*uid=*/ 1, alias, key1); in insertKey_allowsTwoUidsToHaveSameAlias()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java81 String key1 = o1Keys.next();
83 int compare = key1.compareTo(key2);
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...