Searched refs:result (Results 226 - 250 of 1207) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/audiofx/
H A DEqualizer.java189 short[] result = new short[1];
190 checkStatus(getParameter(param, result));
191 mNumBands = result[0];
206 short[] result = new short[2];
207 checkStatus(getParameter(PARAM_LEVEL_RANGE, result));
208 return result;
245 short[] result = new short[1];
249 checkStatus(getParameter(param, result));
251 return result[0];
267 int[] result
[all...]
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java119 int result = 0;
125 result += currentDataLength;
129 return result == 0 ? -1 : result;
136 result += remainReadLength;
138 return result;
/frameworks/base/tools/aapt/tests/
H A DCrunchCache_test.cpp58 int result = cc.crunch(cu); local
59 cout << ((result > 0) ? "PASSED" : "FAILED") << endl;
60 errno += ((result > 0) ? 0 : 1);
63 expectEqual(result, EXPECTED_RESULT, "number of files touched");
74 result = cc.crunch(cu, true);
75 expectEqual(result, EXPECTED_OVERWRITES, "number of files touched with overwrite");
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DBasicNetworkTest.java63 Map<String, String> result = new HashMap<String, String>();
64 result.put("requestheader", "foo");
65 return result;
70 Map<String, String> result = new HashMap<String, String>();
71 result.put("requestpost", "foo");
72 return result;
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Semaphore.c134 int result; local
157 result = sem_trywait(&semaphoreContext->semaphore);
158 while ( ((EBUSY == result) || (EAGAIN == result)) && ( 0 < timeout ) )
172 result = sem_trywait(&semaphoreContext->semaphore);
174 if (0 != result)
176 if ((EBUSY == result) || (EAGAIN == result))
/frameworks/base/core/java/android/accounts/
H A DAccountAuthenticatorActivity.java31 * The activity then sets the result that is to be handed to the response via
33 * This result will be sent as the result of the request when the activity finishes. If this
42 * Set the result that is to be sent as the result of the request that caused this
43 * Activity to be launched. If result is null or this method is never called then
45 * @param result this is returned as the result of the AbstractAccountAuthenticator request
47 public final void setAccountAuthenticatorResult(Bundle result) { argument
48 mResultBundle = result;
[all...]
/frameworks/base/core/java/android/app/backup/
H A DIRestoreObserver.aidl32 * @param result An array of {@link android.app.backup.RestoreSet RestoreSet} objects
34 * the current device. If no applicable datasets exist, {@code result} will be
37 void restoreSetsAvailable(in RestoreSet[] result);
/frameworks/base/core/java/android/hardware/camera2/
H A DICameraDeviceCallbacks.aidl31 oneway void onResultReceived(int requestId, in CameraMetadataNative result);
/frameworks/base/core/java/android/text/util/
H A DRfc822Token.java173 int result = 17;
174 if (mName != null) result = 31 * result + mName.hashCode();
175 if (mAddress != null) result = 31 * result + mAddress.hashCode();
176 if (mComment != null) result = 31 * result + mComment.hashCode();
177 return result;
/frameworks/base/core/java/com/android/internal/textservice/
H A DISpellCheckerSessionListener.aidl27 void onGetSentenceSuggestions(in SentenceSuggestionsInfo[] result);
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java41 boolean result = super.setShifted(shifted);
47 return result;
/frameworks/base/libs/hwui/thread/
H A DFuture.h34 * Returns the result of this future, blocking if
35 * the result is not available yet.
45 void produce(T result) { argument
46 mResult = result;
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java132 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
133 final RowBuilder row = result.newRow();
141 return result;
150 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
151 includeFile(result, documentId, 0);
152 return result;
193 public boolean includeIfFinished(MatrixCursor result) { argument
196 includeFile(result, "_networkfile1", 0);
197 includeFile(result, "_networkfile2", 0);
198 includeFile(result, "_networkfile
393 includeFile(MatrixCursor result, String docId, int flags) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DJniLibTest.java56 int result = nativeStaticThing(1234.5f);
57 nativeThing(result);
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteDescriptor.java192 StringBuilder result = new StringBuilder();
193 result.append("MediaRouteDescriptor{ ");
194 result.append("id=").append(getId());
195 result.append(", name=").append(getName());
196 result.append(", description=").append(getDescription());
197 result.append(", isEnabled=").append(isEnabled());
198 result.append(", isConnecting=").append(isConnecting());
199 result.append(", controlFilters=").append(Arrays.toString(getControlFilters().toArray()));
200 result.append(", playbackType=").append(getPlaybackType());
201 result
[all...]
/frameworks/wilhelm/src/itf/
H A DI3DDoppler.c27 result = SL_RESULT_PARAMETER_INVALID;
35 result = SL_RESULT_SUCCESS;
54 result = SL_RESULT_SUCCESS;
65 result = SL_RESULT_PARAMETER_INVALID;
103 result = SL_RESULT_SUCCESS;
118 result = SL_RESULT_SUCCESS;
129 result = SL_RESULT_PARAMETER_INVALID;
136 result = SL_RESULT_SUCCESS;
H A DIAndroidEffect.cpp32 result = android_genericFx_createEffect(thiz, effectImplementationId, ap->mSessionId);
34 result = SL_RESULT_RESOURCE_ERROR;
37 result = android_genericFx_createEffect(thiz, effectImplementationId,
42 result = SL_RESULT_PARAMETER_INVALID;
55 result = android_genericFx_releaseEffect(thiz, effectImplementationId);
67 result = android_genericFx_setEnabled(thiz, effectImplementationId, enabled);
79 result = android_genericFx_isEnabled(thiz, effectImplementationId, pEnabled);
92 result = android_genericFx_sendCommand(thiz, effectImplementationId, command, commandSize,
H A DIObject.c34 SLresult result; local
47 result = (*realize)(thiz, SL_BOOLEAN_TRUE);
49 state = SL_RESULT_SUCCESS == result ? SL_OBJECT_STATE_REALIZED :
52 result = SL_RESULT_SUCCESS;
58 result = SL_RESULT_OPERATION_ABORTED;
64 result = SL_RESULT_INTERNAL_ERROR;
79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NULL);
108 result = SL_RESULT_SUCCESS;
110 result = SL_RESULT_PRECONDITIONS_VIOLATED;
125 result
177 SLresult result; local
692 result = SL_RESULT_SUCCESS; local
[all...]
H A DIBufferQueue.c54 result = SL_RESULT_PARAMETER_INVALID;
63 result = SL_RESULT_BUFFER_INSUFFICIENT;
69 result = SL_RESULT_SUCCESS;
72 interface_unlock_exclusive_attributes(thiz, ((SL_RESULT_SUCCESS == result) &&
84 result = SL_RESULT_SUCCESS; local
92 result = android_audioPlayer_bufferQueue_onClear(audioPlayer);
93 if (SL_RESULT_SUCCESS == result) {
125 result = SL_RESULT_PARAMETER_INVALID;
138 result = SL_RESULT_SUCCESS;
156 result
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoReader.cpp178 RSInfo *result = NULL; local
256 // File seems ok, create result RSInfo object.
257 result = new (std::nothrow) RSInfo(header->strPoolSize);
258 if (result == NULL) {
267 ::memcpy(&result->mHeader, header, sizeof(rsinfo::Header));
272 if (result->mStringPool == NULL) {
277 ::memcpy(result->mStringPool, data + result->mHeader.headerSize,
278 result->mHeader.strPoolSize);
281 // Populate all the data to the result objec
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioManagerTest.java110 boolean result = false;
114 result = validateSetRingTone(ringtoneMode[i]);
115 assertTrue("SetRingtoneMode : " + ringtoneMode[i], result);
145 int result = mAudioManager.requestAudioFocus(mAudioFocusListener,
148 assertTrue("requestAudioFocus returned " + result,
149 result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED);
151 result = mAudioManager.requestAudioFocus(null, AudioManager.STREAM_MUSIC,
153 assertTrue("requestAudioFocus returned " + result,
154 result == AudioManager.AUDIOFOCUS_REQUEST_GRANTED);
218 int result
[all...]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAlignmentTest.java45 Button result = new Button(CONTEXT);
46 result.setText(name);
47 result.setOnClickListener(new OnClickListener() {
53 return result;
59 TextView result = new TextView(CONTEXT);
60 result.setText(name);
61 result.setTextSize(40);
62 return result;
68 EditText result = new EditText(CONTEXT);
69 result
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DDrmConvertSession.java84 byte[] result = null;
99 result = convertedStatus.convertedData;
111 return result;
126 int result = Downloads.Impl.STATUS_UNKNOWN_ERROR;
133 result = Downloads.Impl.STATUS_NOT_ACCEPTABLE;
140 result = Downloads.Impl.STATUS_SUCCESS;
142 result = Downloads.Impl.STATUS_FILE_ERROR;
145 result = Downloads.Impl.STATUS_FILE_ERROR;
148 result = Downloads.Impl.STATUS_FILE_ERROR;
158 result
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DModernAsyncTask.java131 final Result result = get();
133 postResultIfNotInvoked(result);
149 private void postResultIfNotInvoked(Result result) { argument
152 postResult(result);
156 private Result postResult(Result result) { argument
158 new AsyncTaskResult<Result>(this, result));
160 return result;
182 * @return A result, defined by the subclass of this task.
201 * specified result is the value returned by {@link #doInBackground}.</p>
205 * @param result Th
212 onPostExecute(Result result) argument
243 onCancelled(Result result) argument
457 finish(Result result) argument
[all...]
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp62 EAS_RESULT result; local
73 result = EAS_Init(&mEasData);
74 if (result != EAS_SUCCESS) {
77 return result;
80 result = JET_Init(mEasData, NULL, sizeof(S_JET_CONFIG));
81 if (result != EAS_SUCCESS) {
84 return result;
157 EAS_RESULT result = EAS_FAILURE; local
203 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count);
204 if (result !
339 EAS_RESULT result = JET_OpenFile(mEasData, mEasJetFileLoc); local
361 EAS_RESULT result = JET_OpenFile(mEasData, mEasJetFileLoc); local
384 EAS_RESULT result = JET_Play(mEasData); local
406 EAS_RESULT result = JET_Pause(mEasData); local
[all...]

Completed in 701 milliseconds

1234567891011>>