/packages/services/Car/cpp/computepipe/runner/graph/ |
D | GrpcGraph.cpp | 79 return mStatus; in GetStatus() 104 auto [mStatus, mErrorMessage] = FinishRpcAndGetResult(rpc.get(), &cq, &response); in initialize() 106 if (mStatus != Status::SUCCESS) { in initialize() 127 mStatus = Status::ILLEGAL_STATE; in handleConfigPhase() 133 mStatus = Status::INVALID_ARGUMENT; in handleConfigPhase() 134 return mStatus; in handleConfigPhase() 136 mStatus = Status::SUCCESS; in handleConfigPhase() 137 return mStatus; in handleConfigPhase() 153 auto [mStatus, mErrorMessage] = FinishRpcAndGetResult(rpc.get(), &cq, &response); in handleConfigPhase() 154 if (mStatus != Status::SUCCESS) { in handleConfigPhase() [all …]
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | UserRemovalResult.java | 111 private final @Status int mStatus; field in UserRemovalResult 116 return mStatus == STATUS_SUCCESSFUL || mStatus == STATUS_SUCCESSFUL_LAST_ADMIN_REMOVED in isSuccess() 117 || mStatus == STATUS_SUCCESSFUL_SET_EPHEMERAL in isSuccess() 118 || mStatus == STATUS_SUCCESSFUL_LAST_ADMIN_SET_EPHEMERAL; in isSuccess() 193 this.mStatus = status; in UserRemovalResult() 195 if (!(mStatus == STATUS_SUCCESSFUL) in UserRemovalResult() 196 && !(mStatus == STATUS_ANDROID_FAILURE) in UserRemovalResult() 197 && !(mStatus == STATUS_INVALID_REQUEST) in UserRemovalResult() 198 && !(mStatus == STATUS_USER_DOES_NOT_EXIST) in UserRemovalResult() 199 && !(mStatus == STATUS_SUCCESSFUL_LAST_ADMIN_REMOVED) in UserRemovalResult() [all …]
|
D | UserSwitchResult.java | 149 private final @Status int mStatus; field in UserSwitchResult 172 return mStatus == STATUS_SUCCESSFUL || mStatus == STATUS_OK_USER_ALREADY_IN_FOREGROUND; in isSuccess() 286 this.mStatus = status; in UserSwitchResult() 288 if (!(mStatus == STATUS_SUCCESSFUL) in UserSwitchResult() 289 && !(mStatus == STATUS_ANDROID_FAILURE) in UserSwitchResult() 290 && !(mStatus == STATUS_HAL_FAILURE) in UserSwitchResult() 291 && !(mStatus == STATUS_HAL_INTERNAL_FAILURE) in UserSwitchResult() 292 && !(mStatus == STATUS_INVALID_REQUEST) in UserSwitchResult() 293 && !(mStatus == STATUS_UX_RESTRICTION_FAILURE) in UserSwitchResult() 294 && !(mStatus == STATUS_OK_USER_ALREADY_IN_FOREGROUND) in UserSwitchResult() [all …]
|
D | UserStartResponse.java | 170 private final @Status int mStatus; field in UserStartResponse 176 return mStatus == STATUS_SUCCESSFUL || mStatus == STATUS_SUCCESSFUL_USER_IS_CURRENT_USER in isSuccess() 177 || mStatus == STATUS_SUCCESSFUL_USER_ALREADY_VISIBLE_ON_DISPLAY; in isSuccess() 265 this.mStatus = status; in UserStartResponse() 267 if (!(mStatus == STATUS_SUCCESSFUL) in UserStartResponse() 268 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStartResponse() 269 && !(mStatus == STATUS_UNSUPPORTED_PLATFORM_FAILURE) in UserStartResponse() 270 && !(mStatus == STATUS_SUCCESSFUL_USER_IS_CURRENT_USER) in UserStartResponse() 271 && !(mStatus == STATUS_USER_DOES_NOT_EXIST) in UserStartResponse() 272 && !(mStatus == STATUS_SUCCESSFUL_USER_ALREADY_VISIBLE_ON_DISPLAY) in UserStartResponse() [all …]
|
D | UserStopResult.java | 86 private final @Status int mStatus; field in UserStopResult 102 return isSuccess(mStatus); in isSuccess() 169 this.mStatus = status; in UserStopResult() 171 if (!(mStatus == STATUS_SUCCESSFUL) in UserStopResult() 172 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStopResult() 173 && !(mStatus == STATUS_USER_DOES_NOT_EXIST) in UserStopResult() 174 && !(mStatus == STATUS_FAILURE_SYSTEM_USER) in UserStopResult() 175 && !(mStatus == STATUS_FAILURE_CURRENT_USER)) { in UserStopResult() 177 "status was " + mStatus + " but must be one of: " in UserStopResult() 201 return mStatus; in getStatus() [all …]
|
D | UserStartResult.java | 83 private final @Status int mStatus; field in UserStartResult 88 return mStatus == STATUS_SUCCESSFUL || mStatus == STATUS_SUCCESSFUL_USER_IS_CURRENT_USER; in isSuccess() 150 this.mStatus = status; in UserStartResult() 152 if (!(mStatus == STATUS_SUCCESSFUL) in UserStartResult() 153 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStartResult() 154 && !(mStatus == STATUS_SUCCESSFUL_USER_IS_CURRENT_USER) in UserStartResult() 155 && !(mStatus == STATUS_USER_DOES_NOT_EXIST)) { in UserStartResult() 157 "status was " + mStatus + " but must be one of: " in UserStartResult() 179 return mStatus; in getStatus() 189 "status = " + statusToString(mStatus) + in toString() [all …]
|
D | UserStopResponse.java | 95 private final @Status int mStatus; field in UserStopResponse 113 return isSuccess(mStatus); in isSuccess() 181 this.mStatus = status; in UserStopResponse() 183 if (!(mStatus == STATUS_SUCCESSFUL) in UserStopResponse() 184 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStopResponse() 185 && !(mStatus == STATUS_USER_DOES_NOT_EXIST) in UserStopResponse() 186 && !(mStatus == STATUS_FAILURE_SYSTEM_USER) in UserStopResponse() 187 && !(mStatus == STATUS_FAILURE_CURRENT_USER)) { in UserStopResponse() 189 "status was " + mStatus + " but must be one of: " in UserStopResponse() 214 return mStatus; in getStatus() [all …]
|
D | UserCreationResult.java | 98 private final @Status int mStatus; field in UserCreationResult 133 return mStatus == STATUS_SUCCESSFUL; in isSuccess() 236 this.mStatus = status; in UserCreationResult() 238 if (!(mStatus == STATUS_SUCCESSFUL) in UserCreationResult() 239 && !(mStatus == STATUS_ANDROID_FAILURE) in UserCreationResult() 240 && !(mStatus == STATUS_HAL_FAILURE) in UserCreationResult() 241 && !(mStatus == STATUS_HAL_INTERNAL_FAILURE) in UserCreationResult() 242 && !(mStatus == STATUS_INVALID_REQUEST)) { in UserCreationResult() 244 "status was " + mStatus + " but must be one of: " in UserCreationResult() 272 return mStatus; in getStatus() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | RangingResult.java | 83 public final int mStatus; field in RangingResult 133 mStatus = status; in RangingResult() 155 mStatus = status; in RangingResult() 177 mStatus = status; in RangingResult() 200 return mStatus; in getStatus() 236 if (mStatus != STATUS_SUCCESS) { in getDistanceMm() 238 "getDistanceMm(): invoked on an invalid result: getStatus()=" + mStatus); in getDistanceMm() 254 if (mStatus != STATUS_SUCCESS) { in getDistanceStdDevMm() 256 "getDistanceStdDevMm(): invoked on an invalid result: getStatus()=" + mStatus); in getDistanceStdDevMm() 268 if (mStatus != STATUS_SUCCESS) { in getRssi() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | WordListPreference.java | 63 private int mStatus; field in WordListPreference 90 if (status == mStatus) return; in setStatus() 91 mStatus = status; in setStatus() 96 return status == mStatus; in hasStatus() 109 return mStatus > otherPrefStatus; in hasPriorityOver() 172 UpdateHandler.markAsUnused(context, mClientId, mWordlistId, mVersion, mStatus); in disableDict() 173 if (MetadataDbHelper.STATUS_DOWNLOADING == mStatus) { in disableDict() 175 } else if (MetadataDbHelper.STATUS_INSTALLED == mStatus) { in disableDict() 180 Log.e(TAG, "Unexpected state of the word list for disabling " + mStatus); in disableDict() 189 UpdateHandler.markAsUsed(context, mClientId, mWordlistId, mVersion, mStatus, true); in enableDict() [all …]
|
D | ButtonSwitcher.java | 40 private int mStatus = NOT_INITIALIZED; field in ButtonSwitcher 62 mStatus = NOT_INITIALIZED; in reset() 75 setButtonPositionWithoutAnimation(mStatus); in onLayout() 79 animateButtonPosition(mStatus, mAnimateToStatus); in onLayout() 80 mStatus = mAnimateToStatus; in onLayout() 99 if (mStatus == NOT_INITIALIZED) { in setStatusAndUpdateVisuals() 101 mStatus = status; in setStatusAndUpdateVisuals() 109 animateButtonPosition(mStatus, status); in setStatusAndUpdateVisuals() 110 mStatus = status; in setStatusAndUpdateVisuals() 127 if (newStatus != mStatus) return; in animateButtonIfStatusIsEqual()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/ |
D | DeviceCheckInGrpcResponse.java | 31 Status mStatus; field in DeviceCheckInGrpcResponse 34 mStatus = null; in DeviceCheckInGrpcResponse() 38 mStatus = status; in DeviceCheckInGrpcResponse() 42 return mStatus != null && mStatus.getCode() == Code.UNAVAILABLE; in hasRecoverableError() 46 return mStatus == null; in isSuccessful() 50 return mStatus != null && mStatus.getCode() == Code.ALREADY_EXISTS; in isStatusAlreadyExists() 54 return mStatus != null in hasFatalError() 55 && mStatus.getCode() != Code.OK in hasFatalError() 56 && mStatus.getCode() != Code.UNAVAILABLE; in hasFatalError() 61 return "mStatus: " + mStatus; in toString()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | RemoveUserResult.java | 97 private final @Status int mStatus; field in RemoveUserResult 109 mStatus = STATUS_SUCCESS; in RemoveUserResult() 112 mStatus = STATUS_SUCCESS_LAST_ADMIN_REMOVED; in RemoveUserResult() 115 mStatus = STATUS_SUCCESS_SET_EPHEMERAL; in RemoveUserResult() 118 mStatus = STATUS_FAILURE_USER_DOES_NOT_EXIST; in RemoveUserResult() 121 mStatus = STATUS_FAILURE_INVALID_ARGUMENTS; in RemoveUserResult() 124 mStatus = STATUS_SUCCESS_LAST_ADMIN_SET_EPHEMERAL; in RemoveUserResult() 127 mStatus = STATUS_FAILURE_GENERIC; in RemoveUserResult() 144 return mStatus; in getStatus() 152 return mStatus == STATUS_SUCCESS || mStatus == STATUS_SUCCESS_LAST_ADMIN_REMOVED in isSuccess() [all …]
|
D | StartUserInBackgroundResult.java | 73 private final @Status int mStatus; field in StartUserInBackgroundResult 80 mStatus = STATUS_SUCCESS; in StartUserInBackgroundResult() 83 mStatus = STATUS_SUCCESS_CURRENT_USER; in StartUserInBackgroundResult() 86 mStatus = STATUS_FAILURE_USER_DOES_NOT_EXIST; in StartUserInBackgroundResult() 89 mStatus = STATUS_FAILURE_GENERIC; in StartUserInBackgroundResult() 103 return mStatus; in getStatus() 111 return mStatus == STATUS_SUCCESS || mStatus == STATUS_SUCCESS_CURRENT_USER; in isSuccess() 116 return "StartUserInBackgroundResult[" + statusToString(mStatus) + "]"; in toString()
|
D | StopUserResult.java | 80 private final @Status int mStatus; field in StopUserResult 87 mStatus = STATUS_SUCCESS; in StopUserResult() 90 mStatus = STATUS_FAILURE_CURRENT_USER; in StopUserResult() 93 mStatus = STATUS_FAILURE_SYSTEM_USER; in StopUserResult() 96 mStatus = STATUS_FAILURE_USER_DOES_NOT_EXIST; in StopUserResult() 99 mStatus = STATUS_FAILURE_GENERIC; in StopUserResult() 114 return mStatus; in getStatus() 122 return mStatus == STATUS_SUCCESS; in isSuccess() 127 return "StopUserResult[" + statusToString(mStatus) + "]"; in toString()
|
D | CreateUserResult.java | 71 private final @Status int mStatus; field in CreateUserResult 83 mStatus = STATUS_FAILURE_GENERIC; in CreateUserResult() 92 mStatus = STATUS_FAILURE_GENERIC; in CreateUserResult() 94 mStatus = STATUS_SUCCESS; in CreateUserResult() 102 mStatus = STATUS_FAILURE_INVALID_ARGUMENTS; in CreateUserResult() 105 mStatus = STATUS_FAILURE_GENERIC; in CreateUserResult() 127 return mStatus; in getStatus() 135 return mStatus == STATUS_SUCCESS; in isSuccess() 150 .append(statusToString(mStatus)); in toString()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | Loader.java | 52 private int mStatus = STATUS_OPENING; field in Loader 69 if (mStatus == STATUS_OPENED) { in get() 75 if (mStatus != STATUS_OPENING) { in get() 102 mStatus = STATUS_CLOSED; in get() 104 mStatus = STATUS_OPENED; in get() 110 mStatus = STATUS_FAILED; in get() 131 return mStatus; in getStatus() 145 assert(mStatus == STATUS_OPENING in release() 146 || mStatus == STATUS_OPENED in release() 147 || mStatus == STATUS_FAILED); in release() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyStatusPreference.java | 52 @Nullable private StatusUiData mStatus; field in SafetyStatusPreference 76 if (mStatus == null) { in onBindViewHolder() 85 .setContentDescription(mStatus.getContentDescription(context)); in onBindViewHolder() 117 if (mStatus == null) return; // Shouldn't happen in practice but we do it for null safety. in updateButtonState() 118 statusCardView.showButtons(mStatus); in updateButtonState() 123 title.setText(mStatus.getTitle()); in updateStatusText() 124 summary.setText(mStatus.getSummary(getContext())); in updateStatusText() 130 int severityLevel = mStatus.getSeverityLevel(); in updateStatusIcon() 131 boolean isRefreshing = mStatus.isRefreshInProgress(); in updateStatusIcon() 143 String titleText = mStatus.getTitle().toString(); in runTextAnimationIfNeeded() [all …]
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetySourceData.java | 184 @Nullable private final SafetySourceStatus mStatus; field in SafetySourceData 192 this.mStatus = status; in SafetySourceData() 200 return mStatus; in getStatus() 231 dest.writeTypedObject(mStatus, flags); in writeToParcel() 243 return Objects.equals(mStatus, that.mStatus) && mIssues.equals(that.mIssues); in equals() 248 return Objects.hash(mStatus, mIssues); in hashCode() 255 + mStatus in toString() 267 @Nullable private SafetySourceStatus mStatus; field in SafetySourceData.Builder 281 mStatus = safetySourceData.mStatus; in Builder() 288 mStatus = status; in setStatus() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessageData.java | 109 private int mStatus; field in MessageData 217 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftMessage() 245 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftSmsMessage() 261 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftMmsMessage() 287 message.mStatus = BUGLE_STATUS_INCOMING_COMPLETE; in createReceivedSmsMessage() 303 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createSharedMessage() 327 message.mStatus = bugleStatus; in createSmsMessage() 352 message.mStatus = bugleStatus; in createMmsMessage() 392 mStatus = cursor.getInt(INDEX_BUGLE_STATUS); in bind() 427 values.put(MessageColumns.STATUS, mStatus); in populate() [all …]
|
/packages/modules/Connectivity/nearby/framework/java/android/nearby/ |
D | PairStatusMetadata.java | 34 private final int mStatus; field in PairStatusMetadata 66 return mStatus; in getStatus() 71 return "PairStatusMetadata[ status=" + statusToString(mStatus) + "]"; in toString() 77 return mStatus == ((PairStatusMetadata) other).mStatus; in equals() 84 return Objects.hash(mStatus); in hashCode() 88 mStatus = status; in PairStatusMetadata() 110 dest.writeInt(mStatus); in writeToParcel()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | SppResponseMessage.java | 43 private int mStatus; field in SppResponseMessage 65 mStatus = SppConstants.mapStatusStringToInt( in SppResponseMessage() 68 SPPSessionIDAttribute) || mStatus == SppConstants.INVALID_SPP_CONSTANT) { in SppResponseMessage() 73 if (mStatus == SppConstants.SppStatus.ERROR) { in SppResponseMessage() 115 return mStatus; in getStatus() 128 return Objects.hash(mMessageType, mVersion, mSessionID, mStatus, mError, mAttributes); in hashCode() 137 && mStatus == that.mStatus in equals() 149 sb.append(", status ").append(mStatus); in toString()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | ProtocolPortTuple.java | 48 private final int mStatus; field in ProtocolPortTuple 54 mStatus = status; in ProtocolPortTuple() 81 return mStatus; in getStatus() 95 && mStatus == that.mStatus; in equals() 100 return (mProtocol * 31 + mPort) * 31 + mStatus; in hashCode() 106 + ", mStatus=" + mStatus + '}'; in toString()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderNameInfos.java | 41 private int mStatus; field in FolderNameInfos 46 mStatus = 0; in FolderNameInfos() 55 mStatus = mStatus | statusBit; in setStatus() 62 return mStatus; in status() 69 return (mStatus & HAS_PRIMARY) > 0 && (mLabels[0] != null); in hasPrimary() 113 return String.format("status=%s, labels=%s", Integer.toBinaryString(mStatus), in toString()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/ |
D | FiRaSecureChannel.java | 102 protected Status mStatus = Status.UNINITIALIZED; field in FiRaSecureChannel 143 mStatus = Status.INITIALIZED; in handleScMessage() 176 mStatus = Status.INITIALIZED; in handleScMessage() 180 mStatus = Status.ABNORMAL; in handleScMessage() 194 if (mStatus == Status.ABNORMAL) { in init() 264 if (mStatus == Status.ESTABLISHED) { in processRemoteCommandOrResponse() 276 if (mStatus != Status.ESTABLISHED) { in processRemoteCommandOrResponse() 295 if (mStatus != Status.ESTABLISHED) { in handleDispatchResponseForSc() 315 mStatus = Status.ADF_SELECTED; in handleDispatchResponseForSc() 320 mStatus = Status.ESTABLISHED; in handleDispatchResponseForSc() [all …]
|