Searched refs:status (Results 1 - 25 of 352) sorted by relevance

1234567891011>>

/frameworks/rs/
H A DrsMutex.cpp31 int status = pthread_mutex_init(&mMutex, NULL); local
32 if (status) {
40 int status; local
41 status = pthread_mutex_lock(&mMutex);
42 if (status) {
43 ALOGE("Mutex: error %i locking.", status);
50 int status; local
51 status = pthread_mutex_unlock(&mMutex);
52 if (status) {
53 ALOGE("Mutex error %i unlocking.", status);
[all...]
H A DrsSignal.cpp33 int status = pthread_mutex_init(&mMutex, NULL); local
34 if (status) {
39 status = pthread_cond_init(&mCondition, NULL);
40 if (status) {
50 int status; local
52 status = pthread_mutex_lock(&mMutex);
53 if (status) {
54 ALOGE("LocklessCommandFifo: error %i locking for set condition.", status);
60 status = pthread_cond_signal(&mCondition);
61 if (status) {
72 int status; local
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsMutex.cpp31 int status = pthread_mutex_init(&mMutex, NULL); local
32 if (status) {
40 int status; local
41 status = pthread_mutex_lock(&mMutex);
42 if (status) {
43 ALOGE("Mutex: error %i locking.", status);
50 int status; local
51 status = pthread_mutex_unlock(&mMutex);
52 if (status) {
53 ALOGE("Mutex error %i unlocking.", status);
[all...]
H A DrsSignal.cpp33 int status = pthread_mutex_init(&mMutex, NULL); local
34 if (status) {
39 status = pthread_cond_init(&mCondition, NULL);
40 if (status) {
50 int status; local
52 status = pthread_mutex_lock(&mMutex);
53 if (status) {
54 ALOGE("LocklessCommandFifo: error %i locking for set condition.", status);
60 status = pthread_cond_signal(&mCondition);
61 if (status) {
72 int status; local
[all...]
/frameworks/av/media/common_time/
H A DICommonTimeConfig.cpp59 status_t status = remote()->transact(GET_MASTER_ELECTION_PRIORITY, local
62 if (status == OK) {
63 status = reply.readInt32();
64 if (status == OK) {
69 return status;
76 status_t status = remote()->transact(SET_MASTER_ELECTION_PRIORITY, local
79 if (status == OK) {
80 status = reply.readInt32();
83 return status;
89 status_t status local
114 status_t status = remote()->transact(SET_MASTER_ELECTION_ENDPOINT, local
127 status_t status = remote()->transact(GET_MASTER_ELECTION_GROUP_ID, local
145 status_t status = remote()->transact(SET_MASTER_ELECTION_GROUP_ID, local
159 status_t status = remote()->transact(GET_INTERFACE_BINDING, local
176 status_t status = remote()->transact(SET_INTERFACE_BINDING, local
189 status_t status = remote()->transact(GET_MASTER_ANNOUNCE_INTERVAL, local
206 status_t status = remote()->transact(SET_MASTER_ANNOUNCE_INTERVAL, local
219 status_t status = remote()->transact(GET_CLIENT_SYNC_INTERVAL, local
236 status_t status = remote()->transact(SET_CLIENT_SYNC_INTERVAL, local
249 status_t status = remote()->transact(GET_PANIC_THRESHOLD, local
266 status_t status = remote()->transact(SET_PANIC_THRESHOLD, local
279 status_t status = remote()->transact(GET_AUTO_DISABLE, local
296 status_t status = remote()->transact(SET_AUTO_DISABLE, local
310 status_t status = remote()->transact(FORCE_NETWORKLESS_MASTER_MODE, local
332 status_t status = getMasterElectionPriority(&priority); local
343 status_t status = setMasterElectionPriority(priority); local
351 status_t status = getMasterElectionEndpoint(&addr); local
371 status_t status; local
386 status_t status = getMasterElectionGroupId(&id); local
397 status_t status = setMasterElectionGroupId(id); local
405 status_t status = getInterfaceBinding(ret); local
417 status_t status = setInterfaceBinding(ifaceName); local
425 status_t status = getMasterAnnounceInterval(&interval); local
436 status_t status = setMasterAnnounceInterval(interval); local
444 status_t status = getClientSyncInterval(&interval); local
455 status_t status = setClientSyncInterval(interval); local
463 status_t status = getPanicThreshold(&threshold); local
474 status_t status = setPanicThreshold(threshold); local
482 status_t status = getAutoDisable(&autoDisable); local
493 status_t status = setAutoDisable(autoDisable); local
500 status_t status = forceNetworklessMasterMode(); local
[all...]
H A DICommonClock.cpp57 status_t status = remote()->transact(IS_COMMON_TIME_VALID, local
60 if (status == OK) {
61 status = reply.readInt32();
62 if (status == OK) {
67 return status;
75 status_t status = remote()->transact(COMMON_TIME_TO_LOCAL_TIME, local
77 if (status == OK) {
78 status = reply.readInt32();
79 if (status == OK) {
83 return status;
91 status_t status = remote()->transact(LOCAL_TIME_TO_COMMON_TIME, local
105 status_t status = remote()->transact(GET_COMMON_TIME, data, &reply); local
118 status_t status = remote()->transact(GET_COMMON_FREQ, data, &reply); local
131 status_t status = remote()->transact(GET_LOCAL_TIME, data, &reply); local
144 status_t status = remote()->transact(GET_LOCAL_FREQ, data, &reply); local
157 status_t status = remote()->transact(GET_ESTIMATED_ERROR, data, &reply); local
170 status_t status = remote()->transact(GET_TIMELINE_ID, data, &reply); local
183 status_t status = remote()->transact(GET_STATE, data, &reply); local
196 status_t status = remote()->transact(GET_MASTER_ADDRESS, data, &reply); local
211 status_t status = remote()->transact(REGISTER_LISTENER, data, &reply); local
225 status_t status = remote()->transact(UNREGISTER_LISTENER, data, &reply); local
246 status_t status = isCommonTimeValid(&valid, &timelineID); local
259 status_t status = commonTimeToLocalTime(commonTime, &localTime); local
271 status_t status = localTimeToCommonTime(localTime, &commonTime); local
282 status_t status = getCommonTime(&commonTime); local
293 status_t status = getCommonFreq(&freq); local
304 status_t status = getLocalTime(&localTime); local
315 status_t status = getLocalFreq(&freq); local
326 status_t status = getEstimatedError(&error); local
337 status_t status = getTimelineID(&id); local
348 status_t status = getState(&state); local
359 status_t status = getMasterAddr(&addr); local
378 status_t status = registerListener(listener); local
387 status_t status = unregisterListener(listener); local
[all...]
/frameworks/testing/uiautomator/samples/SkeletonTest/src/com/android/uiautomator/samples/skeleton/
H A DDemoTestCase.java29 Bundle status = new Bundle();
30 status.putString("msg", "This is a demo test and I just pressed HOME");
31 status.putString("product", getUiDevice().getProductName());
33 status.putInt("dp-width", p.x);
34 status.putInt("dp-height", p.y);
35 getAutomationSupport().sendStatus(Activity.RESULT_OK, status);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvop.cpp42 PV_STATUS status; local
81 status = RC_VopQPSetting(video, rc);
82 if (status == PV_FAIL)
98 return status;
101 status = EncodeVop_NoME(video);
110 return status;
130 PV_STATUS status = PV_SUCCESS; local
135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */
139 status = EncodeFrameCombinedMode(video);
147 status
199 PV_STATUS status = PV_SUCCESS; local
278 PV_STATUS status; local
311 PV_STATUS status; local
355 PV_STATUS status; local
415 PV_STATUS status; local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp35 AVCEnc_Status status; local
46 status = ue_v(bitstream, codeNum);
48 return status;
53 AVCEnc_Status status; local
61 status = BitstreamWrite1Bit(bitstream, 1 - value);
62 return status;
72 AVCEnc_Status status; local
78 status = BitstreamWrite1Bit(bitstream, 1);
79 return status;
91 status
108 AVCEnc_Status status; local
150 AVCEnc_Status status = AVCENC_SUCCESS; local
204 AVCEnc_Status status = AVCENC_SUCCESS; local
255 AVCEnc_Status status; local
283 AVCEnc_Status status; local
319 AVCEnc_Status status; local
[all...]
H A Dheader.cpp31 AVCEnc_Status status = AVCENC_SUCCESS; local
35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc);
36 status = BitstreamWrite1Bit(stream, seqParam->constrained_set0_flag);
37 status = BitstreamWrite1Bit(stream, seqParam->constrained_set1_flag);
38 status = BitstreamWrite1Bit(stream, seqParam->constrained_set2_flag);
39 status = BitstreamWrite1Bit(stream, seqParam->constrained_set3_flag);
40 status = BitstreamWriteBits(stream, 4, 0); /* forbidden zero bits */
41 if (status != AVCENC_SUCCESS) /* we can check after each write also */
43 return status;
46 status
230 AVCEnc_Status status = AVCENC_SUCCESS; local
322 AVCEnc_Status status = AVCENC_SUCCESS; local
510 AVCEnc_Status status = AVCENC_SUCCESS; local
590 AVCEnc_Status status = AVCENC_SUCCESS; local
[all...]
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp82 status_t status = KeyLayoutMap::load(String8(filename), &map); local
83 if (status) {
84 fprintf(stderr, "Error %d parsing key layout file.\n\n", status);
92 status_t status = KeyCharacterMap::load(String8(filename), local
94 if (status) {
95 fprintf(stderr, "Error %d parsing key character map file.\n\n", status);
103 status_t status = PropertyMap::load(String8(filename), &map); local
104 if (status) {
105 fprintf(stderr, "Error %d parsing input device configuration file.\n\n", status);
114 status_t status local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddec_pred_intra_dc.cpp32 PV_STATUS status = PV_SUCCESS; local
41 status = PV_VlcDecIntraDCPredSize(stream, compnum, &DC_size);
43 if (status == PV_SUCCESS)
73 return status;
H A Dvop.cpp82 PV_STATUS status; local
101 status = BitstreamShowBits32HC(stream, &startCode);
138 status = BitstreamShowBits32HC(stream, &tmpvar);
142 status = DecodeUserData(stream);
143 if (status != PV_SUCCESS) return PV_FAIL;
152 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
153 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */
204 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
205 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */
214 status
804 PV_STATUS status = PV_SUCCESS; local
1014 PV_STATUS status = PV_SUCCESS; local
1526 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/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
H A DIAutomationSupport.java28 * Allows the running test cases to send out interim status
30 * @param bundle status report, consisting of key value pairs
33 public void sendStatus(int resultCode, Bundle status); argument
/frameworks/base/core/java/android/provider/
H A DDownloads.java208 * The name of the column containing the current status of the download.
214 public static final String COLUMN_STATUS = "status";
218 * status changed in the download. Stored as a System.currentTimeMillis()
506 * Returns whether the status is informational (i.e. 1xx).
508 public static boolean isStatusInformational(int status) { argument
509 return (status >= 100 && status < 200);
513 * Returns whether the status is a success (i.e. 2xx).
515 public static boolean isStatusSuccess(int status) { argument
516 return (status >
522 isStatusError(int status) argument
529 isStatusClientError(int status) argument
536 isStatusServerError(int status) argument
555 isStatusCompleted(int status) argument
719 statusToString(int status) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c240 * @return A status code.
243 FwdLockConv_Status_t status; local
250 status = FwdLockConv_Status_OutOfMemory;
254 status = FwdLockConv_Status_ProgramError;
261 status = FwdLockConv_Status_ProgramError;
268 status = FwdLockConv_Status_OK;
274 return status;
309 * @return A status code.
328 * @return A status code.
332 FwdLockConv_Status_t status local
469 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local
526 FwdLockConv_Status_t status; local
548 FwdLockConv_Status_t status; local
595 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local
867 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local
935 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local
1076 FwdLockConv_Status_t status; local
1109 FwdLockConv_Status_t status; local
1169 FwdLockConv_Status_t status; local
1199 FwdLockConv_Status_t status; local
1253 FwdLockConv_Status_t status; local
[all...]
/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
35 return super.toString() + (status == 0 ? " not active " : " active ")
/frameworks/av/media/libmedia/
H A DVisualizer.cpp72 status_t status = AudioEffect::setEnabled(enabled); local
74 if (status == NO_ERROR) {
88 return status;
144 status_t status = setParameter(p); local
146 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status);
148 if (status == NO_ERROR) {
149 status
173 status_t status = setParameter(p); local
196 status_t status = NO_ERROR; local
220 status_t status = NO_ERROR; local
270 status_t status = getWaveForm(waveform); local
305 status_t status = getParameter(p); local
[all...]
H A DIAudioTrack.cpp57 status_t status = remote()->transact(GET_CBLK, data, &reply); local
58 if (status == NO_ERROR) {
68 status_t status = remote()->transact(START, data, &reply); local
69 if (status == NO_ERROR) {
70 status = reply.readInt32();
72 ALOGW("start() error: %s", strerror(-status));
74 return status;
111 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); local
112 if (status == NO_ERROR) {
113 status
124 status_t status = remote()->transact(ALLOCATE_TIMED_BUFFER, local
141 status_t status = remote()->transact(QUEUE_TIMED_BUFFER, local
158 status_t status = remote()->transact(SET_MEDIA_TIME_TRANSFORM, local
213 status_t status = allocateTimedBuffer(data.readInt32(), &buffer); local
[all...]
/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 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
/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/base/core/jni/
H A Dandroid_view_InputEventReceiver.cpp111 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); local
112 if (status) {
113 ALOGW("Failed to send finished signal on channel '%s'. status=%d",
114 getInputChannelName(), status);
116 return status;
133 status_t status = consumeEvents(env, false /*consumeBatches*/, -1); local
135 return status == OK || status == NO_MEMORY ? 1 : 0;
153 status_t status = mInputConsumer.consume(&mInputEventFactory, local
155 if (status) {
244 status_t status = receiver->initialize(); local
267 status_t status = receiver->finishInputEvent(seq, handled); local
279 status_t status = receiver->consumeEvents(env, true /*consumeBatches*/, frameTimeNanos); local
[all...]

Completed in 730 milliseconds

1234567891011>>