Searched refs:newKey (Results 1 - 25 of 32) sorted by relevance

12

/frameworks/base/cmds/statsd/src/metrics/
H A DCountMetricProducer.h95 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
H A DCountMetricProducer.cpp244 bool CountMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { argument
245 if (mCurrentSlicedCounter->find(newKey) != mCurrentSlicedCounter->end()) {
256 (long long)mMetricId, newKey.toString().c_str());
H A DDurationMetricProducer.h134 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
H A DValueMetricProducer.cpp342 bool ValueMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { argument
345 if (mCurrentSlicedBucket.find(newKey) != mCurrentSlicedBucket.end()) {
354 (long long)mMetricId, newKey.toString().c_str());
H A DGaugeMetricProducer.h159 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
H A DValueMetricProducer.h161 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
H A DDurationMetricProducer.cpp617 bool DurationMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { argument
618 auto whatIt = mCurrentSlicedDurationTrackerMap.find(newKey.getDimensionKeyInWhat());
620 auto condIt = whatIt->second.find(newKey.getDimensionKeyInCondition());
631 (long long)mMetricId, newKey.getDimensionKeyInCondition().toString().c_str());
644 (long long)mMetricId, newKey.getDimensionKeyInWhat().toString().c_str());
H A DGaugeMetricProducer.cpp393 bool GaugeMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { argument
394 if (mCurrentSlicedBucket->find(newKey) != mCurrentSlicedBucket->end()) {
404 (long long)mMetricId, newKey.toString().c_str());
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
H A DMaxDurationTracker.h72 // return true if we should not allow newKey to be tracked because we are above the threshold
73 bool hitGuardRail(const HashableDimensionKey& newKey);
H A DOringDurationTracker.h73 // return true if we should not allow newKey to be tracked because we are above the threshold
74 bool hitGuardRail(const HashableDimensionKey& newKey);
H A DMaxDurationTracker.cpp62 bool MaxDurationTracker::hitGuardRail(const HashableDimensionKey& newKey) { argument
64 if (mInfos.find(newKey) != mInfos.end()) {
75 (long long)mTrackerId, newKey.toString().c_str());
H A DOringDurationTracker.cpp52 bool OringDurationTracker::hitGuardRail(const HashableDimensionKey& newKey) { argument
55 if (mConditionKeyMap.find(newKey) != mConditionKeyMap.end()) {
64 (long long)mTrackerId, newKey.toString().c_str());
/frameworks/base/cmds/statsd/src/condition/
H A DStateTracker.cpp98 bool StateTracker::hitGuardRail(const HashableDimensionKey& newKey) { argument
99 if (mSlicedState.find(newKey) != mSlicedState.end()) {
110 (long long)mConditionId, newKey.toString().c_str());
H A DSimpleConditionTracker.h134 bool hitGuardRail(const HashableDimensionKey& newKey);
H A DStateTracker.h121 bool hitGuardRail(const HashableDimensionKey& newKey);
H A DSimpleConditionTracker.cpp153 bool SimpleConditionTracker::hitGuardRail(const HashableDimensionKey& newKey) { argument
154 if (!mSliced || mSlicedConditionState.find(newKey) != mSlicedConditionState.end()) {
165 (long long)mConditionId, newKey.toString().c_str());
/frameworks/base/core/java/android/app/
H A DActivityTransitionState.java127 int newKey = mExitTransitionCoordinatorsKey++;
128 mExitTransitionCoordinators.append(newKey, ref);
129 return newKey;
H A DResourcesManager.java312 final ApkKey newKey = new ApkKey(path, sharedLib, overlay);
313 ApkAssets apkAssets = mLoadedApkAssets.get(newKey);
319 final WeakReference<ApkAssets> apkAssetsRef = mCachedApkAssets.get(newKey);
323 mLoadedApkAssets.put(newKey, apkAssets);
327 mCachedApkAssets.remove(newKey);
338 mLoadedApkAssets.put(newKey, apkAssets);
339 mCachedApkAssets.put(newKey, new WeakReference<>(apkAssets));
947 final ResourcesKey newKey = new ResourcesKey(oldKey.mResDir,
954 + " to newKey=" + newKey
[all...]
/frameworks/base/core/java/android/accounts/
H A DAuthenticatorDescription.java74 public static AuthenticatorDescription newKey(String type) { method in class:AuthenticatorDescription
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountAuthenticatorCache.java94 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type"));
/frameworks/base/core/java/android/content/
H A DSyncAdapterType.java167 public static SyncAdapterType newKey(String authority, String accountType) { method in class:SyncAdapterType
H A DSyncAdaptersCache.java152 return SyncAdapterType.newKey(authority, accountType);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationGroupManager.java307 String newKey = entry.notification.getGroupKey();
308 boolean groupKeysChanged = !oldKey.equals(newKey);
321 updateSuppression(mGroupMap.get(newKey));
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncOperation.java290 String newKey = key.substring(8); // Strip off the 'ACCOUNT:' prefix.
294 extras.putParcelable(newKey, account);
/frameworks/base/media/java/android/media/
H A DMediaCodec.java2528 @NonNull byte[] newKey,
2534 key = newKey;
2524 set( int newNumSubSamples, @NonNull int[] newNumBytesOfClearData, @NonNull int[] newNumBytesOfEncryptedData, @NonNull byte[] newKey, @NonNull byte[] newIV, int newMode) argument

Completed in 1453 milliseconds

12