Home
last modified time | relevance | path

Searched refs:newKey (Results 1 – 25 of 31) 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.java323 final ApkKey newKey = new ApkKey(path, sharedLib, overlay); in loadApkAssets() local
326 apkAssets = mLoadedApkAssets.get(newKey); in loadApkAssets()
333 final WeakReference<ApkAssets> apkAssetsRef = mCachedApkAssets.get(newKey); in loadApkAssets()
338 mLoadedApkAssets.put(newKey, apkAssets); in loadApkAssets()
344 mCachedApkAssets.remove(newKey); in loadApkAssets()
357 mLoadedApkAssets.put(newKey, apkAssets); in loadApkAssets()
360 mCachedApkAssets.put(newKey, new WeakReference<>(apkAssets)); in loadApkAssets()
973 final ResourcesKey newKey = new ResourcesKey(oldKey.mResDir, in updateResourcesForActivity() local
980 + " to newKey=" + newKey + ", displayId=" + displayId); in updateResourcesForActivity()
983 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.cpp153 bool SimpleConditionTracker::hitGuardRail(const HashableDimensionKey& newKey) { in hitGuardRail() argument
154 if (!mSliced || mSlicedConditionState.find(newKey) != mSlicedConditionState.end()) { in hitGuardRail()
165 (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.h74 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.cpp603 bool ValueMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument
606 if (mCurrentSlicedBucket.find(newKey) != mCurrentSlicedBucket.end()) { in hitGuardRailLocked()
615 newKey.toString().c_str()); in hitGuardRailLocked()
624 bool ValueMetricProducer::hitFullBucketGuardRailLocked(const MetricDimensionKey& newKey) { in hitFullBucketGuardRailLocked() argument
627 if (mCurrentFullBucket.find(newKey) != mCurrentFullBucket.end()) { in hitFullBucketGuardRailLocked()
636 newKey.toString().c_str()); in hitFullBucketGuardRailLocked()
DValueMetricProducer.h183 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
186 bool hitFullBucketGuardRailLocked(const MetricDimensionKey& newKey);
DCountMetricProducer.h96 bool hitGuardRailLocked(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()
DDurationMetricProducer.h142 bool hitGuardRailLocked(const MetricDimensionKey& newKey);
DGaugeMetricProducer.cpp442 bool GaugeMetricProducer::hitGuardRailLocked(const MetricDimensionKey& newKey) { in hitGuardRailLocked() argument
443 if (mCurrentSlicedBucket->find(newKey) != mCurrentSlicedBucket->end()) { in hitGuardRailLocked()
453 (long long)mMetricId, newKey.toString().c_str()); in hitGuardRailLocked()
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.java236 String newKey = entry.notification.getGroupKey(); in onEntryUpdated() local
237 boolean groupKeysChanged = !oldKey.equals(newKey); in onEntryUpdated()
250 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