/frameworks/av/media/libstagefright/ |
D | SurfaceUtils.cpp | 30 status_t err = NO_ERROR; in setNativeWindowSizeFormatAndUsage() local 34 err = native_window_api_disconnect(nativeWindow, NATIVE_WINDOW_API_MEDIA); in setNativeWindowSizeFormatAndUsage() 35 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage() 36 ALOGE("native_window_api_disconnect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage() 37 return err; in setNativeWindowSizeFormatAndUsage() 40 err = native_window_api_connect(nativeWindow, NATIVE_WINDOW_API_MEDIA); in setNativeWindowSizeFormatAndUsage() 41 if (err != NO_ERROR) { in setNativeWindowSizeFormatAndUsage() 42 ALOGE("native_window_api_connect failed: %s (%d)", strerror(-err), -err); in setNativeWindowSizeFormatAndUsage() 43 return err; in setNativeWindowSizeFormatAndUsage() 47 err = native_window_set_buffers_dimensions(nativeWindow, width, height); in setNativeWindowSizeFormatAndUsage() [all …]
|
D | ACodec.cpp | 78 static inline bool isOMXError(int32_t err) { in isOMXError() argument 79 return (ERROR_CODEC_MIN <= err && err <= ERROR_CODEC_MAX); in isOMXError() 94 static inline status_t makeNoSideEffectStatus(status_t err) { in makeNoSideEffectStatus() argument 95 switch (err) { in makeNoSideEffectStatus() 102 return err; in makeNoSideEffectStatus() 585 status_t err = msg->postAndAwaitResponse(&response); in setSurface() local 587 if (err == OK) { in setSurface() 588 (void)response->findInt32("err", &err); in setSurface() 590 return err; in setSurface() 678 status_t err = setupNativeWindowSizeFormatAndUsage( in handleSetSurface() local [all …]
|
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 49 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module); in ANDROID_SINGLETON_STATIC_INSTANCE() local 50 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID); in ANDROID_SINGLETON_STATIC_INSTANCE() 51 if (err == 0) { in ANDROID_SINGLETON_STATIC_INSTANCE() 59 status_t err; in registerBuffer() local 61 err = mAllocMod->registerBuffer(mAllocMod, handle); in registerBuffer() 63 ALOGW_IF(err, "registerBuffer(%p) failed %d (%s)", in registerBuffer() 64 handle, err, strerror(-err)); in registerBuffer() 65 return err; in registerBuffer() 71 status_t err; in unregisterBuffer() local 73 err = mAllocMod->unregisterBuffer(mAllocMod, handle); in unregisterBuffer() [all …]
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 145 status_t err = addGainMap(/*top*/redTop, in addGainMapsForMetadata() local 161 if (err != OK) return err; in addGainMapsForMetadata() 163 err = addGainMap(/*top*/greenEvenTop, in addGainMapsForMetadata() 179 if (err != OK) return err; in addGainMapsForMetadata() 181 err = addGainMap(/*top*/greenOddTop, in addGainMapsForMetadata() 197 if (err != OK) return err; in addGainMapsForMetadata() 199 err = addGainMap(/*top*/blueTop, in addGainMapsForMetadata() 215 return err; in addGainMapsForMetadata() 235 status_t err = addOpcodePreamble(GAIN_MAP_ID); in addGainMap() local 236 if (err != OK) return err; in addGainMap() [all …]
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
D | Bmgr.java | 54 System.err.println("Exception caught:"); in main() 67 System.err.println(BMGR_NOT_RUNNING_ERR); in run() 130 System.err.println("Unknown command"); in run() 144 System.err.println(e.toString()); in doEnabled() 145 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnabled() 164 System.err.println(e.toString()); in doEnable() 165 System.err.println(BMGR_NOT_RUNNING_ERR); in doEnable() 173 System.err.println(e.toString()); in doRun() 174 System.err.println(BMGR_NOT_RUNNING_ERR); in doRun() 188 System.err.println(e.toString()); in doBackup() [all …]
|
/frameworks/native/libs/gui/ |
D | SurfaceControl.cpp | 101 status_t err = validate(); in setLayerStack() local 102 if (err < 0) return err; in setLayerStack() 106 status_t err = validate(); in setLayer() local 107 if (err < 0) return err; in setLayer() 111 status_t err = validate(); in setPosition() local 112 if (err < 0) return err; in setPosition() 116 status_t err = validate(); in setPositionAppliesWithResize() local 117 if (err < 0) return err; in setPositionAppliesWithResize() 121 status_t err = validate(); in setSize() local 122 if (err < 0) return err; in setSize() [all …]
|
D | BufferItemConsumer.cpp | 38 status_t err = mConsumer->setConsumerUsageBits(consumerUsage); in BufferItemConsumer() local 39 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer() 42 err = mConsumer->setMaxAcquiredBufferCount(bufferCount); in BufferItemConsumer() 43 LOG_ALWAYS_FATAL_IF(err != OK, in BufferItemConsumer() 62 status_t err; in acquireBuffer() local 68 err = acquireBufferLocked(item, presentWhen); in acquireBuffer() 69 if (err != OK) { in acquireBuffer() 70 if (err != NO_BUFFER_AVAILABLE) { in acquireBuffer() 71 BI_LOGE("Error acquiring buffer: %s (%d)", strerror(err), err); in acquireBuffer() 73 return err; in acquireBuffer() [all …]
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 98 status_t err = NO_ERROR; in connectSurface() local 100 err = surface->connect(NATIVE_WINDOW_API_CAMERA, /*listener*/NULL); in connectSurface() 101 if (err != OK) { in connectSurface() 103 strerror(-err), err); in connectSurface() 104 return err; in connectSurface() 107 err = native_window_set_usage(surface.get(), GRALLOC_USAGE_SW_WRITE_OFTEN); in connectSurface() 108 if (err != NO_ERROR) { in connectSurface() 110 strerror(-err), err); in connectSurface() 111 return err; in connectSurface() 115 err = static_cast<ANativeWindow*>(surface.get())->query(surface.get(), in connectSurface() [all …]
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 72 int32_t err = reply.readExceptionCode(); in registerListener() local 73 if (err < 0) { in registerListener() 74 ALOGD("registerListener caught exception %d\n", err); in registerListener() 88 int32_t err = reply.readExceptionCode(); in unregisterListener() local 89 if (err < 0) { in unregisterListener() 90 ALOGD("unregisterListener caught exception %d\n", err); in unregisterListener() 103 int32_t err = reply.readExceptionCode(); in isUsbMassStorageConnected() local 104 if (err < 0) { in isUsbMassStorageConnected() 105 ALOGD("isUsbMassStorageConnected caught exception %d\n", err); in isUsbMassStorageConnected() 120 int32_t err = reply.readExceptionCode(); in setUsbMassStorageEnabled() local [all …]
|
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 98 System.err.println("Error: " + e); in main() 100 System.err.println(PM_NOT_RUNNING_ERR); in main() 116 System.err.println(PM_NOT_RUNNING_ERR); in run() 280 System.err.println("Error: unknown command '" + op + "'"); in run() 292 FileDescriptor.in, FileDescriptor.out, FileDescriptor.err, in runShellCommand() 371 System.err.println("Error: must either specify a package size or an APK file"); in runInstall() 576 System.err.println("Error: failed to write; " + e.getMessage()); in doWriteSession() 602 System.err.println("Failure [" in doCommitSession() 653 System.err.println("Error: no USER_ID specified"); in runPath() 662 System.err.println("Error: no package specified"); in runPath() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 49 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() local 51 if (err != OK) { in PostAndAwaitResponse() 52 return err; in PostAndAwaitResponse() 55 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 56 err = OK; in PostAndAwaitResponse() 59 return err; in PostAndAwaitResponse() 110 status_t err; in onMessageReceived() local 112 err = INVALID_OPERATION; in onMessageReceived() 122 response->setInt32("err", err); in onMessageReceived() 129 status_t err; in onMessageReceived() local [all …]
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CameraDeviceUserShim.java | 410 String err = "Cannot submit request, device has been closed."; in submitRequest() local 411 Log.e(TAG, err); in submitRequest() 412 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); in submitRequest() 417 String err = "Cannot submit request, configuration change in progress."; in submitRequest() local 418 Log.e(TAG, err); in submitRequest() 419 throw new ServiceSpecificException(ICameraService.ERROR_INVALID_OPERATION, err); in submitRequest() 431 String err = "Cannot submit request list, device has been closed."; in submitRequestList() local 432 Log.e(TAG, err); in submitRequestList() 433 throw new ServiceSpecificException(ICameraService.ERROR_DISCONNECTED, err); in submitRequestList() 438 String err = "Cannot submit request, configuration change in progress."; in submitRequestList() local [all …]
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 218 int err; in write_update_file() local 234 err = dataStream->WriteEntityHeader(key, bytesLeft); in write_update_file() 235 if (err != 0) { in write_update_file() 237 return err; in write_update_file() 244 err = dataStream->WriteEntityData(&metadata, sizeof(metadata)); in write_update_file() 245 if (err != 0) { in write_update_file() 247 return err; in write_update_file() 257 err = dataStream->WriteEntityData(buf, amt); in write_update_file() 258 if (err != 0) { in write_update_file() 260 return err; in write_update_file() [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 122 status_t err = -errno; in configureSignals() local 125 return err; in configureSignals() 128 status_t err = -errno; in configureSignals() local 131 return err; in configureSignals() 150 status_t err; in prepareEncoder() local 177 err = codec->configure(format, NULL, NULL, in prepareEncoder() 179 if (err != NO_ERROR) { in prepareEncoder() 181 kMimeTypeAvc, gVideoWidth, gVideoHeight, err); in prepareEncoder() 183 return err; in prepareEncoder() 188 err = codec->createInputSurface(&bufferProducer); in prepareEncoder() [all …]
|
D | Program.cpp | 73 status_t err; in setup() local 79 err = createProgram(&program, kVertexShader, kFragmentShader); in setup() 81 err = createProgram(&program, kVertexShader, kExtFragmentShader); in setup() 83 if (err != NO_ERROR) { in setup() 84 return err; in setup() 115 status_t err; in createProgram() local 117 err = compileShader(GL_VERTEX_SHADER, vertexShader, &vs); in createProgram() 118 if (err != NO_ERROR) { in createProgram() 119 return err; in createProgram() 121 err = compileShader(GL_FRAGMENT_SHADER, fragmentShader, &fs); in createProgram() [all …]
|
/frameworks/base/cmds/idmap/ |
D | inspect.cpp | 171 status_t err = buf.nextUint32(&i); in parse_idmap_header() local 172 if (err != NO_ERROR) { in parse_idmap_header() 173 return err; in parse_idmap_header() 185 err = buf.nextUint32(&i); in parse_idmap_header() 186 if (err != NO_ERROR) { in parse_idmap_header() 187 return err; in parse_idmap_header() 191 err = buf.nextUint32(&i); in parse_idmap_header() 192 if (err != NO_ERROR) { in parse_idmap_header() 193 return err; in parse_idmap_header() 197 err = buf.nextUint32(&i); in parse_idmap_header() [all …]
|
/frameworks/native/vulkan/libvulkan/ |
D | swapchain.cpp | 231 int err = in CreateAndroidSurfaceKHR() local 233 if (err != 0) { in CreateAndroidSurfaceKHR() 236 ALOGE("native_window_api_connect() failed: %s (%d)", strerror(-err), in CreateAndroidSurfaceKHR() 237 err); in CreateAndroidSurfaceKHR() 280 int err; in GetPhysicalDeviceSurfaceCapabilitiesKHR() local 284 err = window->query(window, NATIVE_WINDOW_DEFAULT_WIDTH, &width); in GetPhysicalDeviceSurfaceCapabilitiesKHR() 285 if (err != 0) { in GetPhysicalDeviceSurfaceCapabilitiesKHR() 287 strerror(-err), err); in GetPhysicalDeviceSurfaceCapabilitiesKHR() 290 err = window->query(window, NATIVE_WINDOW_DEFAULT_HEIGHT, &height); in GetPhysicalDeviceSurfaceCapabilitiesKHR() 291 if (err != 0) { in GetPhysicalDeviceSurfaceCapabilitiesKHR() [all …]
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
D | Ime.java | 51 System.err.println(IMM_NOT_RUNNING_ERR); in run() 80 System.err.println("Error: unknown command '" + op + "'"); in run() 98 System.err.println("Error: Unknown option: " + opt); in runList() 110 System.err.println(e.toString()); in runList() 111 System.err.println(IMM_NOT_RUNNING_ERR); in runList() 118 System.err.println(e.toString()); in runList() 119 System.err.println(IMM_NOT_RUNNING_ERR); in runList() 141 System.err.println("Error: no input method ID specified"); in runSetEnabled() 156 System.err.println("Error: " + e.getMessage()); in runSetEnabled() 159 System.err.println(e.toString()); in runSetEnabled() [all …]
|
/frameworks/av/camera/camera2/ |
D | OutputConfiguration.cpp | 57 status_t err = OK; in readFromParcel() local 62 if ((err = parcel->readInt32(&rotation)) != OK) { in readFromParcel() 64 return err; in readFromParcel() 68 if ((err = parcel->readInt32(&setID)) != OK) { in readFromParcel() 70 return err; in readFromParcel() 74 if ((err = surfaceShim.readFromParcel(parcel)) != OK) { in readFromParcel() 76 return err; in readFromParcel() 86 return err; in readFromParcel() 99 status_t err = OK; in writeToParcel() local 101 err = parcel->writeInt32(mRotation); in writeToParcel() [all …]
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 115 status_t err = reply.readInt32(); in allocateNode() local 116 if (err == OK) { in allocateNode() 125 return err; in allocateNode() 160 status_t err = reply.readInt32(); in getParameter() local 161 if (err != OK) { in getParameter() 162 return err; in getParameter() 195 status_t err = reply.readInt32(); in getConfig() local 196 if (err != OK) { in getConfig() 197 return err; in getConfig() 240 status_t err = reply.readInt32(); in enableNativeBuffers() local [all …]
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 148 status_t err = (timeoutUs < 0) in dequeueMessageForNodeIgnoringBuffers() local 153 if (err == TIMED_OUT) { in dequeueMessageForNodeIgnoringBuffers() 154 return err; in dequeueMessageForNodeIgnoringBuffers() 156 CHECK_EQ(err, (status_t)OK); in dequeueMessageForNodeIgnoringBuffers() 178 #define EXPECT_SUCCESS(err, info) \ argument 179 EXPECT((err) == OK, info " failed") 188 status_t err = getPortDefinition(node, portIndex, &def); in allocatePortBuffers() local 189 EXPECT_SUCCESS(err, "getPortDefinition"); in allocatePortBuffers() 197 err = mOMX->allocateBufferWithBackup( in allocatePortBuffers() 199 EXPECT_SUCCESS(err, "allocateBuffer"); in allocatePortBuffers() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 100 status_t err = msg->postAndAwaitResponse(&response); in setVideoSurface() local 101 if (err == OK && response != NULL) { in setVideoSurface() 102 CHECK(response->findInt32("err", &err)); in setVideoSurface() 104 return err; in setVideoSurface() 162 status_t err; in onMessageReceived() local 163 CHECK(msg->findInt32("err", &err)); in onMessageReceived() 165 mIsAudio ? "audio" : "video", err); in onMessageReceived() 167 handleError(err); in onMessageReceived() 197 int32_t err = INVALID_OPERATION; in onMessageReceived() local 205 err = native_window_api_disconnect(surface.get(), NATIVE_WINDOW_API_MEDIA); in onMessageReceived() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_MediaCodec.cpp | 288 status_t err = mCodec->setSurface(client); in setSurface() local 289 if (err == OK) { in setSurface() 292 return err; in setSurface() 357 status_t err = mCodec->dequeueOutputBuffer( in dequeueOutputBuffer() local 360 if (err != OK) { in dequeueOutputBuffer() 361 return err; in dequeueOutputBuffer() 389 status_t err; in getFormat() local 390 err = input ? mCodec->getInputFormat(&msg) : mCodec->getOutputFormat(&msg); in getFormat() 391 if (err != OK) { in getFormat() 392 return err; in getFormat() [all …]
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.cpp | 129 status_t err; in submitRequestList() local 228 … err = mDevice->setStreamingRequestList(metadataRequestList, &(submitInfo->mLastFrameNumber)); in submitRequestList() 229 if (err != OK) { in submitRequestList() 232 mCameraId, strerror(-err), err); in submitRequestList() 241 err = mDevice->captureList(metadataRequestList, &(submitInfo->mLastFrameNumber)); in submitRequestList() 242 if (err != OK) { in submitRequestList() 245 mCameraId, strerror(-err), err); in submitRequestList() 264 status_t err; in cancelRequest() local 283 err = mDevice->clearStreamingRequest(lastFrameNumber); in cancelRequest() 285 if (err == OK) { in cancelRequest() [all …]
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 74 status_t err; in lockNextBuffer() local 82 err = releaseAcquiredBufferLocked(idx); in lockNextBuffer() 83 if (err) { in lockNextBuffer() 84 return err; in lockNextBuffer() 90 err = acquireBufferLocked(&b, 0); in lockNextBuffer() 91 if (err != OK) { in lockNextBuffer() 92 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in lockNextBuffer() 95 ALOGE("Error acquiring buffer: %s (%d)", strerror(err), err); in lockNextBuffer() 96 return err; in lockNextBuffer() 103 err = b.mFence->waitForever("GrallocConsumer::lockNextBuffer"); in lockNextBuffer() [all …]
|