Searched refs:result (Results 51 - 75 of 2201) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Support/
H A DMemoryAreaFactory.cpp29 MemoryArea* result = allocate(); local
30 new (result) MemoryArea(name);
31 m_AreaMap[name] = result;
32 return result;
43 MemoryArea* result = allocate(); local
44 new (result) MemoryArea(name);
45 m_AreaMap[name] = result;
46 return result;
56 MemoryArea* result = allocate(); local
57 new (result) MemoryAre
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestSendToPresetReverb.cpp39 void ExitOnErrorFunc( SLresult result , int line)
41 if (SL_RESULT_SUCCESS != result) {
42 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
56 SLresult result; local
58 result = (*caller)->GetFillLevel(caller, &level);
59 ExitOnError(result);
61 result = (*caller)->GetPrefetchStatus(caller, &status);
62 ExitOnError(result);
75 SLresult result; local
106 result
329 SLresult result; local
[all...]
H A DslesTestBassBoostPath.cpp38 void ExitOnErrorFunc( SLresult result , int line)
40 if (SL_RESULT_SUCCESS != result) {
41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
52 SLresult result; local
80 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
81 ExitOnError(result);
93 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required);
94 ExitOnError(result);
97 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
98 ExitOnError(result);
251 SLresult result; local
[all...]
H A DslesTestVirtualizerPath.cpp38 void ExitOnErrorFunc( SLresult result , int line)
40 if (SL_RESULT_SUCCESS != result) {
41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
53 SLresult result; local
81 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
82 ExitOnError(result);
94 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
95 ExitOnError(result);
98 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
99 ExitOnError(result);
253 SLresult result; local
[all...]
H A DslesTestPlayFdPath.cpp40 void ExitOnErrorFunc( SLresult result , int line)
42 if (SL_RESULT_SUCCESS != result) {
43 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
55 SLresult result; local
56 result = (*caller)->GetFillLevel(caller, &level);
57 ExitOnError(result);
59 result = (*caller)->GetPrefetchStatus(caller, &status);
60 ExitOnError(result);
73 SLresult result; local
96 result
224 SLresult result; local
[all...]
H A DslesTestEqFdPath.cpp38 void ExitOnErrorFunc( SLresult result , int line)
40 if (SL_RESULT_SUCCESS != result) {
41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
57 SLresult result; local
85 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
86 ExitOnError(result);
98 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required);
99 ExitOnError(result);
102 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
103 ExitOnError(result);
280 SLresult result; local
[all...]
/frameworks/av/media/libaaudio/examples/input_monitor/src/
H A Dinput_monitor_callback.cpp36 aaudio_result_t result; local
46 result = recorder.open(2, 48000, AAUDIO_FORMAT_PCM_I16,
48 if (result != AAUDIO_OK) {
49 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result);
55 result = recorder.start();
56 if (result != AAUDIO_OK) {
57 fprintf(stderr, "ERROR - recorder.start() returned %d\n", result);
70 result = AAudioStream_waitForStateChange(recorder.getStream(),
74 if (result != AAUDIO_OK) {
75 fprintf(stderr, "ERROR - AAudioStream_waitForStateChange() returned %d\n", result);
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java55 boolean result = mEgl10.eglChooseConfig(display, attrib_list, configs,
59 returns(result);
61 return result;
72 boolean result = mEgl10.eglCopyBuffers(display, surface, native_pixmap);
73 returns(result);
75 return result;
87 EGLContext result = mEgl10.eglCreateContext(display, config,
89 returns(result);
91 return result;
102 EGLSurface result
454 returns(String result) argument
459 returns(int result) argument
463 returns(boolean result) argument
467 returns(Object result) argument
[all...]
/frameworks/base/core/java/android/util/
H A DDebugUtils.java131 float result = number;
133 if (result > 900) {
135 result = result / 1024;
137 if (result > 900) {
139 result = result / 1024;
141 if (result > 900) {
143 result = result / 102
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp46 status_t result; local
47 result = mStream->getBufferSize(&mStreamBufferSizeBytes);
48 if (result != OK) return result;
52 result = mStream->getAudioProperties(&sampleRate, &channelMask, &streamFormat);
53 if (result != OK) return result;
64 status_t result = mStream->getInputFramesLost(&framesOverrun); local
65 if (result == OK && framesOverrun > 0) {
69 } else if (result !
81 status_t result = mStream->read(buffer, count * mFrameSize, &bytesRead); local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dmpy_32_16.h101 Word32 result; local
107 __asm {SMULBB result, L_var1_lo, var2} local
108 result >>= 15;
109 __asm {QDADD L_sum, L_product, result}
124 Word32 result, L_product; local
133 : "=r"(result)
138 : "r"(result), "r"(L_product)
142 : "=r"(result)
148 : "r"(result)
151 : "=r"(result)
167 Word32 result; local
[all...]
H A Dl_mac.h110 Word32 result; local
115 __asm {SMULBB result, var1, var2} local
116 __asm {QDADD L_sum, L_var3, result}
127 Word32 result; local
132 : "=r"(result)
138 : "r"(ra), "r"(result)
148 Word32 result; local
150 result = (Word32) var1 * var2;
151 if (result != (Word32) 0x40000000L)
153 L_sum = (result <<
[all...]
H A Dl_msu.h112 Word32 result; local
119 QDSUB result, L_var3, product local
122 return (result);
133 Word32 result; local
143 : "=r"(result)
147 return (result);
154 Word32 result; local
156 result = L_mult(var1, var2, pOverflow);
157 result = L_sub(L_var3, result, pOverflo
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DInt4.java72 Int4 result = new Int4();
73 result.x = a.x + b.x;
74 result.y = a.y + b.y;
75 result.z = a.z + b.z;
76 result.w = a.w + b.w;
78 return result;
101 Int4 result = new Int4();
102 result.x = a.x + b;
103 result.y = a.y + b;
104 result
[all...]
H A DLong4.java72 Long4 result = new Long4();
73 result.x = a.x + b.x;
74 result.y = a.y + b.y;
75 result.z = a.z + b.z;
76 result.w = a.w + b.w;
78 return result;
101 Long4 result = new Long4();
102 result.x = a.x + b;
103 result.y = a.y + b;
104 result
[all...]
H A DShort4.java72 Short4 result = new Short4();
73 result.x = (short)(a.x + b.x);
74 result.y = (short)(a.y + b.y);
75 result.z = (short)(a.z + b.z);
76 result.w = (short)(a.w + b.w);
78 return result;
101 Short4 result = new Short4();
102 result.x = (short)(a.x + b);
103 result.y = (short)(a.y + b);
104 result
[all...]
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioSimpleRecorder.h89 aaudio_result_t result = AAUDIO_OK; local
92 result = AAudio_createStreamBuilder(&mBuilder);
93 if (result != AAUDIO_OK) return result;
109 result = AAudioStreamBuilder_openStream(mBuilder, &mStream);
110 if (result != AAUDIO_OK) {
112 result, AAudio_convertResultToText(result));
122 return result;
127 return result;
147 aaudio_result_t result = numFrames; local
156 aaudio_result_t result = AAudioStream_requestStart(mStream); local
166 aaudio_result_t result = AAudioStream_requestStop(mStream); local
176 aaudio_result_t result = AAudioStream_requestPause(mStream); local
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dmultiplay.c39 // Strings corresponding to result codes; FIXME should move to a common test library
61 // Convert result to string; FIXME should move to common test library
63 static const char *result_to_string(SLresult result) argument
66 if ( /* result >= 0 && */ result < sizeof(result_strings) / sizeof(result_strings[0]))
67 return result_strings[result];
68 sprintf(buffer, "%d", (int) result);
72 // Compare result against expected and exit suddenly if wrong
74 void check2(SLresult result, int line) argument
76 if (SL_RESULT_SUCCESS != result) {
93 SLresult result; local
144 SLresult result; local
[all...]
H A Dengine.c27 SLresult result; local
29 result = slQueryNumSupportedEngineInterfaces(&numSupportedInterfaces);
30 assert(SL_RESULT_SUCCESS == result);
31 result = slQueryNumSupportedEngineInterfaces(NULL);
32 assert(SL_RESULT_PARAMETER_INVALID == result);
45 result = slQuerySupportedEngineInterfaces(index, &interfaceID);
47 assert(SL_RESULT_SUCCESS == result);
53 assert(SL_RESULT_PARAMETER_INVALID == result);
55 result = slQuerySupportedEngineInterfaces(index, NULL);
56 assert(SL_RESULT_PARAMETER_INVALID == result);
[all...]
H A Dreverb.c192 SLresult result; local
195 result = (*caller)->GetFillLevel(caller, &level);
196 assert(SL_RESULT_SUCCESS == result);
198 result = (*caller)->GetPrefetchStatus(caller, &status);
199 assert(SL_RESULT_SUCCESS == result);
224 SLresult result; local
311 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
312 assert(SL_RESULT_SUCCESS == result);
313 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
314 assert(SL_RESULT_SUCCESS == result);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java148 int[] result = new int[4];
176 result = blender.blend(srcPixel, dstPixel, result);
178 // mixes the result with the opacity
180 dstPixels[x] = (result[3] & 0xFF) << 24 |
181 (result[0] & 0xFF) << 16 |
182 (result[1] & 0xFF) << 8 |
183 result[2] & 0xFF;
186 ((int) (dstPixel[3] + (result[3] - dstPixel[3]) * alpha) & 0xFF) << 24 |
187 ((int) (dstPixel[0] + (result[
200 blend(int[] src, int[] dst, int[] result) argument
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestPlayStreamType.cpp36 void ExitOnErrorFunc( SLresult result , int line)
38 if (SL_RESULT_SUCCESS != result) {
39 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
50 SLresult result; local
76 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
77 ExitOnError(result);
89 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
90 ExitOnError(result);
93 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
94 ExitOnError(result);
237 SLresult result; local
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dserialization_tests.cpp86 MapType result; local
88 result.emplace(i, i);
90 return result;
116 Payload result; local
122 Serialize(value, &result);
124 EXPECT_EQ(expected, result);
125 result.Clear();
129 Serialize(value, &result);
131 EXPECT_EQ(expected, result);
132 result
136 Payload result; local
170 Payload result; local
218 Payload result; local
280 Payload result; local
357 Payload result; local
405 Payload result; local
467 Payload result; local
543 Payload result; local
635 Payload result; local
655 Payload result; local
677 Payload result; local
689 Payload result; local
701 Payload result; local
715 Serialize(std::forward_as_tuple(fd1, fd2), &result); local
739 Payload result; local
800 Payload result; local
806 Serialize(WrapString(value), &result); local
813 Serialize(WrapString(value), &result); local
821 Serialize(WrapString(value), &result); local
829 Serialize(WrapString(value), &result); local
837 Serialize(WrapString(value), &result); local
845 Serialize(WrapString(value), &result); local
853 Serialize(WrapString(value), &result); local
861 Payload result; local
906 Payload result; local
951 Payload result; local
996 Payload result; local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java46 public void getIccCardStatus(Message result) { argument
50 public void supplyIccPin(String pin, Message result) { argument
54 public void supplyIccPuk(String puk, String newPin, Message result) { argument
58 public void supplyIccPin2(String pin, Message result) { argument
62 public void supplyIccPuk2(String puk, String newPin2, Message result) { argument
66 public void changeIccPin(String oldPin, String newPin, Message result) { argument
70 public void changeIccPin2(String oldPin2, String newPin2, Message result) { argument
75 String newPwd, Message result) {
79 public void supplyNetworkDepersonalization(String netpin, Message result) { argument
83 public void getCurrentCalls(Message result) { argument
74 changeBarringPassword(String facility, String oldPwd, String newPwd, Message result) argument
87 getPDPContextList(Message result) argument
91 getDataCallList(Message result) argument
95 dial(String address, int clirMode, Message result) argument
99 dial(String address, int clirMode, UUSInfo uusInfo, Message result) argument
104 getIMSI(Message result) argument
108 getIMSIForApp(String aid, Message result) argument
112 getIMEI(Message result) argument
116 getIMEISV(Message result) argument
121 hangupConnection(int gsmIndex, Message result) argument
125 hangupWaitingOrBackground(Message result) argument
129 hangupForegroundResumeBackground(Message result) argument
133 switchWaitingOrHoldingAndActive(Message result) argument
137 conference(Message result) argument
142 setPreferredVoicePrivacy(boolean enable, Message result) argument
146 getPreferredVoicePrivacy(Message result) argument
150 separateConnection(int gsmIndex, Message result) argument
154 acceptCall(Message result) argument
158 rejectCall(Message result) argument
162 explicitCallTransfer(Message result) argument
166 getLastCallFailCause(Message result) argument
171 getLastPdpFailCause(Message result) argument
175 getLastDataCallFailCause(Message result) argument
187 getSignalStrength(Message result) argument
191 getVoiceRegistrationState(Message result) argument
195 getDataRegistrationState(Message result) argument
199 getOperator(Message result) argument
203 sendDtmf(char c, Message result) argument
207 startDtmf(char c, Message result) argument
211 stopDtmf(Message result) argument
215 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
220 sendSMS(String smscPDU, String pdu, Message result) argument
224 sendSMSExpectMore(String smscPDU, String pdu, Message result) argument
228 sendCdmaSms(byte[] pdu, Message result) argument
242 getImsRegistrationState(Message result) argument
262 setupDataCall(int radioTechnology, DataProfile dataProfile, boolean isRoaming, boolean allowRoaming, Message result) argument
267 deactivateDataCall(int cid, int reason, Message result) argument
271 setRadioPower(boolean on, Message result) argument
275 setSuppServiceNotifications(boolean enable, Message result) argument
279 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message result) argument
284 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message result) argument
289 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message result) argument
294 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message result) argument
298 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message result) argument
303 getCLIR(Message result) argument
307 setCLIR(int clirMode, Message result) argument
383 resetRadio(Message result) argument
432 getSmscAddress(Message result) argument
436 setSmscAddress(String address, Message result) argument
440 reportSmsMemoryStatus(boolean available, Message result) argument
444 reportStkServiceIsRunning(Message result) argument
550 getVoiceRadioTechnology(Message result) argument
554 setInitialAttachApn(DataProfile dataProfile, boolean isRoaming, Message result) argument
558 setDataProfile(DataProfile[] dps, boolean isRoaming, Message result) argument
596 getHardwareConfig(Message result) argument
600 requestShutdown(Message result) argument
604 startLceService(int reportIntervalMs, boolean pullMode, Message result) argument
608 stopLceService(Message result) argument
612 pullLceData(Message result) argument
616 getModemActivityInfo(Message result) argument
620 setAllowedCarriers(List<CarrierIdentifier> carriers, Message result) argument
624 getAllowedCarriers(Message result) argument
628 sendDeviceState(int stateType, boolean state, Message result) argument
632 setUnsolResponseFilter(int filter, Message result) argument
636 setSimCardPower(boolean powerUp, Message result) argument
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp82 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); local
83 if (result != NO_ERROR) {
84 return result;
89 result = reply.read(**buf);
90 if(result != NO_ERROR) {
92 return result;
95 result = reply.readInt32();
96 return result;
104 status_t result = remote()->transact(SET_MAX_DEQUEUED_BUFFER_COUNT, local
106 if (result !
118 status_t result = remote()->transact(SET_ASYNC_MODE, local
140 status_t result = remote()->transact(DEQUEUE_BUFFER, data, &reply); local
168 status_t result = remote()->transact(DETACH_BUFFER, data, &reply); local
187 status_t result = remote()->transact(DETACH_NEXT_BUFFER, data, &reply); local
220 status_t result = remote()->transact(ATTACH_BUFFER, data, &reply); local
245 status_t result = remote()->transact(QUEUE_BUFFER, data, &reply); local
264 status_t result = remote()->transact(CANCEL_BUFFER, data, &reply); local
276 status_t result = remote()->transact(QUERY, data, &reply); local
297 status_t result = remote()->transact(CONNECT, data, &reply); local
311 status_t result =remote()->transact(DISCONNECT, data, &reply); local
321 status_t result; local
343 status_t result = remote()->transact(ALLOCATE_BUFFERS, data, &reply); local
353 status_t result = remote()->transact(ALLOW_ALLOCATION, data, &reply); local
365 status_t result = remote()->transact(SET_GENERATION_NUMBER, data, &reply); local
375 status_t result = remote()->transact(GET_CONSUMER_NAME, data, &reply); local
388 status_t result = remote()->transact(SET_SHARED_BUFFER_MODE, data, local
401 status_t result = remote()->transact(SET_AUTO_REFRESH, data, &reply); local
412 status_t result = remote()->transact(SET_DEQUEUE_TIMEOUT, data, &reply); local
424 status_t result = remote()->transact(GET_LAST_QUEUED_BUFFER, data, variable
460 status_t result = data.writeInterfaceToken( local
481 status_t result = remote()->transact(GET_UNIQUE_ID, data, &reply); local
630 int result = requestBuffer(bufferIdx, &buffer); local
641 int result = setMaxDequeuedBufferCount(maxDequeuedBuffers); local
648 int result = setAsyncMode(async); local
663 int result = dequeueBuffer(&buf, &fence, width, height, format, local
677 int result = detachBuffer(slot); local
685 int32_t result = detachNextBuffer(&buffer, &fence); local
702 status_t result = data.read(*buffer.get()); local
717 status_t result = queueBuffer(buf, input, &output); local
727 status_t result = data.read(*fence.get()); local
771 status_t result = setSidebandStream(stream); local
787 status_t result = allowAllocation(allow); local
794 status_t result = setGenerationNumber(generationNumber); local
806 status_t result = setSharedBufferMode(sharedBufferMode); local
813 status_t result = setAutoRefresh(autoRefresh); local
820 status_t result = setDequeueTimeout(timeout); local
829 status_t result = getLastQueuedBuffer(&buffer, &fence, transform); local
858 status_t result = reply->write(frameTimestamps); local
870 status_t result = reply->writeInt32(actualResult); local
927 status_t result = fence->flatten(buffer, size, fds, count); local
951 status_t result = fence->unflatten(buffer, size, fds, count); local
[all...]

Completed in 4316 milliseconds

1234567891011>>