/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | IHdmiRecordListener.aidl | 34 * @param result result code for one touch record 36 void onOneTouchRecordResult(int result); 40 * @param result result code for timer recording 42 void onTimerRecordingResult(int result); 44 * Called when receiving result for clear timer recording request. 46 * @param result result of clear timer. 48 void onClearTimerRecordingResult(int result); [all...] |
H A D | IHdmiControlCallback.aidl | 21 * the result of various API invocation. 26 void onComplete(int result);
|
H A D | HdmiRecordListener.java | 42 * @param result result code. For more details, please look at all constants starting with 50 public void onOneTouchRecordResult(int result) { argument 78 static TimerStatusData parseFrom(int result) { argument 81 data.mOverlapped = ((result >> 31) & 0x1) != 0; 83 data.mMediaInfo = (result >> 29) & 0x3; 85 data.mProgrammed = ((result >> 28) & 0x1) != 0; 87 data.mProgrammedInfo = (result >> 24) & 0xF; 88 data.mDurationHour = bcdByteToInt((byte) ((result >> 16) & 0xFF)); 89 data.mDurationMinute = bcdByteToInt((byte) ((result >> 242 onClearTimerRecordingResult(int result) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | trace.h | 35 #define SL_ENTER_GLOBAL SLresult result; 36 #define SL_LEAVE_GLOBAL return result; 37 #define SL_ENTER_INTERFACE SLresult result; 38 #define SL_LEAVE_INTERFACE return result; 42 #define XA_ENTER_GLOBAL XAresult result; 43 #define XA_LEAVE_GLOBAL return result; 44 #define XA_ENTER_INTERFACE XAresult result; 45 #define XA_LEAVE_INTERFACE return result; 50 extern void slTraceLeaveGlobal(const char *function, SLresult result); 52 extern void slTraceLeaveInterface(const char *function, SLresult result); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | div_32.cpp | 46 that the result will not saturate. 104 result = 32-bit quotient of of the division of two 32 bit integers 125 3. result = L_num * (1/L_denom). 179 Word32 result; local 187 result = Mpy_32_16(L_denom_hi, L_denom_lo, approx, pOverflow); 188 /* result is > 0 , and less than 1.0 */ 189 result = 0x7fffffffL - result; 191 hi = (Word16)(result >> 16); 192 lo = (result >> [all...] |
H A D | shr.cpp | 114 product = Shifted result limited to 16 bits (Word16) 127 -var2 with sign extension. Saturate the result in case of underflows or 207 register Word16 result; local 216 result = ((var1 < 0) ? -1 : 0); 222 result = (~((~var1) >> var2)); 226 result = (var1 >> var2); 241 result = (Word16)(temp_res); 243 if (temp_res != (Word32) result) 246 result = ((var1 > 0) ? MAX_16 : MIN_16); 253 result [all...] |
H A D | l_shr_r.cpp | 41 function return value name from "L_var_out" to "result". 95 result = Shifted result w/ rounding (Word32) 109 the result. The result is saturated in case of underflows or overflows, i.e., 195 Word32 result; local 199 result = 0; 203 result = L_shr(L_var1, var2, pOverflow); 209 result++; 213 return (result); [all...] |
H A D | round.cpp | 48 Created a new return variable result. 110 result = MS 16 bits of rounded input L_var1. 189 Word16 result; local 192 result = (Word16)(L_var1 >> 16); 194 return (result);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | outputmix.c | 30 SLresult result; local 31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 32 assert(SL_RESULT_SUCCESS == result); 35 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 36 assert(SL_RESULT_SUCCESS == result); 39 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 40 assert(SL_RESULT_SUCCESS == result); 43 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, SL_OBJECTID_OUTPUTMIX, 45 assert(SL_RESULT_SUCCESS == result); 50 result [all...] |
H A D | dim.c | 36 SLresult result; local 40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 41 assert(SL_RESULT_SUCCESS == result); 43 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 44 assert(SL_RESULT_SUCCESS == result); 45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 46 assert(SL_RESULT_SUCCESS == result); 50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); 51 assert(SL_RESULT_SUCCESS == result); 55 result [all...] |
H A D | object.c | 26 SLresult result; local 31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 32 assert(SL_RESULT_SUCCESS == result); 33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 34 assert(SL_RESULT_SUCCESS == result); 36 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 37 assert(SL_RESULT_SUCCESS == result); 53 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, objectID, NULL); 54 assert(SL_RESULT_PARAMETER_INVALID == result); 56 result [all...] |
H A D | urimime.c | 37 SLresult result; local 41 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 42 assert(SL_RESULT_SUCCESS == result); 44 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 45 assert(SL_RESULT_SUCCESS == result); 46 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 47 assert(SL_RESULT_SUCCESS == result); 51 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); 52 assert(SL_RESULT_SUCCESS == result); 53 result [all...] |
/frameworks/wilhelm/src/ut/ |
H A D | slesutResult.c | 22 /** \brief Maximum result return code */ 26 /** \brief Array of strings correponding to each result code */ 49 /** \brief Convert a result code to a string or NULL. */ 51 const char *slesutResultToString(SLresult result) argument 54 return result < SLESUT_RESULT_MAX ? slesutResultStrings[result] : NULL;
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
H A D | ICU_Delegate.java | 181 /*package*/ static boolean initLocaleDataNative(String locale, LocaleData result) { argument 184 result.firstDayOfWeek = Integer.valueOf(1); 185 result.minimalDaysInFirstWeek = Integer.valueOf(1); 188 result.amPm = new String[] { "AM", "PM" }; 189 result.eras = new String[] { "BC", "AD" }; 191 result.longMonthNames = new String[] { "January", "February", "March", "April", "May", 193 result.shortMonthNames = new String[] { "Jan", "Feb", "Mar", "Apr", "May", 195 result.longStandAloneMonthNames = result.longMonthNames; 196 result [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ResultException.java | 30 public ResultException(ResultCode result) { argument 36 switch (result) { 46 "For result code, " + result + 52 mResult = result; 57 public ResultException(ResultCode result, String explanation) { argument 58 this(result); 62 public ResultException(ResultCode result, int additionalInfo) { argument 63 this(result); 73 public ResultException(ResultCode result, in argument 78 public ResultCode result() { method in class:ResultException [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGLObjectHandle.java | 66 int result = 17; 67 result = 31 * result + (int) (mHandle ^ (mHandle >>> 32)); 68 return result;
|
/frameworks/native/opengl/tools/glgen/static/egl/ |
H A D | EGLObjectHandle.java | 66 int result = 17; 67 result = 31 * result + (int) (mHandle ^ (mHandle >>> 32)); 68 return result;
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayUri2.cpp | 29 void ExitOnError( SLresult result ) 31 if (SL_RESULT_SUCCESS != result) { 32 fprintf(stdout, "%u error code encountered, exiting\n", result); 65 SLresult result; local 89 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 90 ExitOnError(result); 108 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); 109 ExitOnError(result); 112 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); 113 ExitOnError(result); 251 SLresult result; local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | SimTonesTest.java | 46 boolean result = TonesAutoTest.tonesDtmfTest(); 47 assertTrue("DTMF Tones", result); 52 boolean result = TonesAutoTest.tonesSupervisoryTest(); 53 assertTrue("Supervisory Tones", result); 58 boolean result = TonesAutoTest.tonesProprietaryTest(); 59 assertTrue("Proprietary Tones", result); 64 boolean result = TonesAutoTest.tonesSimultaneousTest(); 65 assertTrue("Simultaneous Tones", result); 70 boolean result = TonesAutoTest.tonesStressTest(); 71 assertTrue("Stress Tones", result); [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | ContextFactory.cpp | 27 LDContext* result = find(pPath); local 28 if (0 == result) { 29 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); 30 new (result) LDContext(); 31 f_KeyMap.insert(std::make_pair(pPath, result)); 33 return result; 38 LDContext* result = allocate(); local 39 new (result) LDContext(); 40 return result;
|
/frameworks/native/services/inputflinger/ |
H A D | InputManager.cpp | 54 status_t result = mDispatcherThread->run("InputDispatcher", PRIORITY_URGENT_DISPLAY); local 55 if (result) { 56 ALOGE("Could not start InputDispatcher thread due to error %d.", result); 57 return result; 60 result = mReaderThread->run("InputReader", PRIORITY_URGENT_DISPLAY); 61 if (result) { 62 ALOGE("Could not start InputReader thread due to error %d.", result); 65 return result; 72 status_t result = mReaderThread->requestExitAndWait(); local 73 if (result) { [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsUtInterface.java | 95 * Invalid result value. 107 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}. 109 public void queryCallBarring(int cbType, Message result); argument 113 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}. 115 public void queryCallForward(int condition, String number, Message result); argument 119 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}. 121 public void queryCallWaiting(Message result); argument 126 public void queryCLIR(Message result); argument 131 public void queryCLIP(Message result); argument 136 public void queryCOLR(Message result); argument 141 queryCOLP(Message result) argument 146 updateCallBarring(int cbType, boolean enable, Message result, String[] barrList) argument 152 updateCallForward(int action, int condition, String number, int timeSeconds, Message result) argument 158 updateCallWaiting(boolean enable, Message result) argument 163 updateCLIR(int clirMode, Message result) argument 168 updateCLIP(boolean enable, Message result) argument 173 updateCOLR(int presentation, Message result) argument 178 updateCOLP(boolean enable, Message result) argument [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | LEB128Test.cpp | 48 leb128::ByteType *result; local 51 result = buffer; 52 size = leb128::encode<uint32_t>(result, 2); 54 ASSERT_EQ(result, buffer + 1); 57 result = buffer; 58 size = leb128::encode<uint32_t>(result, 127); 60 ASSERT_EQ(result, buffer + 1); 63 result = buffer; 64 size = leb128::encode<uint32_t>(result, 128); 67 ASSERT_EQ(result, buffe 94 leb128::ByteType *result; local 140 leb128::ByteType *result; local 302 leb128::ByteType *result; local 419 leb128::ByteType *result; local 466 leb128::ByteType *result; local 501 leb128::ByteType *result; local 517 char *result; local [all...] |
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 73 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 74 return result; 78 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); 79 return result; 82 bool Rect::intersect(const Rect& with, Rect* result) const { 83 result->left = max(left, with.left); 84 result->top = max(top, with.top); 85 result->right = min(right, with.right); 86 result->bottom = min(bottom, with.bottom); 87 return !(result 111 Rect result; local [all...] |
/frameworks/wilhelm/tests/listening/ |
H A D | seekTorture.c | 36 SLresult result; local 40 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 41 ASSERT_EQ(SL_RESULT_SUCCESS, result); 42 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 43 ASSERT_EQ(SL_RESULT_SUCCESS, result); 45 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 46 ASSERT_EQ(SL_RESULT_SUCCESS, result); 50 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputmixObject, 0, NULL, NULL); 51 ASSERT_EQ(SL_RESULT_SUCCESS, result); 52 result [all...] |