Searched refs:result (Results 126 - 150 of 2201) sorted by relevance

1234567891011>>

/frameworks/av/services/mediaresourcemanager/
H A DServiceLog.cpp43 String8 result; local
45 addLine(log.string(), linePrefix, &result);
48 addLine("...", linePrefix, &result);
50 addLine("[no events yet]", linePrefix, &result);
52 return result;
55 void ServiceLog::addLine(const char *log, const char *prefix, String8 *result) const {
57 result->append(prefix);
59 result->append(log);
60 result->append("\n");
/frameworks/base/media/java/android/media/
H A DExternalRingtonesCursorWrapper.java40 String result = super.getString(index);
42 result = ContentProvider.maybeAddUserId(Uri.parse(result), mUserId).toString();
44 return result;
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLContextImpl.java52 int result = 17;
53 result = 31 * result + (int) (mEGLContext ^ (mEGLContext >>> 32));
54 return result;
H A DEGLSurfaceImpl.java50 int result = 17;
51 result = 31 * result + (int) (mEGLSurface ^ (mEGLSurface >>> 32));
52 return result;
/frameworks/wilhelm/src/itf/
H A DIDynamicSource.cpp27 result = SL_RESULT_PARAMETER_INVALID;
32 SLresult result;
33 result = checkDataSource("pDataSource", pDataSource, &myDataSource, DATALOCATOR_MASK_ALL,
35 // handle result here
43 result = SL_RESULT_FEATURE_UNSUPPORTED;
H A DIMetadataExtraction.cpp27 result = SL_RESULT_PARAMETER_INVALID;
32 result = android_audioPlayer_metadata_getItemCount((CAudioPlayer *)thiz->mThis,
35 result = SL_RESULT_FEATURE_UNSUPPORTED;
38 result = SL_RESULT_PARAMETER_INVALID;
52 result = SL_RESULT_PARAMETER_INVALID;
57 result = android_audioPlayer_metadata_getKeySize((CAudioPlayer *)thiz->mThis,
60 result = SL_RESULT_FEATURE_UNSUPPORTED;
63 result = SL_RESULT_PARAMETER_INVALID;
77 result = SL_RESULT_PARAMETER_INVALID;
82 result
[all...]
H A DIAndroidEffectSend.cpp30 result = SL_RESULT_PARAMETER_INVALID;
39 result = SL_RESULT_PARAMETER_INVALID;
43 result = android_fxSend_attachToAux(ap, effectImplementationId, enable,
45 if (SL_RESULT_SUCCESS == result) {
65 result = SL_RESULT_PARAMETER_INVALID;
73 result = SL_RESULT_SUCCESS;
88 result = SL_RESULT_PARAMETER_INVALID;
103 result = SL_RESULT_SUCCESS;
107 result = SL_RESULT_PARAMETER_INVALID;
121 result
[all...]
H A DIEnvironmentalReverb.cpp48 result = SL_RESULT_PARAMETER_INVALID;
54 result = SL_RESULT_SUCCESS;
57 result = SL_RESULT_CONTROL_LOST;
61 result = android_fx_statusToResult(status);
76 result = SL_RESULT_PARAMETER_INVALID;
81 result = SL_RESULT_SUCCESS;
84 result = SL_RESULT_CONTROL_LOST;
88 result = android_fx_statusToResult(status);
109 result = SL_RESULT_PARAMETER_INVALID;
115 result
646 result = SL_RESULT_PARAMETER_INVALID; local
[all...]
H A DIMuteSolo.cpp29 result = SL_RESULT_FEATURE_UNSUPPORTED;
36 result = SL_RESULT_FEATURE_UNSUPPORTED;
39 result = SL_RESULT_PARAMETER_INVALID;
50 result = SL_RESULT_SUCCESS;
63 result = SL_RESULT_PARAMETER_INVALID;
68 result = SL_RESULT_FEATURE_UNSUPPORTED;
76 result = SL_RESULT_FEATURE_UNSUPPORTED;
79 result = SL_RESULT_PARAMETER_INVALID;
83 result = SL_RESULT_SUCCESS;
101 result
[all...]
/frameworks/wilhelm/src/
H A Dtrace.cpp41 void slTraceLeaveGlobal(const char *function, SLresult result) argument
43 if (SL_RESULT_SUCCESS == result) {
49 const char *str = slesutResultToString(result);
53 SL_LOGW("Leaving %s (0x%X)", function, result);
86 void slTraceLeaveInterface(const char *function, SLresult result) argument
101 if (SL_RESULT_SUCCESS == result) {
112 const char *str = slesutResultToString(result);
119 &underscore[1], result);
125 SL_LOGW("Leaving %s (0x%X)", function, result);
/frameworks/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp37 void ExitOnErrorFunc( SLresult result , int line)
39 if (SL_RESULT_SUCCESS != result) {
40 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
69 SLresult result; local
92 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required);
93 ExitOnError(result);
96 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
97 ExitOnError(result);
104 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
105 ExitOnError(result);
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java49 RunnerResult result = new RunnerResult();
67 result.status = RESULT_RUNNING;
68 while (!isCancelled() && result.status == RESULT_RUNNING) {
70 result.status = runner[0].determinePostRunState();
71 if (result.status == GraphRunner.RESULT_SLEEPING) {
73 result.status = RESULT_RUNNING;
80 result.status = RESULT_STOPPED;
83 result.exception = exception;
84 result.status = RESULT_ERROR;
91 result
100 onCancelled(RunnerResult result) argument
105 onPostExecute(RunnerResult result) argument
[all...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DListRowPresenterTest.java327 ShadowOverlayResult result = new ShadowOverlayResult();
330 result.mShadowOverlayContainer = true;
331 result.mShadowOverlayContainerOverlayColor = ((ShadowOverlayContainer) view)
333 result.mShadowOverlayContainerOverlayZ = ViewCompat.getZ(view);
334 result.mShadowOverlayContainerOpticalBounds = view.getWidth() > 100;
336 result.mShadowOverlayContainer = false;
340 result.mViewOverlayColor = d instanceof ColorDrawable ? ((ColorDrawable) d).getColor()
342 result.mViewZ = ViewCompat.getZ(view);
343 result.mViewOpticalBounds = view.getWidth() > 100;
344 return result;
[all...]
/frameworks/av/drm/libmediadrm/
H A DDescramblerImpl.cpp42 String8 result; local
44 result.appendFormat("%02x ", sessionId[i]);
46 if (result.isEmpty()) {
47 result.append("(null)");
49 return result;
71 const String16& mime, bool *result) {
72 *result = mPlugin->requiresSecureDecoderComponent(String8(mime));
78 const DescrambleInfo& info, int32_t *result) {
81 *result = mPlugin->descramble(
93 return getBinderStatus(*result >
70 requiresSecureDecoderComponent( const String16& mime, bool *result) argument
77 descramble( const DescrambleInfo& info, int32_t *result) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_adapt.cpp418 Word16 result; /* alpha factor, Q13 */ local
473 filt = gmed_n(st->ltpg_mem, 5); /* function result */
479 result = 0;
485 result = 16384; /* 16384 Q15 = 0.5 */
488 { /* result = 0.5 - 0.75257499*filt */
489 /* result (Q15) = 16384 - 24660 * (filt << 2) */
491 result = mult(24660, filt, pOverflow);
492 result = sub(16384, result, pOverflow);
498 result
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DArrayUtils.java51 byte[] result = new byte[len1 + len2];
52 System.arraycopy(arr1, offset1, result, 0, len1);
53 System.arraycopy(arr2, offset2, result, len1, len2);
54 return result;
65 byte[] result = new byte[len];
66 System.arraycopy(arr, offset, result, 0, len);
67 return result;
76 int[] result = new int[arr1.length + arr2.length];
77 System.arraycopy(arr1, 0, result, 0, arr1.length);
78 System.arraycopy(arr2, 0, result, arr
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
H A DNativeScanResult.java86 NativeScanResult result = new NativeScanResult();
87 result.ssid = in.createByteArray();
88 result.bssid = in.createByteArray();
89 result.infoElement = in.createByteArray();
90 result.frequency = in.readInt();
91 result.signalMbm = in.readInt();
92 result.tsf = in.readLong();
94 result.capability = new BitSet(CAPABILITY_SIZE);
97 result.capability.set(i);
100 result
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dxaplay.c97 XAresult result; local
98 result = (*caller)->GetFillLevel(caller, &level);
99 assert(XA_RESULT_SUCCESS == result);
101 result = (*caller)->GetPrefetchStatus(caller, &status);
102 assert(XA_RESULT_SUCCESS == result);
135 XAresult result; local
137 result = (*caller)->GetPosition(caller, &position);
138 assert(XA_RESULT_SUCCESS == result);
204 XAresult result; local
207 result
374 XAresult result; local
[all...]
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioSimplePlayer.h85 aaudio_result_t result = AAUDIO_OK; local
88 result = AAudio_createStreamBuilder(&mBuilder);
89 if (result != AAUDIO_OK) return result;
112 result = AAudioStreamBuilder_openStream(mBuilder, &mStream);
113 if (result != AAUDIO_OK) goto finish1;
127 return result;
147 aaudio_result_t result = numFrames; local
148 while (result == numFrames) {
149 result
156 aaudio_result_t result = AAudioStream_requestStart(mStream); local
166 aaudio_result_t result = AAudioStream_requestStop(mStream); local
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
H A DFileCollectorTest.java46 MeasurementResult result = FileCollector.getMeasurementResult(temporaryFolder.getRoot());
47 assertThat(result.totalAccountedSize()).isEqualTo(0L);
54 MeasurementResult result = FileCollector.getMeasurementResult(temporaryFolder.getRoot());
56 assertThat(result.imagesSize).isEqualTo(4);
63 MeasurementResult result = FileCollector.getMeasurementResult(temporaryFolder.getRoot());
65 assertThat(result.videosSize).isEqualTo(4);
72 MeasurementResult result = FileCollector.getMeasurementResult(temporaryFolder.getRoot());
74 assertThat(result.audioSize).isEqualTo(4);
81 MeasurementResult result = FileCollector.getMeasurementResult(temporaryFolder.getRoot());
83 assertThat(result
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java104 int result = readNextHeader_native(mBackupReader, mHeader);
105 if (result == 0) {
109 } else if (result > 0) {
116 throw new IOException("failed: 0x" + Integer.toHexString(result));
165 int result = readEntityData_native(mBackupReader, data, offset, size);
166 if (result >= 0) {
167 return result;
169 throw new IOException("result=0x" + Integer.toHexString(result));
H A DBackupDataOutput.java109 int result = writeEntityHeader_native(mBackupWriter, key, dataSize);
110 if (result >= 0) {
111 return result;
113 throw new IOException("result=0x" + Integer.toHexString(result));
125 int result = writeEntityData_native(mBackupWriter, data, size);
126 if (result >= 0) {
127 return result;
129 throw new IOException("result=0x" + Integer.toHexString(result));
[all...]
/frameworks/base/core/java/android/content/
H A DISyncContext.aidl35 * @param result information about this sync session
37 void onFinished(in SyncResult result);
/frameworks/base/core/java/android/content/pm/
H A DPackageCleanItem.java52 int result = 17;
53 result = 31 * result + userId;
54 result = 31 * result + packageName.hashCode();
55 result = 31 * result + (andCode ? 1 : 0);
56 return result;
/frameworks/base/core/java/android/webkit/
H A DJsPromptResult.java25 * JsPromptResult instance as a parameter. This parameter is used to return the result of this user
30 // String result of the prompt
36 public void confirm(String result) { argument
37 mStringResult = result;

Completed in 8736 milliseconds

1234567891011>>