/packages/apps/Camera2/src/com/android/camera/util/ |
D | ConcurrentSharedRingBuffer.java | 229 public boolean swapLeast(long newKey, SwapTask<E> swapper) { in swapLeast() argument 237 existingElement = mElements.get(newKey); in swapLeast() 256 mElements.put(newKey, p); in swapLeast() 257 mUnpinnedElements.put(newKey, p); in swapLeast() 278 if (swapKey == newKey) { in swapLeast() 315 mElements.put(newKey, toSwap); in swapLeast() 316 mUnpinnedElements.put(newKey, toSwap); in swapLeast()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardView.java | 211 final Key newKey = mKeyDetector.detectHitKey(x, y); in detectKey() local 212 if (newKey == oldKey) { in detectKey() 213 return newKey; in detectKey() 220 if (newKey != null) { in detectKey() 221 updatePressKeyGraphics(newKey); in detectKey() 222 invalidateKey(newKey); in detectKey() 224 return newKey; in detectKey()
|
D | PointerTracker.java | 494 private Key onMoveToNewKey(final Key newKey, final int x, final int y) { in onMoveToNewKey() argument 495 mCurrentKey = newKey; in onMoveToNewKey() 498 return newKey; in onMoveToNewKey() 775 private void processDraggingFingerInToNewKey(final Key newKey, final int x, final int y, in processDraggingFingerInToNewKey() argument 780 Key key = newKey; in processDraggingFingerInToNewKey() 895 final Key newKey = onMoveKey(x, y); in onMoveEventInternal() local 899 onGestureMoveEvent(x, y, eventTime, true /* isMajorEvent */, newKey); in onMoveEventInternal() 907 if (newKey != null) { in onMoveEventInternal() 908 if (oldKey != null && isMajorEnoughMoveToBeOnNewKey(x, y, eventTime, newKey)) { in onMoveEventInternal() 909 dragFingerFromOldKeyToNewKey(newKey, x, y, eventTime, oldKey, lastX, lastY); in onMoveEventInternal() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/ |
D | AutofillPickerFragment.java | 146 final String newKey = newPref.getKey(); in onPreferenceTreeClick() local 147 final boolean clickOnCurrent = currentKey.equals(newKey); in onPreferenceTreeClick() 149 if (!clickOnCurrent && !KEY_FOR_NONE.equals(newKey)) { in onPreferenceTreeClick() 157 RadioPreference pref = (RadioPreference) findPreference(newKey); in onPreferenceTreeClick() 161 setAutofillService(newKey); in onPreferenceTreeClick() 168 setAutofillService(newKey); in onPreferenceTreeClick()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | NonDistinctMultitouchHelper.java | 85 final Key newKey = mainTracker.getKeyOn(x, y); in processMotionEvent() local 86 if (mOldKey != newKey) { in processMotionEvent()
|
D | KeyboardParams.java | 119 public void onAddKey(@Nonnull final Key newKey) { in onAddKey() argument 120 final Key key = mUniqueKeysCache.getUniqueKey(newKey); in onAddKey()
|
/packages/modules/StatsD/statsd/src/metrics/duration_helper/ |
D | MaxDurationTracker.cpp | 39 bool MaxDurationTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument 41 if (mInfos.find(newKey) != mInfos.end()) { in hitGuardRail() 52 (long long)mTrackerId, newKey.toString().c_str()); in hitGuardRail()
|
D | OringDurationTracker.cpp | 40 bool OringDurationTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument 43 if (mConditionKeyMap.find(newKey) != mConditionKeyMap.end()) { in hitGuardRail() 52 (long long)mTrackerId, newKey.toString().c_str()); in hitGuardRail()
|
D | OringDurationTracker.h | 83 bool hitGuardRail(const HashableDimensionKey& newKey);
|
D | MaxDurationTracker.h | 79 bool hitGuardRail(const HashableDimensionKey& newKey);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SlicesIndexerTest.java | 79 String newKey = "newKey"; in testAlreadyIndexed_doesNotIndexAgain() local 82 insertSpecialCase(newKey, newTitle); in testAlreadyIndexed_doesNotIndexAgain() 91 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))).isEqualTo(newKey); in testAlreadyIndexed_doesNotIndexAgain()
|
/packages/modules/StatsD/statsd/src/condition/ |
D | SimpleConditionTracker.cpp | 162 bool SimpleConditionTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument 163 if (!mSliced || mSlicedConditionState.find(newKey) != mSlicedConditionState.end()) { in hitGuardRail() 174 (long long)mConditionId, newKey.toString().c_str()); in hitGuardRail()
|
D | SimpleConditionTracker.h | 126 bool hitGuardRail(const HashableDimensionKey& newKey);
|
/packages/modules/Connectivity/netd/ |
D | BpfHandler.cpp | 177 UidTagValue newKey = {.uid = (uint32_t)chargeUid, .tag = tag}; in tagSocket() local 228 res = mCookieTagMap.writeValue(sock_cookie, newKey, BPF_ANY); in tagSocket()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | CountMetricProducer.cpp | 304 bool CountMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument 305 if (mCurrentSlicedCounter->find(newKey) != mCurrentSlicedCounter->end()) { in hitGuardRailLocked() 316 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
|
D | NumericValueMetricProducer.cpp | 336 const MetricDimensionKey& newKey) const { in hitFullBucketGuardRailLocked() 339 if (mCurrentFullBucket.find(newKey) != mCurrentFullBucket.end()) { in hitFullBucketGuardRailLocked() 347 (long long)mMetricId, newKey.toString().c_str()); in hitFullBucketGuardRailLocked()
|
D | GaugeMetricProducer.cpp | 495 bool GaugeMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument 496 if (mCurrentSlicedBucket->find(newKey) != mCurrentSlicedBucket->end()) { in hitGuardRailLocked() 506 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
|
D | DurationMetricProducer.cpp | 619 bool DurationMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument 620 auto whatIt = mCurrentSlicedDurationTrackerMap.find(newKey.getDimensionKeyInWhat()); in hitGuardRailLocked() 630 (long long)mMetricId, newKey.getDimensionKeyInWhat().toString().c_str()); in hitGuardRailLocked()
|
D | ValueMetricProducer.cpp | 611 const MetricDimensionKey& newKey) const { in hitGuardRailLocked() 614 if (mCurrentSlicedBucket.find(newKey) != mCurrentSlicedBucket.end()) { in hitGuardRailLocked() 623 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
|
D | CountMetricProducer.h | 127 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
|
D | DurationMetricProducer.h | 182 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
|
D | GaugeMetricProducer.h | 205 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
|
D | ValueMetricProducer.h | 318 bool hitGuardRailLocked(const MetricDimensionKey& newKey) const;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | ResultStoreTest.java | 151 String newKey = "new key"; in testPutInterimResultAndFlushToDisk_shouldReplaceExistingFile() local 155 TEST_INTERIM_BUNDLE.putString(newKey, newValue); in testPutInterimResultAndFlushToDisk_shouldReplaceExistingFile() 161 assertThat(bundle.getString(newKey)).isEqualTo(newValue); in testPutInterimResultAndFlushToDisk_shouldReplaceExistingFile()
|
/packages/modules/Connectivity/service/jni/ |
D | com_android_server_connectivity_ClatCoordinator.cpp | 451 UidTagValue newKey = {.uid = (uint32_t)AID_CLAT, .tag = 0 /* unused */}; in com_android_server_connectivity_ClatCoordinator_tagSocketAsClat() local 452 res = cookieTagMap.writeValue(sock_cookie, newKey, BPF_ANY); in com_android_server_connectivity_ClatCoordinator_tagSocketAsClat()
|