Home
last modified time | relevance | path

Searched refs:containsKey (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java182 assertTrue(results.containsKey("testAddMeasurementLongZero")); in testAddMeasurementLong()
184 assertTrue(results.containsKey("testAddMeasurementLongPos")); in testAddMeasurementLong()
186 assertTrue(results.containsKey("testAddMeasurementLongNeg")); in testAddMeasurementLong()
203 assertTrue(results.containsKey("testAddMeasurementFloatZero")); in testAddMeasurementFloat()
205 assertTrue(results.containsKey("testAddMeasurementFloatPos")); in testAddMeasurementFloat()
207 assertTrue(results.containsKey("testAddMeasurementFloatNeg")); in testAddMeasurementFloat()
224 assertTrue(results.containsKey("testAddMeasurementStringNull")); in testAddMeasurementString()
226 assertTrue(results.containsKey("testAddMeasurementStringEmpty")); in testAddMeasurementString()
228 assertTrue(results.containsKey("testAddMeasurementStringNonEmpty")); in testAddMeasurementString()
402 assertTrue(snapshot.containsKey(PerformanceCollector.METRIC_KEY_CPU_TIME)); in verifySnapshotBundle()
[all …]
/frameworks/base/core/java/android/webkit/
DSslErrorHandlerImpl.java114 success = inState.containsKey("ssl-error-handler"); in restoreState()
165 if (mSslPrefTable.containsKey(host) && primary <= mSslPrefTable.getInt(host)) { in checkSslPrefTable()
265 boolean hasKey = mSslPrefTable.containsKey(host); in handleSslErrorResponse()
DSslCertLookupTable.java66 return table.containsKey(host) && sslError.getPrimaryError() <= table.getInt(host); in isAllowed()
DSslClientCertLookupTable.java59 return privateKeys.containsKey(host_and_port); in IsAllowed()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java48 if (mMimeTypeToExpectedContentValues.containsKey(mimeType)) { in addExpectedContentValues()
87 if (!mMimeTypeToExpectedContentValues.containsKey(mimeType)) { in applyBatch()
112 if (actualContentValues.containsKey(Data.RAW_CONTACT_ID)) { in applyBatch()
221 if (!actual.containsKey(key)) { in equalsForContentValues()
/frameworks/base/media/java/android/media/
DTimedText.java446 if (mKeyObjectMap.containsKey(key)) { in parseParcel()
627 public boolean containsKey(final int key) { in containsKey() method in TimedText
628 if (isValidKey(key) && mKeyObjectMap.containsKey(key)) { in containsKey()
649 if (containsKey(key)) { in getObject()
DMetadata.java318 if (mKeyToPosMap.containsKey(metadataId)) { in scanAllRecords()
424 return mKeyToPosMap.containsKey(metadataId); in has()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNotificationRowLayout.java220 if (mAppearingViews.containsKey(child)) { in removeView()
291 if (mDisappearingViews.containsKey(child)) { in onMeasure()
350 if (mDisappearingViews.containsKey(child)) { in onLayout()
352 } else if (mAppearingViews.containsKey(child)) { in onLayout()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java287 if (mReferences.containsKey(pos)) { in add()
306 if (mReferences.containsKey(pos)) { in notifyOnRemoteViewsLoaded()
381 if (mTypeIdIndexMap.containsKey(typeId)) { in getMappedViewType()
551 if (mIndexMetaData.containsKey(position)) { in insert()
567 if (mIndexRemoteViews.containsKey(position)) { in getRemoteViewsAt()
573 if (mIndexMetaData.containsKey(position)) { in getMetaDataAt()
691 return mIndexRemoteViews.containsKey(position); in containsRemoteViewAt()
694 return mIndexMetaData.containsKey(position); in containsMetaDataAt()
DRemoteViewsService.java214 if (RemoteViewsService.sRemoteViewFactories.containsKey(fc)) { in onDestroy()
237 if (!sRemoteViewFactories.containsKey(fc)) { in onBind()
/frameworks/base/core/java/android/net/
DLinkCapabilities.java251 public boolean containsKey(int key) { in containsKey() method in LinkCapabilities
252 return mCapabilities.containsKey(key); in containsKey()
/frameworks/base/test-runner/src/android/test/
DSimpleCache.java28 if (map.containsKey(key)) { in get()
/frameworks/base/tests/TileBenchmark/tests/src/com/test/tilebenchmark/
DPerformanceTest.java49 double aggVal = mDataMap.containsKey(label) ? mDataMap in aggregate()
57 double aggVal = mDataMap.containsKey(e.getKey()) in aggregate()
/frameworks/base/core/java/com/android/internal/os/
DPowerProfile.java220 if (sPowerMap.containsKey(type)) { in getAveragePower()
241 if (sPowerMap.containsKey(type)) { in getAveragePower()
/frameworks/base/core/java/android/bluetooth/
DAtParser.java282 if (mBasicHandlers.containsKey((Character)c)) { in process()
301 if (!mExtHandlers.containsKey(commandName)) { in process()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java67 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { in onReceive()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmAnalyzer.java366 if (mInKeep.containsKey(className) || in considerName()
367 mOutKeep.containsKey(className) || in considerName()
368 mInDeps.containsKey(className) || in considerName()
369 mOutDeps.containsKey(className)) { in considerName()
/frameworks/base/core/tests/coretests/src/android/util/
DGridScenario.java288 if (params.mOverrideItemScreenSizeFactors.containsKey(i)) { in readAndValidateParams()
364 if (mOverrideItemScreenSizeFactors.containsKey(position)) { in getView()
/frameworks/base/location/java/android/location/
DCountryDetector.java124 if (!mListeners.containsKey(listener)) { in addCountryListener()
/frameworks/base/core/java/android/net/http/
DRequestQueue.java466 if (mPending.containsKey(host)) { in getRequest()
481 return mPending.containsKey(host); in haveRequest()
501 if (mPending.containsKey(host)) { in queueRequest()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSpnOverride.java47 return CarrierSpnMap.containsKey(carrier); in containsCarrier()
DVoiceMailConstants.java55 return CarrierVmMap.containsKey(carrier); in containsCarrier()
/frameworks/base/core/java/android/accounts/
DAccountManager.java262 if (result.containsKey(KEY_AUTHTOKEN) in sanitizeResult()
440 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) { in hasFeatures()
484 if (!bundle.containsKey(KEY_ACCOUNTS)) {
552 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) {
1886 if (mAccountsUpdatedListeners.containsKey(listener)) {
1924 if (!mAccountsUpdatedListeners.containsKey(listener)) {
/frameworks/base/voip/java/android/net/rtp/
DAudioGroup.java146 if (!mStreams.containsKey(stream)) { in add()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java250 return mMap.containsKey(key); in contains()
405 if (!mMap.containsKey(k)) { in commitToMemory()
411 if (mMap.containsKey(k)) { in commitToMemory()

1234