Home
last modified time | relevance | path

Searched refs:getFirst (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DInProgressCallSessionTest.java61 assertEquals(builder.build(), mCallSession.events.getFirst()); in testAddEvent()
79 assertEquals(2, mCallSession.events.getFirst().rilRequestId); in testEventDropped()
92 assertEquals(builder.build(), mCallSession.events.getFirst()); in testAddCallQualityEvent()
130 assertEquals(builder.build(), mCallSession.events.getFirst()); in testAddCallQualitySummaryEvent()
DInProgressSmsSessionTest.java56 assertEquals(builder.build(), mSmsSession.events.getFirst()); in testAddEvent()
72 assertEquals(6, mSmsSession.events.getFirst().rilRequestId); in testEventDropped()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DHandlerMessageQueue.java78 long currentUptime = l.getFirst().first; in extractFirst()
81 runnablesMap.get(w.handler).getFirst().first) { in extractFirst()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DHighBrightnessModeMetadataMapperTest.java98 hbmMetadata.getHbmEventQueue().getFirst().getStartTimeMillis());
99 assertEquals(endTimeMillis, hbmMetadata.getHbmEventQueue().getFirst().getEndTimeMillis());
/frameworks/base/services/core/java/com/android/server/display/config/
DSupportedModeData.java48 supportedModes.add(new SupportedModeData(supportedMode.getFirst().floatValue(), in load()
DHdrBrightnessData.java92 brightnessLimits.put(point.getFirst().floatValue(), point.getSecond().floatValue()); in loadConfig()
DDisplayBrightnessMappingConfig.java109 brightnessLevelsLux[i] = mapping.getMap().getPoint().get(i).getFirst() in DisplayBrightnessMappingConfig()
/frameworks/base/libs/hwui/utils/
DPair.h34 inline const F& getFirst() const { return first; } in getFirst() function
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidStatsLogUtilsTest.java113 assertThat(history.getFirst()).isEqualTo(todayStartOfDay); in addCurrentTimeToHistory_skipSameDateData()
127 assertThat(history.getFirst()).isNotEqualTo(expiredData); in addCurrentTimeToHistory_cleanUpExpiredData()
/frameworks/base/services/core/java/com/android/server/input/debug/
DRotaryInputGraphView.java105 && (eventTime - mGraphValues.getFirst().mTime) > MAX_SHOWN_TIME_INTERVAL) { in addValue()
321 GraphValue getFirst() {
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DReferenceWithHistory.java82 TimestampedValue<V> valueHolder = mValues.getFirst(); in get()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/
DNsdResolveQueue.java128 NsdResolveRequest request = mResolveRequests.getFirst(); in resolveNextRequest()
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DPerfettoProtoLogImplTest.java230 Truth.assertThat(protolog.messages.getFirst().getLevel()).isEqualTo(LogLevel.WTF); in defaultMode()
439 Truth.assertThat(protolog.messages.getFirst().getTimestamp().getElapsedNanos()) in log_protoEnabled()
441 Truth.assertThat(protolog.messages.getFirst().getTimestamp().getElapsedNanos()) in log_protoEnabled()
443 Truth.assertThat(protolog.messages.getFirst().getMessage()) in log_protoEnabled()
524 String stacktrace = protolog.messages.getFirst().getStacktrace(); in stackTraceTrimmed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesListAdapter.java131 mIconView.setImageDrawable(iconPair.getFirst()); in bindView()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DCellularNetworkSecuritySafetySourceTest.java290 3).getIssues().getFirst().getActions(); in learnMoreLinkEmpty_learnMoreIsHidden()
294 assertThat(actions.getFirst().getId()).isEqualTo("cellular_security_settings"); in learnMoreLinkEmpty_learnMoreIsHidden()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunnerTests.java153 info.getChanges().getFirst().setAnimationOptions(TransitionInfo.AnimationOptions in testInvalidCustomAnimation_enableAnimationOptionsPerChange()
DActivityEmbeddingControllerTests.java232 final TransitionInfo.Change change = info.getChanges().getFirst(); in testShouldAnimate_containsAnimationOptions_enableAnimOptionsPerChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DDragToInteractAnimationController.java74 DismissCircleView circleView = pair.getFirst(); in DragToInteractAnimationController()
/frameworks/base/services/core/java/com/android/server/wm/
DCameraStateMonitor.java256 return activitiesOfPackageWhichOpenedCamera.getFirst(); in findCameraActivity()
/frameworks/base/core/java/com/android/internal/util/dump/
DDualDumpOutputStream.java240 mDumpObjects.getFirst().print(mIpw, false); in flush()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricScheduler.java316 final int nextUserId = mPendingOperations.getFirst().getTargetUserId(); in checkCurrentUserAndStartNextOperation()
318 if (nextUserId == currentUserId || mPendingOperations.getFirst().isStartUserOperation()) { in checkCurrentUserAndStartNextOperation()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerTest.java398 assertFalse(mScheduler.mPendingOperations.getFirst().isStarted()); in testCancelPendingAuth()
403 assertTrue(mScheduler.mPendingOperations.getFirst().isMarkedCanceling()); in testCancelPendingAuth()
604 assertFalse(mScheduler.mPendingOperations.getFirst().isStarted()); in testCancelsPending_whenAuthRequestIdsSet()
610 assertTrue(mScheduler.mPendingOperations.getFirst().isMarkedCanceling()); in testCancelsPending_whenAuthRequestIdsSet()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineImplTest.java871 mInitialValue = mValues.getFirst(); in commitLatest()
886 return mValues.getFirst(); in getLatest()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DPackageManagerBackupAgentTest.java147 ImmutableList.of(createPackage(uninstalledPackageName, 1), mPackages.getFirst()), in onBackup_legacyState_backsUpEverything()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskContainer.java584 ? null : alwaysOnTopOverlays.getFirst(); in updateAlwaysOnTopOverlayIfNecessary()

12