Searched refs:status (Results 51 - 75 of 181) sorted by relevance

12345678

/packages/apps/Phone/src/com/android/phone/
H A DCallController.java176 * "pending call status code" flag), and in some cases we also
180 * user needs to change, we update the "status dialog" info in
252 CallStatusCode status = placeCallInternal(intent);
254 switch (status) {
258 if (DBG) log("==> placeCall(): success from placeCallInternal(): " + status);
260 if (status == CallStatusCode.EXITED_ECM) {
267 // InCallUiState's "pending call status code".
277 // Any other status code is a failure.
278 log("==> placeCall(): failure code from placeCallInternal(): " + status);
282 // "pending call status cod
651 handleOutgoingCallError(CallStatusCode status) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
H A DSelectCalendarsSyncAdapter.java136 setText(view, R.id.status, mSyncedString);
138 setText(view, R.id.status, mNotSyncedString);
193 String status;
195 status = mSyncedString;
197 status = mNotSyncedString;
199 setText(view, R.id.status, status);
/packages/apps/Settings/src/com/android/settings/
H A DSettingsLicenseActivity.java76 int status = STATUS_OK;
95 status = STATUS_NOT_FOUND;
98 status = STATUS_READ_ERROR;
108 if ((status == STATUS_OK) && TextUtils.isEmpty(data)) {
110 status = STATUS_EMPTY_FILE;
114 Message msg = mHandler.obtainMessage(status, null);
115 if (status == STATUS_OK) {
H A DBandMode.java168 String status = getString(R.string.band_mode_set)
172 status = status + getString(R.string.band_mode_failed);
174 status = status + getString(R.string.band_mode_succeeded);
178 .setMessage(status)
H A DCryptKeeper.java174 final TextView status = (TextView) findViewById(R.id.status);
175 status.setText(R.string.try_again);
233 /** The status bar where back/home/recent buttons are shown. */
236 /** All the widgets to disable in the status bar */
312 // Disable the status bar, but do NOT disable back because the user needs a way to go
436 ((TextView) findViewById(R.id.status)).setText(R.string.crypt_keeper_failed_summary);
461 final CharSequence status = getText(R.string.crypt_keeper_setup_description);
463 final TextView tv = (TextView) findViewById(R.id.status);
465 tv.setText(TextUtils.expandTemplate(status, Intege
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessageStatusService.java35 * Service that gets started by the MessageStatusReceiver when a message status report is
41 private static final Uri STATUS_URI = Uri.parse("content://sms/status");
74 // Create a "status/#" URL and use it to update the
75 // message's status in the database.
84 int status = message.getStatus();
89 log("updateMessageStatus: msgUrl=" + messageUri + ", status=" + status +
93 contentValues.put(Sms.STATUS, status);
98 error("Can't find message for status update: " + messageUri);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java60 /** Reusable SendFileInfo for error status. */
81 FileInputStream inputStream, int status) {
86 mStatus = status;
91 public BluetoothOppSendFileInfo(String data, String type, long length, int status) { argument
97 mStatus = status;
80 BluetoothOppSendFileInfo(String fileName, String type, long length, FileInputStream inputStream, int status) argument
H A DBluetoothOppReceiveFileInfo.java71 public BluetoothOppReceiveFileInfo(String data, long length, int status) { argument
73 mStatus = status;
78 int status) {
81 mStatus = status;
85 public BluetoothOppReceiveFileInfo(int status) { argument
86 this(null, 0, null, status);
77 BluetoothOppReceiveFileInfo(String filename, long length, FileOutputStream outputStream, int status) argument
/packages/apps/Contacts/src/com/android/contacts/list/
H A DProviderStatusWatcher.java33 * A singleton that keeps track of the last known provider status.
44 * Callback interface invoked when the provider status changes.
52 public final int status; field in class:ProviderStatusWatcher.Status
57 public Status(int status, String data) { argument
58 this.status = status;
84 /** Last known provider status. This can be changed on a worker thread. */
137 * Starts watching the provider status. {@link #start()} and {@link #stop()} calls can be
153 * Stops watching the provider status.
172 * @return last known provider status
[all...]
/packages/apps/Music/src/com/android/music/
H A DScanningProgress.java38 String status = Environment.getExternalStorageState();
39 if (!status.equals(Environment.MEDIA_MOUNTED)) {
H A DMediaAppWidgetProvider.java121 String status = Environment.getExternalStorageState();
122 if (status.equals(Environment.MEDIA_SHARED) ||
123 status.equals(Environment.MEDIA_UNMOUNTED)) {
129 } else if (status.equals(Environment.MEDIA_REMOVED)) {
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractDownloadProviderFunctionalTest.java220 MockResponse buildResponse(int status, String body) { argument
221 return new MockResponse().setResponseCode(status).setBody(body)
226 MockResponse buildResponse(int status, byte[] body) { argument
227 return new MockResponse().setResponseCode(status).setBody(body)
232 MockResponse buildEmptyResponse(int status) { argument
233 return buildResponse(status, "");
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndbdic.c619 loctset->loct.status = NJ_ST_SEARCH_END_EXT;
680 loctset->loct.status = NJ_ST_SEARCH_END_EXT;
734 loctset->loct.status = NJ_ST_SEARCH_END_EXT;
747 loctset->loct.status = NJ_ST_SEARCH_END_EXT;
760 loctset->loct.status = NJ_ST_SEARCH_END;
773 loctset->loct.status = NJ_ST_SEARCH_END_EXT;
802 loctset->loct.status = NJ_ST_SEARCH_END;
819 loctset->loct.status = NJ_ST_SEARCH_END;
1008 if (GET_LOCATION_STATUS(loctset->loct.status) != NJ_ST_SEARCH_NO_INIT) {
1012 loctset->loct.status
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DEasSyncService.java132 // The EAS protocol Provision status for "we implement all of the policies"
134 // The EAS protocol Provision status meaning "we partially implement the policies"
175 // Whether the most recent upsync failed (status 7)
536 int status = e.mStatus;
537 if (CommandStatus.isNeedsProvisioning(status)) {
548 userLog("Denied access: ", CommandStatus.toString(status));
558 } else if (CommandStatus.isDeniedAccess(status)) {
559 userLog("Denied access: ", CommandStatus.toString(status));
561 } else if (CommandStatus.isTransientError(status)) {
562 userLog("Transient error: ", CommandStatus.toString(status));
1529 acknowledgeProvisionImpl(EasSyncService svc, String tempKey, String status, boolean remoteWipe) argument
[all...]
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DDownloadAdapter.java111 final int status = mCursor.getInt(mStatusColumnId);
113 if (status == DownloadManager.STATUS_SUCCESSFUL) {
116 statusText = mResources.getString(getStatusStringId(status));
151 private int getStatusStringId(int status) { argument
152 switch (status) {
172 throw new IllegalStateException("Unknown status: " + mCursor.getInt(mStatusColumnId));
/packages/apps/Camera/src/com/android/camera/
H A DSoundClips.java168 public void onLoadComplete(SoundPool pool, int soundID, int status) { argument
169 if (status != 0) {
170 Log.e(TAG, "loading sound tracks failed (status=" + status + ")");
/packages/apps/Email/src/com/android/email/
H A DRefreshManager.java68 * Refresh status of a mailbox list or a message list has changed.
213 final Status status = mMailboxListStatus.get(accountId);
214 if (!status.canRefresh()) return false;
219 status.onRefreshRequested();
251 final Status status = mMessageListStatus.get(mailboxId);
252 if (!status.canRefresh()) return false;
258 status.onRefreshRequested();
404 * we need to keep track of their status separately.
432 * We don't keep track of the status of outboxes, but we monitor this to catch
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java247 int[] status = new int[1];
248 glGetProgramiv(program, GL_LINK_STATUS, status, 0);
249 if (status[0] != GL_TRUE) {
270 int[] status = new int[1];
271 glGetShaderiv(shader, GL_COMPILE_STATUS, status, 0);
272 if (status[0] != GL_TRUE) {
/packages/apps/Settings/src/com/android/settings/tts/
H A DTextToSpeechSettings.java106 public void onInit(int status) {
107 onInitEngine(status);
118 public void onInit(int status) {
119 onUpdateEngine(status);
222 public void onInitEngine(int status) { argument
223 if (status == TextToSpeech.SUCCESS) {
379 public void onUpdateEngine(int status) { argument
380 if (status == TextToSpeech.SUCCESS) {
/packages/apps/Browser/src/com/android/browser/
H A DGoogleAccountLogin.java118 int status = response.getStatusLine().getStatusCode();
119 if (status != HttpStatus.SC_OK) {
120 Log.d(LOGTAG, "LOGIN_FAIL: Bad status from auth url "
121 + status + ": "
125 if (status == HttpStatus.SC_FORBIDDEN && !mTokensInvalidated) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java153 * @param status {@link TextToSpeech#SUCCESS} or {@link TextToSpeech#ERROR}.
156 public void onInit(int status) { argument
157 if (DBG) log("onInit() TTS engine status: " + status);
158 if (status == TextToSpeech.SUCCESS) {
165 Log.e(TAG, "onInit() TTS engine error: " + status);
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DAttachmentLoader.java75 private void doStatusCallback(int status) { argument
77 ExchangeService.callback().loadAttachmentStatus(mMessageId, mAttachmentId, status, 0);
206 int status = resp.getStatus();
207 if (status == HttpStatus.SC_OK) {
/packages/apps/Mms/src/com/android/mms/ui/
H A DDeliveryReportAdapter.java56 listItem.bind(item.recipient, item.status, item.deliveryDate);
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc.cpp86 /* Set default status value */
87 pCallbackData->status = NFCSTATUS_FAILED;
123 pCallbackData->status = NFCSTATUS_FAILED;
364 //Display status code
365 const char* nfc_jni_get_status_name(NFCSTATUS status) argument
367 #define STATUS_ENTRY(status) { status, #status }
421 if (sNameTable[i].code == PHNFCSTATUS(status))
/packages/apps/Settings/src/com/android/settings/accounts/
H A DManageAccountsSettings.java251 SyncStatusInfo status = ContentResolver.getSyncStatus(account, authority);
260 boolean lastSyncFailed = status != null
262 && status.lastFailureTime != 0
263 && status.getLastFailureMesgAsInt(0)
270 if (status != null && lastSuccessTime < status.lastSuccessTime) {
271 lastSuccessTime = status.lastSuccessTime;

Completed in 533 milliseconds

12345678