/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaMmiCode.java | 310 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); 311 if (err == CommandException.Error.PASSWORD_INCORRECT) { 338 } else if (err == CommandException.Error.SIM_PUK2) { 344 } else if (err == CommandException.Error.REQUEST_NOT_SUPPORTED) {
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 734 status_t err = obtainBuffer(&audioBuffer, &ClientProxy::kForever); local 735 if (err < 0) { 739 return ssize_t(err); 903 status_t err = obtainBuffer(&audioBuffer, requested, NULL, &nonContig); local 904 LOG_ALWAYS_FATAL_IF((err != NO_ERROR) != (audioBuffer.frameCount == 0), 905 "obtainBuffer() err=%d frameCount=%zu", err, audioBuffer.frameCount); 908 ALOGV("obtainBuffer(%u) returned %zu = %zu + %zu err %d", 909 mRemainingFrames, avail, audioBuffer.frameCount, nonContig, err); 910 if (err ! [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2TSExtractor.cpp | 100 status_t err = mExtractor->feedMore(); local 101 if (err != OK) { 102 mImpl->signalEOS(err);
|
/frameworks/base/core/java/android/net/ |
H A D | Network.java | 333 int err = NetworkUtils.bindSocketToNetwork(fd.getInt$(), netId); 334 if (err != 0) { 336 throw new ErrnoException("Binding socket to network " + netId, -err)
|
/frameworks/base/core/jni/ |
H A D | android_os_SystemProperties.cpp | 165 int err; local 181 err = property_set(key, val); 189 if (err < 0) {
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 222 std::error_code err = llvm::sys::fs::make_absolute(output_path); local 223 if (err) { 225 << "'! (detail: " << err.message() << ")\n";
|
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 383 const char* err = dlerror(); local 384 ALOGE("load_driver(%s): %s", driver_absolute_path, err?err:"unknown");
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 278 status_t err = mGroup->acquire_buffer(&buffer); local 279 if (err != OK) { 280 return err;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirGen.h | 131 * to work (the err parameter, initialized to 0). 143 * @param err is the previous error (actual - rounded) for the previous rounding op. 150 static inline int64_t toint(double x, int64_t maxval, double& err) { argument 152 double ival = floor(val + 0.5 + err*0.2); 153 err = val - ival; 681 double err = 0; // for noise shaping on int16_t coefficients (over each polyphase) local 697 *coef++ = static_cast<T>(toint(y, 1ULL<<(sizeof(T)*8-1), err));
|
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 293 status_t err = remote()->transact(HEAP_ID, data, &reply); local 299 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%zd, err=%d (%s)", 300 asBinder().get(), parcel_fd, size, err, strerror(-err)); 303 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%zd, err=%d (%s)", 304 parcel_fd, size, err, strerror(errno));
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 779 status_t err = sensor->batch(connection.get(), handle, reservedFlags, samplingPeriodNs, local 785 if (err == NO_ERROR && sensor->getSensor().getReportingMode() != AREPORTING_MODE_ONE_SHOT && 797 if (err == NO_ERROR) { 799 err = sensor->activate(connection.get(), true); 802 if (err == NO_ERROR) { 806 if (err != NO_ERROR) { 810 return err; 820 status_t err = cleanupWithoutDisableLocked(connection, handle); local 821 if (err == NO_ERROR) { 823 err 1495 status_t err; local [all...] |
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 497 status_t err = mClient->createSurface(name, w, h, format, flags, local 499 ALOGE_IF(err, "SurfaceComposerClient::createSurface error %s", strerror(-err)); 500 if (err == NO_ERROR) { 523 status_t err = mClient->destroySurface(sid); 524 return err; 731 status_t err = s->captureScreen(display, mProducer, sourceCrop, local 735 if (err == NO_ERROR) { 736 err = mCpuConsumer->lockNextBuffer(&mBuffer); 737 if (err [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 102 status_t err; local 106 err = convertYUV420Planar(src, dst); 110 err = convertCbYCrY(src, dst); 114 err = convertQCOMYUV420SemiPlanar(src, dst); 118 err = convertYUV420SemiPlanar(src, dst); 122 err = convertTIYUV420PackedSemiPlanar(src, dst); 132 return err;
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 82 status_t err = mSession->linkToComposerDeath(this); local 83 ALOGE_IF(err, "linkToComposerDeath failed (%s) ", strerror(-err)); 84 if (err == NO_ERROR) { 645 int err; local 647 err = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &spec, NULL); 648 } while (err<0 && errno == EINTR);
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 435 status_t err; local 438 err = mHal2Device->ops->construct_default_request( 441 return err; 1323 status_t err; local 1325 err = native_window_set_buffers_timestamp(a, timestamp); 1326 if (err != OK) { 1328 __FUNCTION__, strerror(-err), err); 1329 return err; 1331 err 1357 int err = a->cancelBuffer(a, local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | psy_main.c | 197 Word16 ch, err; local 200 err = InitPsyConfigurationLong(channelBitRate, 205 if (!err) { 207 err = InitTnsConfigurationLong(bitRate, sampleRate, channels, 211 if (!err) 212 err = InitPsyConfigurationShort(channelBitRate, 216 if (!err) { 217 err = InitTnsConfigurationShort(bitRate, sampleRate, channels, 221 if (!err) 233 return(err); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmMmiCode.java | 1142 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); 1143 if (err == CommandException.Error.FDN_CHECK_FAILURE) { 1146 } else if (err == CommandException.Error.USSD_MODIFIED_TO_DIAL) { 1149 } else if (err == CommandException.Error.USSD_MODIFIED_TO_SS) { 1152 } else if (err == CommandException.Error.USSD_MODIFIED_TO_USSD) { 1155 } else if (err == CommandException.Error.SS_MODIFIED_TO_DIAL) { 1158 } else if (err == CommandException.Error.SS_MODIFIED_TO_USSD) { 1161 } else if (err == CommandException.Error.SS_MODIFIED_TO_SS) { 1200 CommandException.Error err = ((CommandException)(ar.exception)).getCommandError(); 1201 if (err [all...] |
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 139 int err = module->lock(module, native_buffer->handle, local 386 status_t err = tex->reallocate(level, local 388 if (err != NO_ERROR) 397 status_t err = tex->reallocate(level, local 399 if (err != NO_ERROR) 1214 int err = copyPixels(c, *surface, 0, 0, userSurface, 0, 0, width, height); 1215 if (err) { 1216 ogles_error(c, err); 1297 int err = copyPixels(c, 1300 if (err) { [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 207 OMX_ERRORTYPE err = local 210 if (err == OMX_ErrorNone) { 231 OMX_ERRORTYPE err = mMaster->makeComponentInstance( local 235 if (err != OMX_ErrorNone) { 270 status_t err = instance->freeNode(mMaster); local 279 return err;
|
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 53 static const char *strerror(EGLint err) { argument 54 switch (err){ 496 GLenum err = glGetError(); 497 if (err != GL_NO_ERROR) { 499 snprintf(buf, sizeof(buf), "GL Error = 0x%08x, from: %s", err, msg); 504 switch (err) {
|
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 307 status_t err = mGroup->acquire_buffer(&buffer); local 308 if (err != OK) { 309 return err;
|
H A D | AudioSource.cpp | 119 status_t err = mRecord->start(); local 120 if (err == OK) { 127 return err;
|
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSCompilerDriver.cpp | 289 Compiler::ErrorCode err = mCompiler.config(*mConfig); local 290 if (err != Compiler::kSuccess) { 292 Compiler::GetErrorString(err));
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodecSource.h | 90 void signalEOS(status_t err = ERROR_END_OF_STREAM);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | RTSPSource.h | 130 void setError(status_t err);
|