Searched defs:status (Results 51 - 75 of 178) sorted by relevance

12345678

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/
H A DTestDialogController.java50 public void showFileOperationStatus(int status, int opType, int docCount) { argument
51 mFileOpStatus = status;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutInfo.java127 public int status; field in class:ShortcutInfo
143 status = info.status;
171 .put(LauncherSettings.Favorites.RESTORED, status);
189 return (status & flag) != 0;
207 status |= FLAG_INSTALL_SESSION_ACTIVE;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DLocationManager.java139 // If GPS is available before start camera, we won't get status
163 String provider, int status, Bundle extras) {
164 switch(status) {
162 onStatusChanged( String provider, int status, Bundle extras) argument
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DProcessSentMessageAction.java48 * Update message status to reflect success or failure
73 private static final String KEY_STATUS = "status";
101 final int status, final int rawStatus, final int resultCode) {
110 params.putInt(KEY_STATUS, status);
121 * Update message status to reflect success or failure
133 int status = actionParameters.getInt(KEY_STATUS, MmsUtils.MMS_REQUEST_MANUAL_RETRY);
157 // Get the status from the response PDU and update telephony
163 status = result.status;
172 errorMsg += (", HTTP status cod
99 processMessageSentFastFailed(final String messageId, final Uri messageUri, final Uri updatedMessageUri, final int subId, final boolean isSms, final int status, final int rawStatus, final int resultCode) argument
201 processResult(final String messageId, Uri updatedMessageUri, int status, final int rawStatus, final boolean isSms, final Action processingAction, final int subId, final int resultCode, final int httpStatusCode) argument
[all...]
H A DSyncMessageBatch.java200 final int status) {
209 status == Telephony.Sms.STATUS_FAILED)) {
212 } else if (status == Sms.STATUS_COMPLETE) {
267 // TODO: Need to set correct status on message
199 bugleStatusForSms(final boolean isOutgoing, final int type, final int status) argument
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsSender.java85 * @param status The status to send with the NotifyRespInd
90 final byte[] transactionId, final String contentLocation, final int status)
94 PduHeaders.CURRENT_MMS_VERSION, transactionId, status);
89 sendNotifyResponseForMmsDownload(final Context context, final int subId, final byte[] transactionId, final String contentLocation, final int status) argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DEventResultPersister.java60 /** Currently stored but not yet called back results (install id -> status, status message) */
93 void onResult(int status, int legacyStatus, @Nullable String message); argument
153 int status = readIntAttribute(parser, "status");
161 mResults.put(id, new EventResult(status, legacyStatus, statusMessage));
182 int status = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, 0);
184 if (status == PackageInstaller.STATUS_PENDING_USER_ACTION) {
207 observerToCall.onResult(status, legacyStatus, statusMessage);
209 mResults.put(id, new EventResult(status, legacyStatu
341 public final int status; field in class:EventResultPersister.EventResult
345 EventResult(int status, int legacyStatus, @Nullable String message) argument
[all...]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
H A DPackageInstallerImpl.java292 int status = intent.getIntExtra(PackageInstaller.EXTRA_STATUS, Integer.MIN_VALUE);
293 if (status == PackageInstaller.STATUS_SUCCESS) {
296 } else if (status == -1 /*PackageInstaller.STATUS_USER_ACTION_REQUIRED*/) {
304 int errorCode = getPackageManagerErrorCode(status);
311 private int getPackageManagerErrorCode(int status) { argument
318 if (status == Integer.MIN_VALUE) {
321 errorCode = InstallerConstants.ERROR_PACKAGEINSTALLER_BASE - status;
/packages/apps/Settings/src/com/android/settings/accounts/
H A DAccountPreference.java32 * AccountPreference is used to display a username, status and provider icon for an account on
82 public void setSyncStatus(int status, boolean updateSummary) { argument
83 if (mStatus == status) {
87 mStatus = status;
89 mSyncStatusIcon.setImageResource(getSyncStatusIcon(status));
93 setSummary(getSyncStatusMessage(status));
97 private int getSyncStatusMessage(int status) { argument
99 switch (status) {
114 Log.e(TAG, "Unknown sync status: " + status);
119 getSyncStatusIcon(int status) argument
139 getSyncContentDescription(int status) argument
[all...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageWizardFormatProgress.java281 public void onStatusChanged(int moveId, int status, long estMillis) { argument
/packages/apps/Settings/src/com/android/settings/tts/
H A DTtsEnginePreferenceFragment.java117 public void onInit(int status) {
118 onUpdateEngine(status);
156 public void onUpdateEngine(int status) { argument
157 if (status == TextToSpeech.SUCCESS) {
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java116 void runUntilStatus(int status) throws TimeoutException { argument
119 waitForStatus(status, startMillis);
122 void runUntilStatus(int status, long timeout) throws TimeoutException { argument
125 waitForStatus(status, startMillis, timeout);
161 throw new TimeoutException("Expected status " + expected + "; only reached " + actual);
/packages/services/Car/car-support-lib/src/android/support/car/navigation/
H A DCarNavigationStatusManagerEmbedded.java34 * @param status new instrument cluster navigation status.
38 public void sendNavigationStatus(int status) throws CarNotConnectedException { argument
40 mManager.sendNavigationStatus(status);
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
H A DCallCard.java34 * Card responsible to display current call status.
108 public void setStatusLabel(String status) { argument
109 mCallStatusTextView.setText(status);
114 Log.d(TAG, "animateCallConnected, current status: " + mCallStatus);
171 Log.d(TAG, "animateCallConnected, current status: " + mCallStatus);
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
H A DSelfManagedCallListAdapter.java180 String status, String audioRoute, String callType) {
195 statusTextView.setText(callType + " - Status: " + status);
179 setInfoForRow(View view, String accountName, String number, String status, String audioRoute, String callType) argument
/packages/services/Telephony/src/com/android/phone/
H A DCallController.java181 * "pending call status code" flag), and in some cases we also
185 * user needs to change, we update the "status dialog" info in
228 CallStatusCode status = placeCallInternal(intent);
230 switch (status) {
234 if (DBG) log("==> placeCall(): success from placeCallInternal(): " + status);
238 // Any other status code is a failure.
239 log("==> placeCall(): failure code from placeCallInternal(): " + status);
243 // "pending call status code" flag.)
244 handleOutgoingCallError(status);
254 // notice the InCallUiState pending call status cod
576 handleOutgoingCallError(CallStatusCode status) argument
[all...]
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_a2dp.cpp281 bt_status_t status = local
283 if (status != BT_STATUS_SUCCESS) {
284 ALOGE("Failed to initialize Bluetooth A2DP, status: %d", status);
322 bt_status_t status = sBluetoothA2dpInterface->connect((RawAddress*)addr); local
323 if (status != BT_STATUS_SUCCESS) {
324 ALOGE("Failed HF connection, status: %d", status);
327 return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
340 bt_status_t status local
355 bt_status_t status = sBluetoothA2dpInterface->config_codec(codec_preferences); local
[all...]
H A Dcom_android_bluetooth_hid.cpp226 bt_status_t status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks); local
227 if (status != BT_STATUS_SUCCESS) {
228 ALOGE("Failed to initialize Bluetooth HID, status: %d", status);
268 bt_status_t status = sBluetoothHidInterface->connect((RawAddress*)addr); local
269 if (status != BT_STATUS_SUCCESS) {
270 ALOGE("Failed HID channel connection, status: %d", status);
290 bt_status_t status = sBluetoothHidInterface->disconnect((RawAddress*)addr); local
291 if (status !
313 bt_status_t status = sBluetoothHidInterface->get_protocol( local
335 bt_status_t status = local
371 bt_status_t status = local
398 bt_status_t status = sBluetoothHidInterface->get_report( local
424 bt_status_t status = sBluetoothHidInterface->set_report( local
450 bt_status_t status = local
472 bt_status_t status = sBluetoothHidInterface->get_idle_time((RawAddress*)addr); local
491 bt_status_t status = local
[all...]
H A Dcom_android_bluetooth_sdp.cpp62 static void sdp_search_callback(bt_status_t status, RawAddress* bd_addr,
149 static void sdp_search_callback(bt_status_t status, RawAddress* bd_addr, argument
168 ALOGD("%s: Status is: %d, Record count: %d", __func__, status, count);
184 sCallbacksObj, method_sdpMasRecordFoundCallback, (jint)status,
195 sCallbacksObj, method_sdpMnsRecordFoundCallback, (jint)status,
204 sCallbacksObj, method_sdpPseRecordFoundCallback, (jint)status,
222 sCallbacksObj, method_sdpOppOpsRecordFoundCallback, (jint)status,
230 sCallbacksObj, method_sdpSapsRecordFoundCallback, (jint)status,
244 (jint)status, addr.get(), uuid.get(),
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DBondStateMachine.java353 void bondStateChangeCallback(int status, byte[] address, int newState) { argument
363 infoLog("bondStateChangeCallback: Status: " + status + " Address: " + device
375 msg.arg2 = status;
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DPeriodicScanManager.java116 int phy, int interval, int status) throws Exception {
119 + ", status=" + status);
131 if (status == 0) {
140 // callback.onSyncStarted(sync_handle, tx_power, status);
115 onSyncStarted(int reg_id, int sync_handle, int sid, int address_type, String address, int phy, int interval, int status) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DBmessage.java87 public Bmessage setStatus(Status status) { argument
88 mBmsgStatus = status;
151 json.put("status", mBmsgStatus);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java64 static final String status = "(" + BluetoothShare.STATUS + " == '192'" + ")"; field in class:BluetoothOppNotification
79 static final String WHERE_RUNNING = status + " AND " + visible + " AND " + confirm;
392 int status = cursor.getInt(statusIndex);
394 if (BluetoothShare.isStatusError(status)) {
452 int status = cursor.getInt(statusIndex);
454 if (BluetoothShare.isStatusError(status)) {
H A DBluetoothShare.java171 * The name of the column containing the current status of the transfer.
181 public static final String STATUS = "status";
272 * Returns whether the status is informational (i.e. 1xx).
274 public static boolean isStatusInformational(int status) { argument
275 return (status >= 100 && status < 200);
282 public static boolean isStatusSuspended(int status) { argument
283 return (status == STATUS_PENDING);
287 * Returns whether the status is a success (i.e. 2xx).
289 public static boolean isStatusSuccess(int status) { argument
296 isStatusError(int status) argument
303 isStatusClientError(int status) argument
310 isStatusServerError(int status) argument
318 isStatusCompleted(int status) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapRilReceiver.java157 public void statusIndication(int token, int status) { argument
158 Log.d(TAG, "statusIndication: token " + token + " status " + status);
161 sapMessage.setStatusChange(status);

Completed in 1255 milliseconds

12345678