Home
last modified time | relevance | path

Searched refs:failureReason (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/analytics/
DSmsMmsAnalyticsProviderTest.java85 String status, String type, String rat, String failureReason) { in getContentValues() argument
93 values.put(TelephonyAnalyticsDatabase.SmsMmsAnalyticsTable.FAILURE_REASON, failureReason); in getContentValues()
128 String failureReason = "SIM_ABSENT"; in testFailureSms() local
144 ContentValues values = getContentValues(status, type, rat, failureReason); in testFailureSms()
160 mSmsMmsAnalyticsProvider.insertDataToDb(status, type, rat, failureReason); in testFailureSms()
169 String failureReason = "SIM_ABSENT"; in testSuccessSms() local
181 ContentValues values = getContentValues(status, type, rat, failureReason); in testSuccessSms()
192 mSmsMmsAnalyticsProvider.insertDataToDb(status, type, rat, failureReason); in testSuccessSms()
288 String failureReason = "SIM_ABSENT"; in testDeleteWhenDateEqualsToday() local
292 mSmsMmsAnalyticsProvider.insertDataToDb(status, type, rat, failureReason); in testDeleteWhenDateEqualsToday()
[all …]
DCallAnalyticsProviderTest.java201 String callType, String callStatus, int slotId, String rat, String failureReason) { in getContentValues() argument
209 values.put(CallAnalyticsTable.FAILURE_REASON, failureReason); in getContentValues()
250 String failureReason = "User Disconnects"; in testSuccessCall() local
262 ContentValues values = getContentValues(callType, callStatus, slotId, rat, failureReason); in testSuccessCall()
272 mCallAnalyticsProvider.insertDataToDb(callType, callStatus, slotId, rat, failureReason); in testSuccessCall()
282 String failureReason = "Network Detach"; in testFailureCall() local
299 ContentValues values = getContentValues(callType, callStatus, slotId, rat, failureReason); in testFailureCall()
310 mCallAnalyticsProvider.insertDataToDb(callType, callStatus, slotId, rat, failureReason); in testFailureCall()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DDataBoostWebServiceFlow.java107 @Nullable String failureReason) { in notifyPurchaseFailed() argument
108 mActivity.onPurchaseFailed(failureCode, failureReason); in notifyPurchaseFailed()
DSlicePurchaseActivity.java163 @Nullable String failureReason) { in onPurchaseFailed() argument
166 + failureCode + " and reason: " + failureReason); in onPurchaseFailed()
169 data.putExtra(SlicePurchaseController.EXTRA_FAILURE_REASON, failureReason); in onPurchaseFailed()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DTelephonyAnalytics.java898 String failureReason = "NA"; in onIncomingSmsSuccess() local
899 logIncomingSms(smsSource, status, failureReason); in onIncomingSmsSuccess()
909 String failureReason = "INCOMING_SMS__ERROR__SMS_ERROR_GENERIC"; in onDroppedIncomingMultipartSms() local
910 sendDataToProvider(status, type, ratString, failureReason); in onDroppedIncomingMultipartSms()
916 String failureReason = getIncomingSmsErrorString(result); in onIncomingSmsError() local
917 logIncomingSms(smsSource, status, failureReason); in onIncomingSmsError()
925 + failureReason in onIncomingSmsError()
937 String failureReason = in logOutgoingSms() local
952 + failureReason); in logOutgoingSms()
953 sendDataToProvider(status, type, ratString, failureReason); in logOutgoingSms()
[all …]
DCallAnalyticsProvider.java150 String callType, String callStatus, int slotId, String rat, String failureReason) { in getContentValues() argument
158 values.put(CallAnalyticsTable.FAILURE_REASON, failureReason); in getContentValues()
195 String callType, String callStatus, int slotId, String rat, String failureReason) { in insertDataToDb() argument
196 ContentValues values = getContentValues(callType, callStatus, slotId, rat, failureReason); in insertDataToDb()
497 String failureReason = cursor.getString(failureColumnIndex); in getFailureCountByColumnForCallType() local
499 failureCountByReason.put(failureReason, failureCount); in getFailureCountByColumnForCallType()
DSmsMmsAnalyticsProvider.java144 String status, String smsMmsType, String rat, String failureReason) { in getContentValues() argument
152 values.put(SmsMmsAnalyticsTable.FAILURE_REASON, failureReason); in getContentValues()
166 public void insertDataToDb(String status, String smsMmsType, String rat, String failureReason) { in insertDataToDb() argument
167 ContentValues values = getContentValues(status, smsMmsType, rat, failureReason); in insertDataToDb()
/frameworks/base/services/core/java/com/android/server/crashrecovery/
DCrashRecoveryHelper.java83 public void registerConnectivityModuleHealthListener(@NonNull int failureReason) { in registerConnectivityModuleHealthListener() argument
93 PackageWatchdog.getInstance(mContext).onPackageFailure(pkgList, failureReason); in registerConnectivityModuleHealthListener()
/frameworks/av/media/module/libmediatranscoding/
DTranscoderWrapper.cpp358 TranscodingLogger::SessionEndedReason* failureReason, in setupTranscoder() argument
383 *failureReason = TranscodingLogger::SessionEndedReason::OPEN_SRC_FD_FAILED; in setupTranscoder()
399 *failureReason = TranscodingLogger::SessionEndedReason::OPEN_DST_FD_FAILED; in setupTranscoder()
415 *failureReason = TranscodingLogger::SessionEndedReason::CREATE_FAILED; in setupTranscoder()
424 *failureReason = TranscodingLogger::SessionEndedReason::CONFIG_SRC_FAILED; in setupTranscoder()
433 *failureReason = TranscodingLogger::SessionEndedReason::NO_TRACKS; in setupTranscoder()
454 *failureReason = TranscodingLogger::SessionEndedReason::CONFIG_TRACK_FAILED; in setupTranscoder()
464 *failureReason = TranscodingLogger::SessionEndedReason::CONFIG_DST_FAILED; in setupTranscoder()
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java407 @FailureReasons int failureReason) { in onPackageFailure() argument
427 boolean requiresImmediateAction = (failureReason == FAILURE_REASON_NATIVE_CRASH in onPackageFailure()
428 || failureReason == FAILURE_REASON_EXPLICIT_HEALTH_CHECK); in onPackageFailure()
430 handleFailureImmediately(packages, failureReason); in onPackageFailure()
453 versionedPackage, failureReason, mitigationCount); in onPackageFailure()
473 failureReason, currentObserverImpact, mitigationCount); in onPackageFailure()
476 failureReason, mitigationCount); in onPackageFailure()
490 @FailureReasons int failureReason) { in handleFailureImmediately() argument
498 failingPackage, failureReason, 1); in handleFailureImmediately()
508 maybeExecute(currentObserverToNotify, failingPackage, failureReason, in handleFailureImmediately()
[all …]
DRescueParty.java835 @FailureReasons int failureReason, int mitigationCount) { in onHealthCheckFailed() argument
836 if (!isDisabled() && (failureReason == PackageWatchdog.FAILURE_REASON_APP_CRASH in onHealthCheckFailed()
837 || failureReason == PackageWatchdog.FAILURE_REASON_APP_NOT_RESPONDING)) { in onHealthCheckFailed()
852 @FailureReasons int failureReason, int mitigationCount) { in execute() argument
856 if (failureReason == PackageWatchdog.FAILURE_REASON_APP_CRASH in execute()
857 || failureReason == PackageWatchdog.FAILURE_REASON_APP_NOT_RESPONDING) { in execute()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseActivityTest.java139 String failureReason = "Server unreachable"; in testOnPurchaseFailed() local
140 mSlicePurchaseActivity.onPurchaseFailed(failureCode, failureReason); in testOnPurchaseFailed()
146 assertEquals(failureReason, intent.getStringExtra( in testOnPurchaseFailed()
/frameworks/base/services/core/java/com/android/server/pm/
DVerificationUtils.java121 PackageVerificationState state, int verificationResult, String failureReason, in processVerificationResponse() argument
144 String errorMsg = failureReason + " for " + originUri; in processVerificationResponse()
DStagingManager.java214 private void abortCheckpoint(String failureReason, boolean supportsCheckpoint, in abortCheckpoint() argument
216 Slog.e(TAG, failureReason); in abortCheckpoint()
222 writer.write(failureReason); in abortCheckpoint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthDialog.java73 void onAuthenticationFailed(@Modality int modality, String failureReason); in onAuthenticationFailed() argument
DAuthContainerView.java807 public void onAuthenticationFailed(@Modality int modality, String failureReason) {
810 mBiometricView.onAuthenticationFailed(modality, failureReason);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsResponse.java74 RILUtils.convertHalConnectionFailureReason(failureInfo.failureReason), in startImsTrafficResponse()
DImsIndication.java64 RILUtils.convertHalConnectionFailureReason(failureInfo.failureReason), in onConnectionSetupFailure()
/frameworks/base/services/core/java/com/android/server/rollback/
DWatchdogRollbackLogger.java252 static int mapFailureReasonToMetric(@PackageWatchdog.FailureReasons int failureReason) { in mapFailureReasonToMetric() argument
253 switch (failureReason) { in mapFailureReasonToMetric()
DRollbackPackageHealthObserver.java121 @FailureReasons int failureReason, int mitigationCount) { in onHealthCheckFailed() argument
128 if (failureReason == PackageWatchdog.FAILURE_REASON_NATIVE_CRASH) { in onHealthCheckFailed()
143 if (failureReason == PackageWatchdog.FAILURE_REASON_NATIVE_CRASH in onHealthCheckFailed()
/frameworks/av/media/module/libmediatranscoding/include/media/
DTranscoderWrapper.h115 TranscodingLogger::SessionEndedReason* failureReason /* nonnull */,
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java808 final int failureReason = REASON_REJECTED; in testOnRequestFailedCalledForProperRequestId() local
814 if (reason == failureReason) { in testOnRequestFailedCalledForProperRequestId()
825 mService.notifyRequestFailed(invalidRequestId, failureReason); in testOnRequestFailedCalledForProperRequestId()
829 mService.notifyRequestFailed(validRequestId, failureReason); in testOnRequestFailedCalledForProperRequestId()
834 mService.notifyRequestFailed(validRequestId, failureReason); in testOnRequestFailedCalledForProperRequestId()
/frameworks/base/tests/PackageWatchdog/src/com/android/server/
DPackageWatchdogTest.java430 int failureReason, int mitigationCount) { in testPackageFailureDifferentVersionNotifyNone()
1706 List<VersionedPackage> packages, int failureReason) { in raiseFatalFailureAndDispatch() argument
1708 if (failureReason == PackageWatchdog.FAILURE_REASON_EXPLICIT_HEALTH_CHECK in raiseFatalFailureAndDispatch()
1709 || failureReason == PackageWatchdog.FAILURE_REASON_NATIVE_CRASH) { in raiseFatalFailureAndDispatch()
1713 watchdog.onPackageFailure(packages, failureReason); in raiseFatalFailureAndDispatch()
1838 public int onHealthCheckFailed(VersionedPackage versionedPackage, int failureReason, in onHealthCheckFailed() argument
1844 public boolean execute(VersionedPackage versionedPackage, int failureReason, in execute() argument
1848 mLastFailureReason = failureReason; in execute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotControllerImpl.java263 public void onStateChanged(int state, int failureReason) { in onStateChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewBinder.kt607 failureReason: String, in onAuthenticationFailed()
614 failureReason, in onAuthenticationFailed()

12