Home
last modified time | relevance | path

Searched refs:putIfAbsent (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/mime/java-res/
Dvendor.mime.types22 # mimeToExt.putIfAbsent("mime", "ext1");
23 # extToMime.putIfAbsent("ext1", "mime");
24 # extToMime.putIfAbsent("ext2", "mime");
25 # extToMime.putIfAbsent("ext3", "mime");
Dandroid.mime.types10 # (putIfAbsent() semantics).
23 # mimeToExt.putIfAbsent("mime", "ext1");
25 # extToMime.putIfAbsent("ext2", "mime");
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DRemoteBridgeImpl.java97 String projectKey = mCachedProjectKeys.putIfAbsent(remoteParams.getProjectKey(), in createSession()
121 String projectKey = mCachedProjectKeys.putIfAbsent(remoteParams.getProjectKey(), in renderDrawable()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java393 PackageCodeLocations pcl = putIfAbsent(mPackageCodeLocationsCache, packageName, in cachePackageCodeLocation()
431 Set<Integer> users = putIfAbsent( in loadInternal()
435 Set<String> codePaths = putIfAbsent( in loadInternal()
881 private static <K,V> V putIfAbsent(Map<K,V> map, K key, V newValue) { in putIfAbsent() method in DexManager
882 V existingValue = map.putIfAbsent(key, newValue); in putIfAbsent()
1107 Set<String> dataDirs = putIfAbsent(mAppDataDirs, userId, new HashSet<>()); in mergeAppDataDirs()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/fakes/
DFakeCryptoBackupServer.java62 mWrappedKeyStore.putIfAbsent(keyAlias, new HashMap<>()); in setActiveSecondaryKeyAlias()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DWakeLock.java96 mActiveClients.putIfAbsent(why, 0);
/frameworks/base/core/java/android/net/
DPacProxyManager.java67 if (null != mListenerMap.putIfAbsent(listener, listenerProxy)) { in addPacProxyInstalledListener()
DNetworkPolicyManager.java394 if (null != mSubscriptionCallbackMap.putIfAbsent(callback, callbackProxy)) { in registerSubscriptionCallback()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DFakeSettings.java59 mContentObservers.putIfAbsent(key, new ArrayList<>()); in registerContentObserverForUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DDeviceConfigProxyFake.java81 properties.putIfAbsent(namespace, new HashMap<>()); in setPropertyInternal()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java182 mFonts.putIfAbsent(fontInfo, fontInfo.mFont);
/frameworks/base/core/java/android/content/pm/parsing/result/
DParseTypeImpl.java167 mDeferredErrors.putIfAbsent(deferredError, parseError);
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTraceMarkParser.java85 final Integer existingDepth = mDepthMap.putIfAbsent(line.taskPid, 1); in visit()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContextListenerController.java220 mListeners.putIfAbsent(mClientToken, this); in register()
/frameworks/base/core/java/android/net/vcn/
DVcnManager.java332 if (REGISTERED_POLICY_LISTENERS.putIfAbsent(listener, binder) != null) { in addVcnNetworkPolicyChangeListener()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationDebug.java178 reusedMap.putIfAbsent(domain, DomainVerificationState.STATE_NO_RESPONSE); in printState()
DDomainVerificationService.java286 hostToStateMap.putIfAbsent(domains.valueAt(index), in getDomainVerificationInfo()
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java198 sLockOrderMap.putIfAbsent(new LockPair(alreadyHeld, lock), orderData); in handlePre()
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java417 return mFonts.putIfAbsent(fontInfo, fontInfo.mFont) == null;
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java454 if (mCallbackWrappers.putIfAbsent(callback, wrapped) != null) {
/frameworks/libs/net/common/device/com/android/net/module/util/
DStruct.java551 sFieldCache.putIfAbsent(clazz, annotationFields); in getClassFieldInfo()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java82 public DeviceInfo putIfAbsent(String key, DeviceInfo value) {
83 final DeviceInfo result = super.putIfAbsent(key, value);
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java160 installedApplications.putIfAbsent(userId, new ArrayList<>()); in mockCrossProfileAppInstalledOnProfile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/legacy/
DNotificationGroupManagerLegacy.java981 mOldAlertOverrideByGroup.putIfAbsent(group.groupKey, oldAlertOverride); in notifyAlertOverrideChanged()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java828 mLastTimeComponentUsedGlobal.putIfAbsent( in loadGlobalComponentUsageLocked()

12