Searched defs:result (Results 201 - 225 of 523) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp33 int result = ashmem_create_region(namestr, length); local
38 if (result < 0) {
43 return jniCreateFileDescriptor(env, result);
50 jint result = (jint)mmap(NULL, length, prot, MAP_SHARED, fd, 0); local
51 if (!result)
53 return result;
58 int result = munmap((void *)addr, length); local
59 if (result < 0)
113 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0)); local
114 if (result <
125 int result = ashmem_get_size_region(fd); local
[all...]
H A Dandroid_os_SystemProperties.cpp73 jint result = defJ; local
84 result = strtol(buf, &end, 0);
86 result = defJ;
93 return result;
103 jlong result = defJ; local
114 result = strtoll(buf, &end, 0);
116 result = defJ;
123 return result;
132 jboolean result = defJ; local
145 result
[all...]
H A Dandroid_util_Log.cpp85 jboolean result = false; local
93 result = isLoggable(chars, level);
97 return result;
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java134 Directions result = l.getLineDirections(0);
136 expectDirections("split line", expected, result);
229 Directions result = l.getLineDirections(0);
230 if (!Arrays.equals(expected.mDirections, result.mDirections)) {
233 hexArray(result.mDirections));
237 private void expectDirections(String msg, Directions expected, Directions result) { argument
238 if (!Arrays.equals(expected.mDirections, result.mDirections)) {
240 " got: " + hexArray(result.mDirections));
/frameworks/base/libs/androidfw/tests/
H A DInputPublisherAndConsumer_test.cpp38 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorPropertiesMain.cpp90 M4OSA_ERR result = M4NO_ERROR; local
122 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead);
124 if(M4NO_ERROR != result) {
131 (M4NO_ERROR != result), "file not found");
135 result = M4OSA_fileReadClose(context);
140 if (M4NO_ERROR != result) {
202 result = getClipProperties(
205 if (M4MCS_ERR_FILE_DRM_PROTECTED == result) {
208 &gotten, pEnv,(M4NO_ERROR != result),
213 &gotten, pEnv,(M4NO_ERROR != result),
337 M4OSA_ERR result = M4NO_ERROR; local
433 M4OSA_ERR result = M4NO_ERROR; local
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java57 RunnerResult result = new RunnerResult();
75 result.status = RESULT_RUNNING;
76 while (!isCancelled() && result.status == RESULT_RUNNING) {
78 result.status = runner[0].determinePostRunState();
79 if (result.status == GraphRunner.RESULT_SLEEPING) {
81 result.status = RESULT_RUNNING;
88 result.status = RESULT_STOPPED;
91 result.exception = exception;
92 result.status = RESULT_ERROR;
99 result
108 onCancelled(RunnerResult result) argument
113 onPostExecute(RunnerResult result) argument
[all...]
/frameworks/base/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
/frameworks/base/services/jni/
H A Dcom_android_server_UsbDeviceManager.cpp109 int result = ioctl(fd, ACCESSORY_IS_START_REQUESTED); local
111 return (result == 1);
121 int result = ioctl(fd, ACCESSORY_GET_AUDIO_MODE); local
123 return result;
/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/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLoadTestsAutoTest.java61 // This function writes the result of the layout test to
63 public void passOrFailCallback(String file, boolean result) { argument
66 bundle.putBoolean(file, result);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DSummarizerDBHelper.java114 public void insertAbstractResult(AbstractResult result, String table) { argument
116 cv.put(KEY_PATH, result.getRelativePath());
117 cv.put(KEY_BYTES, result.getBytes());
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
H A DUnitTest.java24 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/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java190 /** Used to mock methods that return a result. */
191 Behaviour andReturn(Object result); argument
208 public Behaviour andReturn(final Object result) {
216 return result;
/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/layoutlib/bridge/src/libcore/icu/
H A DICU_Delegate.java157 /*package*/ static boolean initLocaleDataImpl(String locale, LocaleData result) { argument
160 result.firstDayOfWeek = Integer.valueOf(1);
161 result.minimalDaysInFirstWeek = Integer.valueOf(1);
164 result.amPm = new String[] { "AM", "PM" };
165 result.eras = new String[] { "BC", "AD" };
167 result.longMonthNames = new String[] { "January", "February", "March", "April", "May",
169 result.shortMonthNames = new String[] { "Jan", "Feb", "Mar", "Apr", "May",
171 result.longStandAloneMonthNames = result.longMonthNames;
172 result
[all...]
/frameworks/base/tools/obbtool/
H A DMain.cpp187 int result = 1; // pessimistically assume an error. local
297 result = 2;
300 return result;
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
H A DSymbolResolvers.h78 const SymbolMap *result = NULL; local
84 result = reinterpret_cast<SymbolMap *>(
93 result = &Subclass::SymbolArray[i];
99 return ((result != NULL) ? result->mAddr : NULL);
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp76 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
77 if (result == NULL) {
81 return result;
102 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
103 if (result == NULL) {
107 return result;
130 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
131 if (result == NULL) {
135 return result;
140 Source *result local
192 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompilerDriver.cpp78 RSExecutable *result = NULL; local
136 result = RSExecutable::Create(*info, *output_file, mResolver);
137 if (result == NULL) {
143 return result;
189 RSExecutable *result = NULL; local
282 result = RSExecutable::Create(*info, *output_file, mResolver);
283 if (result == NULL) {
298 result->dumpDisassembly(*disassembly_output);
308 if (!result->syncInfo(/* pForce */true)) {
313 return result;
363 RSExecutable *result = loadScriptCache(output_path.c_str(), dep_info); local
[all...]
/frameworks/compile/libbcc/lib/Support/
H A DDisassembler.cpp71 DisassembleResult result = kDisassembleSuccess; local
97 result = kDisassembleFailedSetup;
111 result = kDisassembleFailedSetup;
120 result = kDisassembleFailedSetup;
127 result = kDisassembleOutOfMemory;
183 return result;
201 DisassembleResult result = local
207 return result;
H A DFileBase.cpp250 off_t result = ::lseek(mFD, pOffset, SEEK_SET); local
251 if (result == pOffset) {
252 return result;
266 off_t result = ::lseek(mFD, 0, SEEK_CUR); local
267 if (result != static_cast<off_t>(-1)) {
268 return result;
/frameworks/compile/libbcc/tools/mcld/
H A DMain.cpp246 Linker::ErrorCode result = pLinker.config(*config); local
247 if (Linker::kSuccess != result) {
249 << Linker::GetErrorString(result) << ")\n";
262 Linker::ErrorCode result = pLinker.setOutput(pOutputPath); local
264 if (Linker::kSuccess != result) {
267 << Linker::GetErrorString(result) << ")\n";
295 result = pLinker.addObject(*file_it);
296 if (Linker::kSuccess != result) {
298 << ": " << Linker::GetErrorString(result) << ")\n";
303 result
319 Linker::ErrorCode result = pLinker.link(); local
[all...]
/frameworks/compile/linkloader/
H A Dmain.cpp82 int result = vprintf(fmt, ap); local
84 return result;
90 int result = vscanf(fmt, ap); local
92 return result;
/frameworks/compile/mclinker/include/mcld/MC/
H A DMCLDFile.h160 mcld::MCLDFile* result = Alloc::allocate(); local
161 new (result) mcld::MCLDFile(pName, pPath, pType);
162 return result;
168 mcld::MCLDFile* result = Alloc::allocate(); local
169 new (result) mcld::MCLDFile();
170 return result;

Completed in 688 milliseconds

1234567891011>>