Searched refs:result (Results 276 - 300 of 1036) sorted by relevance

<<11121314151617181920>>

/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c51 int result = TRUE; local
55 result = FALSE;
62 result = FALSE;
70 return result;
152 int result = FALSE; local
164 result = TRUE;
167 return result;
174 int result = FALSE; local
186 result = FwdLockGlue_ValidatePadding(pData, decryptedKeyLength);
190 return result;
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp72 EAS_RESULT result = EAS_Init(&easData); local
73 if (result == EAS_SUCCESS) {
79 result = EAS_OpenFile(easData, &file, &easHandle);
81 if (result == EAS_SUCCESS) {
82 result = EAS_Prepare(easData, easHandle);
84 if (result == EAS_SUCCESS) {
85 result = EAS_ParseMetaData(easData, easHandle, &temp);
94 if (result != EAS_SUCCESS) {
114 MediaScanResult result = processFileInternal(path, mimeType, client); local
116 return result;
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java162 final T[] result;
166 result = (T[])Array.newInstance(kind, end + 1);
167 System.arraycopy(array, 0, result, 0, end);
170 result = (T[])Array.newInstance(kind, 1);
172 result[end] = element;
173 return result;
183 * was not present, then returns the original array. Returns null if the result
195 T[] result = (T[])Array.newInstance(kind, length - 1);
196 System.arraycopy(array, 0, result, 0, i);
197 System.arraycopy(array, i + 1, result,
[all...]
/frameworks/wilhelm/src/itf/
H A DIAndroidEffectCapabilities.c28 result = SL_RESULT_PARAMETER_INVALID;
34 result = SL_RESULT_SUCCESS;
51 result = SL_RESULT_PARAMETER_INVALID;
67 result = SL_RESULT_SUCCESS;
93 SLresult result = android_genericFx_queryNumEffects(&numEffects); local
94 if (SL_RESULT_SUCCESS != result) {
95 SL_LOGE("android_genericFx_queryNumEffects %u", result);
107 // Remember the first failing result code, but keep going
108 if (SL_RESULT_SUCCESS == result) {
109 result
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java127 * If the queueing operation is successful, we return true and the result will be
137 boolean result;
139 result = native_queue_direct(buffer, length, out);
141 result = native_queue_array(buffer.array(), length, out);
145 if (result) {
150 return result;
/frameworks/base/core/java/android/os/
H A DRegistrantList.java76 internalNotifyRegistrants (Object result, Throwable exception) argument
80 r.internalNotifyRegistrant(result, exception);
97 notifyResult(Object result) argument
99 internalNotifyRegistrants (result, null);
106 internalNotifyRegistrants(ar.result, ar.exception);
H A DAsyncTask.java47 * whose result is published on the UI thread. An asynchronous task is defined by 3 generic
83 * protected void onPostExecute(Long result) {
84 * showDialog("Downloaded " + result + " bytes");
101 * <li><code>Result</code>, the type of the result of the background
119 * of the asynchronous task are passed to this step. The result of the computation must
130 * computation finishes. The result of the background computation is passed to
308 private void postResultIfNotInvoked(Result result) { argument
311 postResult(result);
315 private Result postResult(Result result) { argument
318 new AsyncTaskResult<Result>(this, result));
372 onPostExecute(Result result) argument
403 onCancelled(Result result) argument
627 finish(Result result) argument
[all...]
/frameworks/base/core/java/android/util/
H A DJsonReader.java373 JsonToken result = token;
377 return result;
392 String result = name;
394 return result;
411 String result = value;
413 return result;
429 boolean result = (value == TRUE);
431 return result;
463 double result = Double.parseDouble(value);
465 return result;
[all...]
/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/tools/build/
H A Dgen-sha1-stamp.py37 """The result is a list of pair of file path and its SHA-1 digest"""
39 result = []
43 result.append((path, h.digest()))
44 return result
117 result = compute_sha1_list(sys.argv[1:])
118 print_asm(result)
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java31 MutableFrameFormat result = new MutableFrameFormat(FrameFormat.TYPE_OBJECT, target);
32 result.setObjectClass(getBoxedClass(clazz));
34 result.setDimensions(count);
36 result.setBytesPerSample(bytesPerSampleForClass(clazz, target));
37 return result;
/frameworks/compile/libbcc/lib/AndroidBitcode/
H A DABCCompilerDriver.cpp75 Compiler::ErrorCode result = mCompiler.config(*mCompilerConfig); local
77 if (result != Compiler::kSuccess) {
79 Compiler::GetErrorString(result));
122 Linker::ErrorCode result = mLinker.config(*mLinkerConfig); local
123 if (result != Linker::kSuccess) {
125 Linker::GetErrorString(result));
159 Compiler::ErrorCode result = mCompiler.compile(pScript, pOutput); local
160 if (result != Compiler::kSuccess) {
162 Compiler::GetErrorString(result));
178 Linker::ErrorCode result local
[all...]
/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/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java186 SerializedFrame result = new SerializedFrame(format, frameManager);
187 result.setObjectValue(object);
188 return result;
213 Object result = deserializeObjectValue();
214 return (result instanceof int[]) ? (int[])result : null;
225 Object result = deserializeObjectValue();
226 return (result instanceof float[]) ? (float[])result : null;
237 Object result
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaEqualizerTest.java95 boolean result = false;
106 result = true;
116 assertTrue(msg, result);
127 boolean result = false;
144 result = true;
157 assertTrue(msg, result);
163 boolean result = false;
176 result = true;
189 assertTrue(msg, result);
195 boolean result
[all...]
H A DMediaBassBoostTest.java91 boolean result = false;
102 result = true;
112 assertTrue(msg, result);
122 boolean result = false;
137 result = true;
150 assertTrue(msg, result);
156 boolean result = false;
164 result = true;
177 assertTrue(msg, result);
H A DMediaVirtualizerTest.java91 boolean result = false;
102 result = true;
112 assertTrue(msg, result);
123 boolean result = false;
138 result = true;
151 assertTrue(msg, result);
157 boolean result = false;
165 result = true;
178 assertTrue(msg, result);
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java74 CharSequence result;
76 result = TextUtils.expandTemplate("This is a ^1 of the ^2 broadcast ^3.",
79 result.toString());
81 result = TextUtils.expandTemplate("^^^1^^^2^3^a^1^^b^^^c",
84 result.toString());
86 result = TextUtils.expandTemplate("^");
87 assertEquals("^", result.toString());
89 result = TextUtils.expandTemplate("^^");
90 assertEquals("^", result.toString());
92 result
[all...]
/frameworks/base/tools/aapt/
H A DZipFile.cpp103 status_t result; local
109 result = readCentralDir();
121 result = NO_ERROR;
129 return result;
206 status_t result = NO_ERROR; local
219 result = INVALID_OPERATION;
227 result = NO_MEMORY;
240 result = UNKNOWN_ERROR;
247 result = UNKNOWN_ERROR;
262 result
363 status_t result = NO_ERROR; local
543 status_t result; local
746 status_t result = NO_ERROR; local
899 status_t result = NO_ERROR; local
952 status_t result = NO_ERROR; local
[all...]
/frameworks/av/media/libmedia/
H A DMemoryLeakTrackUtil.cpp74 MyString8 result; local
94 result.append(buffer);
96 result.append(buffer);
146 result.append(buffer);
149 result.append(", ");
152 result.append(buffer);
154 result.append("\n");
161 write(fd, result.string(), result.size());
/frameworks/compile/mclinker/lib/LD/
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;
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp61 int result = -123; local
63 &result);
65 EXPECT_EQ(1, result);
72 int result = -123; local
74 &result);
76 EXPECT_EQ(1, result);
128 int result = -123; local
129 int err = anw->query(anw.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result);
131 EXPECT_EQ(NATIVE_WINDOW_SURFACE, result);
/frameworks/native/libs/utils/
H A DTokenizer.cpp57 int result = NO_ERROR; local
60 result = -errno;
65 result = -errno;
87 result = -errno;
96 if (!result) {
102 return result;
113 String8 result; local
114 result.appendFormat("%s:%d", mFilename.string(), mLineNumber);
115 return result;
/frameworks/base/core/jni/
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...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DListItemFactory.java156 TextView result = new Button(context);
157 result.setHeight(desiredHeight);
158 result.setText(text);
162 result.setLayoutParams(lp);
163 result.setId(position);
164 result.setTag("button");
165 return result;
196 TextView result = new TextView(context);
197 result.setHeight(desiredHeight);
198 result
[all...]

Completed in 303 milliseconds

<<11121314151617181920>>