/packages/modules/StatsD/statsd/src/state/ |
D | StateTracker.cpp | 35 HashableDimensionKey primaryKey; in onLogEvent() local 36 filterPrimaryKey(event.getValues(), &primaryKey); in onLogEvent() 43 clearStateForPrimaryKey(eventTimeNs, primaryKey); in onLogEvent() 52 clearStateForPrimaryKey(eventTimeNs, primaryKey); in onLogEvent() 64 updateStateForPrimaryKey(eventTimeNs, primaryKey, newState, nested, mStateMap[primaryKey]); in onLogEvent() 91 for (auto& [primaryKey, stateValueInfo] : mStateMap) { in handleReset() 92 updateStateForPrimaryKey(eventTimeNs, primaryKey, newState, in handleReset() 99 const HashableDimensionKey& primaryKey) { in clearStateForPrimaryKey() argument 102 mStateMap.find(primaryKey); in clearStateForPrimaryKey() 108 updateStateForPrimaryKey(eventTimeNs, primaryKey, state, in clearStateForPrimaryKey() [all …]
|
D | StateTracker.h | 79 void clearStateForPrimaryKey(const int64_t eventTimeNs, const HashableDimensionKey& primaryKey); 82 void updateStateForPrimaryKey(const int64_t eventTimeNs, const HashableDimensionKey& primaryKey, 87 void notifyListeners(const int64_t eventTimeNs, const HashableDimensionKey& primaryKey,
|
D | StateListener.h | 48 const HashableDimensionKey& primaryKey, const FieldValue& oldState,
|
/packages/modules/StatsD/statsd/tests/ |
D | HashableDimensionKey_test.cpp | 40 HashableDimensionKey primaryKey; in TEST() local 41 getUidProcessKey(uid1, &primaryKey); in TEST() 43 EXPECT_FALSE(containsLinkedStateValues(whatKey, primaryKey, mMetric2StateLinks, in TEST() 75 HashableDimensionKey primaryKey; in TEST() local 76 getUidProcessKey(uid1, &primaryKey); in TEST() 78 EXPECT_FALSE(containsLinkedStateValues(whatKey, primaryKey, mMetric2StateLinks, stateAtomId)); in TEST() 93 HashableDimensionKey primaryKey; in TEST() local 94 getUidProcessKey(uid1, &primaryKey); in TEST() 96 EXPECT_FALSE(containsLinkedStateValues(whatKey, primaryKey, mMetric2StateLinks, stateAtomId)); in TEST() 126 HashableDimensionKey primaryKey; in TEST() local [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyDetector.java | 96 Key primaryKey = null; in detectHitKey() local 108 if (primaryKey == null || distance < minDistance in detectHitKey() 109 || key.getCode() > primaryKey.getCode()) { in detectHitKey() 111 primaryKey = key; in detectHitKey() 114 return primaryKey; in detectHitKey()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | DBConsentedDebugConfigurationTest.java | 43 long primaryKey = 123L; in test_create_success() local 46 primaryKey, in test_create_success() 53 .setConsentedDebugConfigurationPrimaryKey(primaryKey) in test_create_success() 80 long primaryKey = 123L; in test_create_debugTokenEmpty() local 83 primaryKey, IS_CONSENTED, "", CREATION_TIMESTAMP, EXPIRY_TIMESTAMP); in test_create_debugTokenEmpty() 86 .setConsentedDebugConfigurationPrimaryKey(primaryKey) in test_create_debugTokenEmpty()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_utils.h | 62 const int primaryKey = inputCodes[i]; in initializeProximities() local 68 keyCount, x, y, primaryKey, locale, codeToKeyMap, proximities); in initializeProximities() 147 const int x, const int y, const int primaryKey, const std::vector<int> *locale, in calculateProximities() argument 151 proximities[insertPos++] = primaryKey; in calculateProximities() 162 if (c < KEYCODE_SPACE || c == primaryKey) { in calculateProximities() 181 AdditionalProximityChars::getAdditionalCharsSize(locale, primaryKey); in calculateProximities() 192 AdditionalProximityChars::getAdditionalChars(locale, primaryKey); in calculateProximities()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | ClockProvider.kt | 248 val primaryKey: String? in delete() constant 254 primaryKey = uri.getLastPathSegment() in delete() 256 BaseColumns._ID.toString() + "=" + primaryKey in delete() 258 BaseColumns._ID.toString() + "=" + primaryKey + " AND (" + whereString + ")" in delete() 265 primaryKey = uri.getLastPathSegment() in delete() 267 BaseColumns._ID.toString() + "=" + primaryKey in delete() 269 BaseColumns._ID.toString() + "=" + primaryKey + " AND (" + whereString + ")" in delete()
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/android/healthconnect/cts/database/ |
D | TableInfo.java | 68 public Builder addPrimaryKeyColumn(@NonNull String primaryKey) { in addPrimaryKeyColumn() argument 69 Objects.requireNonNull(primaryKey); in addPrimaryKeyColumn() 70 mPrimaryKey.add(primaryKey); in addPrimaryKeyColumn()
|
/packages/modules/StatsD/statsd/src/ |
D | HashableDimensionKey.cpp | 281 const HashableDimensionKey& primaryKey, in containsLinkedStateValues() argument 283 if (whatKey.getValues().size() < primaryKey.getValues().size()) { in containsLinkedStateValues() 288 for (const auto& primaryValue : primaryKey.getValues()) { in containsLinkedStateValues()
|
D | HashableDimensionKey.h | 260 const HashableDimensionKey& primaryKey,
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | CountMetricProducer.h | 60 const HashableDimensionKey& primaryKey, const FieldValue& oldState,
|
D | CountMetricProducer.cpp | 187 const HashableDimensionKey& primaryKey, in onStateChanged() argument 190 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged()
|
D | ValueMetricProducer.cpp | 255 int64_t eventTimeNs, int32_t atomId, const HashableDimensionKey& primaryKey, in onStateChanged() argument 259 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged() 288 mStateChangePrimaryKey.second = primaryKey; in onStateChanged()
|
D | DurationMetricProducer.h | 63 const HashableDimensionKey& primaryKey, const FieldValue& oldState,
|
D | ValueMetricProducer.h | 133 void onStateChanged(int64_t eventTimeNs, int32_t atomId, const HashableDimensionKey& primaryKey,
|
D | DurationMetricProducer.cpp | 320 const HashableDimensionKey& primaryKey, in onStateChanged() argument 342 if (!containsLinkedStateValues(whatIt.first, primaryKey, mMetric2StateLinks, atomId)) { in onStateChanged()
|
D | MetricProducer.h | 239 const HashableDimensionKey& primaryKey, const FieldValue& oldState, in onStateChanged() argument
|
/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 55 const HashableDimensionKey& primaryKey, const FieldValue& oldState, in onStateChanged() argument 57 updates.emplace_back(primaryKey, newState.mValue.int_value); in onStateChanged()
|