/frameworks/base/core/java/com/android/internal/util/ |
H A D | AsyncChannel.java | 171 /** Successful status always 0, !0 is an unsuccessful status */ 293 int status = connectSync(srcContext, srcHandler, dstHandler); 294 if (status == STATUS_SUCCESSFUL) { 296 status = response.arg1; 298 return status; 305 * msg.arg1 = status 351 * msg.arg1 = status 366 * msg.arg1 = status 425 * msg.arg1 = status 842 replyHalfConnected(int status) argument 879 replyDisconnected(int status) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 999 android::status_t status = p->readBlob(size, &blob); local 1000 if (status) { 1112 android::status_t status; local 1121 status = p->writeDupImmutableBlobFileDescriptor(fd); 1122 if (status) { 1140 status = p->writeBlob(size, mutableCopy, &blob); 1141 if (status) {
|
/frameworks/base/core/jni/ |
H A D | android_database_CursorWindow.cpp | 71 status_t status = CursorWindow::create(name, cursorWindowSize, &window); local 72 if (status || !window) { 74 name.string(), cursorWindowSize, status); 86 status_t status = CursorWindow::createFromParcel(parcel, &window); local 87 if (status || !window) { 88 ALOGE("Could not create CursorWindow from Parcel due to error %d.", status); 115 status_t status = window->writeToParcel(parcel); local 116 if (status) { 118 msg.appendFormat("Could not write CursorWindow to Parcel due to error %d.", status); 126 status_t status local 140 status_t status = window->setNumColumns(columnNum); local 146 status_t status = window->allocRow(); local 404 status_t status = window->putBlob(row, column, value, len); local 426 status_t status = window->putString(row, column, valueStr, sizeIncludingNull); local 441 status_t status = window->putLong(row, column, value); local 455 status_t status = window->putDouble(row, column, value); local 469 status_t status = window->putNull(row, column); local [all...] |
H A D | android_database_SQLiteConnection.cpp | 575 status_t status = window->allocRow(); local 576 if (status) { 578 startPos, addedRows, status); 594 status = window->putString(addedRows, i, text, sizeIncludingNull); 595 if (status) { 597 sizeIncludingNull, startPos + addedRows, i, status); 606 status = window->putLong(addedRows, i, value); 607 if (status) { 609 i, status); 617 status 672 status_t status = window->clear(); local [all...] |
H A D | android_hardware_Camera.cpp | 545 jint status = Camera::connectLegacy(cameraId, halVersion, clientName, local 547 if (status != NO_ERROR) { 548 return status;
|
H A D | android_hardware_Radio.cpp | 399 status_t status = Radio::listModules(nModules, &numModules); local 400 if (status != NO_ERROR || numModules == 0) { 401 return (jint)status; 406 status = Radio::listModules(nModules, &numModules); 407 ALOGV("%s Radio::listModules status %d numModules %d", __FUNCTION__, status, numModules); 409 if (status != NO_ERROR) { 463 return (jint) status; 548 event->type, event->status, jArg2, jObj); 631 status_t status local 649 status_t status = module->getConfiguration(&nConfig); local 671 status_t status = module->setMute((bool)mute); local 684 status_t status = module->getMute(&mute); local 699 status_t status = module->step((radio_direction_t)direction, (bool)skipSubChannel); local 711 status_t status = module->scan((radio_direction_t)direction, (bool)skipSubChannel); local 723 status_t status = module->tune((unsigned int)channel, (unsigned int)subChannel); local 735 status_t status = module->cancel(); local 785 status_t status = module->getConfiguration(&nConfig); local 804 status_t status = module->hasControl(&hasControl); local [all...] |
H A D | android_hardware_SensorManager.cpp | 337 int8_t status; local 345 status = buffer[i].vector.status; 348 status = buffer[i].heart_rate.status; 351 status = SENSOR_STATUS_ACCURACY_HIGH; 359 status,
|
H A D | android_hardware_SoundTrigger.cpp | 273 event->status, event->model, event->capture_available, 280 event->status, event->model, event->capture_available, 286 event->status, event->model, event->capture_available, 323 event->status, event->model, jData); 402 status_t status = SoundTrigger::listModules(nModules, &numModules); local 403 if (status != NO_ERROR || numModules == 0) { 404 return (jint)status; 410 status = SoundTrigger::listModules(nModules, &numModules); 411 ALOGV("listModules SoundTrigger::listModules status %d numModules %d", status, numModule 505 jint status = SOUNDTRIGGER_STATUS_OK; local 673 jint status = SOUNDTRIGGER_STATUS_OK; local 688 jint status = SOUNDTRIGGER_STATUS_OK; local 781 jint status = SOUNDTRIGGER_STATUS_OK; local [all...] |
H A D | android_media_AudioErrors.h | 23 // status codes used by JAVA APIs. Translation from native error codes is done by 38 static inline jint nativeToJavaStatus(status_t status) { argument 39 switch (status) {
|
H A D | android_media_AudioRecord.cpp | 292 const status_t status = lpRecorder->set(paa->source, local 307 if (status != NO_ERROR) { 308 ALOGE("Error creating AudioRecord instance: initialization check failed with status %d.", 309 status); 705 status_t status = lpRecorder->addAudioDeviceCallback(cb); local 706 if (status == NO_ERROR) { 736 jint status = nativeToJavaStatus(lpRecorder->getTimestamp(&ts)); local 738 if (status == AUDIO_JAVA_SUCCESS) { 742 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase)); 743 if (status [all...] |
H A D | android_media_AudioSystem.cpp | 269 static int check_AudioSystem_Command(status_t status) argument 271 switch (status) { 338 int status = check_AudioSystem_Command(AudioSystem::setParameters(c_keyValuePairs8)); local 339 return (jint) status; 440 int status = check_AudioSystem_Command(AudioSystem::setDeviceConnectionState(static_cast <audio_devices_t>(device), local 445 return (jint) status; 1123 status_t status; local 1135 status = TIMED_OUT; 1140 status = AudioSystem::listAudioPorts(AUDIO_PORT_ROLE_NONE, 1145 if (status ! 1194 status_t status; local 1325 status_t status = AudioSystem::releaseAudioPatch(handle); local 1349 status_t status; local 1521 status_t status = AudioSystem::setAudioPortConfig(&nAudioPortConfig); local 1665 status_t status; local [all...] |
H A D | android_media_AudioTrack.cpp | 323 status_t status = NO_ERROR; local 327 status = lpTrack->set( 353 status = lpTrack->set( 376 if (status != NO_ERROR) { 377 ALOGE("Error %d initializing AudioTrack", status); 981 status_t status = lpTrack->getTimestamp(timestamp); local 982 if (status == OK) { 992 return (jint) nativeToJavaStatus(status); 1044 status_t status = AudioSystem::getOutputSamplingRate(&afSamplingRate, nativeStreamType); local 1045 if (status ! 1062 const status_t status = AudioTrack::getMinFrameCount(&frameCount, AUDIO_STREAM_DEFAULT, local 1089 status_t status = lpTrack->setAuxEffectSendLevel(level); local [all...] |
H A D | android_text_AndroidBidi.cpp | 39 UErrorCode status = U_ZERO_ERROR; local 40 UBiDi* bidi = ubidi_openSized(n, 0, &status); 41 ubidi_setPara(bidi, chs, n, dir, NULL, &status); 42 if (U_SUCCESS(status)) {
|
H A D | android_view_DisplayEventReceiver.cpp | 131 status_t status = receiver->initialize(); local 132 if (status) { 134 message.appendFormat("Failed to initialize display event receiver. status=%d", status); 153 status_t status = receiver->scheduleVsync(); local 154 if (status) { 156 message.appendFormat("Failed to schedule next vertical sync pulse. status=%d", status);
|
H A D | android_view_GraphicBuffer.cpp | 172 status_t status = buffer->lock(LOCK_CANVAS_USAGE, rect, &bits); local 174 if (status) return JNI_FALSE; 215 status_t status = wrapper->buffer->unlock(); local 216 return status == 0 ? JNI_TRUE : JNI_FALSE;
|
H A D | android_view_InputEventReceiver.cpp | 123 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...] |
H A D | android_view_InputEventSender.cpp | 116 status_t status = mInputPublisher.publishKeyEvent(publishedSeq, local 120 if (status) { 121 ALOGW("Failed to send key event on channel '%s'. status=%d", 122 getInputChannelName(), status); 123 return status; 137 status_t status = mInputPublisher.publishMotionEvent(publishedSeq, local 146 if (status) { 147 ALOGW("Failed to send motion event sample on channel '%s'. status=%d", 148 getInputChannelName(), status); 149 return status; 176 status_t status = receiveFinishedSignals(env); local 191 status_t status = mInputPublisher.receiveFinishedSignal(&publishedSeq, &handled); local 253 status_t status = sender->initialize(); local 278 status_t status = sender->sendKeyEvent(seq, &event); local 287 status_t status = sender->sendMotionEvent(seq, event); local [all...] |
H A D | android_view_InputQueue.cpp | 223 status_t status = android_view_KeyEvent_toNative(env, eventObj, event); local 224 if (status) {
|
H A D | android_view_MotionEvent.cpp | 720 status_t status = event->readFromParcel(parcel); local 721 if (status) { 736 status_t status = event->writeToParcel(parcel); local 737 if (status) {
|
H A D | android_view_PointerIcon.cpp | 115 status_t status = android_view_PointerIcon_load(env, pointerIconObj, local 118 return status;
|
H A D | android_view_TextureView.cpp | 152 int32_t status = native_window_lock(window.get(), &buffer, &rect); local 153 if (status) return JNI_FALSE;
|
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 455 int status = NO_NATIVE_LIBRARIES; local 460 if (status == NO_NATIVE_LIBRARIES) { 461 status = INSTALL_FAILED_NO_MATCHING_ABIS; 474 if (((i < status) && (status >= 0)) || (status < 0) ) { 475 status = i; 485 return status;
|
H A D | com_android_internal_os_Zygote.cpp | 87 int status; local 97 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { 98 // Log process-death status that we care about. In general it is 105 if (WIFEXITED(status)) { 106 if (WEXITSTATUS(status)) { 107 ALOGI("Process %d exited cleanly (%d)", pid, WEXITSTATUS(status)); 109 } else if (WIFSIGNALED(status)) { 110 if (WTERMSIG(status) != SIGKILL) { 111 ALOGI("Process %d exited due to signal (%d)", pid, WTERMSIG(status)); 113 if (WCOREDUMP(status)) { 658 int status; local [all...] |
/frameworks/base/core/tests/coretests/apks/install_jni_lib/ |
H A D | com_android_frameworks_coretests_JNITest.cpp | 42 int status; local 49 if ((status = android::register_com_android_frameworks_coretests_JNITests(e)) < 0) {
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 153 int status = cursor.getInt(cursor.getColumnIndex( 155 Log.i(LOG_TAG, "Download status is: " + status); 157 fail("No status found for completed download!"); 250 * @param status The HTTP status code to return for this response 253 protected MockResponse buildResponse(int status) { argument 254 MockResponse response = new MockResponse().setResponseCode(status); 262 * @param status The HTTP status cod 266 buildResponse(int status, byte[] body) argument 277 buildResponse(int status, File bodyFile) argument [all...] |