Home
last modified time | relevance | path

Searched refs:onError (Results 1 – 25 of 37) sorted by relevance

12

/development/tools/winscope/src/trace_collection/wdp/
Dwdp_host_connection_test.ts57 expect(listener.onError).not.toHaveBeenCalled();
102 expect(listener.onError).toHaveBeenCalledWith(
105 listener.onError.calls.reset();
121 expect(listener.onError).toHaveBeenCalledWith('test message');
123 listener.onError.calls.reset();
128 expect(listener.onError).toHaveBeenCalledWith('Unknown WDP Error');
130 listener.onError.calls.reset();
231 listener.onError.calls.reset();
Dwdp_device_connection.ts62 await this.listener.onError(`Please enable popups and try again.`);
76 this.listener.onError(msg);
152 await this.listener.onError(msg);
189 this.listener.onError(msg),
Dadb_websocket_stream.ts39 this.onError = async (msg: string) => {
65 this.onError(
Dwdp_device_connection_test.ts58 expect(listener.onError).not.toHaveBeenCalled();
79 expect(listener.onError).toHaveBeenCalledOnceWith(
82 listener.onError.calls.reset();
228 expect(listener.onError).toHaveBeenCalledTimes(1);
229 listener.onError.calls.reset();
395 expect(listener.onError).toHaveBeenCalledWith(
400 listener.onError.calls.reset();
407 listener.onError.calls.reset();
536 listener.onError.calls.reset();
Dwdp_host_connection.ts71 this.listener.onError(`Please enable popups and try again.`);
78 this.listener.onError(resp.error.message ?? 'Unknown WDP Error');
Dwebsocket_stream.ts30 protected onError: ErrorListener = FunctionUtils.DO_NOTHING_ASYNC;
/development/tools/winscope/src/trace_collection/winscope_proxy/
Dwinscope_proxy_host_connection_test.ts69 expect(listener.onError).not.toHaveBeenCalled();
93 listener.onError.calls.reset();
174 expect(listener.onError.calls.mostRecent().args).toEqual([
177 listener.onError.calls.reset();
190 expect(listener.onError.calls.mostRecent().args).toEqual([
193 listener.onError.calls.reset();
206 expect(listener.onError.calls.mostRecent().args).toEqual([
209 listener.onError.calls.reset();
272 expect(listener.onError.calls.mostRecent().args).toEqual([
275 listener.onError.calls.reset();
[all …]
Dwinscope_proxy_device_connection_test.ts81 expect(listener.onError).not.toHaveBeenCalled();
315 expect(listener.onError.calls.mostRecent().args).toEqual([
320 listener.onError.calls.reset();
381 expect(listener.onError).toHaveBeenCalledOnceWith(
384 listener.onError.calls.reset();
446 listener.onError.calls.reset();
Dwinscope_proxy_device_connection.ts85 await this.listener.onError(errorText);
103 await this.listener.onError(
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DRemotePlayer.java68 mCallback.onError();
150 public void onError(String error, int code, Bundle data) { in play() method
192 public void onError(String error, int code, Bundle data) { in getStatus() method
220 public void onError(String error, int code, Bundle data) { in pause()
245 public void onError(String error, int code, Bundle data) { in resume()
273 public void onError(String error, int code, Bundle data) { in stop()
314 public void onError(String error, int code, Bundle data) { in remove()
345 public void onError(String error, Bundle data) { in updateStatistics()
390 public void onError(String error, int code, Bundle data) { in enqueueInternal() method
416 public void onError(String error, int code, Bundle data) { in seekInternal() method
[all …]
DPlayer.java76 void onError(); in onError() method
DLocalPlayer.java258 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() method in LocalPlayer
266 mCallback.onError(); in onError()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java391 callback.onError("Failed to open " + uri.toString(), null); in handleEnqueue()
413 callback.onError("Failed to remove" + in handleRemove()
437 callback.onError("Failed to seek" + in handleSeek()
456 callback.onError("Failed to get status" + in handleGetStatus()
472 callback.onError("Failed to pause, sid=" + sid, null); in handlePause()
487 callback.onError("Failed to resume, sid=" + sid, null); in handleResume()
502 callback.onError("Failed to stop, sid=" + sid, null); in handleStop()
522 callback.onError("Failed to start session.", null); in handleStartSession()
539 callback.onError("Failed to get session status, sid=" + sid, null); in handleGetSessionStatus()
559 callback.onError("Failed to end session, sid=" + sid, null); in handleEndSession()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DAlbumArtCache.java115 listener.onError(artUrl, new IllegalArgumentException("got null bitmaps")); in fetch()
126 public void onError(String artUrl, Exception e) { in onError() method in AlbumArtCache.FetchListener
DPlayback.java193 mCallback.onError(ex.getMessage()); in play()
396 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() method in Playback
399 mCallback.onError("MediaPlayer error " + what + " (" + extra + ")"); in onError()
485 void onError(String error); in onError() method
DBrowseFragment.java77 public void onError(String id) {
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintUiHelper.java86 mCallback.onError(); in onAuthenticationError()
143 void onError(); in onError() method
DFingerprintAuthenticationDialogFragment.java251 public void onError() { in onError() method in FingerprintAuthenticationDialogFragment
/development/samples/VirtualDeviceManager/common/src/com/example/android/vdmdemo/common/
DConnectionManager.java199 onError("Failed to create Wifi Aware session"); in createWifiAwareSession()
246 private void onError(String message) { in onError() method in ConnectionManager
349 onError("Failed to establish connection."); in establishConnection()
372 onError("Network unavailable"); in onUnavailable()
394 onError("Failed to establish connection."); in onCapabilitiesChanged()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintUiHelper.java109 mCallback.onError(); in onAuthenticationError()
167 void onError(); in onError() method
/development/tools/winscope/src/trace_collection/adb/
Dadb_host_connection.ts46 await this.listener.onError(errorText);
Dadb_host_connection_test.ts66 listener.onError.calls.reset();
Dadb_device_connection.ts24 onError(errorText: string): Promise<void>; method
/development/tools/winscope/src/trace_collection/controller/
Dtracing_session_test.ts28 onError: jasmine.createSpy(),
/development/samples/VoiceInteractionService/src/com/example/android/voiceinteractor/
DSampleVoiceInteractionService.java274 public void onError() { in onError() method in SampleVoiceInteractionService.Callback

12