Home
last modified time | relevance | path

Searched refs:resultValue (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAsyncResultHolderTests.java57 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetWithoutSet() local
58 assertEquals(DEFAULT_VALUE, resultValue); in testGetWithoutSet()
65 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetBeforeSet() local
66 assertEquals(DEFAULT_VALUE, resultValue); in testGetBeforeSet()
73 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetAfterSet() local
74 assertEquals(SET_VALUE, resultValue); in testGetAfterSet()
81 final int resultValue = holder.get(DEFAULT_VALUE, TIMEOUT_IN_MILLISECONDS); in testGetBeforeTimeout() local
82 assertEquals(SET_VALUE, resultValue); in testGetBeforeTimeout()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetConfigure.java98 Intent resultValue = new Intent(); in onActivityResult() local
99 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onActivityResult()
100 setResult(resultCode, resultValue); in onActivityResult()
/packages/apps/Messaging/src/com/android/messaging/ui/
DWidgetPickConversationActivity.java83 Intent resultValue = new Intent(); in onConversationClick() local
84 resultValue.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mAppWidgetId); in onConversationClick()
85 setResult(RESULT_OK, resultValue); in onConversationClick()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/edit/
DEditInfoFragmentTest.java55 final boolean resultValue = false; in testOnPreferenceChange_with_listener()
56 doReturn(resultValue).when(preference).onPreferenceChange(preference, value); in testOnPreferenceChange_with_listener()
58 assertThat(listener.onPreferenceChange(preference, value)).isEqualTo(resultValue); in testOnPreferenceChange_with_listener()