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/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;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp57 bool result = true; local
59 result = false;
61 result = false;
63 result = false;
65 result = false;
67 return result;
79 bool result = m_pELFReader->readSectionHeaders(pInput, m_Linker, ELF_hdr); local
81 return result;
234 bool result = m_pELFReader->readSymbols(pInput, local
240 return result;
258 bool result = m_pELFReader->readRela(pInput, m_Linker, **section, local
268 bool result = m_pELFReader->readRel(pInput, m_Linker, **section, *region); local
[all...]
H A DNamePool.cpp34 ResolveInfo* result = m_Table.getEntryFactory().produce(pName); local
35 result->setIsSymbol(true);
36 result->setSource(pIsDyn);
37 result->setType(pType);
38 result->setDesc(pDesc);
39 result->setBinding(pBinding);
40 result->setVisibility(pVisibility);
41 result->setSize(pSize);
42 return result;

Completed in 2637 milliseconds

1234567891011>>