Home
last modified time | relevance | path

Searched refs:transcript (Results 1 – 25 of 32) sorted by relevance

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DSchedulerTest.java10 private Transcript transcript; field in SchedulerTest
17 transcript = new Transcript(); in setUp()
27 transcript.assertEventsSoFar("one", "two"); in testTick_ReturnsTrueIffSomeJobWasRun()
30 transcript.assertNoEventsSoFar(); in testTick_ReturnsTrueIffSomeJobWasRun()
33 transcript.assertEventsSoFar("three"); in testTick_ReturnsTrueIffSomeJobWasRun()
43 transcript.assertEventsSoFar("one"); in testShadowPostDelayed()
46 transcript.assertNoEventsSoFar(); in testShadowPostDelayed()
49 transcript.assertEventsSoFar("two"); in testShadowPostDelayed()
52 transcript.assertEventsSoFar("three"); in testShadowPostDelayed()
62 transcript.assertEventsSoFar("three"); in testShadowPostAtFrontOfQueue()
[all …]
DRobolectricBackgroundExecutorServiceTest.java18 private Transcript transcript; field in RobolectricBackgroundExecutorServiceTest
23 transcript = new Transcript(); in setUp()
30 transcript.add("background event ran"); in setUp()
39 transcript.assertNoEventsSoFar(); in execute_shouldRunStuffOnBackgroundThread()
42 transcript.assertEventsSoFar("background event ran"); in execute_shouldRunStuffOnBackgroundThread()
49 transcript.assertNoEventsSoFar(); in submitRunnable_shouldRunStuffOnBackgroundThread()
53 transcript.assertEventsSoFar("background event ran"); in submitRunnable_shouldRunStuffOnBackgroundThread()
68 transcript.assertNoEventsSoFar(); in submitCallable_shouldRunStuffOnBackgroundThread()
72 transcript.assertEventsSoFar("background event ran"); in submitCallable_shouldRunStuffOnBackgroundThread()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAsyncTaskTest.java22 private Transcript transcript; field in AsyncTaskTest
25 transcript = new Transcript(); in setUp()
35 transcript.assertEventsSoFar("onPreExecute"); in testNormalFlow()
38 transcript.assertEventsSoFar("doInBackground a, b"); in testNormalFlow()
42 transcript.assertEventsSoFar("onPostExecute c"); in testNormalFlow()
50 transcript.assertEventsSoFar("onPreExecute"); in testCancelBeforeBackground()
56 transcript.assertNoEventsSoFar(); in testCancelBeforeBackground()
59 transcript.assertEventsSoFar("onCancelled"); in testCancelBeforeBackground()
67 transcript.assertEventsSoFar("onPreExecute"); in testCancelBeforePostExecute()
70 transcript.assertEventsSoFar("doInBackground a, b"); in testCancelBeforePostExecute()
[all …]
DAdapterViewBehavior.java39 final Transcript transcript = new Transcript(); in shouldIgnoreSetSelectionCallsWithInvalidPosition() local
44 transcript.add("onItemSelected fired"); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
53 transcript.assertNoEventsSoFar(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
56 transcript.assertNoEventsSoFar(); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
72 final Transcript transcript = new Transcript(); in testSetAdapter_ShouldSelectFirstItemAsynchronously() local
80 transcript.add("selected item " + position); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
88 transcript.assertNoEventsSoFar(); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
90 transcript.assertEventsSoFar("selected item 0"); in testSetAdapter_ShouldSelectFirstItemAsynchronously()
94 final Transcript transcript = new Transcript(); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero() local
103 transcript.add("onNothingSelected fired"); in testSetAdapter_ShouldFireOnNothingSelectedWhenAdapterCountIsReducedToZero()
[all …]
DTestFragment.java33 Transcript transcript = new Transcript(); field in TestFragment
39 transcript.add("onAttach"); in onAttach()
45 transcript.add("onCreate"); in onCreate()
62 transcript.add("onCreateView"); in onCreateView()
68 transcript.add("onViewCreated"); in onViewCreated()
75 transcript.add("onActivityCreated"); in onActivityCreated()
81 transcript.add("onStart"); in onStart()
87 transcript.add("onResume"); in onResume()
DDialogFragmentTest.java41 dialogFragment.transcript.assertEventsSoFar( in show_shouldCallLifecycleMethods()
60 dialogFragment.transcript.assertEventsSoFar( in show_whenPassedATransaction_shouldCallShowWithManager()
171 final Transcript transcript = new Transcript(); field in DialogFragmentTest.TestDialogFragment
177 transcript.add("onAttach"); in onAttach()
184 transcript.add("onCreate"); in onCreate()
189 transcript.add("onCreateDialog"); in onCreateDialog()
195 transcript.add("onCreateView"); in onCreateView()
201 transcript.add("onViewCreated"); in onViewCreated()
207 transcript.add("onActivityCreated"); in onActivityCreated()
213 transcript.add("onStart"); in onStart()
[all …]
DContextWrapperTest.java32 public Transcript transcript; field in ContextWrapperTest
36 transcript = new Transcript(); in setUp()
46 transcript.assertEventsSoFar("Larry notified of foo"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
49 transcript.assertNoEventsSoFar(); in registerReceiver_shouldRegisterForAllIntentFilterActions()
52 transcript.assertEventsSoFar("Larry notified of baz"); in registerReceiver_shouldRegisterForAllIntentFilterActions()
64 transcript.assertEventsSoFar("Larry notified of foo", "Bob notified of foo"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
67 transcript.assertNoEventsSoFar(); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
70 transcript.assertEventsSoFar("Larry notified of baz"); in sendBroadcast_shouldSendIntentToEveryInterestedReceiver()
81 transcript.assertNoEventsSoFar(); in unregisterReceiver_shouldUnregisterReceiver()
96 transcript.assertEventsSoFar("Larry notified of foo", "Larry notified of baz"); in broadcastReceivers_shouldBeSharedAcrossContextsPerApplicationContext()
[all …]
DActivityTest.java66 final Transcript transcript = new Transcript(); in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity() local
70transcript.add("onActivityResult called with requestCode " + requestCode + ", resultCode " + resul… in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
78transcript.assertEventsSoFar("onActivityResult called with requestCode 456, resultCode -1, intent … in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity()
150 final Transcript transcript = new Transcript(); in onContentChangedShouldBeCalledAfterContentViewIsSet() local
154transcript.add("onContentChanged was called; title is \"" + shadowOf(findViewById(R.id.title)).inn… in onContentChangedShouldBeCalledAfterContentViewIsSet()
158 transcript.assertEventsSoFar("onContentChanged was called; title is \"Main Layout\""); in onContentChangedShouldBeCalledAfterContentViewIsSet()
424 activity.transcript.assertEventsSoFar( in createGoesThroughFullLifeCycle()
440 activity.transcript.assertEventsSoFar( in recreateGoesThroughFullLifeCycle()
479 Transcript transcript = new Transcript(); field in ActivityTest.TestActivity
486 transcript.add("onSaveInstanceState"); in onSaveInstanceState()
[all …]
DDialogTest.java26 final Transcript transcript = new Transcript(); in shouldCallOnDismissListener() local
33 transcript.add("onDismiss called!"); in shouldCallOnDismissListener()
39 transcript.assertEventsSoFar("onDismiss called!"); in shouldCallOnDismissListener()
82 final Transcript transcript = new Transcript(); in shouldOnlyCallOnCreateOnce() local
88 transcript.add("onCreate called"); in shouldOnlyCallOnCreateOnce()
93 transcript.assertEventsSoFar("onCreate called"); in shouldOnlyCallOnCreateOnce()
97 transcript.assertNoEventsSoFar(); in shouldOnlyCallOnCreateOnce()
DExpandableListViewTest.java17 private Transcript transcript; field in ExpandableListViewTest
24 transcript = new Transcript(); in setUp()
32 transcript.assertEventsSoFar("item was clicked: 6"); in testPerformItemClick_ShouldFireOnItemClickListener()
53 transcript.add("item was clicked: " + position); in onChildClick()
DListViewTest.java39 private Transcript transcript; field in ListViewTest
47 transcript = new Transcript(); in setUp()
59 transcript.add("item was selected: " + position); in testSetSelection_ShouldFireOnItemSelectedListener()
69 transcript.assertEventsSoFar("item was selected: 0"); in testSetSelection_ShouldFireOnItemSelectedListener()
195 transcript.add("item was clicked: " + position); in testPerformItemClick_ShouldFireOnItemClickListener()
200 transcript.assertEventsSoFar("item was clicked: 0"); in testPerformItemClick_ShouldFireOnItemClickListener()
232 transcript.add("clicked on item " + position); in clickItemContainingText_shouldPerformItemClickOnList()
236 transcript.assertEventsSoFar("clicked on item 1"); in clickItemContainingText_shouldPerformItemClickOnList()
252 transcript.add("clicked on item " + adapter.getItem(position)); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
256 transcript.assertEventsSoFar("clicked on item Item 3"); in clickItemContainingText_shouldPerformItemClickOnList_arrayAdapter()
[all …]
DSeekBarTest.java24 private Transcript transcript; field in SeekBarTest
31 transcript = new Transcript(); in setup()
45 transcript.assertEventsSoFar("onProgressChanged() - 5"); in testOnChangeNotification()
52 transcript.add("onProgressChanged() - " + progress); in onProgressChanged()
DRatingBarTest.java26 private Transcript transcript; field in RatingBarTest
33 transcript = new Transcript(); in setup()
47 transcript.assertEventsSoFar("onRatingChanged() - 5.0"); in testOnChangeNotification()
54 transcript.add("onRatingChanged() - " + rating); in onRatingChanged()
DHandlerTest.java27 private Transcript transcript; field in HandlerTest
42 transcript = new Transcript(); in setUp()
57 transcript.assertEventsSoFar("first thing", "second thing"); in testInsertsRunnablesBasedOnLooper()
70 transcript.assertEventsSoFar("first thing", "second thing"); in testDefaultConstructorUsesDefaultLooper()
89 transcript.assertEventsSoFar("second thing"); in testDifferentLoopersGetDifferentQueues()
395 transcript.add(event); in run()
DViewTest.java53 final Transcript transcript = new Transcript(); in shouldFocus() local
58 transcript.add(hasFocus ? "Gained focus" : "Lost focus"); in shouldFocus()
64 transcript.assertNoEventsSoFar(); in shouldFocus()
69 transcript.assertEventsSoFar("Gained focus"); in shouldFocus()
74 transcript.assertEventsSoFar("Lost focus"); in shouldFocus()
DFragmentManagerTest.java65 fragment.transcript.assertEventsSoFar( in addFragment_shouldCallLifecycleMethods()
77 fragment.transcript.clear(); in startFragment_shouldCallLifecycleMethods()
80 fragment.transcript.assertEventsSoFar( in startFragment_shouldCallLifecycleMethods()
/external/chromium_org/third_party/WebKit/Source/modules/speech/
DSpeechRecognitionAlternative.cpp32 …gnitionAlternative> SpeechRecognitionAlternative::create(const String& transcript, double confiden… in create() argument
34 return adoptRef(new SpeechRecognitionAlternative(transcript, confidence)); in create()
37 SpeechRecognitionAlternative::SpeechRecognitionAlternative(const String& transcript, double confide… in SpeechRecognitionAlternative() argument
38 : m_transcript(transcript) in SpeechRecognitionAlternative()
DSpeechRecognitionAlternative.h41 const String& transcript() const { return m_transcript; } in transcript() function
DSpeechRecognitionAlternative.idl29 readonly attribute DOMString transcript;
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DMockWebSpeechRecognizer.cpp58 ResultTask(MockWebSpeechRecognizer* mock, const WebString transcript, float confidence) in ResultTask() argument
60 , m_transcript(transcript) in ResultTask()
174 void MockWebSpeechRecognizer::addMockResult(const WebString& transcript, float confidence) in addMockResult() argument
176 m_mockTranscripts.push_back(transcript); in addMockResult()
DMockWebSpeechRecognizer.h59 void addMockResult(const blink::WebString& transcript, float confidence);
/external/chromium_org/ui/keyboard/resources/
Dvoice_input.js47 this.finalResult_ = e.results[i][0].transcript;
/external/chromium_org/chrome/browser/resources/app_list/
Dspeech_recognition_manager.js52 result += speechEvent.results[i][0].transcript;
/external/chromium_org/content/browser/speech/proto/
Dgoogle_streaming_api.proto59 optional string transcript = 1; field
/external/chromium_org/content/browser/speech/
Dgoogle_streaming_remote_engine.cc66 DVLOG(1) << " TRANSCRIPT:\t" << alt.transcript(); in DumpResponse()
458 hypothesis.utterance = UTF8ToUTF16(ws_alternative.transcript()); in ProcessDownstreamResponse()

12