/frameworks/base/drm/java/android/drm/ |
D | DrmConvertedStatus.java | 52 public final int statusCode; field in DrmConvertedStatus 70 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { in DrmConvertedStatus() argument 71 if (!isValidStatusCode(statusCode)) { in DrmConvertedStatus() 72 throw new IllegalArgumentException("Unsupported status code: " + statusCode); in DrmConvertedStatus() 75 this.statusCode = statusCode; in DrmConvertedStatus() 80 private boolean isValidStatusCode(int statusCode) { in isValidStatusCode() argument 81 return statusCode == STATUS_OK || in isValidStatusCode() 82 statusCode == STATUS_INPUTDATA_ERROR || in isValidStatusCode() 83 statusCode == STATUS_ERROR; in isValidStatusCode()
|
D | DrmInfoStatus.java | 48 public final int statusCode; field in DrmInfoStatus 76 public DrmInfoStatus(int statusCode, int infoType, ProcessedData data, String mimeType) { in DrmInfoStatus() argument 81 if (!isValidStatusCode(statusCode)) { in DrmInfoStatus() 82 throw new IllegalArgumentException("Unsupported status code: " + statusCode); in DrmInfoStatus() 89 this.statusCode = statusCode; in DrmInfoStatus() 95 private boolean isValidStatusCode(int statusCode) { in isValidStatusCode() argument 96 return statusCode == STATUS_OK || statusCode == STATUS_ERROR; in isValidStatusCode()
|
D | DrmOutputStream.java | 73 if (status.statusCode == STATUS_OK) { in finish() 82 throw new IOException("Unexpected DRM status: " + status.statusCode); in finish() 108 if (status.statusCode == STATUS_OK) { in write() 111 throw new IOException("Unexpected DRM status: " + status.statusCode); in write()
|
/frameworks/base/core/java/android/webkit/ |
D | WebResourceResponse.java | 90 public WebResourceResponse(String mimeType, String encoding, int statusCode, in WebResourceResponse() argument 93 setStatusCodeAndReasonPhrase(statusCode, reasonPhrase); in WebResourceResponse() 144 public void setStatusCodeAndReasonPhrase(int statusCode, @NonNull String reasonPhrase) { in setStatusCodeAndReasonPhrase() argument 146 if (statusCode < 100) in setStatusCodeAndReasonPhrase() 148 if (statusCode > 599) in setStatusCodeAndReasonPhrase() 150 if (statusCode > 299 && statusCode < 400) in setStatusCodeAndReasonPhrase() 163 mStatusCode = statusCode; in setStatusCodeAndReasonPhrase() 236 public WebResourceResponse(boolean immutable, String mimeType, String encoding, int statusCode, in WebResourceResponse() argument 241 mStatusCode = statusCode; in WebResourceResponse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | KeepaliveStatus.java | 57 public final @KeepaliveStatusCode int statusCode; field in KeepaliveStatus 64 statusCode = STATUS_INACTIVE; in KeepaliveStatus() 70 statusCode = code; in KeepaliveStatus() 78 errorCode, sessionHandle, statusCode); in toString() 91 dest.writeInt(statusCode); in writeToParcel() 97 statusCode = p.readInt(); in KeepaliveStatus()
|
D | KeepaliveTracker.java | 278 switch (ks.statusCode) { in onSocketKeepaliveStarted() 288 mKeepalives.put(ks.sessionHandle, new KeepaliveRecord(slotIndex, ks.statusCode)); in onSocketKeepaliveStarted() 291 log("Invalid KeepaliveStatus Code: " + ks.statusCode); in onSocketKeepaliveStarted() 321 switch (ks.statusCode) { in onKeepaliveStatus() 338 loge("Invalid Keepalive Status received, " + ks.statusCode); in onKeepaliveStatus() 342 switch (ks.statusCode) { in onKeepaliveStatus() 356 loge("Invalid Keepalive Status received, " + ks.statusCode); in onKeepaliveStatus()
|
/frameworks/base/core/java/android/speech/tts/ |
D | AbstractEventLogger.java | 92 public void onCompleted(int statusCode) { in onCompleted() argument 107 if (statusCode != TextToSpeech.SUCCESS in onCompleted() 109 logFailure(statusCode); in onCompleted() 119 protected abstract void logFailure(int statusCode); in logFailure() argument
|
D | PlaybackSynthesisCallback.java | 217 int statusCode = 0; in done() local 246 statusCode = mStatusCode; in done() 250 if (statusCode == TextToSpeech.SUCCESS) { in done() 253 item.stop(statusCode); in done()
|
D | EventLogger.java | 34 protected void logFailure(int statusCode) { in logFailure() argument 38 if (statusCode != TextToSpeech.STOPPED) { in logFailure()
|
/frameworks/base/media/java/android/media/ |
D | MediaRouterClientState.java | 90 public int statusCode; field in MediaRouterClientState.RouteInfo 102 statusCode = MediaRouter.RouteInfo.STATUS_NONE; in RouteInfo() 116 statusCode = other.statusCode; in RouteInfo() 132 statusCode = in.readInt(); in RouteInfo() 154 dest.writeInt(statusCode); in writeToParcel() 171 + ", statusCode=" + statusCode in toString()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallFailed.java | 50 private void setExplanationFromErrorCode(int statusCode) { in setExplanationFromErrorCode() argument 51 Log.d(LOG_TAG, "Installation status code: " + statusCode); in setExplanationFromErrorCode() 54 switch (statusCode) { in setExplanationFromErrorCode() 81 int statusCode = getIntent().getIntExtra(PackageInstaller.EXTRA_STATUS, in onCreate() local 116 if (statusCode == PackageInstaller.STATUS_FAILURE_STORAGE) { in onCreate() 121 setExplanationFromErrorCode(statusCode); in onCreate()
|
D | InstallInstalling.java | 171 private void launchFailure(int statusCode, int legacyStatus, String statusMessage) { in launchFailure() argument 175 failureIntent.putExtra(PackageInstaller.EXTRA_STATUS, statusCode); in launchFailure() 248 private void launchFinishBasedOnResult(int statusCode, int legacyStatus, String statusMessage, in launchFinishBasedOnResult() argument 250 if (statusCode == PackageInstaller.STATUS_SUCCESS) { in launchFinishBasedOnResult() 253 launchFailure(statusCode, legacyStatus, statusMessage); in launchFinishBasedOnResult()
|
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | AmbientContextManagerPerUserService.java | 157 statusCode -> sendStatusCallback(statusCallback, statusCode))); in onQueryServiceStatus() 357 statusCode -> completeRegistration(observer, statusCode))); in startDetection() 372 protected void completeRegistration(IAmbientContextObserver observer, int statusCode) { in completeRegistration() argument 374 observer.onRegistrationComplete(statusCode); in completeRegistration() 388 @AmbientContextManager.StatusCode int statusCode) { in sendStatusCallback() argument 392 statusCode); in sendStatusCallback() 500 int statusCode = serviceStatus.getStatusCode(); in getServerStatusCallback() local 501 statusConsumer.accept(statusCode); in getServerStatusCallback() 502 Slog.i(TAG, "Got detection status of " + statusCode in getServerStatusCallback()
|
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | TestHttpServer.kt | 57 statusCode: Response.IStatus, in <lambda>() 63 statusCode, headers, content) in <lambda>() 71 statusCode: Response.IStatus, in <lambda>() 75 val response = newFixedLengthResponse(statusCode, "text/plain", content) in <lambda>()
|
/frameworks/base/core/java/android/service/ambientcontext/ |
D | AmbientContextDetectionServiceStatus.java | 48 @StatusCode int statusCode, in AmbientContextDetectionServiceStatus() 50 this.mStatusCode = statusCode; in AmbientContextDetectionServiceStatus() 92 int statusCode = in.readInt(); in AmbientContextDetectionServiceStatus() local 95 this.mStatusCode = statusCode; in AmbientContextDetectionServiceStatus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
D | AppClipsTrampolineActivity.java | 166 private void handleAppClipsStatusCode(@CaptureContentForNoteStatusCodes int statusCode, in handleAppClipsStatusCode() argument 175 setErrorResultAndFinish(statusCode); in handleAppClipsStatusCode() 179 switch (statusCode) { in handleAppClipsStatusCode() 188 setErrorResultAndFinish(statusCode); in handleAppClipsStatusCode() 253 int statusCode = CAPTURE_CONTENT_FOR_NOTE_FAILED; in onReceiveResult() local 255 statusCode = resultData.getInt(EXTRA_CAPTURE_CONTENT_FOR_NOTE_STATUS_CODE, in onReceiveResult() 258 convertedData.putExtra(EXTRA_CAPTURE_CONTENT_FOR_NOTE_STATUS_CODE, statusCode); in onReceiveResult() 260 if (statusCode == CAPTURE_CONTENT_FOR_NOTE_SUCCESS) { in onReceiveResult()
|
/frameworks/base/core/java/android/app/contentsuggestions/ |
D | ContentSuggestionsManager.java | 304 int statusCode, @NonNull List<ContentSelection> selections); in onContentSelectionsAvailable() argument 319 void onContentClassificationsAvailable(int statusCode, in onContentClassificationsAvailable() argument 335 int statusCode, List<ContentSelection> selections) { in onContentSelectionsAvailable() argument 339 mCallback.onContentSelectionsAvailable(statusCode, selections)); in onContentSelectionsAvailable() 359 int statusCode, List<ContentClassification> classifications) { in onContentClassificationsAvailable() argument 363 mCallback.onContentClassificationsAvailable(statusCode, classifications)); in onContentClassificationsAvailable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 185 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu() 190 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu() 206 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu() 228 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu() 267 result.statusCode = Intents.RESULT_SMS_HANDLED; in decodeWapPdu() 301 result.statusCode = Activity.RESULT_OK; in decodeWapPdu() 306 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR; in decodeWapPdu() 324 if (result.statusCode != Activity.RESULT_OK) { in dispatchWapPdu() 325 return result.statusCode; in dispatchWapPdu() 432 return result.statusCode == Activity.RESULT_OK in isWapPushForMms() [all …]
|
/frameworks/base/libs/storage/ |
D | IMountShutdownObserver.cpp | 42 int32_t statusCode = data.readInt32(); in onTransact() local 43 onShutDownComplete(statusCode); in onTransact()
|
/frameworks/base/core/java/android/view/translation/ |
D | TranslationResponseValue.java | 173 @Status int statusCode, in TranslationResponseValue() 177 this.mStatusCode = statusCode; in TranslationResponseValue() 311 int statusCode = in.readInt(); in TranslationResponseValue() local 316 this.mStatusCode = statusCode; in TranslationResponseValue() 373 @Status int statusCode) { in Builder() 374 mStatusCode = statusCode; in Builder()
|
/frameworks/base/core/java/android/service/contentsuggestions/ |
D | ContentSuggestionsService.java | 166 return (statusCode, selections) -> { in wrapSelectionsCallback() 168 callback.onContentSelectionsAvailable(statusCode, selections); in wrapSelectionsCallback() 177 return ((statusCode, classifications) -> { 179 callback.onContentClassificationsAvailable(statusCode, classifications);
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleExit.java | 71 int statusCode = in.getInt(); in handleChunk() local 73 Runtime.getRuntime().halt(statusCode); in handleChunk()
|
/frameworks/base/core/java/android/app/wallpapereffectsgeneration/ |
D | CinematicEffectResponse.java | 155 private CinematicEffectResponse(@CinematicEffectStatusCode int statusCode, in CinematicEffectResponse() argument 161 mStatusCode = statusCode; in CinematicEffectResponse() 283 public Builder(@CinematicEffectStatusCode int statusCode, @NonNull String taskId) { in Builder() argument 284 mStatusCode = statusCode; in Builder()
|
/frameworks/base/core/java/android/app/ambientcontext/ |
D | AmbientContextManager.java | 295 int statusCode = result.getInt(STATUS_RESPONSE_BUNDLE_KEY); in registerObserver() 298 executor.execute(() -> statusConsumer.accept(statusCode)); in registerObserver() 361 public void onRegistrationComplete(int statusCode) throws RemoteException { in registerObserver() 365 () -> ambientContextCallback.onRegistrationComplete(statusCode)); in registerObserver()
|
/frameworks/base/core/java/com/android/ims/internal/uce/options/ |
D | IOptionsListener.aidl | 42 void serviceAvailable(in StatusCode statusCode); in serviceAvailable() argument 51 void serviceUnavailable(in StatusCode statusCode); in serviceUnavailable() argument
|