Home
last modified time | relevance | path

Searched refs:failureCode (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/java/android/media/musicrecognition/
DMusicRecognitionService.java64 void onRecognitionFailed(@MusicRecognitionManager.RecognitionFailureCode int failureCode); in onRecognitionFailed() argument
98 public void onRecognitionFailed(int failureCode) {
100 callback.onRecognitionFailed(failureCode);
DMusicRecognitionManager.java105 @RecognitionFailureCode int failureCode); in onRecognitionFailed() argument
177 public void onRecognitionFailed(@RecognitionFailureCode int failureCode) { in onRecognitionFailed() argument
179 () -> mCallback.onRecognitionFailed(mRecognitionRequest, failureCode)); in onRecognitionFailed()
DIMusicRecognitionServiceCallback.aidl14 void onRecognitionFailed(int failureCode); in onRecognitionFailed() argument
DIMusicRecognitionManagerCallback.aidl13 void onRecognitionFailed(int failureCode); in onRecognitionFailed() argument
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DDataBoostWebServiceFlow.java106 public void notifyPurchaseFailed(@SlicePurchaseController.FailureCode int failureCode, in notifyPurchaseFailed() argument
108 mActivity.onPurchaseFailed(failureCode, failureReason); in notifyPurchaseFailed()
DSlicePurchaseActivity.java162 protected void onPurchaseFailed(@SlicePurchaseController.FailureCode int failureCode, in onPurchaseFailed() argument
166 + failureCode + " and reason: " + failureReason); in onPurchaseFailed()
168 data.putExtra(SlicePurchaseController.EXTRA_FAILURE_CODE, failureCode); in onPurchaseFailed()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseActivityTest.java138 int failureCode = SlicePurchaseController.FAILURE_CODE_CARRIER_URL_UNAVAILABLE; in testOnPurchaseFailed() local
140 mSlicePurchaseActivity.onPurchaseFailed(failureCode, failureReason); in testOnPurchaseFailed()
144 assertEquals(failureCode, intent.getIntExtra( in testOnPurchaseFailed()
145 SlicePurchaseController.EXTRA_FAILURE_CODE, failureCode)); in testOnPurchaseFailed()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java940 @BugreportFailureCode int failureCode) { in onBugreportFailed() argument
1228 int failureCode = intent.getIntExtra(EXTRA_BUGREPORT_FAILURE_REASON, in onReceive() local
1230 onBugreportFailed(context, intent, failureCode); in onReceive()
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerPerUserService.java322 public void onRecognitionFailed(@RecognitionFailureCode int failureCode) { in onRecognitionFailed() argument
324 mClientCallback.onRecognitionFailed(failureCode); in onRecognitionFailed()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java444 int failureCode = StateCallback.ERROR_CAMERA_DEVICE; in setRemoteFailure() local
449 failureCode = StateCallback.ERROR_CAMERA_IN_USE; in setRemoteFailure()
452 failureCode = StateCallback.ERROR_MAX_CAMERAS_IN_USE; in setRemoteFailure()
455 failureCode = StateCallback.ERROR_CAMERA_DISABLED; in setRemoteFailure()
461 failureCode = StateCallback.ERROR_CAMERA_DEVICE; in setRemoteFailure()
468 final int code = failureCode; in setRemoteFailure()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java11062 String request, int failureCode) {}; in onReceiveUssdResponseFailed() argument