Home
last modified time | relevance | path

Searched refs:firstValue (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DDefaultScreenshotActionsProviderTest.kt66 previewActionCaptor.firstValue.onClick.invoke() in previewActionAccessed_beforeScreenshotCompleted_doesNothing()
77 val firstAction = actionButtonCaptor.firstValue in actionButtonsAccessed_beforeScreenshotCompleted_doesNothing()
93 actionButtonCaptor.firstValue.invoke() in <lambda>()
99 assertThat(intentCaptor.firstValue.action).isEqualTo(Intent.ACTION_CHOOSER) in <lambda>()
112 actionButtonCaptor.firstValue.invoke() in <lambda>()
113 previewActionCaptor.firstValue.onClick.invoke() in <lambda>()
121 assertThat(intentCaptor.firstValue.action).isEqualTo(Intent.ACTION_EDIT) in <lambda>()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderPerformanceTest.java54 String firstValue = getStringViaFrontEndApiSetting(SETTING_TYPE_GLOBAL, in testSetAndGetPerformanceForGlobalViaFrontEndApi() local
56 assertEquals("Setting value didn't change", FAKE_SETTING_VALUE, firstValue); in testSetAndGetPerformanceForGlobalViaFrontEndApi()
98 String firstValue = getStringViaFrontEndApiSetting(SETTING_TYPE_GLOBAL, in testSetAndGetPerformanceForGlobalViaProviderApi() local
100 assertEquals("Setting value didn't change", FAKE_SETTING_VALUE, firstValue); in testSetAndGetPerformanceForGlobalViaProviderApi()
DSettingsProviderTest.java234 String firstValue = queryStringViaProviderApi(SETTING_TYPE_SYSTEM, FAKE_SETTING_NAME, in testQueryStringWithAppendedNameToUriViaProviderApi() local
236 assertEquals("Setting must be present", FAKE_SETTING_VALUE, firstValue); in testQueryStringWithAppendedNameToUriViaProviderApi()
504 String firstValue = queryStringViaProviderApi(type, FAKE_SETTING_NAME, true, false); in doTestQueryStringInBracketsViaProviderApiForType() local
505 assertEquals("Setting must be present", FAKE_SETTING_VALUE, firstValue); in doTestQueryStringInBracketsViaProviderApiForType()
545 String firstValue = queryStringViaProviderApi(type, FAKE_SETTING_NAME); in toTestBulkInsertViaProviderApiForType() local
546 assertEquals("First setting must be present", FAKE_SETTING_VALUE, firstValue); in toTestBulkInsertViaProviderApiForType()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsDreamServiceTest.kt142 onCreateCallback.firstValue.invoke(mock<TaskFragmentInfo>()) in testFinishesDreamWithoutRestartingActivityWhenNotRedirectingWakes()
146 onInfoChangedCallback.firstValue.invoke( in testFinishesDreamWithoutRestartingActivityWhenNotRedirectingWakes()
161 onCreateCallback.firstValue.invoke(mock<TaskFragmentInfo>()) in testRestartsActivityWhenRedirectingWakes()
165 onInfoChangedCallback.firstValue.invoke( in testRestartsActivityWhenRedirectingWakes()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/view/
DEndScreenRecordingDialogDelegateTest.kt102 assertThat(result.firstValue.toString()).isEqualTo("You will stop recording Fake Package") in message_hasRecordedTask()
133 clickListener.firstValue.onClick(mock<DialogInterface>(), 0) in positiveButton()
/frameworks/base/core/java/android/os/
DBundleMerger.java244 final Object firstValue = first.get(key); in merge() local
247 res.putObject(key, merge(strategy, firstValue, lastValue)); in merge()
249 Log.w(TAG, "Failed to merge key " + key + " with " + firstValue + " and " in merge()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/sharetoapp/ui/view/
DEndShareToAppDialogDelegateTest.kt105 assertThat(result.firstValue.toString()).isEqualTo("You will stop sharing Fake Package") in message_singleTask()
136 clickListener.firstValue.onClick(mock<DialogInterface>(), 0) in positiveButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/casttootherdevice/ui/view/
DEndCastToOtherDeviceDialogDelegateTest.kt106 assertThat(result.firstValue.toString()).isEqualTo("You will stop casting Fake Package") in message_singleTask()
137 clickListener.firstValue.onClick(mock<DialogInterface>(), 0) in positiveButton()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModelTests.kt184 desktopModeOnInsetsChangedListener = listenerCaptor.firstValue in setUp()
304 val onClickListener = onClickListenerCaptor.firstValue in testBackEventHasRightDisplayId()
320 assertEquals(secondaryDisplayId, eventCaptor.firstValue.displayId) in testBackEventHasRightDisplayId()
330 keyguardListenerCaptor.firstValue.onKeyguardVisibilityChanged( in testCaptionIsNotCreatedWhenKeyguardIsVisible()
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DAppListRepositoryTest.kt137 }.firstValue in <lambda>()
153 }.firstValue in <lambda>()
276 }.firstValue in <lambda>()
DPackageManagerExtTest.kt115 assertThat(firstValue.value).isEqualTo(PackageManager.GET_META_DATA.toLong()) in resolveActionForApp_withFlags()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerStateTest.kt68 runnableCaptor.firstValue.run() in destroys ColorFade on stop()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/data/repository/
DScreenRecordRepositoryTest.kt65 val callback = callbackCaptor.firstValue in dataMatchesController()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerMetrics.cpp112 static std::string getLogMessage(const std::string& firstKey, const long& firstValue, in getLogMessage() argument
116 if (firstValue > 0) { in getLogMessage()
117 logMsg << firstKey << firstValue; in getLogMessage()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduParser.java1460 int firstValue = extractByteValue(pduDataStream); in parseContentTypeParams() local
1463 if (((firstValue > TEXT_MIN) && (firstValue < TEXT_MAX)) || in parseContentTypeParams()
1464 (END_STRING_FLAG == firstValue)) { in parseContentTypeParams()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java393 String firstValue = resolveReference(resources, rv); in getIntArray() local
394 if (firstValue != null) { in getIntArray()
396 return new int[]{getInt(firstValue)}; in getIntArray()
399 "Integer resource array contains non-integer value: \"" + firstValue + "\"", in getIntArray()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/
DSideFpsOverlayViewBinderTest.kt224 verify(viewCaptor.firstValue) in verifyIndicatorShowAndHide_onAlternateBouncerShowAndHide()
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreStorageTest.kt330 val payload = entityData.firstValue in <lambda>()