Home
last modified time | relevance | path

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

12

/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.java67 public int mStatus; field in BluetoothOppBatch
112 mStatus = Constants.BATCH_STATUS_PENDING; in BluetoothOppBatch()
139 if (info.mStatus == BluetoothShare.STATUS_RUNNING) { in deleteShare()
140 info.mStatus = BluetoothShare.STATUS_CANCELED; in deleteShare()
168 if (info.mStatus < 200) { in cancelBatch()
208 if (share.mStatus == BluetoothShare.STATUS_PENDING) { in getPendingShare()
DBluetoothOppTransfer.java159 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
176 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
222 mBatch.mStatus = Constants.BATCH_STATUS_FINISHED; in handleMessage()
234 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
235 markBatchFailed(info2.mStatus); in handleMessage()
253 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
255 markBatchFailed(info3.mStatus); in handleMessage()
319 if (V) Log.v(TAG, "Current share has status " + mCurrentShare.mStatus); in markBatchFailed()
320 if (BluetoothShare.isStatusError(mCurrentShare.mStatus)) { in markBatchFailed()
321 failReason = mCurrentShare.mStatus; in markBatchFailed()
[all …]
DBluetoothOppTransferActivity.java146 mIsComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in onCreate()
180 boolean isSuccess = BluetoothShare.isStatusSuccess(mTransInfo.mStatus); in displayWhichDialog()
181 boolean isComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in displayWhichDialog()
304 if (mTransInfo.mStatus == BluetoothShare.STATUS_ERROR_SDCARD_FULL) { in customizeViewContent()
324 .getStatusDescription(this, mTransInfo.mStatus, mTransInfo.mDeviceName)); in customizeViewContent()
338 this, mTransInfo.mStatus, mTransInfo.mDeviceName)); in customizeViewContent()
344 if (BluetoothShare.isStatusError(mTransInfo.mStatus)) { in customizeViewContent()
444 if (!mIsComplete && BluetoothShare.isStatusCompleted(mTransInfo.mStatus) in updateProgressbar()
DBluetoothOppSendFileInfo.java67 public final int mStatus; field in BluetoothOppSendFileInfo
82 mStatus = status; in BluetoothOppSendFileInfo()
95 mStatus = status; in BluetoothOppSendFileInfo()
DBluetoothOppObexServerSession.java355 status = mFileInfo.mStatus; in onPut()
357 mInfo.mStatus = mFileInfo.mStatus; in onPut()
389 mInfo.mStatus = status; in onPut()
420 mInfo.mStatus = status; in onPut()
532 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()
DBluetoothOppReceiver.java152 && BluetoothShare.isStatusSuccess(transInfo.mStatus)) { in onReceive()
245 if (BluetoothShare.isStatusSuccess(transInfo.mStatus)) { in onReceive()
260 if (BluetoothShare.isStatusSuccess(transInfo.mStatus)) { in onReceive()
268 } else if (BluetoothShare.isStatusError(transInfo.mStatus)) { in onReceive()
DBluetoothOppTransferInfo.java48 int mStatus; field in BluetoothOppTransferInfo
DBluetoothOppService.java548 Log.v(TAG, "STATUS : " + info.mStatus); in insertShare()
669 …&& (BluetoothShare.isStatusCompleted(info.mStatus) || newConfirm == BluetoothShare.USER_CONFIRMATI… in updateShare()
683 if (!BluetoothShare.isStatusCompleted(info.mStatus) in updateShare()
688 info.mStatus = newStatus; in updateShare()
709 if (batch.mStatus == Constants.BATCH_STATUS_FINISHED in updateShare()
710 || batch.mStatus == Constants.BATCH_STATUS_FAILED) { in updateShare()
810 if (nextBatch.mStatus == Constants.BATCH_STATUS_RUNNING) { in removeBatch()
840 if (BluetoothShare.isStatusCompleted(info.mStatus)) { in needAction()
867 return BluetoothShare.isStatusSuccess(info.mStatus) in shouldScanFile()
/packages/apps/Contacts/src/com/android/contacts/list/
DDirectoryPartition.java34 private int mStatus; field in DirectoryPartition
77 return mStatus; in getStatus()
81 mStatus = status; in setStatus()
85 return mStatus == STATUS_NOT_LOADED || mStatus == STATUS_LOADING; in isLoading()
DContactTileView.java44 private TextView mStatus; field in ContactTileView
63 mStatus = (TextView) findViewById(R.id.contact_tile_status); in onFinishInflate()
104 if (mStatus != null) {
106 mStatus.setVisibility(View.GONE);
108 mStatus.setText(entry.status);
109 mStatus.setCompoundDrawablesWithIntrinsicBounds(entry.presenceIcon,
111 mStatus.setVisibility(View.VISIBLE);
/packages/apps/Browser/tests/src/com/android/browser/
DPopularUrlsTest.java71 private RunStatus mStatus; field in PopularUrlsTest
90 mStatus = RunStatus.load(); in setUp()
95 if (mStatus != null) { in tearDown()
96 mStatus.cleanUp(); in tearDown()
118 return new FileWriter(new File(sExternalStorage, outputFile), mStatus.getIsRecovery()); in getOutputStream()
454 for (int i = 0; i < mStatus.getPage(); ++i) { in loopUrls()
458 if (mStatus.getIsRecovery()) { in loopUrls()
460 mStatus.incrementPage(); in loopUrls()
463 while (mStatus.getIteration() < loopCount) { in loopUrls()
469 mStatus.setUrl(page); in loopUrls()
[all …]
/packages/apps/Settings/src/com/android/settings/
DAccountPreference.java39 private int mStatus; field in AccountPreference
75 mSyncStatusIcon.setImageResource(getSyncStatusIcon(mStatus)); in onBindView()
76 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in onBindView()
81 mStatus = status; in setSyncStatus()
84 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in setSyncStatus()
DBatteryInfo.java37 private TextView mStatus; field in BatteryInfo
93 mStatus.setText(Utils.getBatteryStatus(getResources(), intent));
151 mStatus = (TextView)findViewById(R.id.status); in onResume()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java74 info.mStatus = getInt(Downloads.Impl.COLUMN_STATUS); in updateFromDatabase()
205 public int mStatus; field in DownloadInfo
301 switch (mStatus) { in isReadyToStart()
333 if (!Downloads.Impl.isStatusCompleted(mStatus)) { in hasCompletionNotification()
466 if (mStatus != Impl.STATUS_RUNNING) { in startIfReady()
467 mStatus = Impl.STATUS_RUNNING; in startIfReady()
469 values.put(Impl.COLUMN_STATUS, mStatus); in startIfReady()
513 pw.printPair("mStatus", Downloads.Impl.statusToString(mStatus)); in dump()
540 if (Downloads.Impl.isStatusCompleted(mStatus)) { in nextAction()
543 if (mStatus != Downloads.Impl.STATUS_WAITING_TO_RETRY) { in nextAction()
[all …]
DDownloadNotification.java146 if (download.mStatus == Downloads.Impl.STATUS_QUEUED_FOR_WIFI in updateActiveNotification()
221 download.mStatus, download.mDestination, download.mLastMod); in updateCompletedNotification()
269 return 100 <= download.mStatus && download.mStatus < 200 in isActiveAndVisible()
274 return download.mStatus >= 200 in isCompleteAndVisible()
DDownloadService.java452 int oldStatus = info.mStatus; in updateDownload()
457 ", status: " + info.mStatus); in updateDownload()
463 && Downloads.Impl.isStatusCompleted(info.mStatus); in updateDownload()
466 && Downloads.Impl.isStatusCompleted(info.mStatus); in updateDownload()
482 if (info.mStatus == Downloads.Impl.STATUS_RUNNING) { in deleteDownloadLocked()
483 info.mStatus = Downloads.Impl.STATUS_CANCELED; in deleteDownloadLocked()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DCommandStatusException.java29 public final int mStatus; field in CommandStatusException
137 mStatus = status; in CommandStatusException()
142 mStatus = status; in CommandStatusException()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java36 private String mStatus = null; field in DataStatus
78 mStatus = getString(cursor, Data.STATUS); in fromCursor()
86 return !TextUtils.isEmpty(mStatus); in isValid()
94 return mStatus; in getStatus()
/packages/experimental/LoaderApp/src/com/android/loaderapp/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/apps/SpeechRecorder/src/com/android/speechrecorder/
DSpeechRecorderActivity.java49 private TextView mStatus; field in SpeechRecorderActivity
74 mStatus = (TextView) findViewById(R.id.statusText); in onCreate()
172 mStatus.setText(status + " Recording... " + remain); in setupRecording()
175 mStatus.setText(status); in setupRecording()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnJAJP.java285 protected int mStatus = STATUS_INIT; field in OpenWnnJAJP
557 mStatus = STATUS_INIT; in onStartInputView()
769 mStatus |= STATUS_INPUT_EDIT; in onEvent()
965 mStatus |= STATUS_CANDIDATE_FULL; in onEvent()
972 mStatus &= ~STATUS_CANDIDATE_FULL; in onEvent()
1000 if (((mStatus & ~STATUS_CANDIDATE_FULL) == STATUS_INPUT) in onEvent()
1030 mStatus = STATUS_INPUT_EDIT; in onEvent()
1090 mStatus = commitText(ev.word); in onEvent()
1275 mStatus = commitText(true); in processKeyEvent()
1287 mStatus = STATUS_INPUT_EDIT; in processKeyEvent()
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupEditorFragment.java176 private Status mStatus; field in GroupEditorFragment
229 if (mStatus == Status.SELECTING_ACCOUNT) { in onActivityCreated()
231 } else if (mStatus == Status.LOADING) { in onActivityCreated()
261 mStatus = Status.LOADING; in startGroupMetaDataLoader()
273 outState.putSerializable(KEY_STATUS, mStatus); in onSaveInstanceState()
291 mStatus = (Status) state.getSerializable(KEY_STATUS); in onRestoreInstanceState()
333 mStatus = Status.SELECTING_ACCOUNT; in selectAccountAndCreateGroup()
461 mStatus = Status.EDITING; in setupEditorForAccount()
535 mStatus = Status.CLOSING; in doRevertAction()
572 if (!hasValidGroupName() || mStatus != Status.EDITING) { in save()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java233 private int mStatus; field in ContactEditorFragment
335 if (!getActivity().isChangingConfigurations() && mStatus == Status.EDITING) { in onStop()
432 mStatus = savedState.getInt(KEY_STATUS); in onCreate()
546 mStatus = Status.SUB_ACTIVITY; in selectAccountAndCreateContact()
632 mStatus = Status.EDITING; in bindEditorsForNewContact()
1016 if (!hasValidState() || mStatus != Status.EDITING) { in save()
1025 mStatus = Status.SAVING; in save()
1031 mStatus = Status.EDITING; in save()
1094 mStatus = Status.CLOSING; in doRevertAction()
1146 mStatus = Status.CLOSING; in onSaveCompleted()
[all …]

12