Searched defs:result (Results 1 - 25 of 33) sorted by relevance

12

/development/ndk/sources/android/libportable/arch-x86/
H A Dfcntl.c36 int result = __fcntl64(fd, cmd, (void *) &x86_flock64); local
46 return result;
/development/ndk/platforms/android-4/samples/san-angeles/jni/
H A Dimportgl.c66 int result = 1; local
86 if (procAddress == NULL) result = 0; \
103 if (procAddress == NULL) result = 0; \
153 return result;
H A Ddemo.c119 GLOBJECT *result; local
120 result = (GLOBJECT *)malloc(sizeof(GLOBJECT));
121 if (result == NULL)
123 result->count = vertices;
124 result->vertexComponents = vertexComponents;
125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents *
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte));
130 result->normalArray = (GLfixed *)malloc(vertices * 3 *
134 result->normalArray = NULL;
135 if (result
208 GLOBJECT *result; local
352 GLOBJECT *result; local
[all...]
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DPrepareMusicRetrieverTask.java43 protected void onPostExecute(Void result) { argument
/development/samples/ToyVpn/src/com/example/android/toyvpn/
H A DToyVpnClient.java56 protected void onActivityResult(int request, int result, Intent data) { argument
57 if (result == RESULT_OK) {
/development/tools/jdwpspy/
H A DCommon.h38 u2 result; local
40 result = *pSrc++ << 8;
41 result |= *pSrc++;
43 return result;
51 u4 result; local
53 result = *pSrc++ << 24;
54 result |= *pSrc++ << 16;
55 result |= *pSrc++ << 8;
56 result |= *pSrc++;
58 return result;
66 u8 result; local
[all...]
/development/tools/hosttestlib/src/com/android/hosttest/
H A DDeviceTestSuite.java53 public void runTest(Test test, TestResult result) { argument
59 test.run(result);
/development/samples/SimpleJNI/jni/
H A Dnative.cpp26 int result = a + b; local
27 ALOGI("%d + %d = %d", a, b, result);
28 return result;
89 jint result = -1; local
105 result = JNI_VERSION_1_4;
108 return result;
/development/samples/BrowserPlugin/jni/
H A DRenderingThread.cpp146 int result = ANativeWindow_setBuffersGeometry(ANW, bitmap.width(), local
149 if (android::NO_ERROR != result) {
150 gLogI.log(kError_ANPLogType, "ERROR setBuffersGeometry() status is (%d)", result);
H A DPluginObject.cpp81 static bool pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result);
82 static bool pluginInvokeDefault(NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result);
167 static bool pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result) argument
176 static bool pluginInvokeDefault(NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result) argument
/development/samples/BrowserPlugin/jni/navigation/
H A DNavigationPlugin.cpp200 bool result = handleNavigation(evt->data.key.nativeCode); local
202 return result;
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
H A DDeviceDetailFragment.java256 protected void onPostExecute(String result) { argument
257 if (result != null) {
258 statusText.setText("File copied - " + result);
261 intent.setDataAndType(Uri.parse("file://" + result), "image/*");
/development/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java205 protected void onPostExecute(String result) { argument
209 myWebView.loadData(result, "text/html", null);
294 // Checks the user prefs and the network connection. Based on the result, decides
/development/apps/Development/src/com/android/development/
H A DSyncAdapterDriver.java258 public void uiThreadOnFinished(SyncResult result) { argument
259 if (result.hasError()) {
261 getString(R.string.status_sync_failed_format, result.toString()));
264 getString(R.string.status_sync_succeeded_format, result.toString()));
268 public void onFinished(final SyncResult result) throws RemoteException { argument
271 uiThreadOnFinished(result);
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
H A DAuthenticatorActivity.java169 * @param result the confirmCredentials result.
171 private void finishConfirmCredentials(boolean result) { argument
176 intent.putExtra(AccountManager.KEY_BOOLEAN_RESULT, result);
189 * @param result the confirmCredentials result.
/development/apps/GestureBuilder/src/com/android/gesture/builder/
H A DGestureBuilderActivity.java386 protected void onPostExecute(Integer result) { argument
387 super.onPostExecute(result);
389 if (result == STATUS_NO_STORAGE) {
/development/ide/xcode/ports/
H A DSkOSWindow_Mac.cpp50 OSStatus result; local
52 result = InstallEventHandler(GetWindowEventTarget((WindowRef)hWnd), handlerUPP,
54 SkASSERT(result == noErr);
194 OSStatus result = eventNotHandledErr; local
251 result = GetEventParameter(inEvent,
258 if (result != 0) {
279 result = noErr;
285 if (result == eventNotHandledErr) {
286 result = CallNextEventHandler(inHandler, inEvent);
288 return result;
[all...]
/development/samples/BrowserPlugin/jni/background/
H A DBackgroundPlugin.cpp494 jint result = env->CallIntMethod(backgroundObject, addMethod, 2, 2); local
496 if (result != 4) {
497 gLogI.log(kError_ANPLogType, " ---- LoadJavaTest: invalid result (%d != 4)", result);
/development/samples/training/bitmapfun/src/com/example/android/bitmapfun/util/
H A DAsyncTask.java67 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic
103 * protected void onPostExecute(Long result) {
104 * showDialog("Downloaded " + result + " bytes");
121 * <li><code>Result</code>, the type of the result of the background
139 * of the asynchronous task are passed to this step. The result of the computation must
150 * computation finishes. The result of the background computation is passed to
334 private void postResultIfNotInvoked(Result result) { argument
337 postResult(result);
341 private Result postResult(Result result) { argument
344 new AsyncTaskResult<Result>(this, result));
398 onPostExecute(Result result) argument
429 onCancelled(Result result) argument
653 finish(Result result) argument
[all...]
/development/tools/etc1tool/
H A Detc1tool.cpp146 int result = -1; local
216 result = 0;
218 if (result) {
228 return result;
236 int result = -1; local
293 result = 0;
306 return result;
318 int result = -1; local
392 result = 0;
402 return result;
407 int result = -1; local
454 int result = -1; local
[all...]
/development/ndk/platforms/android-9/samples/native-audio/jni/
H A Dnative-audio-jni.c122 SLresult result; local
124 result = (*bqPlayerBufferQueue)->Enqueue(bqPlayerBufferQueue, nextBuffer, nextSize);
125 // the most likely other result is SL_RESULT_BUFFER_INSUFFICIENT,
127 assert(SL_RESULT_SUCCESS == result);
139 SLresult result; local
140 result = (*recorderRecord)->SetRecordState(recorderRecord, SL_RECORDSTATE_STOPPED);
141 if (SL_RESULT_SUCCESS == result) {
151 SLresult result; local
154 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
155 assert(SL_RESULT_SUCCESS == result);
194 SLresult result; local
259 SLresult result; local
321 SLresult result; local
340 SLresult result; local
370 SLresult result; local
381 SLresult result; local
392 SLresult result; local
423 SLresult result; local
434 SLresult result; local
445 SLresult result; local
456 SLresult result; local
468 SLresult result; local
530 SLresult result; local
545 SLresult result; local
618 SLresult result; local
636 SLresult result; local
687 SLresult result; local
[all...]
/development/ndk/platforms/android-3/include/linux/
H A Dkd.h128 unsigned char diacr, base, result; member in struct:kbdiacr
/development/tools/emulator/system/gps/
H A Dgps_qemu.c134 int result = 0; local
148 result = result*10 + c;
150 return result;
159 int result = 0; local
/development/tools/emulator/system/camera/
H A DEmulatedFakeCamera2.cpp598 String8 result; local
600 result.appendFormat(" Camera HAL device: EmulatedFakeCamera2\n");
601 result.appendFormat(" Streams:\n");
605 result.appendFormat(
610 write(fd, result.string(), result.size());
/development/tools/emulator/system/qemud/
H A Dqemud.c162 int result = 0; local
167 result <<= 4;
189 result |= d;
192 return result;

Completed in 1188 milliseconds

12