Home
last modified time | relevance | path

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

123456

/packages/services/Telephony/src/com/android/phone/
DTimeConsumingPreferenceActivity.java19 public void onError(Preference preference, int error); in onError() method
188 public void onError(Preference preference, int error) { in onError() method in TimeConsumingPreferenceActivity
201 onError(preference, FDN_CHECK_FAILURE); in onException()
203 onError(preference, RADIO_OFF_ERROR); in onException()
205 onError(preference, STK_CC_SS_TO_DIAL_ERROR); in onException()
208 onError(preference, STK_CC_SS_TO_DIAL_VIDEO_ERROR); in onException()
210 onError(preference, STK_CC_SS_TO_USSD_ERROR); in onException()
212 onError(preference, STK_CC_SS_TO_SS_ERROR); in onException()
215 onError(preference, EXCEPTION_ERROR); in onException()
DNetworkScanHelper.java81 void onError(int errorCode); in onError() method
181 onError(errCode); in startNetworkScan()
220 private void onError(int errCode) { in onError() method in NetworkScanHelper
221 mNetworkScanCallback.onError(errCode); in onError()
252 public void onError(@NetworkScan.ScanErrorCode int errCode) { in onError() method in NetworkScanHelper.NetworkScanCallbackImpl
254 NetworkScanHelper.this.onError(errCode); in onError()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java281 mSession.onError(TvInputManager.RECORDING_ERROR_RESOURCE_BUSY); in handleMessage()
309 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage()
318 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage()
337 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in handleMessage()
408 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
414 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
418 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
423 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in doTune()
439 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doStartRecording()
450 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in doStartRecording()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DNetworkScanHelper.java81 void onError(int errorCode); in onError() method
181 onError(errCode); in startNetworkScan()
220 private void onError(int errCode) { in onError() method in NetworkScanHelper
221 mNetworkScanCallback.onError(errCode); in onError()
252 public void onError(@NetworkScan.ScanErrorCode int errCode) { in onError() method in NetworkScanHelper.NetworkScanCallbackImpl
254 NetworkScanHelper.this.onError(errCode); in onError()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkScanHelper.java80 void onError(int errorCode); in onError() method
180 onError(errCode); in startNetworkScan()
218 private void onError(int errCode) { in onError() method in NetworkScanHelper
219 mNetworkScanCallback.onError(errCode); in onError()
251 public void onError(@NetworkScan.ScanErrorCode int errCode) { in onError() method in NetworkScanHelper.NetworkScanCallbackImpl
253 NetworkScanHelper.this.onError(errCode); in onError()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSNetworkScanCtlrTest.java94 public void onError(int error) { in testStartFastNetworkScan()
145 public void onError(int error) { in testStartFastNetworkScanFail()
164 mONSNetworkScanCtlr.mNetworkScanCallback.onError(NetworkScan.ERROR_INVALID_SCAN); in testStartFastNetworkScanFail()
198 public void onError(int error) { in testStartFastNetworkScanWithMultipleNetworks()
250 public void onError(int error) { in testStopNetworkScan()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DAddWifiNetworkTaskTest.java121 verify(mCallback).onError(mTask, 0); in testWifiManagerNull()
140 verify(mCallback).onError(mTask, 0); in testFailToEnableWifi()
190 verify(mCallback).onError(mTask, 0); in testNoWifiInfoInProvider()
221 verify(mCallback).onError(mTask, 0); in testFailingAddingNetwork()
257 verify(mCallback).onError(mTask, 0); in testFailingToReconnectAfterAddingNetwork()
DVerifyPackageTaskTest.java120 verify(mCallback).onError(mTask, ERROR_DEVICE_ADMIN_MISSING); in testMissingDeviceAdminComponent()
162 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH); in testSignatureHash_failure()
175 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH); in testSignatureHash_noSignature()
188 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH); in testSignatureHash_digestFailure()
DSetDevicePolicyTaskTest.java154 verify(mCallback).onError(mTask, 0); in testEnableDevicePolicyApp_PackageNotFound()
200 verify(mCallback).onError(mTask, 0); in testSetDeviceOwner_PreconditionsNotMet()
217 verify(mCallback).onError(mTask, 0); in testSetDeviceOwner_ReturnFalse()
DInstallExistingPackageTaskTest.java98 verify(mCallback).onError(mTask, 0); in testPackageNotFound()
112 verify(mCallback).onError(mTask, 0); in testInstallFailed()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java108 callback.onError(null /* throwable */); in setIndividualWallpaper()
127 callback.onError(null /* throwable */); in setIndividualWallpaper()
144 public void onError(@Nullable Throwable e) { in setIndividualWallpaper()
145 callback.onError(e); in setIndividualWallpaper()
162 callback.onError(null); in setIndividualWallpaperWithPosition()
194 callback.onError(null); in setIndividualWallpaperWithPosition()
230 callback.onError(null); in setIndividualWallpaperWithCenterPosition()
897 mCallback.onError(e /* throwable */); in onPostExecute()
906 mCallback.onError(null /* throwable */); in onPostExecute()
DWallpaperSetter.java119 public void onError(Throwable throwable) { in setCurrentWallpaper()
122 callback.onError(throwable); in setCurrentWallpaper()
156 callback.onError(e); in setCurrentLiveWallpaper()
/packages/apps/ThemePicker/src/com/android/customization/model/grid/
DGridOptionsManager.java54 callback.onError(null); in apply()
84 mCallback.onError(null); in onPostExecute()
93 mCallback.onError(null); in onCancelled()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DBrowsedMediaItems.java165 public void onError(@NonNull String parentId) { in onError() method in BrowsedMediaItems.ChildrenSubscription
172 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() method in BrowsedMediaItems.ChildrenSubscription
173 onError(parentId); in onError()
DSearchedMediaItems.java50 public void onError(@NonNull String query, Bundle extras) {
51 super.onError(query, extras);
/packages/services/Car/car-lib/src/android/car/
DCarBugreportManager.java92 public void onError(@CarBugreportErrorCode int errorCode) { in onError() method in CarBugreportManager.CarBugreportManagerCallback
133 public void onError(@CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in onError() method in CarBugreportManager.CarBugreportManagerCallbackWrapper
137 handler.post(() -> callback.onError(errorCode)); in onError()
/packages/apps/ThemePicker/src/com/android/customization/model/clock/
DContentProviderClockProvider.java47 callback.onError(null); in fetch()
56 callback.onError(null); in fetch()
67 callback.onError(null); in fetch()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java50 public void onError(int error); in onError() method
250 public boolean onError(MediaPlayer mp, int what, int extra) { in onError() method in Recorder
275 mOnStateChangedListener.onError(error); in setError()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeManager.java115 public void onError(@Nullable Throwable throwable) { in createSetWallpaperCallback() method in ThemeManager
116 callback.onError(throwable); in createSetWallpaperCallback()
165 callback.onError(null);
/packages/apps/ThemePicker/src/com/android/customization/model/
DCustomizationManager.java44 void onError(@Nullable Throwable throwable); in onError() method
59 default void onError(@Nullable Throwable throwable) { in onError() method
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSNetworkScanCtlr.java99 public void onError(@NetworkScan.ScanErrorCode int error) {
120 void onError(int error); in onError() method
169 mNetworkAvailableCallBack.onError(error); in invalidateScanOnError()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DPackageDeletionTask.java70 mCallback.onError(); in packageDeleted()
83 public abstract void onError(); in onError() method in PackageDeletionTask.Callback
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAbstractProvisioningTask.java89 mCallback.onError(this, resultCode); in error()
138 void onError(AbstractProvisioningTask task, int errorCode); in onError() method
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/tts/
DTextToSpeechHelper.java329 public void onError(String utteranceId) {
333 safeInvokeAsync(utteranceId, BatchListener::onError);
368 void onError(Pair<String, Integer> parsedId) { in onError() method in TextToSpeechHelper.BatchListener
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DTunerCallbackAdapterExt.java107 public void onError(int status) { in onError() method in TunerCallbackAdapterExt
108 mHandler.post(() -> mCallback.onError(status)); in onError()

123456