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

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_media_AudioErrors.h23 // status codes used by JAVA APIs. Translation from native error codes is done by
37 static inline jint nativeToJavaStatus(status_t status) { argument
38 switch (status) {
H A Dandroid_view_InputEventReceiver.cpp123 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); local
124 if (status) {
125 if (status == WOULD_BLOCK) {
139 ALOGW("Failed to send finished signal on channel '%s'. status=%d",
140 getInputChannelName(), status);
142 return status;
171 status_t status = consumeEvents(env, false /*consumeBatches*/, -1, NULL); local
173 return status == OK || status == NO_MEMORY ? 1 : 0;
179 status_t status local
236 status_t status = mInputConsumer.consume(&mInputEventFactory, local
350 status_t status = receiver->initialize(); local
373 status_t status = receiver->finishInputEvent(seq, handled); local
386 status_t status = receiver->consumeEvents(env, true /*consumeBatches*/, frameTimeNanos, local
[all...]
/frameworks/base/location/java/android/location/
H A DIGpsMeasurementsListener.aidl26 void onStatusChanged(in int status);
H A DIGpsNavigationMessageListener.aidl26 void onStatusChanged(in int status);
/frameworks/base/wifi/java/android/net/wifi/
H A DWpsResult.java34 public Status status; field in class:WpsResult
39 status = Status.FAILURE;
44 status = s;
50 sbuf.append(" status: ").append(status.toString());
65 status = source.status;
72 dest.writeString(status.name());
81 result.status = Status.valueOf(in.readString());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallForwardInfo.java27 public int status; /*1 = active, 0 = not active */ field in class:CallForwardInfo
36 return super.toString() + (status == 0 ? " not active " : " active ")
/frameworks/native/libs/gui/
H A DStreamSplitter.cpp48 status_t status = splitter->mInput->consumerConnect(splitter, false); local
49 if (status == NO_ERROR) {
53 return status;
84 status_t status = outputQueue->connect(listener, NATIVE_WINDOW_API_CPU, local
86 if (status != NO_ERROR) {
87 ALOGE("addOutput: failed to connect (%d)", status);
88 return status;
127 status_t status = mInput->acquireBuffer(&bufferItem, /* presentWhen */ 0); local
128 LOG_ALWAYS_FATAL_IF(status != NO_ERROR,
129 "acquiring buffer from input failed (%d)", status);
193 status_t status = from->detachNextBuffer(&buffer, &fence); local
[all...]
/frameworks/av/media/libmedia/
H A DIAudioTrack.cpp60 status_t status = remote()->transact(GET_CBLK, data, &reply); local
61 if (status == NO_ERROR) {
74 status_t status = remote()->transact(START, data, &reply); local
75 if (status == NO_ERROR) {
76 status = reply.readInt32();
78 ALOGW("start() error: %s", strerror(-status));
80 return status;
109 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); local
110 if (status == NO_ERROR) {
111 status
122 status_t status = remote()->transact(ALLOCATE_TIMED_BUFFER, local
142 status_t status = remote()->transact(QUEUE_TIMED_BUFFER, local
159 status_t status = remote()->transact(SET_MEDIA_TIME_TRANSFORM, local
171 status_t status = remote()->transact(SET_PARAMETERS, data, &reply); local
181 status_t status = remote()->transact(GET_TIMESTAMP, data, &reply); local
241 status_t status = allocateTimedBuffer(data.readInt64(), &buffer); local
276 status_t status = getTimestamp(timestamp); local
[all...]
H A DCharacterEncodingDetector.cpp35 UErrorCode status = U_ZERO_ERROR; local
36 mUtf8Conv = ucnv_open("UTF-8", &status);
37 if (U_FAILURE(status)) {
85 UErrorCode status = U_ZERO_ERROR; local
86 UCharsetDetector *csd = ucsdet_open(&status);
117 ucsdet_setText(csd, buf, strlen(buf), &status);
119 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status);
148 ucsdet_setText(csd, buf, strlen(buf), &status);
149 ucma = ucsdet_detectAll(csd, &matches, &status);
162 combinedenc = ucsdet_getName(bestCombinedMatch, &status);
289 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A DIAudioRecord.cpp51 status_t status = remote()->transact(START, data, &reply); local
52 if (status == NO_ERROR) {
53 status = reply.readInt32();
55 ALOGW("start() error: %s", strerror(-status));
57 return status;
/frameworks/av/soundtrigger/
H A DISoundTriggerHwService.cpp61 status_t status = remote()->transact(LIST_MODULES, data, &reply); local
62 if (status == NO_ERROR) {
63 status = (status_t)reply.readInt32();
66 ALOGV("listModules() status %d got *numModules %d", status, *numModules);
67 if (status == NO_ERROR) {
75 return status;
87 status_t status = reply.readInt32(); local
91 return status;
99 status_t status local
123 status_t status = listModules(modules, &numModules); local
146 status_t status = attach(handle, client, module); local
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestSetNotificationRegistration.java32 public BluetoothMasRequestSetNotificationRegistration(boolean status) { argument
33 mStatus = status;
39 oap.add(OAP_TAGID_NOTIFICATION_STATUS, status ? NOTIFICATION_ON : NOTIFICATION_OFF);
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DSchedulerService.java29 Notification status = new Notification(R.drawable.stat_happy, null,
31 status.flags |= Notification.FLAG_ONGOING_EVENT;
32 status.setLatestEventInfo(this, "Scheduler Test running",
38 startForeground(1, status);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCallbackWrapper.java34 public void onClientRegistered(int status, int clientIf) throws RemoteException { argument
38 public void onClientConnectionState(int status, int clientIf, boolean connected, String address) argument
74 public void onSearchComplete(String address, int status) throws RemoteException { argument
78 public void onCharacteristicRead(String address, int status, int srvcType, int srvcInstId, argument
84 public void onCharacteristicWrite(String address, int status, int srvcType, int srvcInstId, argument
89 public void onExecuteWrite(String address, int status) throws RemoteException { argument
93 public void onDescriptorRead(String address, int status, int srvcType, int srvcInstId, argument
99 public void onDescriptorWrite(String address, int status, int srvcType, int srvcInstId, argument
110 public void onReadRemoteRssi(String address, int rssi, int status) throws RemoteException { argument
114 public void onMultiAdvertiseCallback(int status, boolea argument
119 onConfigureMTU(String address, int mtu, int status) argument
[all...]
H A DBluetoothHealthCallback.java35 * @param status Success or failure of the registration or unregistration
43 int status) {
44 Log.d(TAG, "onHealthAppConfigurationStatusChange: " + config + "Status: " + status);
42 onHealthAppConfigurationStatusChange(BluetoothHealthAppConfiguration config, int status) argument
H A DIBluetoothGattCallback.aidl27 void onClientRegistered(in int status, in int clientIf);
28 void onClientConnectionState(in int status, in int clientIf,
45 void onSearchComplete(in String address, in int status);
46 void onCharacteristicRead(in String address, in int status, in int srvcType,
50 void onCharacteristicWrite(in String address, in int status, in int srvcType,
53 void onExecuteWrite(in String address, in int status);
54 void onDescriptorRead(in String address, in int status, in int srvcType,
59 void onDescriptorWrite(in String address, in int status, in int srvcType,
67 void onReadRemoteRssi(in String address, in int rssi, in int status);
68 void onMultiAdvertiseCallback(in int status, boolea
[all...]
H A DBluetoothGattServerCallback.java30 * @param status Status of the connect or disconnect operation.
35 public void onConnectionStateChange(BluetoothDevice device, int status, argument
42 * @param status Returns {@link BluetoothGatt#GATT_SUCCESS} if the service
46 public void onServiceAdded(int status, BluetoothGattService service) { argument
144 * @param status {@link BluetoothGatt#GATT_SUCCESS} if the operation was successful
146 public void onNotificationSent(BluetoothDevice device, int status) { argument
/frameworks/base/drm/java/android/drm/
H A DDrmOutputStream.java69 final DrmConvertedStatus status = mClient.closeConvertSession(mSessionId);
70 if (status.statusCode == STATUS_OK) {
72 Os.lseek(mFd, status.offset, SEEK_SET);
76 IoBridge.write(mFd, status.convertedData, 0, status.convertedData.length);
79 throw new IOException("Unexpected DRM status: " + status.statusCode);
104 final DrmConvertedStatus status = mClient.convertData(mSessionId, exactBuffer);
105 if (status.statusCode == STATUS_OK) {
106 IoBridge.write(mFd, status
[all...]
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DIRecognitionStatusCallback.aidl34 * @param status The error code that was seen.
36 void onError(int status);
/frameworks/base/core/tests/coretests/apks/install_jni_lib/
H A Dcom_android_frameworks_coretests_JNITest.cpp42 int status; local
49 if ((status = android::register_com_android_framework_coretests_JNITests(e)) < 0) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp82 PV_STATUS status; local
101 status = BitstreamShowBits32HC(stream, &startCode);
142 status = BitstreamShowBits32HC(stream, &tmpvar);
146 status = DecodeUserData(stream);
147 if (status != PV_SUCCESS) return PV_FAIL;
156 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
157 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */
208 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
209 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */
218 status
808 PV_STATUS status = PV_SUCCESS; local
1018 PV_STATUS status = PV_SUCCESS; local
1530 PV_STATUS status; local
[all...]
H A Dbitstream.cpp177 PV_STATUS status = PV_SUCCESS; local
182 status = BitstreamFillCache(stream);
185 return status;
195 PV_STATUS status = PV_SUCCESS; local
200 status = BitstreamFillCache(stream);
203 return status;
217 PV_STATUS status = PV_SUCCESS; local
223 status = BitstreamFillCache(stream);
227 return status;
240 PV_STATUS status local
259 PV_STATUS status = PV_SUCCESS; local
273 PV_STATUS status; local
288 PV_STATUS status = PV_SUCCESS; local
357 PV_STATUS status = PV_SUCCESS; local
424 PV_STATUS status = PV_SUCCESS; local
443 PV_STATUS status = PV_SUCCESS; local
462 PV_STATUS status = PV_SUCCESS; local
605 PV_STATUS status = PV_SUCCESS; local
634 PV_STATUS status = PV_SUCCESS; local
684 PV_STATUS status = PV_SUCCESS; local
708 PV_STATUS status = PV_SUCCESS; local
787 PV_STATUS status; local
878 PV_STATUS status; local
952 PV_STATUS status; local
[all...]
/frameworks/base/telephony/java/com/android/ims/
H A DImsConferenceState.java45 // user > endpoint > status
46 public static final String STATUS = "status";
49 * status-type (String) :
84 * conference-info : SIP status code (integer)
146 * Translates an {@code ImsConferenceState} status type to a telecom connection state.
148 * @param status The status type.
151 public static int getConnectionStateForStatus(String status) { argument
152 if (status.equals(STATUS_PENDING)) {
154 } else if (status
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java39 public int status = RESULT_UNKNOWN; field in class:AsyncRunner.RunnerResult
67 result.status = RESULT_RUNNING;
68 while (!isCancelled() && result.status == RESULT_RUNNING) {
70 result.status = runner[0].determinePostRunState();
71 if (result.status == GraphRunner.RESULT_SLEEPING) {
73 result.status = RESULT_RUNNING;
80 result.status = RESULT_STOPPED;
84 result.status = RESULT_ERROR;
92 result.status = RESULT_ERROR;
111 result.status
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraDeviceBinderTest.java156 int status = mCameraUser.createDefaultRequest(TEMPLATE_PREVIEW, /* out */metadata);
157 assertEquals(CameraBinderTestUtils.NO_ERROR, status);
230 int status = mCameraUser.createDefaultRequest(TEMPLATE_PREVIEW, /* out */metadata);
231 assertEquals(CameraBinderTestUtils.NO_ERROR, status);
286 int status = mCameraUser.submitRequest(request1, /* streaming */false, null);
288 "since we had 0 surface targets set.", CameraBinderTestUtils.BAD_VALUE, status);
292 status = mCameraUser.submitRequest(request2, /* streaming */false, null);
295 CameraBinderTestUtils.BAD_VALUE, status);
326 int status = mCameraUser.cancelRequest(-1, null);
328 CameraBinderTestUtils.BAD_VALUE, status);
[all...]

Completed in 2795 milliseconds

1234567891011>>