Home
last modified time | relevance | path

Searched refs:onError (Results 1 – 25 of 140) 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
206 onError(preference, FDN_CHECK_FAILURE); in onException()
208 onError(preference, RADIO_OFF_ERROR); in onException()
210 onError(preference, STK_CC_SS_TO_DIAL_ERROR); in onException()
213 onError(preference, STK_CC_SS_TO_DIAL_VIDEO_ERROR); in onException()
215 onError(preference, STK_CC_SS_TO_USSD_ERROR); in onException()
217 onError(preference, STK_CC_SS_TO_SS_ERROR); in onException()
220 onError(preference, EXCEPTION_ERROR); in onException()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DNetworkScanHelper.java82 void onError(int errorCode); in onError() method
182 onError(errCode); in startNetworkScan()
221 private void onError(int errCode) { in onError() method in NetworkScanHelper
222 mNetworkScanCallback.onError(errCode); in onError()
253 public void onError(@NetworkScan.ScanErrorCode int errCode) { in onError() method in NetworkScanHelper.NetworkScanCallbackImpl
255 NetworkScanHelper.this.onError(errCode); in onError()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkScanHelper.java81 void onError(int errorCode); in onError() method
186 onError(errCode); in startNetworkScan()
224 private void onError(int errCode) { in onError() method in NetworkScanHelper
225 mNetworkScanCallback.onError(errCode); in onError()
257 public void onError(@NetworkScan.ScanErrorCode int errCode) { in onError() method in NetworkScanHelper.NetworkScanCallbackImpl
259 NetworkScanHelper.this.onError(errCode); in onError()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java301 mSession.onError(TvInputManager.RECORDING_ERROR_RESOURCE_BUSY); in handleMessage()
329 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage()
338 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage()
357 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in handleMessage()
428 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
434 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
438 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
443 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in doTune()
459 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doStartRecording()
470 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in doStartRecording()
[all …]
DTunerRecordingSessionWorkerExoV2.java302 mSession.onError(TvInputManager.RECORDING_ERROR_RESOURCE_BUSY); in handleMessage()
327 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage()
336 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage()
355 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in handleMessage()
431 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
437 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
441 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune()
446 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in doTune()
462 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doStartRecording()
473 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in doStartRecording()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java97 callback.onError(null /* throwable */); in setIndividualWallpaper()
116 callback.onError(null /* throwable */); in setIndividualWallpaper()
133 public void onError(@Nullable Throwable e) { in setIndividualWallpaper()
134 callback.onError(e); in setIndividualWallpaper()
151 callback.onError(null); in setIndividualWallpaperWithPosition()
187 callback.onError(null); in setIndividualWallpaperWithPosition()
224 callback.onError(null); in setIndividualWallpaperWithCenterPosition()
675 mCallback.onError(e /* throwable */); in onPostExecute()
684 mCallback.onError(null /* throwable */); in onPostExecute()
DWallpaperSetter.java120 public void onError(Throwable throwable) { in setCurrentWallpaper()
123 callback.onError(throwable); in setCurrentWallpaper()
157 callback.onError(e); in setCurrentLiveWallpaper()
/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/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/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapAuthenticatorTest.java107 public void onError(Throwable cause) { in testProcessEapMessageError()
174 public void onError(Throwable cause) { in testProcessEapMessageExceptionThrown()
196 public void onError(Throwable cause) { in testProcessEapMessageStateMachineTimeout()
249 public void onError(Throwable cause) { in onError() method in EapAuthenticatorTest.EapCallback
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DBrowsedMediaItems.java161 public void onError(@NonNull String parentId) { in onError() method in BrowsedMediaItems.ChildrenSubscription
168 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() method in BrowsedMediaItems.ChildrenSubscription
169 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.java90 public void onError(@CarBugreportErrorCode int errorCode) { in onError() method in CarBugreportManager.CarBugreportManagerCallback
131 public void onError(@CarBugreportManagerCallback.CarBugreportErrorCode int errorCode) { in onError() method in CarBugreportManager.CarBugreportManagerCallbackWrapper
135 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/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/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/services/AlternativeNetworkAccess/src/com/android/ons/
DONSNetworkScanCtlr.java98 public void onError(@NetworkScan.ScanErrorCode int error) {
119 void onError(int error); in onError() method
168 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/Launcher3/tests/src/com/android/launcher3/util/rule/
DFailureWatcher.java40 onError(mDevice, description, e); in failed()
43 public static void onError(UiDevice device, Description description, Throwable e) { in onError() method in FailureWatcher
/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.java330 public void onError(String utteranceId) {
334 safeInvokeAsync(utteranceId, BatchListener::onError);
369 void onError(Pair<String, Integer> parsedId) { in onError() method in TextToSpeechHelper.BatchListener

123456