Home
last modified time | relevance | path

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

12

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java37 public int mStatus; field in DownloadInfo
73 mStatus = status; in DownloadInfo()
128 if (mStatus == 0) { in isReadyToStart()
132 if (mStatus == Downloads.STATUS_PENDING) { in isReadyToStart()
136 if (mStatus == Downloads.STATUS_RUNNING) { in isReadyToStart()
141 if (mStatus == Downloads.STATUS_RUNNING_PAUSED) { in isReadyToStart()
167 if (mStatus == 0) { in isReadyToRestart()
171 if (mStatus == Downloads.STATUS_PENDING) { in isReadyToRestart()
175 if (mStatus == Downloads.STATUS_RUNNING_PAUSED) { in isReadyToRestart()
193 if (!Downloads.isStatusCompleted(mStatus)) { in hasCompletionNotification()
DDownloadService.java593 Log.v(Constants.TAG, "STATUS : " + info.mStatus); in insertDownload()
611 if (info.mStatus == 0 in insertDownload()
637 info.mStatus = Downloads.STATUS_NOT_ACCEPTABLE; in insertDownload()
657 if (info.mStatus != Downloads.STATUS_RUNNING) { in insertDownload()
658 info.mStatus = Downloads.STATUS_RUNNING; in insertDownload()
660 values.put(Downloads.COLUMN_STATUS, info.mStatus); in insertDownload()
670 if (info.mStatus == 0 in insertDownload()
671 || info.mStatus == Downloads.STATUS_PENDING in insertDownload()
672 || info.mStatus == Downloads.STATUS_RUNNING) { in insertDownload()
673 info.mStatus = Downloads.STATUS_RUNNING_PAUSED; in insertDownload()
[all …]
DDownloadFileInfo.java27 int mStatus; field in DownloadFileInfo
32 mStatus = status; in DownloadFileInfo()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactAggregationScheduler.java69 private int mStatus = STATUS_STAND_BY; field in ContactAggregationScheduler
120 switch (mStatus) { in schedule()
124 mStatus = STATUS_SCHEDULED; in schedule()
139 mStatus = STATUS_SCHEDULED; in schedule()
160 mStatus = STATUS_INTERRUPTED; in schedule()
174 mStatus = STATUS_RUNNING; in run()
182 if (mStatus == STATUS_RUNNING) { in run()
183 mStatus = STATUS_STAND_BY; in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppShareInfo.java59 public int mStatus; field in BluetoothOppShareInfo
81 mStatus = status; in BluetoothOppShareInfo()
94 if (mStatus == BluetoothShare.STATUS_PENDING && mUri != null) { in isReadyToStart()
98 if (mStatus == BluetoothShare.STATUS_PENDING) { in isReadyToStart()
107 if (!BluetoothShare.isStatusCompleted(mStatus)) { in hasCompletionNotification()
120 if (BluetoothShare.STATUS_RUNNING == mStatus) { in isObsolete()
DBluetoothOppBatch.java68 public int mStatus; field in BluetoothOppBatch
113 mStatus = Constants.BATCH_STATUS_PENDING; in BluetoothOppBatch()
140 if (info.mStatus == BluetoothShare.STATUS_RUNNING) { in deleteShare()
141 info.mStatus = BluetoothShare.STATUS_CANCELED; in deleteShare()
169 if (info.mStatus < 200) { in cancelBatch()
209 if (share.mStatus == BluetoothShare.STATUS_PENDING) { in getPendingShare()
DBluetoothOppTransfer.java160 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
173 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
219 mBatch.mStatus = Constants.BATCH_STATUS_FINISHED; in handleMessage()
231 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
232 markBatchFailed(info2.mStatus); in handleMessage()
250 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
252 markBatchFailed(info3.mStatus); in handleMessage()
316 if (V) Log.v(TAG, "Current share has status " + mCurrentShare.mStatus); in markBatchFailed()
317 if (BluetoothShare.isStatusError(mCurrentShare.mStatus)) { in markBatchFailed()
318 failReason = mCurrentShare.mStatus; in markBatchFailed()
[all …]
DBluetoothOppSendFileInfo.java59 public final int mStatus; field in BluetoothOppSendFileInfo
74 mStatus = status; in BluetoothOppSendFileInfo()
87 mStatus = status; in BluetoothOppSendFileInfo()
DBluetoothOppTransferActivity.java142 mIsComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in onCreate()
176 boolean isSuccess = BluetoothShare.isStatusSuccess(mTransInfo.mStatus); in displayWhichDialog()
177 boolean isComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in displayWhichDialog()
298 if (mTransInfo.mStatus == BluetoothShare.STATUS_ERROR_SDCARD_FULL) { in customizeViewContent()
318 .getStatusDescription(this, mTransInfo.mStatus)); in customizeViewContent()
332 this, mTransInfo.mStatus)); in customizeViewContent()
338 if (BluetoothShare.isStatusError(mTransInfo.mStatus)) { in customizeViewContent()
438 if (!mIsComplete && BluetoothShare.isStatusCompleted(mTransInfo.mStatus)) { in updateProgressbar()
DBluetoothOppObexServerSession.java339 status = mFileInfo.mStatus; in onPut()
341 mInfo.mStatus = mFileInfo.mStatus; in onPut()
373 mInfo.mStatus = status; in onPut()
404 mInfo.mStatus = status; in onPut()
511 Log.v(TAG, "status :" + fileInfo.mStatus); in processShareInfo()
DBluetoothOppReceiveFileInfo.java67 public int mStatus; field in BluetoothOppReceiveFileInfo
73 mStatus = status; in BluetoothOppReceiveFileInfo()
81 mStatus = status; in BluetoothOppReceiveFileInfo()
DBluetoothOppTransferInfo.java48 int mStatus; field in BluetoothOppTransferInfo
DBluetoothOppService.java548 Log.v(TAG, "STATUS : " + info.mStatus); in insertShare()
661 …&& (BluetoothShare.isStatusCompleted(info.mStatus) || newConfirm == BluetoothShare.USER_CONFIRMATI… in updateShare()
675 if (!BluetoothShare.isStatusCompleted(info.mStatus) in updateShare()
680 info.mStatus = newStatus; in updateShare()
701 if (batch.mStatus == Constants.BATCH_STATUS_FINISHED in updateShare()
702 || batch.mStatus == Constants.BATCH_STATUS_FAILED) { in updateShare()
802 if (nextBatch.mStatus == Constants.BATCH_STATUS_RUNNING) { in removeBatch()
832 if (BluetoothShare.isStatusCompleted(info.mStatus)) { in needAction()
859 return BluetoothShare.isStatusSuccess(info.mStatus) in shouldScanFile()
DBluetoothOppReceiver.java153 && BluetoothShare.isStatusSuccess(transInfo.mStatus)) { in onReceive()
205 if (BluetoothShare.isStatusSuccess(transInfo.mStatus)) { in onReceive()
213 } else if (BluetoothShare.isStatusError(transInfo.mStatus)) { in onReceive()
DBluetoothOppObexClientSession.java271 status = mFileInfo.mStatus; in doSend()
286 mInfo.mStatus = status; in doSend()
302 Constants.updateShareStatus(mContext1, mInfo.mId, fileInfo.mStatus); in processShareInfo()
/packages/apps/IM/src/com/android/im/engine/
DPresence.java46 private int mStatus; field in Presence
73 this(p.mStatus, p.mStatusText, p.mAvatarData, p.mAvatarType, in Presence()
78 mStatus = source.readInt(); in Presence()
125 return mStatus != OFFLINE; in isOnline()
129 return mStatus; in getStatus()
136 mStatus = status; in setStatus()
162 dest.writeInt(mStatus); in writeToParcel()
/packages/providers/GoogleSubscribedFeedsProvider/src/com/android/settings/
DAccountPreference.java41 private int mStatus; field in AccountPreference
76 setSummary(getSyncStatusMessage(mStatus)); in onBindView()
80 mSyncStatusIcon.setImageResource(getSyncStatusIcon(mStatus)); in onBindView()
91 mStatus = status; in setSyncStatus()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java34 private String mStatus = null; field in DataStatus
76 mStatus = getString(cursor, Data.STATUS); in fromCursor()
84 return !TextUtils.isEmpty(mStatus); in isValid()
92 return mStatus; in getStatus()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnJAJP.java259 protected int mStatus = STATUS_INIT; field in OpenWnnJAJP
498 mStatus = STATUS_INIT; in onStartInputView()
678 mStatus |= STATUS_INPUT_EDIT; in onEvent()
731 mStatus |= STATUS_CANDIDATE_FULL; in onEvent()
735 mStatus &= ~STATUS_CANDIDATE_FULL; in onEvent()
762 if (((mStatus & ~STATUS_CANDIDATE_FULL) == STATUS_INPUT) in onEvent()
792 mStatus = STATUS_INPUT_EDIT; in onEvent()
847 mStatus = commitText(ev.word); in onEvent()
1007 mStatus = commitText(true); in processKeyEvent()
1019 mStatus = STATUS_INPUT_EDIT; in processKeyEvent()
[all …]
/packages/apps/Settings/src/com/android/settings/
DBatteryInfo.java38 private TextView mStatus; field in BatteryInfo
113 mStatus.setText(statusString);
169 mStatus = (TextView)findViewById(R.id.status); in onResume()
/packages/apps/IM/src/com/android/im/app/
DUserPresenceView.java237 private final int mStatus; field in UserPresenceView.StatusItem
242 mStatus = status; in StatusItem()
256 return mStatus; in getStatus()
/packages/apps/Phone/src/com/android/phone/
DIccPinUnlockPanel.java64 private TextView mStatus; field in IccPinUnlockPanel
172 mStatus = (TextView) findViewById(R.id.status); in initView()
289 mStatus.setText(getContext().getText(R.string.pinUnlocked)); in showUnlockSuccess()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStatus.java86 private WeakReference<Status> mStatus; field in Status.MyHandler
89 mStatus = new WeakReference<Status>(activity); in MyHandler()
94 Status status = mStatus.get(); in handleMessage()
/packages/apps/Gallery/src/com/android/camera/
DCamera.java139 private int mStatus = IDLE; field in Camera
822 if (mPausing || mStatus == SNAPSHOT_IN_PROGRESS) { in onSnap()
835 mStatus = SNAPSHOT_IN_PROGRESS; in onSnap()
1598 mStatus = IDLE; in startPreview()
1906 return mStatus == IDLE && mFocusState == FOCUS_NOT_STARTED; in isCameraIdle()
/packages/apps/Camera/src/com/android/camera/
DCamera.java126 private int mStatus = IDLE; field in Camera
855 if (mPausing || mStatus == SNAPSHOT_IN_PROGRESS) { in onSnap()
869 mStatus = SNAPSHOT_IN_PROGRESS; in onSnap()
1639 mStatus = IDLE; in startPreview()
1955 return mStatus == IDLE && mFocusState == FOCUS_NOT_STARTED; in isCameraIdle()

12