Home
last modified time | relevance | path

Searched refs:resultReceiver (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowInputMethodManagerTest.java50 CapturingResultReceiver resultReceiver = in hideSoftInputFromWindow_shouldNotifiyResult_hidden() local
52 manager.hideSoftInputFromWindow(null, 0, resultReceiver); in hideSoftInputFromWindow_shouldNotifiyResult_hidden()
53 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_HIDDEN); in hideSoftInputFromWindow_shouldNotifiyResult_hidden()
58 CapturingResultReceiver resultReceiver = in hideSoftInputFromWindow_shouldNotifiyResult_alreadHidden() local
60 manager.hideSoftInputFromWindow(null, 0, resultReceiver); in hideSoftInputFromWindow_shouldNotifiyResult_alreadHidden()
61 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_UNCHANGED_HIDDEN); in hideSoftInputFromWindow_shouldNotifiyResult_alreadHidden()
DShadowContextWrapperTest.java152 final FooReceiver resultReceiver = new FooReceiver(); in sendOrderedBroadcast_shouldReturnValues() local
153 …contextWrapper.sendOrderedBroadcast(new Intent(action), null, resultReceiver, null, 1, "initial", … in sendOrderedBroadcast_shouldReturnValues()
155 assertThat(resultReceiver.resultCode).isEqualTo(1); in sendOrderedBroadcast_shouldReturnValues()
173 final FooReceiver resultReceiver = new FooReceiver(); in sendOrderedBroadcastAsUser_shouldReturnValues() local
175 new Intent(action), null, null, resultReceiver, null, 1, "initial", null); in sendOrderedBroadcastAsUser_shouldReturnValues()
177 assertThat(resultReceiver.resultCode).isEqualTo(1); in sendOrderedBroadcastAsUser_shouldReturnValues()
195 final FooReceiver resultReceiver = new FooReceiver(); in sendOrderedBroadcastAsUser_withAppOp_shouldReturnValues() local
202 ClassParameter.from(BroadcastReceiver.class, resultReceiver), in sendOrderedBroadcastAsUser_withAppOp_shouldReturnValues()
210 assertThat(resultReceiver.resultCode).isEqualTo(1); in sendOrderedBroadcastAsUser_withAppOp_shouldReturnValues()
228 final FooReceiver resultReceiver = new FooReceiver(); in sendOrderedBroadcastAsUser_withAppOpAndOptions_shouldReturnValues() local
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowInputMethodManager.java48 protected boolean showSoftInput(View view, int flags, ResultReceiver resultReceiver) { in showSoftInput() argument
60 IBinder windowToken, int flags, ResultReceiver resultReceiver) { in hideSoftInputFromWindow() argument
69 if (resultReceiver != null) { in hideSoftInputFromWindow()
70 resultReceiver.send(resultCode, null); in hideSoftInputFromWindow()
DShadowContextImpl.java166 BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
175 resultReceiver, in sendOrderedBroadcast()
189 BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
197 resultReceiver, in sendOrderedBroadcastAsUser()
213 BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
221 resultReceiver, in sendOrderedBroadcastAsUser()
DShadowInstrumentation.java210 BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
218 receivers.add(new Wrapper(resultReceiver, null, context, null, scheduler)); in sendOrderedBroadcast()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...