Searched refs:status (Results 26 - 50 of 250) sorted by relevance

12345678910

/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DMoveItemsParser.java33 // These are the EAS status codes for MoveItems
42 // These are the status values we return to callers
53 LogUtils.e(TAG, "Trying to get status for MoveItems, but no status was set");
72 int status = getValueInt();
73 // Convert the EAS status code with our external codes
74 switch(status) {
95 if (status != STATUS_SUCCESS) {
97 LogUtils.w(TAG, "Error in MoveItems: %d", status);
H A DAbstractSyncParser.java133 int status;
151 status = getValueInt();
152 if (status != 1) {
153 if (status == 3 || CommandStatus.isBadSyncKey(status)) {
160 } else if (status == 16 || status == 5) {
165 } else if (status == 8 || status == 12) {
179 } else if (status
[all...]
H A DSettingsParser.java47 int status = getValueInt();
48 LogUtils.d(TAG, "Settings status = %d", status);
49 if (status == 1) {
77 LogUtils.d(TAG, "Set status = %d", getValueInt());
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hid.cpp152 jint status = hh_status;
162 sCallbackEnv->CallVoidMethod(mCallbacksObj, method_onVirtualUnplug, addr, status);
201 // bt_status_t status;
223 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) {
224 ALOGE("Failed to initialize Bluetooth HID, status: %d", status);
235 bt_status_t status; local
261 if ( (status = sBluetoothHidInterface->init(&sBluetoothHidCallbacks)) != BT_STATUS_SUCCESS) {
262 ALOGE("Failed to initialize Bluetooth HID, status: %d", status);
274 bt_status_t status; local
297 bt_status_t status; local
319 bt_status_t status; local
341 bt_status_t status; local
364 bt_status_t status; local
386 bt_status_t status; local
424 bt_status_t status; local
451 bt_status_t status; local
477 bt_status_t status; local
[all...]
H A Dcom_android_bluetooth_pan.cpp98 bt_status_t status; local
139 bt_status_t status; local
140 if ( (status = sPanIf->init(&sBluetoothPanCallbacks)) != BT_STATUS_SUCCESS) {
141 error("Failed to initialize Bluetooth PAN, status: %d", status);
153 bt_status_t status; local
171 bt_status_t status = BT_STATUS_FAIL; local
175 status = sPanIf->enable(local_role);
177 return status == BT_STATUS_SUCCESS ? JNI_TRUE : JNI_FALSE;
194 bt_status_t status; local
216 bt_status_t status; local
[all...]
H A Dcom_android_bluetooth_a2dp_sink.cpp129 bt_status_t status; local
145 bt_status_t status; local
170 if ( (status = sBluetoothA2dpInterface->init(&sBluetoothA2dpCallbacks)) != BT_STATUS_SUCCESS) {
171 ALOGE("Failed to initialize Bluetooth A2DP Sink, status: %d", status);
181 bt_status_t status; local
202 bt_status_t status; local
214 if ((status = sBluetoothA2dpInterface->connect((bt_bdaddr_t *)addr)) != BT_STATUS_SUCCESS) {
215 ALOGE("Failed HF connection, status: %d", status);
223 bt_status_t status; local
[all...]
H A Dcom_android_bluetooth_btservice_AdapterService.cpp84 static void adapter_state_change_callback(bt_state_t status) { argument
89 ALOGV("%s: Status is: %d", __FUNCTION__, status);
91 callbackEnv->CallVoidMethod(sJniCallbacksObj, method_stateChangeCallback, (jint)status);
117 static void adapter_properties_callback(bt_status_t status, int num_properties, argument
129 ALOGV("%s: Status is: %d, Properties: %d", __FUNCTION__, status, num_properties);
131 if (status != BT_STATUS_SUCCESS) {
132 ALOGE("%s: Status %d is incorrect", __FUNCTION__, status);
179 static void remote_device_properties_callback(bt_status_t status, bt_bdaddr_t *bd_addr, argument
186 ALOGV("%s: Status is: %d, Properties: %d", __FUNCTION__, status, num_properties);
188 if (status !
287 bond_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr, bt_bond_state_t state) argument
312 acl_state_changed_callback(bt_status_t status, bt_bdaddr_t *bd_addr, bt_acl_state_t state) argument
445 le_test_mode_recv_callback(bt_status_t status, uint16_t packet_count) argument
497 jint status = vm->GetEnv((void **)&env, JNI_VERSION_1_6); local
530 jint status = vm->GetEnv((void **)&env, JNI_VERSION_1_6); local
559 jint status = vm->GetEnv((void **)&env, JNI_VERSION_1_6); local
1008 bt_status_t status; local
1054 bt_status_t status; local
1179 int status; local
[all...]
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallVideoCallCallback.java70 * @param status Status of the session modify request. Valid values are
78 public void onSessionModifyResponseReceived(int status, VideoProfile requestedProfile, argument
80 Log.d(this, "onSessionModifyResponseReceived status=" + status + " requestedProfile="
82 if (status != VideoProvider.SESSION_MODIFY_REQUEST_SUCCESS) {
84 if (status == VideoProvider.SESSION_MODIFY_REQUEST_TIMED_OUT) {
88 if (status == VideoProvider.SESSION_MODIFY_REQUEST_REJECTED_BY_REMOTE) {
96 InCallVideoCallCallbackNotifier.getInstance().upgradeToVideoFail(status, mCall);
104 InCallVideoCallCallbackNotifier.getInstance().upgradeToVideoFail(status, mCall);
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DDownloadMmsAction.java120 final int status = message.getStatus();
132 actionParameters.putBoolean(KEY_AUTO_DOWNLOAD, isAutoDownload(status));
139 final int downloadingStatus = getDownloadingStatus(status);
140 // Update message status to indicate downloading.
143 // Pre-compute the next status when failed so we don't have to load from db again
158 // Retries depleted and we failed. Update the message status so we won't retry again
162 if (status == MessageData.BUGLE_STATUS_INCOMING_RETRYING_AUTO_DOWNLOAD) {
176 * Find out the auto download state of this message based on its starting status
178 * @param status The starting status o
181 isAutoDownload(final int status) argument
199 getDownloadingStatus(final int status) argument
217 getFailureStatus(final int status) argument
301 updateMessageStatus(final Uri messageUri, final String messageId, final String conversationId, final int status, final int rawStatus) argument
[all...]
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...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DStorageWizardMigrateProgress.java58 // Register for updates and push through current status
65 public void onStatusChanged(int moveId, int status, long estMillis) {
69 if (PackageManager.isMoveStatusFinished(status)) {
70 Log.d(TAG, "Finished with status " + status);
71 if (status == PackageManager.MOVE_SUCCEEDED) {
90 setCurrentProgress(status);
H A DStorageWizardMoveProgress.java55 // Register for updates and push through current status
68 public void onStatusChanged(int moveId, int status, long estMillis) {
71 if (PackageManager.isMoveStatusFinished(status)) {
72 Log.d(TAG, "Finished with status " + status);
73 if (status != PackageManager.MOVE_SUCCEEDED) {
74 Toast.makeText(StorageWizardMoveProgress.this, moveStatusToMessage(status),
80 setCurrentProgress(status);
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
H A DWifiP2pPeer.java71 // devices go in the order of the status
72 if (device.status != other.device.status) {
73 return device.status < other.device.status ? -1 : 1;
98 setSummary(statusArray[device.status]);
/packages/services/Telephony/src/com/android/phone/settings/
H A DCallForwardInfoUtil.java32 * @see CallForwardInfo#status
65 if (newInfo.status == CALL_FORWARD_INFO_INACTIVE_STATUS
66 && oldInfo.status == CALL_FORWARD_INFO_INACTIVE_STATUS) {
78 int commandInterfaceCfAction = info.status == CALL_FORWARD_INFO_ACTIVE_STATUS
106 info.status = CALL_FORWARD_INFO_INACTIVE_STATUS;
113 info.status = CALL_FORWARD_INFO_INACTIVE_STATUS;
/packages/apps/Nfc/nci/jni/
H A DNativeNfcTag.cpp164 ** Description: Receive the completion status of read operation. Called by
166 ** status: Status of operation.
171 void nativeNfcTag_doReadCompleted (tNFA_STATUS status) argument
173 ALOGD ("%s: status=0x%X; is reading=%u", __FUNCTION__, status, sIsReadingNdefMessage);
178 if (status != NFA_STATUS_OK)
210 ALOGD ("%s: NFA_NDEF_REGISTER_EVT; status=0x%X; h=0x%X", __FUNCTION__, ndef_reg.status, ndef_reg.ndef_type_handle);
245 tNFA_STATUS status = NFA_STATUS_FAILED; local
260 status
348 tNFA_STATUS status = 0; local
457 nativeNfcTag_doDeactivateStatus(int status) argument
548 tNFA_STATUS status; local
773 nativeNfcTag_doTransceiveStatus(tNFA_STATUS status, uint8_t* buf, uint32_t bufLen) argument
862 tNFA_STATUS status = NFA_SendRawFrame (buf, bufLen, local
994 nativeNfcTag_doCheckNdefResult(tNFA_STATUS status, uint32_t maxSize, uint32_t currentSize, uint8_t flags) argument
1071 tNFA_STATUS status = NFA_STATUS_FAILED; local
1195 nativeNfcTag_doPresenceCheckResult(tNFA_STATUS status) argument
1217 tNFA_STATUS status = NFA_STATUS_OK; local
1360 tNFA_STATUS status = NFA_STATUS_OK; local
1398 nativeNfcTag_doMakeReadonlyResult(tNFA_STATUS status) argument
1425 tNFA_STATUS status; local
[all...]
H A DNativeNfcManager.cpp51 extern void nativeNfcTag_doTransceiveStatus (tNFA_STATUS status, uint8_t * buf, uint32_t buflen);
54 extern void nativeNfcTag_doDeactivateStatus (int status);
56 extern void nativeNfcTag_doCheckNdefResult (tNFA_STATUS status, uint32_t max_size, uint32_t current_size, uint8_t flags);
57 extern void nativeNfcTag_doMakeReadonlyResult (tNFA_STATUS status);
58 extern void nativeNfcTag_doPresenceCheckResult (tNFA_STATUS status);
61 extern void nativeNfcTag_doReadCompleted (tNFA_STATUS status);
220 tNFA_STATUS status = NFA_STATUS_FAILED; local
227 ALOGD("%s: NFA_POLL_ENABLED_EVT: status = %u", __FUNCTION__, eventData->status);
236 ALOGD("%s: NFA_POLL_DISABLED_EVT: status
751 tNFA_STATUS status = NFA_SendRawFrame (buf, bufLen, 0); local
1038 tNFA_STATUS status = NFA_STATUS_OK; local
1711 tNFA_STATUS status = NFA_STATUS_FAILED; local
[all...]
/packages/apps/Exchange/tests/src/com/android/exchange/eas/
H A DEasProvisionTests.java47 final String status = "Test_Status";
64 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
77 final String status = "Test_Status";
95 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
108 final String status = "Test_Status";
123 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
136 final String status = "Test_Status";
148 expectedResult.data(Tags.PROVISION_STATUS, status);
155 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc.h121 #define GET_LEVEL(status) ((status)==NFCSTATUS_SUCCESS)?ANDROID_LOG_DEBUG:ANDROID_LOG_WARN
124 #define LOG_CALLBACK(funcName, status) LOG_PRI(GET_LEVEL(status), LOG_TAG, "Callback: %s() - status=0x%04x[%s]", funcName, status, nfc_jni_get_status_name(status));
168 NFCSTATUS status; member in struct:nfc_jni_native_data
199 /* Used to store the status sent by the callback */
200 NFCSTATUS status; member in struct:nfc_jni_callback_data
[all...]
H A Dcom_android_nfc_NativeLlcpServiceSocket.cpp32 NFCSTATUS status)
35 LOG_CALLBACK("nfc_jni_llcp_accept_socket_callback", status);
37 /* Report the callback status and wake up the caller */
38 pCallbackData->status = status;
103 while(cb_data.status != NFCSTATUS_SUCCESS)
138 if(cb_data.status != NFCSTATUS_SUCCESS)
141 ALOGD("Failed to accept incoming socket 0x%04x[%s]", cb_data.status, nfc_jni_get_status_name(cb_data.status));
31 nfc_jni_llcp_accept_socket_callback(void* pContext, NFCSTATUS status) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java526 int status, int offset, byte[] value) {
529 service.sendResponse(serverIf, address, requestId, status, offset, value);
665 void onClientRegistered(int status, int clientIf, long uuidLsb, long uuidMsb) argument
671 if (status == 0) {
677 app.callback.onClientRegistered(status, clientIf);
681 void onConnected(int clientIf, int connId, int status, String address) argument
686 if (status == 0) mClientMap.addConnection(clientIf, connId, address);
689 app.callback.onClientConnectionState(status, clientIf,
690 (status==BluetoothGatt.GATT_SUCCESS), address);
694 void onDisconnected(int clientIf, int connId, int status, Strin argument
525 sendResponse(int serverIf, String address, int requestId, int status, int offset, byte[] value) argument
707 onSearchCompleted(int connId, int status) argument
730 onGetCharacteristic(int connId, int status, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int charInstId, long charUuidLsb, long charUuidMsb, int charProp) argument
766 onGetDescriptor(int connId, int status, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int charInstId, long charUuidLsb, long charUuidMsb, int descrInstId, long descrUuidLsb, long descrUuidMsb) argument
799 onGetIncludedService(int connId, int status, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int inclSrvcType, int inclSrvcInstId, long inclSrvcUuidLsb, long inclSrvcUuidMsb) argument
829 onRegisterForNotifications(int connId, int status, int registered, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int charInstId, long charUuidLsb, long charUuidMsb) argument
866 onReadCharacteristic(int connId, int status, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int charInstId, long charUuidLsb, long charUuidMsb, int charType, byte[] data) argument
886 onWriteCharacteristic(int connId, int status, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int charInstId, long charUuidLsb, long charUuidMsb) argument
915 onExecuteCompleted(int connId, int status) argument
926 onReadDescriptor(int connId, int status, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int charInstId, long charUuidLsb, long charUuidMsb, int descrInstId, long descrUuidLsb, long descrUuidMsb, int charType, byte[] data) argument
949 onWriteDescriptor(int connId, int status, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int charInstId, long charUuidLsb, long charUuidMsb, int descrInstId, long descrUuidLsb, long descrUuidMsb) argument
971 onReadRemoteRssi(int clientIf, String address, int rssi, int status) argument
982 onScanFilterEnableDisabled(int action, int status, int clientIf) argument
990 onScanFilterParamsConfigured(int action, int status, int clientIf, int availableSpace) argument
999 onScanFilterConfig(int action, int status, int clientIf, int filterType, int availableSpace) argument
1010 onBatchScanStorageConfigured(int status, int clientIf) argument
1018 onBatchScanStartStopped(int startStopAction, int status, int clientIf) argument
1026 onBatchScanReports(int status, int clientIf, int reportType, int numRecords, byte[] recordData) argument
1214 onScanParamSetupCompleted(int status, int clientIf) argument
1224 onMultipleAdvertiseCallback(int clientIf, int status, boolean isStart, AdvertiseSettings settings) argument
1244 onConfigureMTU(int connId, int status, int mtu) argument
1257 onAdvertiseCallback(int status, int clientIf) argument
1269 onAdvertiseInstanceEnabled(int status, int clientIf) argument
1276 onAdvertiseDataUpdated(int status, int client_if) argument
1282 onAdvertiseDataSet(int status, int clientIf) argument
1289 onAdvertiseInstanceDisabled(int status, int clientIf) argument
1697 onServerRegistered(int status, int serverIf, long uuidLsb, long uuidMsb) argument
1710 onServiceAdded(int status, int serverIf, int srvcType, int srvcInstId, long srvcUuidLsb, long srvcUuidMsb, int srvcHandle) argument
1724 onIncludedServiceAdded(int status, int serverIf, int srvcHandle, int includedSrvcHandle) argument
1731 onCharacteristicAdded(int status, int serverIf, long charUuidLsb, long charUuidMsb, int srvcHandle, int charHandle) argument
1743 onDescriptorAdded(int status, int serverIf, long descrUuidLsb, long descrUuidMsb, int srvcHandle, int descrHandle) argument
1755 onServiceStarted(int status, int serverIf, int srvcHandle) argument
1763 onServiceStopped(int status, int serverIf, int srvcHandle) argument
1772 onServiceDeleted(int status, int serverIf, int srvcHandle) argument
1900 onResponseSendCompleted(int status, int attrHandle) argument
1904 onNotificationSent(int connId, int status) argument
2054 sendResponse(int serverIf, String address, int requestId, int status, int offset, byte[] value) argument
2139 continueSearch(int connId, int status) argument
2161 continueServiceDeclaration(int serverIf, int status, int srvcHandle) argument
2240 stopNextService(int serverIf, int status) argument
2472 gattServerSendResponseNative(int server_if, int conn_id, int trans_id, int status, int handle, int offset, byte[] val, int auth_req) argument
[all...]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DNotifyRespInd.java29 * @param status the status value
36 int status) throws InvalidHeaderValueException {
41 setStatus(status);
34 NotifyRespInd(int mmsVersion, byte[] transactionId, int status) argument
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
H A DNotifyRespInd.java31 * @param status the status value
38 int status) throws InvalidHeaderValueException {
43 setStatus(status);
36 NotifyRespInd(int mmsVersion, byte[] transactionId, int status) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java126 public SdpSearchInstance(int status, BluetoothDevice device, ParcelUuid uuid){ argument
129 this.mStatus = status;
142 public void setStatus(int status) { argument
143 this.mStatus = status;
249 void sdpMasRecordFoundCallback(int status, byte[] address, byte[] uuid, argument
266 inst.setStatus(status);
267 if(status == AbstractionLayer.BT_STATUS_SUCCESS) {
282 void sdpMnsRecordFoundCallback(int status, byte[] address, byte[] uuid, argument
297 inst.setStatus(status);
298 if(status
311 sdpPseRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, int supportedFeatures, int supportedRepositories, String serviceName, boolean moreResults) argument
341 sdpOppOpsRecordFoundCallback(int status, byte[] address, byte[] uuid, int l2capPsm, int rfcommCannelNumber, int profileVersion, String serviceName, byte[] formatsList, boolean moreResults) argument
371 sdpSapsRecordFoundCallback(int status, byte[] address, byte[] uuid, int rfcommCannelNumber, int profileVersion, String serviceName, boolean moreResults) argument
397 sdpRecordFoundCallback(int status, byte[] address, byte[] uuid, int size_record, byte[] record) argument
[all...]
/packages/services/Telephony/src/com/android/services/telephony/activation/
H A DSimActivationManager.java34 * @param status See {@link android.telephony.TelephonyManager} for SIM_ACTIVATION_RESULT_*
37 void onResponse(int status); argument
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasMoveItems.java39 public MoveResponse(final String srcMsgId, final String dstMsgId, final int status) { argument
42 moveStatus = status;
73 final int status;
77 status = mResponse.moveStatus;
82 status = MoveItemsParser.STATUS_CODE_RETRY;
85 // performOperation returned a negative status code, indicating a failure before the
87 status = MoveItemsParser.STATUS_CODE_RETRY;
90 if (status <= 0) {
91 LogUtils.e(LOG_TAG, "MoveItems gave us an invalid status %d", status);
[all...]

Completed in 341 milliseconds

12345678910