/frameworks/volley/src/com/android/volley/ |
H A D | Response.java | 41 /** Returns a successful response containing the parsed result. */ 42 public static <T> Response<T> success(T result, Cache.Entry cacheEntry) { argument 43 return new Response<T>(result, cacheEntry); 55 public final T result; field in class:Response 74 private Response(T result, Cache.Entry cacheEntry) { argument 75 this.result = result; 81 this.result = null;
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayStreamType.cpp | 36 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...] |
H A D | slesTest_playStates.cpp | 36 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 74 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 75 ExitOnError(result); 87 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required); 88 ExitOnError(result); 91 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); 92 ExitOnError(result); 206 SLresult result; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowInsets.java | 265 * <p>The result of this method is equivalent to the return value of 294 final WindowInsets result = new WindowInsets(this); 295 result.mSystemWindowInsets = EMPTY_RECT; 296 result.mSystemWindowInsetsConsumed = true; 297 return result; 313 final WindowInsets result = new WindowInsets(this); 314 result.mSystemWindowInsets = new Rect( 319 return result; 336 final WindowInsets result = new WindowInsets(this); 337 result [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | engine.c | 27 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 D | reverb.c | 192 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...] |
H A D | intbufq.c | 83 SLresult result; local 87 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 88 checkResult(result); 89 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE); 90 checkResult(result); 92 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine); 93 checkResult(result); 97 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputmixObject, 0, NULL, NULL); 98 checkResult(result); 99 result [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | motion_comp.cpp | 195 uint32 prev_pix, result, pix1, pix2, pix4; local 210 result = (pix2 << 8) | pix1; 217 result |= prev_pix; 218 *((uint32*)out) = result; /* write 4 bytes */ 220 result = pix4 >> 8; /* for the next loop */ 230 result = *((uint16*)ref); 237 result |= prev_pix; 238 *((uint32*)out) = result; /* write 4 bytes */ 240 result = pix4 >> 16; /* for the next loop */ 250 result 274 int result, curr_offset, ref_offset; local 564 int result, result2, curr_offset, ref_offset; local 722 int result, curr_offset, ref_offset; local 785 int result, curr_offset, ref_offset; local 1088 int result, curr_offset, ref_offset; local 1153 int result, result2, curr_offset, ref_offset; local 1311 int result; local 2022 int32 r0, r1, temp0, temp1, result; local 2088 int32 r0, r1, result; local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | TypefaceImpl.cpp | 84 FontCollection *result = new FontCollection(typefaces); local 86 return result; 113 TypefaceImpl* result = new TypefaceImpl; local 114 if (result != 0) { 115 result->fFontCollection = resolvedFace->fFontCollection; 116 result->fFontCollection->Ref(); 117 result->fSkiaStyle = style; 118 result->fBaseWeight = resolvedFace->fBaseWeight; 119 resolveStyle(result); 121 return result; 126 TypefaceImpl* result = new TypefaceImpl; local 143 TypefaceImpl* result = new TypefaceImpl; local [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEqFdPath.cpp | 38 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...] |
H A D | slesTestEqOutputPath.cpp | 38 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 87 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf); 88 ExitOnError(result); 104 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required); 105 ExitOnError(result); 108 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE); 109 ExitOnError(result); 284 SLresult result; local [all...] |
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
H A D | ObjectLoader.cpp | 33 ObjectLoader *result = NULL; local 42 // Create result object 43 result = new (std::nothrow) ObjectLoader(); 44 if (result == NULL) { 52 result->mImpl = new (std::nothrow) ELFObjectLoaderImpl(); 53 if (result->mImpl == NULL) { 59 if (!result->mImpl->load(pMemStart, pMemSize)) { 65 if (!result->mImpl->relocate(pResolver)) { 81 result->mDebugImage = new (std::nothrow) uint8_t [ pMemSize ]; 82 if (result 108 ObjectLoader *result = NULL; local [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsUt.java | 117 * @param result message to pass the result of this operation 118 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}. 121 public void queryCallBarring(int cbType, Message result) { argument 131 sendFailureReport(result, 136 mPendingCmds.put(Integer.valueOf(id), result); 138 sendFailureReport(result, 146 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}. 149 public void queryCallForward(int condition, String number, Message result) { argument 160 sendFailureReport(result, 178 queryCallWaiting(Message result) argument 205 queryCLIR(Message result) argument 231 queryCLIP(Message result) argument 257 queryCOLR(Message result) argument 283 queryCOLP(Message result) argument 310 updateCallBarring(int cbType, boolean enable, Message result, String[] barrList) argument 348 updateCallForward(int action, int condition, String number, int timeSeconds, Message result) argument 378 updateCallWaiting(boolean enable, Message result) argument 405 updateCLIR(int clirMode, Message result) argument 432 updateCLIP(boolean enable, Message result) argument 459 updateCOLR(int presentation, Message result) argument 486 updateCOLP(boolean enable, Message result) argument 509 transact(Bundle ssInfo, Message result) argument 532 sendFailureReport(Message result, ImsReasonInfo error) argument 550 sendSuccessReport(Message result) argument 559 sendSuccessReport(Message result, Object ssInfo) argument [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
H A D | PhotoBitmapLoader.java | 51 BitmapResult result = new BitmapResult(); 56 result = ImageUtils.createLocalBitmap(resolver, Uri.parse(mPhotoUri), 58 if (result.bitmap != null) { 59 result.bitmap.setDensity(DisplayMetrics.DENSITY_MEDIUM); 63 result.status = BitmapResult.STATUS_EXCEPTION; 67 return result; 76 public void deliverResult(BitmapResult result) { argument 77 Bitmap bitmap = result != null ? result.bitmap : null; 80 // don't need the result 136 onCanceled(BitmapResult result) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Byte3.java | 64 Byte3 result = new Byte3(); 65 result.x = (byte)(a.x + b.x); 66 result.y = (byte)(a.y + b.y); 67 result.z = (byte)(a.z + b.z); 69 return result; 91 Byte3 result = new Byte3(); 92 result.x = (byte)(a.x + b); 93 result.y = (byte)(a.y + b); 94 result.z = (byte)(a.z + b); 96 return result; [all...] |
H A D | Int2.java | 64 Int2 result = new Int2(); 65 result.x = a.x + b.x; 66 result.y = a.y + b.y; 68 return result; 89 Int2 result = new Int2(); 90 result.x = a.x + b; 91 result.y = a.y + b; 93 return result; 114 Int2 result = new Int2(); 115 result [all...] |
H A D | Long2.java | 64 Long2 result = new Long2(); 65 result.x = a.x + b.x; 66 result.y = a.y + b.y; 68 return result; 89 Long2 result = new Long2(); 90 result.x = a.x + b; 91 result.y = a.y + b; 93 return result; 114 Long2 result = new Long2(); 115 result [all...] |
H A D | Short2.java | 67 Short2 result = new Short2(); 68 result.x = (short)(a.x + b.x); 69 result.y = (short)(a.y + b.y); 71 return result; 92 Short2 result = new Short2(); 93 result.x = (short)(a.x + b); 94 result.y = (short)(a.y + b); 96 return result; 117 Short2 result = new Short2(); 118 result [all...] |
H A D | Int3.java | 68 Int3 result = new Int3(); 69 result.x = a.x + b.x; 70 result.y = a.y + b.y; 71 result.z = a.z + b.z; 73 return result; 95 Int3 result = new Int3(); 96 result.x = a.x + b; 97 result.y = a.y + b; 98 result.z = a.z + b; 100 return result; [all...] |
H A D | Long3.java | 68 Long3 result = new Long3(); 69 result.x = a.x + b.x; 70 result.y = a.y + b.y; 71 result.z = a.z + b.z; 73 return result; 95 Long3 result = new Long3(); 96 result.x = a.x + b; 97 result.y = a.y + b; 98 result.z = a.z + b; 100 return result; [all...] |
/frameworks/base/test-runner/src/junit/runner/ |
H A D | ClassPathTestCollector.java | 24 Hashtable result = collectFilesInPath(classPath); 25 return result.elements(); 29 Hashtable result= collectFilesInRoots(splitClassPath(classPath)); 30 return result; 34 Hashtable result= new Hashtable(100); 37 gatherFiles(new File((String)e.nextElement()), "", result); 38 return result; 41 void gatherFiles(File classRoot, String classFileName, Hashtable result) { argument 46 result.put(className, className); 53 gatherFiles(classRoot, classFileName+File.separatorChar+contents[i], result); [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UnitTest.java | 24 private int result; field in class:UnitTest 43 result = initResult; 68 mItem.result = result; 83 if (result == 0) { 86 result = 1; 89 result = -1; 108 return result; 112 result = -1; 117 if (result ! [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
H A D | UnitTest.java | 24 private int result; field in class:UnitTest 43 result = initResult; 68 mItem.result = result; 83 if (result == 0) { 86 result = 1; 89 result = -1; 108 return result; 112 result = -1; 117 if (result ! [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | basic_op_arm_v5.h | 121 Word32 result; local 126 QADD result, L_var1, L_var2 local 128 return(result); 154 Word32 result; local 160 QSUB result, L_var1, L_var2 local 163 return(result); 188 result = 32-bit result of L_var3 + (var1 * var2)(Word32) 192 Word32 result; local 197 __asm {SMULBB result, var local 225 Word32 result; local 233 QADD result, product, product local 266 Word32 result; local 273 QDSUB result, L_var3, product local 361 Word32 result; local 367 __asm {SMULBB result, L_var1_lo, var2} local 413 Word32 result; local 416 smlabb result, L_var1, L_var2, L_var3 local 423 Word32 result; local 427 smlabb result, L_var1, L_var2, L_var3 local [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Formatter.java | 52 float result = number; 54 if (result > 900) { 56 result = result / 1024; 58 if (result > 900) { 60 result = result / 1024; 62 if (result > 900) { 64 result = result / 102 [all...] |