/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/ |
D | Android.bp | 29 path: "res", 31 "res/bbb_aac_stereo_128kbps_48000hz.aac", 32 "res/bbb_aac_stereo_128kbps_48000hz.info", 33 "res/bbb_amrwb_1ch_14kbps_16000hz.amrwb", 34 "res/bbb_amrwb_1ch_14kbps_16000hz.info", 35 "res/bbb_flac_stereo_680kbps_48000hz.flac", 36 "res/bbb_flac_stereo_680kbps_48000hz.info", 37 "res/bbb_g711alaw_1ch_8khz.info", 38 "res/bbb_g711alaw_1ch_8khz.raw", 39 "res/bbb_g711mulaw_1ch_8khz.info", [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | CollectionUtilsTest.java | 42 List<Object> res = null; in testList() local 43 assertEquals(0, CollectionUtils.size(res)); in testList() 44 assertTrue(CollectionUtils.isEmpty(res)); in testList() 45 assertNull(CollectionUtils.firstOrNull(res)); in testList() 46 assertFalse(CollectionUtils.contains(res, RED)); in testList() 47 assertFalse(CollectionUtils.contains(res, GREEN)); in testList() 49 res = CollectionUtils.add(res, RED); in testList() 50 assertEquals(1, CollectionUtils.size(res)); in testList() 51 assertFalse(CollectionUtils.isEmpty(res)); in testList() 52 assertEquals(RED, CollectionUtils.firstOrNull(res)); in testList() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | StreamingProcessor.cpp | 68 status_t res; in setPreviewWindow() local 70 res = deletePreviewStream(); in setPreviewWindow() 71 if (res != OK) return res; in setPreviewWindow() 82 status_t res; in setRecordingWindow() local 84 res = deleteRecordingStream(); in setRecordingWindow() 85 if (res != OK) return res; in setRecordingWindow() 106 status_t res; in updatePreviewRequest() local 123 res = device->createDefaultRequest( in updatePreviewRequest() 126 res = device->createDefaultRequest(CAMERA_TEMPLATE_PREVIEW, in updatePreviewRequest() 130 if (res != OK) { in updatePreviewRequest() [all …]
|
/frameworks/libs/binary_translation/lite_translator/riscv64_to_x86_64/ |
D | lite_translator.cc | 37 Register res = AllocTempReg(); in Op() local 40 as_.Movq(res, arg1); in Op() 41 as_.Addq(res, arg2); in Op() 44 as_.Movq(res, arg1); in Op() 45 as_.Subq(res, arg2); in Op() 48 as_.Movq(res, arg1); in Op() 49 as_.Andq(res, arg2); in Op() 52 as_.Movq(res, arg1); in Op() 53 as_.Orq(res, arg2); in Op() 56 as_.Movq(res, arg1); in Op() [all …]
|
/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | fastidct.cpp | 341 int res, res2; in idct_row1Inter() local 353 res = tmp + (pred_word & 0xFF); in idct_row1Inter() 354 CLIP_RESULT(res); in idct_row1Inter() 357 dst_word = (res2 << 8) | res; in idct_row1Inter() 358 res = tmp + ((pred_word >> 16) & 0xFF); in idct_row1Inter() 359 CLIP_RESULT(res); in idct_row1Inter() 360 dst_word |= (res << 16); in idct_row1Inter() 361 res = tmp + ((pred_word >> 24) & 0xFF); in idct_row1Inter() 362 CLIP_RESULT(res); in idct_row1Inter() 363 dst_word |= (res << 24); in idct_row1Inter() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | BinaryOp.cpp | 29 IntOperand* res = result(); in eval() local 30 res->setValue(m_pOperand[0]->value() * m_pOperand[1]->value()); in eval() 31 return res; in eval() 37 IntOperand* res = result(); in eval() local 38 res->setValue(m_pOperand[0]->value() / m_pOperand[1]->value()); in eval() 39 return res; in eval() 45 IntOperand* res = result(); in eval() local 46 res->setValue(m_pOperand[0]->value() % m_pOperand[1]->value()); in eval() 47 return res; in eval() 53 IntOperand* res = result(); in eval() local [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 100 status_t res = mDevice->createDefaultRequest( in isZslEnabledInStillTemplate() local 102 if (res == OK) { in isZslEnabledInStillTemplate() 117 status_t res; in initializeImpl() local 119 res = Camera2ClientBase::initialize(providerPtr, monitorTags); in initializeImpl() 120 if (res != OK) { in initializeImpl() 121 return res; in initializeImpl() 127 res = l.mParameters.initialize(mDevice.get()); in initializeImpl() 128 if (res != OK) { in initializeImpl() 130 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl() 149 res = mFrameProcessor->run((threadName + "-FrameProc").c_str()); in initializeImpl() [all …]
|
/frameworks/av/camera/ |
D | CaptureResult.cpp | 46 status_t res = OK; in readFromParcel() local 47 if ((res = parcel->readString16(&cameraId)) != OK) { in readFromParcel() 48 ALOGE("%s: Failed to read camera id: %d", __FUNCTION__, res); in readFromParcel() 49 return res; in readFromParcel() 78 status_t res = OK; in writeToParcel() local 79 if ((res = parcel->writeString16(toString16(errorPhysicalCameraId))) != OK) { in writeToParcel() 80 ALOGE("%s: Failed to write physical camera ID to parcel: %d", __FUNCTION__, res); in writeToParcel() 81 return res; in writeToParcel() 98 status_t res; in readFromParcel() local 104 if ((res = parcel->readString16(&physicalCameraId)) != OK) { in readFromParcel() [all …]
|
D | CameraBase.cpp | 46 status_t res; in writeToParcel() local 47 res = parcel->writeInt32(facing); in writeToParcel() 48 if (res != OK) return res; in writeToParcel() 49 res = parcel->writeInt32(orientation); in writeToParcel() 50 return res; in writeToParcel() 54 status_t res; in readFromParcel() local 55 res = parcel->readInt32(&facing); in readFromParcel() 56 if (res != OK) return res; in readFromParcel() 57 res = parcel->readInt32(&orientation); in readFromParcel() 58 return res; in readFromParcel() [all …]
|
/frameworks/wilhelm/tests/mimeUri/ |
D | slesTestGetPositionUri.cpp | 69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); in PrefetchEventCallback() local 72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); in PrefetchEventCallback() 96 SLresult res; in PlayEventCallback() local 100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback() 131 SLresult res; in TestGetPositionUri() local 156 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestGetPositionUri() 157 CheckErr(res); in TestGetPositionUri() 171 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestGetPositionUri() [all …]
|
D | slesTestSlowDownUri.cpp | 75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res); in PlayEventCallback() local 76 res = (*pRateItf)->GetRateRange(pRateItf, 0, &minRate, &maxRate, &stepSize, &capa); in PlayEventCallback() 77 CheckErr(res); in PlayEventCallback() 84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckErr(res); in PlayEventCallback() 85 if (res == SL_RESULT_FEATURE_UNSUPPORTED) { in PlayEventCallback() 88 CheckErr(res); in PlayEventCallback() 182 SLresult res; in TestSlowDownUri() local 203 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); CheckErr(res); in TestSlowDownUri() 214 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestSlowDownUri() 215 iidArray, required); CheckErr(res); in TestSlowDownUri() [all …]
|
D | slesTestManyPlayers.cpp | 76 SLresult res; in PrefetchEventCallback() local 79 res = (*caller)->GetFillLevel(caller, &level); CheckErrPlyr(res, *pPlayerId); in PrefetchEventCallback() 82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId); in PrefetchEventCallback() 107 SLresult res; in PlayEventCallback() local 116 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId); in PlayEventCallback() 123 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId); in PlayEventCallback() 132 SLresult res; in TestSetup() local 139 res = slCreateEngine( &slEngine, 1, EngineOption, 0, NULL, NULL); in TestSetup() 140 CheckErr(res); in TestSetup() 142 res = (*slEngine)->Realize(slEngine, SL_BOOLEAN_FALSE); in TestSetup() [all …]
|
D | slesTestPlayUri.cpp | 129 SLresult res; in TestPlayUri() local 149 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 150 CheckErr(res); in TestPlayUri() 164 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestPlayUri() 165 iidArray, required); CheckErr(res); in TestPlayUri() 168 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestPlayUri() 169 CheckErr(res); in TestPlayUri() 188 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestPlayUri() 189 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestPlayUri() 192 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestPlayUri() [all …]
|
D | slesTestLoopUri.cpp | 126 SLresult res; in TestLoopUri() local 146 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestLoopUri() 147 CheckErr(res); in TestLoopUri() 158 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestLoopUri() 159 iidArray, required); CheckErr(res); in TestLoopUri() 162 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestLoopUri() 163 CheckErr(res); in TestLoopUri() 186 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, in TestLoopUri() 187 MAX_NUMBER_INTERFACES, iidArray, required); CheckErr(res); in TestLoopUri() 190 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); in TestLoopUri() [all …]
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestSawtoothBufferQueue.cpp | 59 void CheckErr( SLresult res ) in CheckErr() argument 61 if ( res != SL_RESULT_SUCCESS ) in CheckErr() 63 fprintf(stdout, "%u SL failure, exiting\n", res); in CheckErr() 88 SLresult res; in BufferQueueCallback() local 95 res = (*queueItf)->Enqueue(queueItf, (void*) pCntxt->pData, in BufferQueueCallback() 97 CheckErr(res); in BufferQueueCallback() 109 SLresult res; in TestPlaySawtoothBufferQueue() local 135 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlaySawtoothBufferQueue() 136 CheckErr(res); in TestPlaySawtoothBufferQueue() 149 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestPlaySawtoothBufferQueue() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.cpp | 224 status_t res; in getBufferLocked() local 225 res = getBufferLockedCommon(&anb, &fenceFd); in getBufferLocked() 226 if (res != OK) { in getBufferLocked() 227 return res; in getBufferLocked() 256 status_t res = returnAnyBufferLocked(buffer, timestamp, readoutTimestamp, in returnBufferLocked() local 259 if (res != OK) { in returnBufferLocked() 260 return res; in returnBufferLocked() 277 status_t res = in fixUpHidlJpegBlobHeader() local 281 if (res != OK) { in fixUpHidlJpegBlobHeader() 282 ALOGE("%s: Failed to lock the buffer: %s (%d)", __FUNCTION__, strerror(-res), res); in fixUpHidlJpegBlobHeader() [all …]
|
D | Camera3StreamSplitter.cpp | 55 status_t res = OK; in connect() local 76 res = addOutputLocked(it.first, it.second); in connect() 77 if (res != OK) { in connect() 79 __FUNCTION__, strerror(-res), res); in connect() 80 return res; in connect() 103 res = mProducer->setAsyncMode(true); in connect() 104 if (res != OK) { in connect() 106 strerror(-res), res); in connect() 107 return res; in connect() 110 res = mConsumer->consumerConnect(this, /* controlledByApp */ false); in connect() [all …]
|
/frameworks/wilhelm/tests/ |
D | mimeUri_test.cpp | 63 void CheckErr( SLresult res ) in CheckErr() argument 65 if ( res != SL_RESULT_SUCCESS ) { in CheckErr() 66 fprintf(stderr, "%u SL failure, exiting\n", res); in CheckErr() 103 SLresult res; in TestPlayUri() local 123 res = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); in TestPlayUri() 124 CheckErr(res); in TestPlayUri() 138 res = (*EngineItf)->CreateOutputMix(EngineItf, &OutputMix, 0, in TestPlayUri() 139 iidArray, required); CheckErr(res); in TestPlayUri() 142 res = (*OutputMix)->Realize(OutputMix, SL_BOOLEAN_FALSE); in TestPlayUri() 143 CheckErr(res); in TestPlayUri() [all …]
|
/frameworks/libs/binary_translation/tests/inline_asm_tests/ |
D | utility.h | 89 __uint128_t res; \ 90 asm(ASM : "=w"(res)); \ 91 return res; \ 96 uint64_t res; \ 97 asm(ASM : "=r"(res) : "w"(arg)); \ 98 return res; \ 103 __uint128_t res; \ 104 asm(ASM : "=w"(res) : "r"(arg)); \ 105 return res; \ 110 __uint128_t res; \ [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | channel_parcelable.cpp | 39 status_t res = OK; in writeToParcel() local 46 res = parcel->writeUint32(kUdsMagicParcelHeader); in writeToParcel() 47 if (res != OK) { in writeToParcel() 48 ALOGE("ChannelParcelable::writeToParcel: Cannot write magic: res=%d.", res); in writeToParcel() 49 return res; in writeToParcel() 52 res = parcel->writeFileDescriptor(data_fd_.Get()); in writeToParcel() 53 if (res != OK) { in writeToParcel() 55 res); in writeToParcel() 56 return res; in writeToParcel() 59 res = parcel->writeFileDescriptor(pollin_event_fd_.Get()); in writeToParcel() [all …]
|
/frameworks/base/core/java/android/content/ |
D | LoggingContentInterface.java | 21 import android.content.res.AssetFileDescriptor; 75 public <T> T setResult(T res) { in setResult() argument 76 if (res instanceof Cursor) { in setResult() 78 DatabaseUtils.dumpCursor((Cursor) res, sb); in setResult() 80 sb.append(" = ").append(deepToString(res)); in setResult() 82 return res; in setResult() 98 } catch (Exception res) { in query() 99 l.setResult(res); in query() 100 throw res; in query() 110 } catch (Exception res) { in getType() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Double3.java | 56 Double3 res = new Double3(); in add() local 57 res.x = a.x + b.x; in add() 58 res.y = a.y + b.y; in add() 59 res.z = a.z + b.z; in add() 61 return res; in add() 94 Double3 res = new Double3(); in add() local 95 res.x = a.x + b; in add() 96 res.y = a.y + b; in add() 97 res.z = a.z + b; in add() 99 return res; in add() [all …]
|
D | Double4.java | 59 Double4 res = new Double4(); in add() local 60 res.x = a.x + b.x; in add() 61 res.y = a.y + b.y; in add() 62 res.z = a.z + b.z; in add() 63 res.w = a.w + b.w; in add() 65 return res; in add() 100 Double4 res = new Double4(); in add() local 101 res.x = a.x + b; in add() 102 res.y = a.y + b; in add() 103 res.z = a.z + b; in add() [all …]
|
D | Float4.java | 59 Float4 res = new Float4(); in add() local 60 res.x = a.x + b.x; in add() 61 res.y = a.y + b.y; in add() 62 res.z = a.z + b.z; in add() 63 res.w = a.w + b.w; in add() 65 return res; in add() 100 Float4 res = new Float4(); in add() local 101 res.x = a.x + b; in add() 102 res.y = a.y + b; in add() 103 res.z = a.z + b; in add() [all …]
|
/frameworks/wilhelm/tests/native-media/jni/ |
D | native-media-jni.c | 102 XAresult res; in AndroidBufferQueueCallback() local 117 res = (*playerBQItf)->Clear(playerBQItf); in AndroidBufferQueueCallback() 118 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback() 196 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback() 201 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback() 209 res = (*caller)->Enqueue(caller, (void *)&kEosBufferCntxt /*pBufferContext*/, in AndroidBufferQueueCallback() 214 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback() 242 XAresult res; in StreamChangeCallback() local 244 res = (*caller)->QueryStreamType(caller, streamIndex, &domain); in StreamChangeCallback() 245 assert(XA_RESULT_SUCCESS == res); in StreamChangeCallback() [all …]
|