Searched defs:result (Results 251 - 275 of 680) sorted by relevance

<<11121314151617181920>>

/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DBrowserService.java126 final Result<List<MediaBrowser.MediaItem>> result) {
141 result.sendResult(list);
144 result.detach();
125 onLoadChildren(final String parentId, final Result<List<MediaBrowser.MediaItem>> result) argument
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java195 /** Used to mock methods that return a result. */
196 Behaviour andReturn(Object result); argument
213 public Behaviour andReturn(final Object result) {
221 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/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.cpp80 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
81 if (result == NULL) {
85 return result;
107 Source *result = CreateFromModule(pContext, *module, /* pNoDelete */false); local
108 if (result == NULL) {
112 return result;
125 Source *result = new (std::nothrow) Source(pContext, pModule, pNoDelete); local
126 if (result == NULL) {
130 return result;
177 Source *result local
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfo.cpp38 android::String8 result(pFilename);
39 result.append(".info");
40 return result;
256 RSInfo::FloatPrecision result = relaxed_pragma_seen ? FP_Relaxed : FP_Full; local
269 result = FP_Relaxed;
273 result = FP_Relaxed;
276 result = FP_Full;
283 return result;
H A DRSInfoExtractor.cpp134 RSInfo *result = NULL; local
154 // Allocate result object
155 result = new (std::nothrow) RSInfo(string_pool_size);
156 if (result == NULL) {
162 if (result->mStringPool == NULL) {
169 result->mStringPool[ cur_string_pool_offset++ ] = '\0';
189 result->mPragmas.push(std::make_pair(
190 writeString(key, result->mStringPool, &cur_string_pool_offset),
191 writeString(val, result->mStringPool, &cur_string_pool_offset)));
207 result
[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.cpp270 off_t result = ::lseek(mFD, pOffset, SEEK_SET); local
271 if (result == pOffset) {
272 return result;
286 off_t result = ::lseek(mFD, 0, SEEK_CUR); local
287 if (result != static_cast<off_t>(-1)) {
288 return result;
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp290 bool result = emit(*output.get()); local
292 return result;
305 bool result = emit(*output.get()); local
307 return result;
/frameworks/compile/mclinker/lib/Fragment/
H A DRelocation.cpp104 Relocator::Result result = pRelocator.applyRelocation(*this); local
106 switch (result) {
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp76 bool result = true; local
79 result = false;
82 result = false;
85 result = false;
88 result = false;
90 return result;
105 bool result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr); local
106 return result;
305 bool result = m_pELFReader->readSymbols(pInput, local
309 return result;
[all...]
H A DNamePool.cpp41 ResolveInfo** result = m_FreeInfoSet.allocate(); local
42 (*result) = ResolveInfo::Create(pName);
43 (*result)->setIsSymbol(true);
44 (*result)->setSource(pIsDyn);
45 (*result)->setType(pType);
46 (*result)->setDesc(pDesc);
47 (*result)->setBinding(pBinding);
48 (*result)->setVisibility(pVisibility);
49 (*result)->setSize(pSize);
50 return *result;
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DOperand.cpp60 SymOperand* result = g_SymOperandFactory->allocate(); local
61 new (result) SymOperand(pName);
62 return result;
100 IntOperand* result = g_IntOperandFactory->allocate(); local
101 new (result) IntOperand(pValue);
102 return result;
139 SectOperand* result = g_SectOperandFactory->allocate(); local
140 new (result) SectOperand(pName);
141 return result;
180 SectDescOperand* result local
226 FragOperand* result = g_FragOperandFactory->allocate(); local
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp44 int result = 0x0; local
46 return result;
49 result |= O_RDWR;
51 result |= O_RDONLY;
53 result |= O_WRONLY;
56 result |= O_APPEND;
59 result |= O_CREAT;
62 result |= O_TRUNC;
64 return result;
H A DPath.cpp129 StringType result = m_PathName; local
130 detail::canonicalize(result);
131 return result;
221 mcld::sys::fs::Path result = pLHS; local
222 result.append(pRHS);
223 return result;
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64PLT.cpp152 uint64_t result = 0x0; local
158 result += AArch64PLT0::EntrySize;
165 memcpy(buffer + result, plt1->getValue(), AArch64PLT1::EntrySize);
166 result += AArch64PLT1::EntrySize;
169 return result;
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMPLT.cpp151 uint64_t result = 0x0; local
156 result += ARMPLT0::EntrySize;
163 memcpy(buffer + result, plt1->getValue(), ARMPLT1::EntrySize);
164 result += ARMPLT1::EntrySize;
167 return result;
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonPLT.cpp120 int32_t result = ((gotpltAddr - pltBase ) >> 6); local
121 *dest |= ApplyMask<int32_t>(0xfff3fff, result);
124 result = (gotpltAddr - pltBase);
125 *(dest) |= ApplyMask<int32_t>(0x1f80, result);
164 int32_t result = ((GOTEntryAddress - PLTEntryAddress ) >> 6); local
165 *dest |= ApplyMask<int32_t>(0xfff3fff, result);
167 result = (GOTEntryAddress - PLTEntryAddress);
168 *(dest) |= ApplyMask<int32_t>(0x1f80, result);
183 uint64_t result = 0x0; local
188 result
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsPLT.cpp92 uint64_t result = 0x0; local
97 result += MipsPLT0::EntrySize;
103 memcpy(buffer + result, plta->getValue(), MipsPLTA::EntrySize);
104 result += MipsPLTA::EntrySize;
106 return result;
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCaptureCallback.java140 TotalCaptureResult result) {
141 if (mProxy != null) mProxy.onCaptureCompleted(session, request, result);
139 onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, TotalCaptureResult result) argument
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
H A DAutoFocusStateMachine.java30 * but automatic camera-caused AF state changes are broadcasted from any new result.</p>
44 void onAutoFocusSuccess(CaptureResult result, boolean locked); argument
51 void onAutoFocusFail(CaptureResult result, boolean locked); argument
59 void onAutoFocusScan(CaptureResult result); argument
67 void onAutoFocusInactive(CaptureResult result); argument
100 * @param result CaptureResult
102 public synchronized void onCaptureCompleted(CaptureResult result) { argument
108 if (result == null) {
109 Log.w(TAG, "onCaptureCompleted - missing result, skipping AF update");
127 Integer afState = result
[all...]
/frameworks/minikin/libs/minikin/
H A DMinikinFontFreeType.cpp76 const MinikinPaint &paint, GlyphBitmap *result) {
88 result->buffer = bitmap.buffer;
89 result->width = bitmap.width;
90 result->height = bitmap.rows;
91 result->left = mTypeface->glyph->bitmap_left;
92 result->top = mTypeface->glyph->bitmap_top;
75 Render(uint32_t glyph_id, const MinikinPaint &paint, GlyphBitmap *result) argument
/frameworks/native/cmds/flatland/
H A DRenderers.cpp47 bool result; local
49 result = helper->getShaderProgram("Gradient", &mGradPgm);
50 if (!result) {
54 result = helper->getDitherTexture(&mDitherTexName);
55 if (!result) {
168 bool result; local
171 result = mGLHelper->makeCurrent(surface);
172 if (!result) {
176 result = mGradientRenderer.drawGradient();
177 if (!result) {
[all...]

Completed in 299 milliseconds

<<11121314151617181920>>