Home
last modified time | relevance | path

Searched refs:newKey (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/storage/
DTertiaryKeysTableTest.java73 byte[] newKey = generateRandomKey(); in addKey_havingSameSecondaryAliasAndPackageName_replacesOldKey()
76 mTertiaryKeysTable.addKey(new TertiaryKey(SECONDARY_ALIAS, PACKAGE_NAME, newKey)); in addKey_havingSameSecondaryAliasAndPackageName_replacesOldKey()
80 assertThat(keyInDb.getWrappedKeyBytes()).isEqualTo(newKey); in addKey_havingSameSecondaryAliasAndPackageName_replacesOldKey()
/frameworks/base/core/java/android/app/
DResourcesManager.java330 final ApkKey newKey = new ApkKey(path, sharedLib, overlay); in loadApkAssets() local
333 apkAssets = mLoadedApkAssets.get(newKey); in loadApkAssets()
340 final WeakReference<ApkAssets> apkAssetsRef = mCachedApkAssets.get(newKey); in loadApkAssets()
345 mLoadedApkAssets.put(newKey, apkAssets); in loadApkAssets()
351 mCachedApkAssets.remove(newKey); in loadApkAssets()
364 mLoadedApkAssets.put(newKey, apkAssets); in loadApkAssets()
367 mCachedApkAssets.put(newKey, new WeakReference<>(apkAssets)); in loadApkAssets()
980 final ResourcesKey newKey = new ResourcesKey(oldKey.mResDir, in updateResourcesForActivity() local
987 + " to newKey=" + newKey + ", displayId=" + displayId); in updateResourcesForActivity()
990 ResourcesImpl resourcesImpl = findResourcesImplForKeyLocked(newKey); in updateResourcesForActivity()
[all …]
DActivityTransitionState.java126 int newKey = mExitTransitionCoordinatorsKey++; in addExitTransitionCoordinator() local
127 mExitTransitionCoordinators.append(newKey, ref); in addExitTransitionCoordinator()
128 return newKey; in addExitTransitionCoordinator()
/frameworks/base/cmds/statsd/src/condition/
DStateTracker.cpp98 bool StateTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument
99 if (mSlicedState.find(newKey) != mSlicedState.end()) { in hitGuardRail()
110 (long long)mConditionId, newKey.toString().c_str()); in hitGuardRail()
DSimpleConditionTracker.cpp149 bool SimpleConditionTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument
150 if (!mSliced || mSlicedConditionState.find(newKey) != mSlicedConditionState.end()) { in hitGuardRail()
161 (long long)mConditionId, newKey.toString().c_str()); in hitGuardRail()
DStateTracker.h121 bool hitGuardRail(const HashableDimensionKey& newKey);
DSimpleConditionTracker.h134 bool hitGuardRail(const HashableDimensionKey& newKey);
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp62 bool MaxDurationTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument
64 if (mInfos.find(newKey) != mInfos.end()) { in hitGuardRail()
75 (long long)mTrackerId, newKey.toString().c_str()); in hitGuardRail()
DOringDurationTracker.cpp52 bool OringDurationTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument
55 if (mConditionKeyMap.find(newKey) != mConditionKeyMap.end()) { in hitGuardRail()
64 (long long)mTrackerId, newKey.toString().c_str()); in hitGuardRail()
DMaxDurationTracker.h73 bool hitGuardRail(const HashableDimensionKey& newKey);
DOringDurationTracker.h73 bool hitGuardRail(const HashableDimensionKey& newKey);
/frameworks/base/cmds/statsd/src/metrics/
DCountMetricProducer.cpp256 bool CountMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument
257 if (mCurrentSlicedCounter->find(newKey) != mCurrentSlicedCounter->end()) { in hitGuardRailLocked()
268 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
DValueMetricProducer.cpp598 bool ValueMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument
601 if (mCurrentSlicedBucket.find(newKey) != mCurrentSlicedBucket.end()) { in hitGuardRailLocked()
610 newKey.toString().c_str()); in hitGuardRailLocked()
619 bool ValueMetricProducer::hitFullBucketGuardRailLocked(const MetricDimensionKey& newKey) { in hitFullBucketGuardRailLocked() argument
622 if (mCurrentFullBucket.find(newKey) != mCurrentFullBucket.end()) { in hitFullBucketGuardRailLocked()
631 newKey.toString().c_str()); in hitFullBucketGuardRailLocked()
DValueMetricProducer.h181 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
184 bool hitFullBucketGuardRailLocked(const MetricDimensionKey& newKey);
DDurationMetricProducer.cpp654 bool DurationMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument
655 auto whatIt = mCurrentSlicedDurationTrackerMap.find(newKey.getDimensionKeyInWhat()); in hitGuardRailLocked()
657 auto condIt = whatIt->second.find(newKey.getDimensionKeyInCondition()); in hitGuardRailLocked()
668 (long long)mMetricId, newKey.getDimensionKeyInCondition().toString().c_str()); in hitGuardRailLocked()
681 (long long)mMetricId, newKey.getDimensionKeyInWhat().toString().c_str()); in hitGuardRailLocked()
DCountMetricProducer.h96 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
DGaugeMetricProducer.cpp440 bool GaugeMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument
441 if (mCurrentSlicedBucket->find(newKey) != mCurrentSlicedBucket->end()) { in hitGuardRailLocked()
451 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
DDurationMetricProducer.h142 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
DGaugeMetricProducer.h179 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
/frameworks/base/core/java/android/accounts/
DAuthenticatorDescription.java76 public static AuthenticatorDescription newKey(String type) { in newKey() method in AuthenticatorDescription
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountAuthenticatorCache.java94 return AuthenticatorDescription.newKey(parser.getAttributeValue(null, "type")); in createFromXml()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java251 String newKey = entry.notification.getGroupKey(); in onEntryUpdated() local
252 boolean groupKeysChanged = !oldKey.equals(newKey); in onEntryUpdated()
265 updateSuppression(mGroupMap.get(newKey)); in onEntryUpdated()
/frameworks/base/core/java/android/content/
DSyncAdapterType.java175 public static SyncAdapterType newKey(String authority, String accountType) { in newKey() method in SyncAdapterType
DSyncAdaptersCache.java154 return SyncAdapterType.newKey(authority, accountType); in createFromXml()
/frameworks/base/services/core/java/com/android/server/content/
DSyncOperation.java290 String newKey = key.substring(8); // Strip off the 'ACCOUNT:' prefix. in maybeCreateFromJobExtras() local
294 extras.putParcelable(newKey, account); in maybeCreateFromJobExtras()

12