Searched refs:resultValue (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | AsyncResultHolderTests.java | 57 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/ |
D | PhotoAppWidgetConfigure.java | 98 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/ |
D | WidgetPickConversationActivity.java | 83 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/ |
D | EditInfoFragmentTest.java | 55 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()
|