/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() 102 for (auto& [primaryKey, stateValueInfo] : mStateMap) { in handleReset() 103 updateStateForPrimaryKey(eventTimeNs, primaryKey, newState, in handleReset() 110 const HashableDimensionKey& primaryKey) { in clearStateForPrimaryKey() argument 113 mStateMap.find(primaryKey); in clearStateForPrimaryKey() 119 updateStateForPrimaryKey(eventTimeNs, primaryKey, state, in clearStateForPrimaryKey() [all …]
|
D | StateTracker.h | 81 void clearStateForPrimaryKey(const int64_t eventTimeNs, const HashableDimensionKey& primaryKey); 84 void updateStateForPrimaryKey(const int64_t eventTimeNs, const HashableDimensionKey& primaryKey, 89 void notifyListeners(const int64_t eventTimeNs, const HashableDimensionKey& primaryKey,
|
D | StateListener.h | 49 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/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/adselection/ |
D | DBConsentedDebugConfigurationTest.java | 38 long primaryKey = 123L; in test_create_success() local 41 primaryKey, in test_create_success() 48 .setConsentedDebugConfigurationPrimaryKey(primaryKey) in test_create_success() 75 long primaryKey = 123L; in test_create_debugTokenEmpty() local 78 primaryKey, IS_CONSENTED, "", CREATION_TIMESTAMP, EXPIRY_TIMESTAMP); in test_create_debugTokenEmpty() 81 .setConsentedDebugConfigurationPrimaryKey(primaryKey) in test_create_debugTokenEmpty()
|
/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/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/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/ |
D | BluetoothDatabaseMigration.java | 45 final String primaryKey = cursor.getString(cursor.getColumnIndexOrThrow("address")); in run() local 46 String logKey = BluetoothUtils.toAnonymizedAddress(primaryKey); in run() 48 logKey = primaryKey; in run() 51 Metadata metadata = new Metadata(primaryKey); in run()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/databasemigration/src/com/android/adservices/data/ |
D | SqliteSchemaExtractor.java | 68 int primaryKey = c.getInt(4); in extractTableSchema() local 76 .setPrimaryKey(primaryKey) in extractTableSchema()
|
D | SqliteColumnInfo.java | 87 abstract Builder setPrimaryKey(int primaryKey); in setPrimaryKey() argument
|
/packages/modules/StatsD/statsd/src/ |
D | HashableDimensionKey.cpp | 287 const HashableDimensionKey& primaryKey, in containsLinkedStateValues() argument 289 if (whatKey.getValues().size() < primaryKey.getValues().size()) { in containsLinkedStateValues() 294 for (const auto& primaryValue : primaryKey.getValues()) { in containsLinkedStateValues()
|
D | HashableDimensionKey.h | 260 const HashableDimensionKey& primaryKey,
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | EventMetricProducer.cpp | 276 const HashableDimensionKey& primaryKey, in onStateChanged() argument 279 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged()
|
D | EventMetricProducer.h | 55 const HashableDimensionKey& primaryKey, const FieldValue& oldState,
|
D | CountMetricProducer.h | 60 const HashableDimensionKey& primaryKey, const FieldValue& oldState,
|
D | ValueMetricProducer.cpp | 257 int64_t eventTimeNs, int32_t atomId, const HashableDimensionKey& primaryKey, in onStateChanged() argument 261 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged() 290 mStateChangePrimaryKey.second = primaryKey; in onStateChanged()
|
D | CountMetricProducer.cpp | 188 const HashableDimensionKey& primaryKey, in onStateChanged() argument 191 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged()
|
D | DurationMetricProducer.h | 63 const HashableDimensionKey& primaryKey, const FieldValue& oldState,
|
D | GaugeMetricProducer.h | 114 const HashableDimensionKey& primaryKey, const FieldValue& oldState,
|
D | ValueMetricProducer.h | 134 void onStateChanged(int64_t eventTimeNs, int32_t atomId, const HashableDimensionKey& primaryKey,
|
D | GaugeMetricProducer.cpp | 238 const HashableDimensionKey& primaryKey, in onStateChanged() argument 241 (long long)mMetricId, (long long)eventTimeNs, atomId, primaryKey.toString().c_str(), in onStateChanged()
|
D | DurationMetricProducer.cpp | 321 const HashableDimensionKey& primaryKey, in onStateChanged() argument 343 if (!containsLinkedStateValues(whatIt.first, primaryKey, mMetric2StateLinks, atomId)) { in onStateChanged()
|
/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()
|