Home
last modified time | relevance | path

Searched defs:err (Results 1 – 25 of 694) sorted by relevance

12345678910>>...28

/frameworks/base/libs/storage/
DIMountService.cpp70 int32_t err = reply.readExceptionCode(); in registerListener() local
86 int32_t err = reply.readExceptionCode(); in unregisterListener() local
101 int32_t err = reply.readExceptionCode(); in isUsbMassStorageConnected() local
118 int32_t err = reply.readExceptionCode(); in setUsbMassStorageEnabled() local
133 int32_t err = reply.readExceptionCode(); in isUsbMassStorageEnabled() local
150 int32_t err = reply.readExceptionCode(); in mountVolume() local
169 int32_t err = reply.readExceptionCode(); in unmountVolume() local
186 int32_t err = reply.readExceptionCode(); in formatVolume() local
203 int32_t err = reply.readExceptionCode(); in getStorageUsers() local
232 int32_t err = reply.readExceptionCode(); in getVolumeState() local
[all …]
/frameworks/base/tools/aapt2/compile/
DNinePatch_test.cpp185 std::string err; in TEST() local
191 std::string err; in TEST() local
197 std::string err; in TEST() local
203 std::string err; in TEST() local
216 std::string err; in TEST() local
233 std::string err; in TEST() local
241 std::string err; in TEST() local
249 std::string err; in TEST() local
255 std::string err; in TEST() local
262 std::string err; in TEST() local
[all …]
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp50 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() local
111 status_t err; in onMessageReceived() local
130 status_t err; in onMessageReceived() local
151 status_t err; in onMessageReceived() local
173 status_t err = OK; in onMessageReceived() local
206 status_t err; in onMessageReceived() local
229 status_t err = OK; in onMessageReceived() local
259 status_t err = onDoMoreStuff(); in onMessageReceived() local
277 status_t err = mExtractor->setDataSource( in onPrepare() local
294 status_t err = mExtractor->getTrackFormat(i, &format); in onPrepare() local
[all …]
/frameworks/av/media/libstagefright/
DSurfaceUtils.cpp33 status_t err = NO_ERROR; in setNativeWindowSizeFormatAndUsage() local
160 int err = native_window_set_buffers_smpte2086_metadata(nativeWindow, &smpte2086_meta); in setNativeWindowHdrMetadata() local
173 int err = native_window_set_buffers_cta861_3_metadata(nativeWindow, &cta861_meta); in setNativeWindowHdrMetadata() local
195 status_t err = NO_ERROR; in pushBlankBuffersToNativeWindow() local
201 { in pushBlankBuffersToNativeWindow()
318 status_t err = native_window_api_connect(surface, NATIVE_WINDOW_API_MEDIA); in nativeWindowConnect() local
327 status_t err = native_window_api_disconnect(surface, NATIVE_WINDOW_API_MEDIA); in nativeWindowDisconnect() local
344 status_t err = igbp->setLegacyBufferDrop(false); in disableLegacyBufferDropPostQ() local
DACodec.cpp107 static inline bool isOMXError(int32_t err) { in isOMXError()
133 static inline status_t makeNoSideEffectStatus(status_t err) { in makeNoSideEffectStatus()
676 status_t err = msg->postAndAwaitResponse(&response); in setSurface() local
770 status_t err = setupNativeWindowSizeFormatAndUsage( in handleSetSurface() local
872 status_t err = mOMXNode->setPortMode(portIndex, mode); in setPortMode() local
892 status_t err; in allocateBuffersOnPort() local
1088 status_t err = mOMXNode->getParameter( in setupNativeWindowSizeFormatAndUsage() local
1161 status_t err = mOMXNode->getParameter( in configureOutputBuffersFromNativeWindow() local
1255 status_t err = configureOutputBuffersFromNativeWindow( in allocateOutputBuffersFromNativeWindow() local
1345 status_t err = configureOutputBuffersFromNativeWindow( in allocateOutputMetadataBuffers() local
[all …]
DFrameCaptureProcessor.cpp50 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() local
65 const sp<AReplyToken> &replyID, status_t err) { in PostReplyWithError()
93 status_t err = PostAndAwaitResponse(new AMessage(kWhatCreate, this), &response); in createRenderEngine() local
160 status_t err = mRE->drawLayers(clientCompositionDisplay, clientCompositionLayers, buffer.get(), in onCapture() local
185 status_t err = onCreate(); in onMessageReceived() local
DMediaCodecSource.cpp158 status_t err = msg->postAndAwaitResponse(&response); in postSynchronouslyAndReturnError() local
242 status_t err = mSource->start(static_cast<MetaData *>(obj.get())); in onMessageReceived() local
263 status_t err = mSource->setStopTimeUs(stopTimeUs); in onMessageReceived() local
295 status_t err = mSource->read(&mbuf); in onMessageReceived() local
491 status_t err = initEncoder(); in init() local
518 status_t err = NO_INIT; in initEncoder() local
635 status_t err = msg->postAndAwaitResponse(&response); in postSynchronouslyAndReturnError() local
648 void MediaCodecSource::signalEOS(status_t err) { in signalEOS()
751 status_t err = mEncoder->getInputBuffer(bufferIndex, &inbuf); in feedEncoderInputBuffers() local
793 status_t err = mEncoder->queueInputBuffer( in feedEncoderInputBuffers() local
[all …]
/frameworks/av/media/libmedia/
DOMXBuffer.cpp79 status_t err = parcel->writeUint32(mRangeOffset); in writeToParcel() local
96 status_t err = parcel->writeBool(true); in writeToParcel() local
121 status_t err = parcel->readUint32(&mRangeOffset); in readFromParcel() local
141 status_t err = parcel->readBool(&notNull); in readFromParcel() local
147 status_t err = parcel->read(*buffer); in readFromParcel() local
DIOMX.cpp98 status_t err = reply.readInt32(); in getParameter() local
131 status_t err = reply.readInt32(); in getConfig() local
172 status_t err = reply.readInt32(); in getGraphicBufferUsage() local
183 status_t err = omxBuf.writeToParcel(&data); in useBuffer() local
209 status_t err = remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface() local
232 status_t err = reply.readInt32(); in prepareForAdaptivePlayback() local
246 status_t err = reply.readInt32(); in configureVideoTunnelMode() local
263 status_t err = reply.readInt32(); in allocateSecureBuffer() local
298 status_t err = omxBuf.writeToParcel(&data); in fillBuffer() local
317 status_t err = omxBuf.writeToParcel(&data); in emptyBuffer() local
[all …]
DNdkMediaErrorPriv.cpp24 media_status_t translate_error(status_t err) { in translate_error()
44 status_t reverse_translate_error(media_status_t err) { in reverse_translate_error()
/frameworks/native/services/surfaceflinger/tests/
DLayerCallback_test.cpp63 int err = getBuffer(&buffer, &fence); in fillBuffer() local
83 int err = fillBuffer(transaction, layer, setBuffer, setBackgroundColor); in fillTransaction() local
171 int err = fillTransaction(transaction, &callback, layer, true, true); in TEST_F() local
190 int err = fillTransaction(transaction, &callback, layer, false, false); in TEST_F() local
213 int err = fillTransaction(transaction, &callback, layer, true, false); in TEST_F() local
235 int err = fillTransaction(transaction, &callback, layer, false, true); in TEST_F() local
255 int err = fillTransaction(transaction, &callback); in TEST_F() local
273 int err = fillTransaction(transaction, &callback, layer); in TEST_F() local
296 int err = fillTransaction(transaction1, &callback1, layer1); in TEST_F() local
330 int err = fillTransaction(transaction1, &callback1, layer1, false, true); in TEST_F() local
[all …]
/frameworks/av/camera/camera2/
DConcurrentCamera.cpp43 status_t err = OK; in readFromParcel() local
68 status_t err = OK; in writeToParcel() local
92 status_t err = OK; in readFromParcel() local
113 status_t err = OK; in writeToParcel() local
/frameworks/libs/net/common/native/bpf_headers/include/bpf/
DBpfUtils.h47 const int err = errno; in getSocketCookie() local
72 const int err = errno; in synchronizeKernelRCU() local
79 const int err = errno; in synchronizeKernelRCU() local
/frameworks/native/libs/gui/
DBufferItem.cpp141 status_t err = mGraphicBuffer->flatten(buffer, size, fds, count); in flatten() local
147 status_t err = mFence->flatten(buffer, size, fds, count); in flatten() local
153 status_t err = mSurfaceDamage.flatten(buffer, size); in flatten() local
205 status_t err = mGraphicBuffer->unflatten(buffer, size, fds, count); in unflatten() local
212 status_t err = mFence->unflatten(buffer, size, fds, count); in unflatten() local
219 status_t err = mSurfaceDamage.unflatten(buffer, size); in unflatten() local
/frameworks/native/libs/binder/
DIActivityManager.cpp73 status_t err = remote()->transact(REGISTER_UID_OBSERVER_TRANSACTION, data, &reply); in registerUidObserver() local
92 status_t err = in registerUidObserverForUids() local
109 status_t err = remote()->transact(UNREGISTER_UID_OBSERVER_TRANSACTION, data, &reply); in unregisterUidObserver() local
123 status_t err = remote()->transact(ADD_UID_TO_OBSERVER_TRANSACTION, data, &reply); in addUidToObserver() local
137 status_t err = remote()->transact(REMOVE_UID_FROM_OBSERVER_TRANSACTION, data, &reply); in removeUidFromObserver() local
179 status_t err = remote()->transact(CHECK_PERMISSION_TRANSACTION, data, &reply); in checkPermission() local
193 status_t err = remote()->transact(LOG_FGS_API_BEGIN_TRANSACTION, data, &reply, in logFgsApiBegin() local
208 status_t err = in logFgsApiEnd() local
225 status_t err = remote()->transact(LOG_FGS_API_STATE_CHANGED_TRANSACTION, data, &reply, in logFgsApiStateChanged() local
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp81 int err = native_window_api_connect(window, NATIVE_WINDOW_API_EGL); in ConnectAndSetWindowDefaults() local
166 int err = window->query(window, NATIVE_WINDOW_DEFAULT_WIDTH, &width); in InitializeWindowInfoStruct() local
296 int err = native_window_set_buffers_format(window, windowInfo.bufferFormat); in UpdateWindow() local
350 int err = native_window_api_disconnect(mNativeWindow.get(), NATIVE_WINDOW_API_EGL); in ~VulkanSurface() local
359 int err = mNativeWindow->cancelBuffer(mNativeWindow.get(), bufferInfo.buffer.get(), in releaseBuffers() local
394 int err = in dequeueNativeBuffer() local
506 int err = native_window_set_surface_damage(mNativeWindow.get(), &aRect, 1); in presentCurrentBuffer() local
514 int err = mNativeWindow->queueBuffer(mNativeWindow.get(), currentBuffer.buffer.get(), queuedFd); in presentCurrentBuffer() local
557 int err = ANativeWindow_setBuffersDataSpace(mNativeWindow.get(), mWindowInfo.dataspace); in setColorSpace() local
/frameworks/base/media/java/android/media/
DMediaCasStateException.java30 private MediaCasStateException(int err, @Nullable String msg, @Nullable String diagnosticInfo) { in MediaCasStateException()
36 static void throwExceptionIfNeeded(int err) { in throwExceptionIfNeeded()
40 static void throwExceptionIfNeeded(int err, @Nullable String msg) { in throwExceptionIfNeeded()
/frameworks/base/services/core/jni/
Dcom_android_server_SystemServer.cpp54 const binder_exception_t err = in startStatsAidlService() local
66 const android::status_t err = statsHal->registerAsService(); in startStatsHidlService() local
80 const binder_exception_t err = in startSensorManagerAidlService() local
98 android::status_t err = sensorService->registerAsService(); in startSensorManagerHidlService() local
132 const binder_exception_t err = AServiceManager_addService(binder.get(), memtrackProxyService); in android_server_SystemServer_startMemtrackProxyService() local
148 status_t err = schedulingService->registerAsService("default"); in android_server_SystemServer_startHidlServices() local
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp210 status_t err = encodeHelper(input, &outputHidlVec); in encode() local
228 status_t err = encodeMetadataType(metadataType, &outputHidlVec); in encodeMetadata() local
270 status_t err = decodeHelper(&inputHidlVec, output); in decode() local
291 status_t err = validateMetadataType(&inputHidlVec, metadataType); in decodeMetadata() local
323 status_t err = decodeMetadata(metadataType, input, &tmp, decodeHelper); in decodeOptionalMetadata() local
364 status_t err = encodeInteger<int64_t>(input.size(), output); in encodeString() local
378 status_t err = decodeInteger<int64_t>(input, &size); in decodeString() local
394 status_t err = encodeInteger<int64_t>(input.size(), output); in encodeByteVector() local
408 status_t err = decodeInteger<int64_t>(input, &size); in decodeByteVector() local
422 status_t err = encodeString(input.name, output); in encodeExtendableType() local
[all …]
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java351 }).whenCompleteAsync((revoked, err) -> { in revokeRuntimePermissions() argument
397 }).whenCompleteAsync((setRuntimePermissionGrantStateResult, err) -> { in setRuntimePermissionGrantStateByDeviceAdmin() argument
437 })).whenCompleteAsync((bytes, err) -> { in getRuntimePermissionBackup() argument
475 .whenComplete((nullResult, err) -> { in stageAndApplyRuntimePermissionsBackup() argument
517 }).whenCompleteAsync((applyStagedRuntimePermissionBackupResult, err) -> { in applyStagedRuntimePermissionBackup() argument
659 }).whenCompleteAsync((getPermissionUsagesResult, err) -> { in getPermissionUsages() argument
694 }).whenCompleteAsync((grantOrUpgradeDefaultRuntimePermissionsResult, err) -> { in grantOrUpgradeDefaultRuntimePermissions() argument
722 }).whenCompleteAsync((description, err) -> { in getPrivilegesDescriptionStringForProfile() argument
749 }).whenComplete((res, err) -> { in updateUserSensitiveForApp() argument
788 }).whenCompleteAsync((result, err) -> { in getPlatformPermissionsForGroup() argument
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.cpp128 status_t err; in getTrackFormat() local
140 status_t err; in getFileFormat() local
220 status_t err = mImpl->readSampleData(buffer); in readSampleData() local
269 status_t err = mImpl->getSampleMeta(&meta); in getSampleFlags() local
364 status_t err = extractor->getTrackFormat(index, &format); in android_media_MediaExtractor_getTrackFormatNative() local
384 status_t err = extractor->getFileFormat(&format); in android_media_MediaExtractor_getFileFormatNative() local
403 status_t err = extractor->selectTrack(index); in android_media_MediaExtractor_selectTrack() local
420 status_t err = extractor->unselectTrack(index); in android_media_MediaExtractor_unselectTrack() local
455 status_t err = extractor->advance(); in android_media_MediaExtractor_advance() local
477 status_t err = extractor->readSampleData(byteBuf, offset, &sampleSize); in android_media_MediaExtractor_readSampleData() local
[all …]
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2TSExtractor.cpp173 status_t err = mExtractor->seek(seekTimeUs, (ReadOptions::SeekMode)seekMode); in read() local
199 status_t err = mBufferGroup->acquire_buffer(&outbuf, false, length); in read() local
318 status_t err = mParser->setMediaCas(cas); in setMediaCas() local
351 status_t err; in init() local
458 status_t err; in init() local
496 status_t err = mParser->feedTSPacket(packet, kTSPacketSize, &event); in feedMore() local
538 status_t err = mDataSource->getSize(&size); in estimateDurationsFromTimesUsAtEnd() local
682 status_t err = queueDiscontinuityForSeek(actualSeekTimeUs); in seek() local
689 status_t err = seekBeyond(seekTimeUs); in seek() local
698 status_t err; in seek() local
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_camera2_utils_SurfaceUtils.cpp46 #define OVERRIDE_SURFACE_ERROR(err) \ argument
100 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); in SurfaceUtils_nativeDetectSurfaceType() local
118 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt); in SurfaceUtils_nativeDetectSurfaceDataspace() local
148 status_t err = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, dimenBuf); in SurfaceUtils_nativeDetectSurfaceDimens() local
176 status_t err = native_window_get_consumer_usage(anw.get(), &usage); in SurfaceUtils_nativeDetectSurfaceUsageFlags() local
/frameworks/base/services/core/java/com/android/server/locales/
DLocaleManagerShellCommand.java97 final PrintWriter err = getErrPrintWriter(); in runSetAppLocales() local
144 final PrintWriter err = getErrPrintWriter(); in runGetAppLocales() local
211 final PrintWriter err = getErrPrintWriter(); in runSetAppOverrideLocaleConfig() local
257 final PrintWriter err = getErrPrintWriter(); in runGetAppOverrideLocaleConfig() local
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp159 status_t err = mTSParser->feedTSPacket(buffer, n); in onReadBuffer() local
198 status_t err; in haveSufficientDataOnAllTracks() local
221 void NuPlayer::StreamingSource::setError(status_t err) { in setError()
251 status_t err = convertMetaDataToMessage(meta, &format); in getFormat() local
275 status_t err = source->dequeueAccessUnit(accessUnit); in dequeueAccessUnit() local

12345678910>>...28