/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 47 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic 83 * protected void onPostExecute(Long result) { 84 * showDialog("Downloaded " + result + " bytes"); 101 * <li><code>Result</code>, the type of the result of the background 119 * of the asynchronous task are passed to this step. The result of the computation must 130 * computation finishes. The result of the background computation is passed to 308 private void postResultIfNotInvoked(Result result) { argument 311 postResult(result); 315 private Result postResult(Result result) { argument 318 new AsyncTaskResult<Result>(this, result)); 372 onPostExecute(Result result) argument 403 onCancelled(Result result) argument 627 finish(Result result) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DragEvent.java | 212 * The View object can call {@link #getResult()} to see the result of the operation. 256 Object localState, boolean result) { 263 mDragResult = result; 272 ClipDescription description, ClipData data, boolean result) { 277 ev.init(action, x, y, description, data, localState, result); 288 ev.init(action, x, y, description, data, localState, result); 376 * Returns an indication of the result of the drag and drop operation. 443 + " data=" + mClipData + " local=" + mLocalState + " result=" + mDragResult 255 init(int action, float x, float y, ClipDescription description, ClipData data, Object localState, boolean result) argument 271 obtain(int action, float x, float y, Object localState, ClipDescription description, ClipData data, boolean result) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebChromeClient.java | 125 * false from this method but also sending resultMsg will result in 157 * @param result A JsResult to confirm that the user hit enter. 161 JsResult result) { 174 * @param result A JsResult used to send the user's response to 179 JsResult result) { 193 * @param result A JsPromptResult used to send the user's reponse to 198 String defaultValue, JsPromptResult result) { 204 * current page. This is the result of the onbeforeunload javascript event. 214 * @param result A JsResult used to send the user's response to 219 JsResult result) { 160 onJsAlert(WebView view, String url, String message, JsResult result) argument 178 onJsConfirm(WebView view, String url, String message, JsResult result) argument 197 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument 218 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument [all...] |
/frameworks/base/core/jni/ |
H A D | BindTest.cpp | 186 void *result; local 192 result = executeMethod (strObj, lookupVirtualMethod(strObj,mb_Java_Lang_Object_Equals), 199 ret = (*(uintptr_t *)result != 0)
|
H A D | android_media_JetPlayer.cpp | 85 EAS_RESULT result = lpJet->init(); local 87 if (result==EAS_SUCCESS) { 93 ALOGE("android_media_JetPlayer_setup(): initialization failed with EAS error code %d", (int)result); 149 EAS_RESULT result = lpJet->loadFromFile(pathStr); local 152 if (result==EAS_SUCCESS) { 157 (int)result); 180 EAS_RESULT result = lpJet->loadFromFD(jniGetFDFromFileDescriptor(env, fileDescriptor), local 183 if (result==EAS_SUCCESS) { 188 (int)result); 228 EAS_RESULT result local 252 EAS_RESULT result = lpJet->pause(); local 282 EAS_RESULT result local 309 EAS_RESULT result=EAS_FAILURE; local 355 EAS_RESULT result; local 380 EAS_RESULT result=EAS_FAILURE; local 426 EAS_RESULT result; local 452 EAS_RESULT result; local 477 EAS_RESULT result = lpJet->clearQueue(); local [all...] |
H A D | android_net_NetUtils.cpp | 79 int result; local 82 result = ::ifc_enable(nameStr); 84 return (jint)result; 89 int result; local 92 result = ::ifc_disable(nameStr); 94 return (jint)result; 100 int result; local 107 result = ::ifc_reset_connections(nameStr, mask); 109 return (jint)result; 115 int result; local 219 int result; local 229 int result; local [all...] |
H A D | android_view_DisplayEventReceiver.cpp | 84 status_t result = mReceiver.initCheck(); local 85 if (result) { 86 ALOGW("Failed to initialize display event receiver, status=%d", result); 87 return result;
|
H A D | android_view_InputChannel.cpp | 129 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); local 131 if (result) { 133 message.appendFormat("Could not open input channel pair. status=%d", result);
|
H A D | android_view_KeyCharacterMap.cpp | 126 bool result = map->getMap()->getFallbackAction(keyCode, metaState, &fallbackAction); local 127 if (result) { 133 return result; 151 char16_t result = map->getMap()->getMatch(keyCode, chars, size_t(numChars), metaState); local 154 return result; 178 jobjectArray result = NULL; local 180 result = env->NewObjectArray(jsize(events.size()), gKeyEventClassInfo.clazz, NULL); 181 if (result) { 185 env->SetObjectArrayElement(result, jsize(i), keyEventObj); 192 return result; [all...] |
H A D | android_view_VelocityTracker.cpp | 198 bool result = state->getEstimator(id, &estimator); local 211 return result;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 129 int result = vm->AttachCurrentThread(&env, (void*) &args); local 130 if (result != JNI_OK) { 131 ALOGE("thread attach failed: %#x", result); 141 int result = vm->DetachCurrentThread(); local 142 if (result != JNI_OK) { 143 ALOGE("thread detach failed: %#x", result);
|
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 47 status_t result; local 50 result = -errno; 52 result = ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); 53 if (result >= 0) { 56 result = -errno; 58 result = ashmem_set_prot_region(ashmemFd, PROT_READ); 59 if (result >= 0) { 62 result = window->clear(); 63 if (!result) { 81 return result; 87 status_t result; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCrypto.cpp | 241 bool result = JCrypto::IsCryptoSchemeSupported((const uint8_t *)uuid); local 246 return result; 269 bool result = crypto->requiresSecureDecoderComponent(mime); local 274 return result;
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorJava.cpp | 47 // Reset the result flag. 61 M4OSA_ERR result, 75 pMessage = videoEditJava_getErrorName(result); 82 // Reset the result flag. 112 // Reset the result flag. 149 // Reset the result flag. 193 // Reset the result flag. 237 // Reset the result flag. 321 M4OSA_ERR result = M4NO_ERROR; local 360 result 57 videoEditJava_checkAndThrowRuntimeExceptionFunc( bool* pResult, JNIEnv* pEnv, bool condition, M4OSA_ERR result, const char* pFile, int lineNo ) argument [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 287 jint result = -1; local 323 result = JNI_VERSION_1_4; 326 return result;
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 149 int result = gl_env->FindSurfaceIdForWindow(winHandle); local 150 if (result == -1) { 184 result = gl_env->AddWindowSurface(egl_surface, winHandle); 188 return result; 218 int result = gl_env->FindSurfaceIdForWindow(winHandle); local 219 if (result == -1) { 253 result = gl_env->AddWindowSurface(egl_surface, winHandle); 257 return result; 311 int result = gl_env->FindSurfaceIdForWindow(winHandle); local 313 if (result ! [all...] |
H A D | jni_gl_frame.cpp | 31 void ConvertFloatsToRGBA(const float* floats, int length, uint8_t* result) { argument 33 result[i] = static_cast<uint8_t>(floats[i] * 255.0); 37 void ConvertRGBAToFloats(const uint8_t* rgba, int length, float* result) { argument 39 result[i] = rgba[i] / 255.0; 132 jbyteArray result = env->NewByteArray(frame->Size()); local 133 jbyte* data = env->GetByteArrayElements(result, NULL); 135 env->ReleaseByteArrayElements(result, data, 0); 136 return result; 161 jintArray result = env->NewIntArray(frame->Size() / sizeof(jint)); local 162 jint* data = env->GetIntArrayElements(result, NUL 198 jfloatArray result = env->NewFloatArray(frame->Size()); local 223 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels)); local 239 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels)); local [all...] |
H A D | jni_native_frame.cpp | 80 jbyteArray result = env->NewByteArray(size); 81 env->SetByteArrayRegion(result, 0, size, reinterpret_cast<const jbyte*>(data)); 82 return result; 125 jintArray result = env->NewIntArray(count); local 126 env->SetIntArrayRegion(result, 0, count, reinterpret_cast<const jint*>(data)); 127 return result; 159 jfloatArray result = env->NewFloatArray(count); local 160 env->SetFloatArrayRegion(result, 0, count, reinterpret_cast<const jfloat*>(data)); 161 return result; 180 const int result local 224 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&dst_ptr)); local [all...] |
H A D | jni_util.h | 133 const int result = env->GetIntField(j_object, id_field); local 135 return result; 171 jobject result = env->NewObject(cls, constructor, JNI_NULL); local 173 return result; 224 jobject result = pool->CreateJavaObject(env); local 225 if (WrapObjectInJava(c_object, env, result, owns)) 226 return result;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 107 const bool result = eglSwapBuffers(display(), surface()) == EGL_TRUE; local 108 return !CheckEGLError("eglSwapBuffers") && result; 347 GLint result; local 348 glGetIntegerv(GL_CURRENT_PROGRAM, &result); 349 ALOG_ASSERT(result >= 0); 350 return static_cast<GLuint>(result);
|
H A D | value.cpp | 44 Value result; local 45 result.type = TYPEID; 46 result.value = malloc(sizeof(POD)); 47 result.count = 1; 48 *reinterpret_cast<POD*>(result.value) = value; 49 return result; 54 Value result; local 55 result.type = TYPEID; 56 result.value = malloc(sizeof(BASE) * count); 57 memcpy(result 150 Value result; local 174 Value result; local 186 Value result; local [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ProviderMap.java | 189 ArrayList<ContentProviderRecord> result) { 198 result.add(provider); 206 ArrayList<ContentProviderRecord> result) { 208 evenPersistent, userId, mSingletonByClass, result); 215 userId, mProvidersByClassPerUser.valueAt(i), result)) { 227 evenPersistent, userId, items, result); 186 collectForceStopProvidersLocked(String name, int appId, boolean doit, boolean evenPersistent, int userId, HashMap<ComponentName, ContentProviderRecord> providers, ArrayList<ContentProviderRecord> result) argument 204 collectForceStopProviders(String name, int appId, boolean doit, boolean evenPersistent, int userId, ArrayList<ContentProviderRecord> result) argument
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | DragState.java | 356 // result from the recipient. 432 ClipDescription description, ClipData data, boolean result) { 439 return DragEvent.obtain(action, winX, winY, localState, description, data, result); 430 obtainDragEvent(WindowState win, int action, float x, float y, Object localState, ClipDescription description, ClipData data, boolean result) argument
|
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 161 public MockAccountManagerFuture(T result) { argument 162 mResult = result;
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | ManagerService.java | 221 private void dumpActualTextResult(AbstractResult result) { argument 222 String testPath = result.getRelativePath(); 223 String actualTextResult = result.getActualTextResult(); 233 private void dumpActualImageResult(AbstractResult result) { argument 234 String testPath = result.getRelativePath(); 235 byte[] actualImageResult = result.getActualImageResult(); 247 byte[] result = getExpectedResult(relativePath, TEXT_RESULT_EXTENSION); 248 if (result != null) { 249 return new String(result);
|