/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_util.cpp | 92 const jint result = vm->GetEnv(reinterpret_cast<void**>(&env), 94 return result == JNI_OK ? env : NULL; 105 std::string result(c_value); 108 return result; 128 jobject result = JNI_NULL; local 130 return result; 134 Value result = MakeNullValue(); local 138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0); 141 result = MakeIntValue(env->CallIntMethod(object, method)); 144 result 163 jobject result = JNI_NULL; local [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_program.cpp | 137 char result[buffer_size]; local 138 result[buffer_size - 1] = '\0'; 139 getvalue_function_(key.c_str(), result, buffer_size, user_data_); 140 return std::string(result);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | CreateDirectoryFragment.java | 121 protected void onPostExecute(DocumentInfo result) { argument 122 if (result != null) { 124 mActivity.onDocumentPicked(result);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DevicePowerStatusAction.java | 98 private void invokeCallback(int result) { argument 100 mCallback.onComplete(result);
|
H A D | OneTouchPlayAction.java | 128 private void invokeCallback(int result) { argument 130 mCallback.onComplete(result);
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GpsStatusListenerHelper.java | 46 protected ListenerOperation<IGpsStatusListener> getHandlerOperation(int result) { argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | stats_scorer.cpp | 37 jfloat result[2]; local 38 result[0] = sum / numPixels; // mean 39 result[1] = sqrt((sumSquares - numPixels * result[0] * result[0]) / (numPixels - 1)); // stdev. 40 env->SetFloatArrayRegion(statsArray, 0, 2, result); 64 jfloat result[2]; local 65 result[0] = sum / numPixels; // mean 66 result[1] = (numPixels == 1) ? 67 0 : sqrt((sumSquares - numPixels * result[ [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | ColladaScene.java | 99 protected void onPostExecute(Boolean result) { argument 132 protected void onPostExecute(Boolean result) { argument
|
/frameworks/base/tools/aapt/ |
H A D | pseudolocalize.cpp | 111 String16 result = k_expansion_string; local 112 const char16_t* s = result.string(); 113 if (result.size() < length) { 114 result += String16(" "); 115 result += pseudo_generate_expansion(length - result.size()); 119 for (unsigned int i = length + 1; i < result.size(); ++i) { 125 result.remove(length + ext, 0); 127 return result; 140 String16 result; local 248 String16 result; local [all...] |
/frameworks/base/tools/aidl/ |
H A D | options_test.cpp | 10 int result; member in struct:Answer 67 int result = parse_options(argc, answer.argv, &options); local 69 // result 70 if (((bool)result) != ((bool)answer.result)) { 71 cout << "mismatch: result: got " << result << " expected " << 72 answer.result << endl; 76 if (result != 0) { 141 /* result */ 243 int result = 0; local [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSExecutable.cpp | 51 RSExecutable *result = new (std::nothrow) RSExecutable(pInfo, local 54 if (result == NULL) { 55 ALOGE("Out of memory when create object to hold RS result file for %s!", 70 void *addr = result->getSymbolAddress(name); 72 //ALOGW("RS export var at entry #%u named %s cannot be found in the result " 75 result->mExportVarAddrs.push_back(addr); 87 void *addr = result->getSymbolAddress(name); 89 // ALOGW("RS export func at entry #%u named %s cannot be found in the result" 92 result->mExportFuncAddrs.push_back(addr); 106 void *addr = result 184 DisassembleResult result = local [all...] |
H A D | RSInfoReader.cpp | 151 RSInfo *result = NULL; local 227 // File seems ok, create result RSInfo object. 228 result = new (std::nothrow) RSInfo(header->strPoolSize); 229 if (result == NULL) { 238 ::memcpy(&result->mHeader, header, sizeof(rsinfo::Header)); 243 if (result->mStringPool == NULL) { 248 ::memcpy(result->mStringPool, data + result->mHeader.headerSize, 249 result->mHeader.strPoolSize); 252 // Populate all the data to the result objec [all...] |
/frameworks/compile/libbcc/tools/bcc/ |
H A D | Main.cpp | 164 Compiler::ErrorCode result = RSC->config(*config); local 170 if (result != Compiler::kSuccess) { 172 << Compiler::GetErrorString(result) << ")\n";
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 120 RSScript *result = NULL; local 131 if (result != NULL) { 132 if (!result->mergeSource(*source, /* pPreserveSource */false)) { 139 result = new (std::nothrow) RSScript(*source); 140 if (result == NULL) { 149 return result; 194 Compiler::ErrorCode result = compiler->config(*config); local 196 if (result != Compiler::kSuccess) { 198 << Compiler::GetErrorString(result) << ")\n";
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | Module.cpp | 61 AliasList* result = gc_aliaslist_factory.allocate(); local 62 new (result) AliasList(); 63 m_AliasLists.push_back(result); 64 result->push_back(&pSym);
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | FragmentRef.cpp | 73 FragmentRef* result = g_FragRefFactory->allocate(); 74 new (result) FragmentRef(*frag, offset); 76 return result; 159 Offset result = 0; local 161 result = m_pFragment->getOffset(); 162 return (result + m_Offset);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticInfos.cpp | 85 const DiagStaticInfo *result = std::lower_bound(static_info, static_info + info_size, key); local 87 if (result == (static_info + info_size) || result->ID != pID) 90 return result;
|
H A D | ELFDynObjReader.cpp | 61 bool result = true; local 64 result = false; 67 result = false; 70 result = false; 73 result = false; 75 return result; 123 bool result = m_pELFReader->readSymbols(pInput, m_Builder, local 125 return result;
|
H A D | LDSection.cpp | 75 LDSection* result = g_SectFactory->allocate(); local 76 new (result) LDSection(pName, pKind, pType, pFlag, pSize, pAddr); 77 return result;
|
H A D | LDSymbol.cpp | 55 LDSymbol* result = g_LDSymbolFactory->allocate(); local 56 new (result) LDSymbol(); 57 result->setResolveInfo(pResolveInfo); 58 return result;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | Attribute.cpp | 105 Attribute *result = pParent.exists(*pCopy); local 106 if (NULL == result) { // can not find 112 pBase = result;
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | Assignment.cpp | 170 uint64_t result = 0; local 171 bool success = pEvaluator.eval(m_RpnExpr, result); 173 m_Symbol.setValue(result);
|
H A D | RpnExpr.cpp | 59 RpnExpr* result = g_ExprFactory->allocate(); local 60 new (result) RpnExpr(); 61 return result;
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64GOT.cpp | 133 uint64_t result = 0x0; local 137 result += AArch64GOTEntry::EntrySize; 139 return result;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMGOT.cpp | 128 uint64_t result = 0x0; local 132 result += ARMGOTEntry::EntrySize; 134 return result;
|