Searched defs:result (Results 101 - 125 of 258) sorted by relevance

1234567891011

/frameworks/base/tests/BrowserTestPlugin/jni/
H A DPluginObject.cpp68 static bool pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result);
69 static bool pluginInvokeDefault(NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result);
154 static bool pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result) argument
163 static bool pluginInvokeDefault(NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result) argument
/frameworks/base/tools/aapt/
H A DZipEntry.cpp41 status_t result; local
48 result = mCDE.read(fp);
49 if (result != NO_ERROR) {
51 return result;
64 result = mLFH.read(fp);
65 if (result != NO_ERROR) {
67 return result;
404 status_t result = NO_ERROR; local
411 result = UNKNOWN_ERROR;
417 result
538 status_t result = NO_ERROR; local
[all...]
/frameworks/base/tools/localize/
H A DPerforce.cpp19 Perforce::RunCommand(const string& cmd, string* result, bool printOnFailure) argument
60 result->clear();
67 result->append(buf, amt);
145 Perforce::GetFile(const string& file, const string& version, string* result, argument
150 return RunCommand(cmd.str(), result, printOnFailure);
170 char result[100]; local
171 sprintf(result, "%lld", n);
173 return string(result);
H A Dfile_utils.cpp70 string result(str, values-str);
71 result.append(values, rest-values);
83 result += '-';
84 result += language;
87 result += "-r";
88 result += region;
91 result += rest;
93 return result;
109 ValuesFile* result = ValuesFile::ParseString(filename, text, configuration, version, local
111 if (result
144 ValuesFile* result = ValuesFile::ParseString(filename, text, configuration, version, local
[all...]
/frameworks/base/tools/obbtool/
H A DMain.cpp187 int result = 1; // pessimistically assume an error. local
297 result = 2;
300 return result;
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java288 public void restoreSetsAvailable(RestoreSet[] result) { argument
290 sets = result;
/frameworks/base/cmds/runtime/
H A Dmain_runtime.cpp347 int result = 1; local
/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManager.java583 public void getRemoveWarning(ComponentName admin, RemoteCallback result) { argument
586 mService.getRemoveWarning(admin, result);
/frameworks/base/core/java/android/bluetooth/
H A DScoSocket.java139 private synchronized void onConnected(int result) { argument
145 if (result >= 0) {
154 private synchronized void onAccepted(int result) { argument
160 if (result >= 0) {
/frameworks/base/core/java/android/os/
H A DAsyncTask.java37 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic
64 * protected void onPostExecute(Long result) {
65 * showDialog("Downloaded " + result + " bytes");
82 * <li><code>Result</code>, the type of the result of the background
100 * of the asynchronous task are passed to this step. The result of the computation must
111 * computation finishes. The result of the background computation is passed to
193 Result result = null;
196 result = get();
213 new AsyncTaskResult<Result>(AsyncTask.this, result));
238 * @return A result, define
266 onPostExecute(Result result) argument
415 finish(Result result) argument
[all...]
/frameworks/base/core/java/android/pim/
H A DContactsAsyncHelper.java46 * Interface for a WorkerHandler result return.
75 public Object result; field in class:ContactsAsyncHelper.WorkerArgs
195 args.result = Drawable.createFromStream(inputStream, args.uri.toString());
200 args.result = null;
249 * Start an image load, attach the result to the specified CallerInfo object.
313 if (args.result != null) {
315 args.view.setImageDrawable((Drawable) args.result);
318 args.info.cachedPhoto = (Drawable) args.result;
/frameworks/base/core/java/android/webkit/
H A DFrameLoader.java243 the same result as bad URL */
258 private void startCacheLoad(CacheResult result) { argument
265 new CacheLoader(mListener, result);
293 CacheResult result = CacheManager.getCacheFile(mListener.url(),
295 if (result != null) {
296 startCacheLoad(result);
321 CacheResult result = CacheManager.getCacheFile(mListener.url(),
323 if (result != null) {
324 startCacheLoad(result);
H A DWebChromeClient.java133 * @param result A JsResult to confirm that the user hit enter.
137 JsResult result) {
150 * @param result A JsResult used to send the user's response to
155 JsResult result) {
169 * @param result A JsPromptResult used to send the user's reponse to
174 String defaultValue, JsPromptResult result) {
180 * current page. This is the result of the onbeforeunload javascript event.
190 * @param result A JsResult used to send the user's response to
195 JsResult result) {
136 onJsAlert(WebView view, String url, String message, JsResult result) argument
154 onJsConfirm(WebView view, String url, String message, JsResult result) argument
173 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument
194 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument
/frameworks/base/core/jni/
H A DBindTest.cpp186 void *result; local
192 result = executeMethod (strObj, lookupVirtualMethod(strObj,mb_Java_Lang_Object_Equals),
199 ret = (*(uintptr_t *)result != 0)
H A Dandroid_media_JetPlayer.cpp85 EAS_RESULT result = lpJet->init(); local
87 if(result==EAS_SUCCESS) {
93 LOGE("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);
179 EAS_RESULT result = lpJet->loadFromFD(getParcelFileDescriptorFD(env, fileDescriptor), local
182 if(result==EAS_SUCCESS) {
187 (int)result);
225 EAS_RESULT result local
248 EAS_RESULT result = lpJet->pause(); local
277 EAS_RESULT result local
303 EAS_RESULT result=EAS_FAILURE; local
348 EAS_RESULT result; local
372 EAS_RESULT result=EAS_FAILURE; local
417 EAS_RESULT result; local
442 EAS_RESULT result; local
466 EAS_RESULT result = lpJet->clearQueue(); local
[all...]
H A Dandroid_net_NetUtils.cpp81 int result; local
84 result = ::ifc_enable(nameStr);
86 return (jint)result;
91 int result; local
94 result = ::ifc_disable(nameStr);
96 return (jint)result;
101 int result; local
104 result = ::ifc_add_host_route(nameStr, addr);
106 return (jint)result;
111 int result; local
121 int result; local
131 int result; local
141 int result; local
151 int result; local
161 int result; local
183 int result; local
193 int result; local
215 int result; local
226 int result = -1; local
[all...]
H A Dandroid_os_FileUtils.cpp124 int result = -1; local
129 result = ioctl(fd, VFAT_IOCTL_GET_VOLUME_ID);
135 return result;
H A Dandroid_server_BluetoothA2dpService.cpp251 DBusHandlerResult result = DBUS_HANDLER_RESULT_NOT_YET_HANDLED; local
265 result = DBUS_HANDLER_RESULT_HANDLED;
266 return result;
277 return result;
291 bool result = JNI_TRUE; local
294 result = JNI_FALSE;
296 LOGV("... Device Path = %s, result = %d", path, result);
302 result);
H A Dandroid_view_InputChannel.cpp126 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); local
128 if (result) {
129 LOGE("Could not open input channel pair. status=%d", result);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp279 result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array)); \
280 if (result < 0) return result
285 int result; local
295 return result;
/frameworks/base/libs/binder/
H A DProcessState.cpp135 status_t result = ipc->transact(0 /*magic*/, 0, data, &reply, 0); local
136 if (result == NO_ERROR) {
175 status_t result = ioctl(mDriverFD, BINDER_SET_CONTEXT_MGR, &dummy); local
177 status_t result = INVALID_OPERATION; local
179 if (result == 0) {
181 } else if (result == -1) {
210 sp<IBinder> result; local
225 result = b;
230 result.force_set(b);
235 return result;
240 wp<IBinder> result; local
334 status_t result = ioctl(fd, BINDER_VERSION, &vers); local
336 status_t result = -1; local
[all...]
/frameworks/base/libs/ui/
H A DOverlay.cpp171 sp<OverlayRef> result; local
181 result = new OverlayRef();
182 result->mOverlayHandle = handle;
183 result->mOverlayChannel = overlay;
184 result->mWidth = w;
185 result->mHeight = h;
186 result->mFormat = f;
187 result->mWidthStride = ws;
188 result->mHeightStride = hs;
190 return result;
[all...]
/frameworks/base/libs/ui/tests/
H A DInputPublisherAndConsumer_test.cpp26 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
/frameworks/base/libs/utils/
H A DLooper.cpp41 int result = pipe(wakeFds); local
42 LOG_ALWAYS_FATAL_IF(result != 0, "Could not create wake pipe. errno=%d", errno);
47 result = fcntl(mWakeReadPipeFd, F_SETFL, O_NONBLOCK);
48 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake read pipe non-blocking. errno=%d",
51 result = fcntl(mWakeWritePipeFd, F_SETFL, O_NONBLOCK);
52 LOG_ALWAYS_FATAL_IF(result != 0, "Could not make wake write pipe non-blocking. errno=%d",
64 result = epoll_ctl(mEpollFd, EPOLL_CTL_ADD, mWakeReadPipeFd, & eventItem);
65 LOG_ALWAYS_FATAL_IF(result != 0, "Could not add wake read pipe to epoll instance. errno=%d",
109 int result = pthread_key_create(& gTLSKey, threadDestructor);
110 LOG_ALWAYS_FATAL_IF(result !
135 int result = pthread_once(& gTLSOnce, initTLSKey); local
160 int result = 0; local
197 int result = ALOOPER_POLL_WAKE; local
359 int result; local
369 int result = pollOnce(timeoutMillis, outFd, outEvents, outData); local
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp287 jint result = -1; local
323 result = JNI_VERSION_1_4;
326 return result;

Completed in 415 milliseconds

1234567891011