/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 | UserSwitchResult.java | 112 private final @Status int mStatus; field in UserSwitchResult 122 return mStatus == STATUS_SUCCESSFUL || mStatus == STATUS_OK_USER_ALREADY_IN_FOREGROUND; in isSuccess() 210 this.mStatus = status; in UserSwitchResult() 212 if (!(mStatus == STATUS_SUCCESSFUL) in UserSwitchResult() 213 && !(mStatus == STATUS_ANDROID_FAILURE) in UserSwitchResult() 214 && !(mStatus == STATUS_HAL_FAILURE) in UserSwitchResult() 215 && !(mStatus == STATUS_HAL_INTERNAL_FAILURE) in UserSwitchResult() 216 && !(mStatus == STATUS_INVALID_REQUEST) in UserSwitchResult() 217 && !(mStatus == STATUS_UX_RESTRICTION_FAILURE) in UserSwitchResult() 218 && !(mStatus == STATUS_OK_USER_ALREADY_IN_FOREGROUND) in UserSwitchResult() [all …]
|
D | UserRemovalResult.java | 90 private final @Status int mStatus; field in UserRemovalResult 94 return mStatus == STATUS_SUCCESSFUL || mStatus == STATUS_SUCCESSFUL_LAST_ADMIN_REMOVED in isSuccess() 95 || mStatus == STATUS_SUCCESSFUL_SET_EPHEMERAL in isSuccess() 96 || mStatus == STATUS_SUCCESSFUL_LAST_ADMIN_SET_EPHEMERAL; in isSuccess() 168 this.mStatus = status; in UserRemovalResult() 170 if (!(mStatus == STATUS_SUCCESSFUL) in UserRemovalResult() 171 && !(mStatus == STATUS_ANDROID_FAILURE) in UserRemovalResult() 172 && !(mStatus == STATUS_INVALID_REQUEST) in UserRemovalResult() 173 && !(mStatus == STATUS_USER_DOES_NOT_EXIST) in UserRemovalResult() 174 && !(mStatus == STATUS_SUCCESSFUL_LAST_ADMIN_REMOVED) in UserRemovalResult() [all …]
|
D | UserStopResult.java | 72 private final @Status int mStatus; field in UserStopResult 86 return isSuccess(mStatus); in isSuccess() 149 this.mStatus = status; in UserStopResult() 151 if (!(mStatus == STATUS_SUCCESSFUL) in UserStopResult() 152 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStopResult() 153 && !(mStatus == STATUS_USER_DOES_NOT_EXIST) in UserStopResult() 154 && !(mStatus == STATUS_FAILURE_SYSTEM_USER) in UserStopResult() 155 && !(mStatus == STATUS_FAILURE_CURRENT_USER)) { in UserStopResult() 157 "status was " + mStatus + " but must be one of: " in UserStopResult() 180 return mStatus; in getStatus() [all …]
|
D | UserStartResult.java | 71 private final @Status int mStatus; field in UserStartResult 75 return mStatus == STATUS_SUCCESSFUL || mStatus == STATUS_SUCCESSFUL_USER_IS_CURRENT_USER; in isSuccess() 134 this.mStatus = status; in UserStartResult() 136 if (!(mStatus == STATUS_SUCCESSFUL) in UserStartResult() 137 && !(mStatus == STATUS_ANDROID_FAILURE) in UserStartResult() 138 && !(mStatus == STATUS_SUCCESSFUL_USER_IS_CURRENT_USER) in UserStartResult() 139 && !(mStatus == STATUS_USER_DOES_NOT_EXIST)) { in UserStartResult() 141 "status was " + mStatus + " but must be one of: " in UserStartResult() 162 return mStatus; in getStatus() 172 "status = " + statusToString(mStatus) + in toString() [all …]
|
D | UserCreationResult.java | 86 private final @Status int mStatus; field in UserCreationResult 102 return mStatus == STATUS_SUCCESSFUL; in isSuccess() 175 this.mStatus = status; in UserCreationResult() 177 if (!(mStatus == STATUS_SUCCESSFUL) in UserCreationResult() 178 && !(mStatus == STATUS_ANDROID_FAILURE) in UserCreationResult() 179 && !(mStatus == STATUS_HAL_FAILURE) in UserCreationResult() 180 && !(mStatus == STATUS_HAL_INTERNAL_FAILURE) in UserCreationResult() 181 && !(mStatus == STATUS_INVALID_REQUEST)) { in UserCreationResult() 183 "status was " + mStatus + " but must be one of: " in UserCreationResult() 208 return mStatus; in getStatus() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | RangingResult.java | 76 public final int mStatus; field in RangingResult 119 mStatus = status; in RangingResult() 139 mStatus = status; in RangingResult() 160 return mStatus; in getStatus() 196 if (mStatus != STATUS_SUCCESS) { in getDistanceMm() 198 "getDistanceMm(): invoked on an invalid result: getStatus()=" + mStatus); in getDistanceMm() 214 if (mStatus != STATUS_SUCCESS) { in getDistanceStdDevMm() 216 "getDistanceStdDevMm(): invoked on an invalid result: getStatus()=" + mStatus); in getDistanceStdDevMm() 228 if (mStatus != STATUS_SUCCESS) { in getRssi() 230 "getRssi(): invoked on an invalid result: getStatus()=" + mStatus); 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/services/Car/car-lib/src/android/car/admin/ |
D | RemoveUserResult.java | 91 private final @Status int mStatus; field in RemoveUserResult 103 mStatus = STATUS_SUCCESS; in RemoveUserResult() 106 mStatus = STATUS_SUCCESS_LAST_ADMIN_REMOVED; in RemoveUserResult() 109 mStatus = STATUS_SUCCESS_SET_EPHEMERAL; in RemoveUserResult() 112 mStatus = STATUS_FAILURE_USER_DOES_NOT_EXIST; in RemoveUserResult() 115 mStatus = STATUS_FAILURE_INVALID_ARGUMENTS; in RemoveUserResult() 118 mStatus = STATUS_SUCCESS_LAST_ADMIN_SET_EPHEMERAL; in RemoveUserResult() 121 mStatus = STATUS_FAILURE_GENERIC; in RemoveUserResult() 137 return mStatus; in getStatus() 144 return mStatus == STATUS_SUCCESS || mStatus == STATUS_SUCCESS_LAST_ADMIN_REMOVED in isSuccess() [all …]
|
D | StopUserResult.java | 74 private final @Status int mStatus; field in StopUserResult 81 mStatus = STATUS_SUCCESS; in StopUserResult() 84 mStatus = STATUS_FAILURE_CURRENT_USER; in StopUserResult() 87 mStatus = STATUS_FAILURE_SYSTEM_USER; in StopUserResult() 90 mStatus = STATUS_FAILURE_USER_DOES_NOT_EXIST; in StopUserResult() 93 mStatus = STATUS_FAILURE_GENERIC; in StopUserResult() 107 return mStatus; in getStatus() 114 return mStatus == STATUS_SUCCESS; in isSuccess() 119 return "StopUserResult[" + statusToString(mStatus) + "]"; in toString()
|
D | StartUserInBackgroundResult.java | 68 private final @Status int mStatus; field in StartUserInBackgroundResult 75 mStatus = STATUS_SUCCESS; in StartUserInBackgroundResult() 78 mStatus = STATUS_SUCCESS_CURRENT_USER; in StartUserInBackgroundResult() 81 mStatus = STATUS_FAILURE_USER_DOES_NOT_EXIST; in StartUserInBackgroundResult() 84 mStatus = STATUS_FAILURE_GENERIC; in StartUserInBackgroundResult() 97 return mStatus; in getStatus() 104 return mStatus == STATUS_SUCCESS || mStatus == STATUS_SUCCESS_CURRENT_USER; in isSuccess() 109 return "StartUserInBackgroundResult[" + statusToString(mStatus) + "]"; in toString()
|
D | CreateUserResult.java | 70 private final @Status int mStatus; field in CreateUserResult 82 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() 125 return mStatus; in getStatus() 132 return mStatus == STATUS_SUCCESS; in isSuccess() 146 .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/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 150 public int mStatus; field in DownloadThread.DownloadInfoDelta 171 mStatus = info.mStatus; in DownloadInfoDelta() 185 values.put(Downloads.Impl.COLUMN_STATUS, mStatus); in buildContentValues() 279 mInfoDelta.mStatus = STATUS_RUNNING; in run() 303 mInfoDelta.mStatus = STATUS_SUCCESS; in run() 312 mInfoDelta.mStatus = e.getFinalStatus(); in run() 316 + Downloads.Impl.statusToString(mInfoDelta.mStatus) + ": " in run() 321 if (mInfoDelta.mStatus == STATUS_WAITING_TO_RETRY) { in run() 326 if (isStatusRetryable(mInfoDelta.mStatus)) { in run() 336 mInfoDelta.mStatus = STATUS_WAITING_TO_RETRY; in run() [all …]
|
/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()
|
D | HSWanMetricsElement.java | 59 private final int mStatus; field in HSWanMetricsElement 72 mStatus = status; in HSWanMetricsElement() 111 return mStatus; in getStatus() 149 if (mStatus == LINK_STATUS_RESERVED && !mAtCapacity && !mSymmetric && mDownlinkLoad == 0 in isElementInitialized() 166 return mStatus == that.mStatus in equals() 178 return (int) (mStatus + mDownlinkSpeed + mUplinkSpeed + mDownlinkLoad in hashCode() 186 mStatus, mSymmetric, mAtCapacity, 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/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | AbstractProvisioningController.java | 76 private int mStatus = STATUS_NOT_STARTED; field in AbstractProvisioningController 118 if (mStatus != STATUS_NOT_STARTED) { in start() 123 mStatus = STATUS_RUNNING; in start() 133 ProvisionLogger.logd("Cancel called, current status is " + mStatus); in cancel() 134 mStatus = STATUS_CANCELLING; in cancel() 150 mStatus = STATUS_TASKS_COMPLETED; in tasksCompleted() 158 if (mStatus != STATUS_RUNNING) { in onSuccess() 173 mStatus = STATUS_ERROR; in onError() 182 mStatus = newStatus; in cleanup()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransfer.java | 227 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage() 284 mBatch.mStatus = Constants.BATCH_STATUS_FINISHED; in handleMessage() 302 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage() 303 markBatchFailed(info2.mStatus); in handleMessage() 329 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage() 331 markBatchFailed(info3.mStatus); in handleMessage() 404 Log.v(TAG, "Current share has status " + mCurrentShare.mStatus); in markBatchFailed() 406 if (BluetoothShare.isStatusError(mCurrentShare.mStatus)) { in markBatchFailed() 407 failReason = mCurrentShare.mStatus; in markBatchFailed() 421 if (info.mStatus < 200) { in markBatchFailed() [all …]
|
D | BluetoothOppShareInfo.java | 61 public int mStatus; field in BluetoothOppShareInfo 83 mStatus = status; in BluetoothOppShareInfo() 96 if (mStatus == BluetoothShare.STATUS_PENDING && mUri != null) { in isReadyToStart() 100 if (mStatus == BluetoothShare.STATUS_PENDING) { in isReadyToStart() 109 if (!BluetoothShare.isStatusCompleted(mStatus)) { in hasCompletionNotification() 122 if (BluetoothShare.STATUS_RUNNING == mStatus) { in isObsolete()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | DirectoryPartition.java | 37 private int mStatus; field in DirectoryPartition 84 return mStatus; in getStatus() 88 mStatus = status; in setStatus() 92 return mStatus == STATUS_NOT_LOADED || mStatus == STATUS_LOADING; in isLoading() 160 ", mStatus=" + mStatus + in toString()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceResponse.java | 49 protected int mStatus; field in WifiP2pServiceResponse 121 mStatus = status; in WifiP2pServiceResponse() 144 return mStatus; in getStatus() 289 sbuf.append(" status:").append(Status.toString(mStatus)); in toString() 307 (req.mStatus == mStatus) && in equals() 325 result = 31 * result + mStatus; in hashCode() 341 dest.writeInt(mStatus); in writeToParcel()
|