Home
last modified time | relevance | path

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

123456

/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/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java108 if (!mCounter.containsKey(featureValue)) { in addSample()
114 int count = (classCounts.containsKey(className)) ? in addSample()
122 if (mCounter.containsKey(featureValue)) { in getClassScores()
212 if (features.containsKey(featureName)) { in findTopClasses()
224 if (appScores.containsKey(appName)) { in findTopClasses()
239 if (!mClassCounts.containsKey(appName)) { in findTopClasses()
284 int sampleCount = (mClassCounts.containsKey(sampleId)) ? in addSample()
356 if (!mPredictor.containsKey(TIME_OF_WEEK)) { in loadClassCounter()
370 if (mClassCounts.containsKey(className)) { in loadClassCounter()
380 if (!mPredictor.containsKey(featureName)) { in useFeature()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSMSDispatcher.java233 if (!( map.containsKey("scAddr") && map.containsKey("destAddr") && in sendRetrySms()
234 ( map.containsKey("text") || in sendRetrySms()
235 (map.containsKey("data") && map.containsKey("destPort"))))) { in sendRetrySms()
252 if (map.containsKey("text")) { in sendRetrySms()
265 } else if (map.containsKey("data")) { in sendRetrySms()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java72 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { in onReceive()
79 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID) in onReceive()
80 && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS)) { in onReceive()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DStopWatchMap.java84 if (!mStopWatches.containsKey(stopWatchName)) { in start()
94 if (!mStopWatches.containsKey(stopWatchName)) { in stop()
DFrameFormat.java110 return mMetaData != null ? mMetaData.containsKey(key) : false; in hasMetaKey()
114 if (mMetaData != null && mMetaData.containsKey(key)) { in hasMetaKey()
238 || !mMetaData.containsKey(specKey) in isCompatibleWith()
298 if (mMetaData.containsKey(specKey) in mayBeCompatibleWith()
DOneShotScheduler.java62 if (!scheduled.containsKey(filter.getName())) { in scheduleNextNode()
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationCluster.java102 if (mHistogram.containsKey(timeLabel)) { in consolidate()
140 long totalDuration = (mNewHistogram.containsKey(timeOfWeek)) ? in updateTemporalHistogram()
145 totalDuration = (mNewHistogram.containsKey(timeOfDay)) ? in updateTemporalHistogram()
DBaseCluster.java143 if (mHistogram.containsKey(timeLabel)) { in absorbHistogram()
165 if (mHistogram.containsKey(TimeStatsAggregator.WEEKEND)) { in setHistogram()
168 if (mHistogram.containsKey(TimeStatsAggregator.WEEKDAY)) { in setHistogram()
DFeatureAssembly.java90 if (featureMap.containsKey(pair.first) && in getFeatureMap()
91 featureMap.containsKey(pair.second)) { in getFeatureMap()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java342 if (mReferences.containsKey(pos)) { in add()
362 if (mReferences.containsKey(pos)) { in notifyOnRemoteViewsLoaded()
367 if (mViewToLinkedList.containsKey(ref)) { in notifyOnRemoteViewsLoaded()
381 if (mViewToLinkedList.containsKey(rvfl)) { in removeView()
450 if (mTypeIdIndexMap.containsKey(typeId)) { in getMappedViewType()
634 if (mIndexMetaData.containsKey(position)) { in insert()
650 if (mIndexRemoteViews.containsKey(position)) { in getRemoteViewsAt()
656 if (mIndexMetaData.containsKey(position)) { in getMetaDataAt()
775 return mIndexRemoteViews.containsKey(position); in containsRemoteViewAt()
778 return mIndexMetaData.containsKey(position); in containsMetaDataAt()
[all …]
DRemoteViewsService.java217 if (RemoteViewsService.sRemoteViewFactories.containsKey(fc)) { in onDestroy()
240 if (!sRemoteViewFactories.containsKey(fc)) { in onBind()
/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/
DMediaMetadataEditor.java377 if (mEditorMetadata.containsKey(String.valueOf(key))) { in getObject()
383 if (mEditorMetadata.containsKey(String.valueOf(key))) { in getObject()
389 if (mEditorMetadata.containsKey(String.valueOf(key))) { in getObject()
DTimedText.java517 if (mKeyObjectMap.containsKey(key)) { in parseParcel()
704 private boolean containsKey(final int key) { in containsKey() method in TimedText
705 if (isValidKey(key) && mKeyObjectMap.containsKey(key)) { in containsKey()
728 if (containsKey(key)) { in getObject()
DMediaFormat.java274 public final boolean containsKey(String name) { in containsKey() method in MediaFormat
275 return mMap.containsKey(name); in containsKey()
DMetadata.java318 if (mKeyToPosMap.containsKey(metadataId)) { in scanAllRecords()
424 return mKeyToPosMap.containsKey(metadataId); in has()
/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/core/java/com/android/internal/os/
DPowerProfile.java227 if (sPowerMap.containsKey(type)) { in getAveragePower()
248 if (sPowerMap.containsKey(type)) { in getAveragePower()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DSimpleMonthView.java325 if (!params.containsKey(VIEW_PARAMS_MONTH) && !params.containsKey(VIEW_PARAMS_YEAR)) { in setMonthParams()
330 if (params.containsKey(VIEW_PARAMS_HEIGHT)) { in setMonthParams()
336 if (params.containsKey(VIEW_PARAMS_SELECTED_DAY)) { in setMonthParams()
355 if (params.containsKey(VIEW_PARAMS_WEEK_START)) { in setMonthParams()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DSignature.java225 if (mInputPorts.containsKey(name)) { in addInputPort()
235 if (mOutputPorts.containsKey(name)) { in addOutputPort()
/frameworks/base/location/lib/java/com/android/location/provider/
DFusedLocationHardware.java77 if(mSinkList.containsKey(sink)) { in registerSink()
103 if(!mSinkList.containsKey(sink)) { in unregisterSink()
/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()

123456