Searched refs:result (Results 176 - 200 of 2687) sorted by relevance

1234567891011>>

/frameworks/wilhelm/src/itf/
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/av/media/libaaudio/tests/
H A Dtest_timestamps.cpp45 aaudio_result_t result; member in struct:TimestampInfo
86 timestamp->result = AAudioStream_getTimestamp(stream,
110 aaudio_result_t result = AAUDIO_OK; local
136 result = AAudio_createStreamBuilder(&aaudioBuilder);
137 if (result != AAUDIO_OK) {
139 AAudio_convertResultToText(result));
151 result = AAudioStreamBuilder_openStream(aaudioBuilder, &aaudioStream);
152 if (result != AAUDIO_OK) {
154 AAudio_convertResultToText(result));
167 result
289 aaudio_result_t result = AAUDIO_OK; local
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
H A DBackupManagerMonitorUtilsTest.java59 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(null, 0, null, 0,
62 assertThat(result).isNull();
69 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 0, null,
73 assertThat(result).isNull();
78 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 1, null,
81 assertThat(result).isEqualTo(mMonitorMock);
99 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 1,
102 assertThat(result).isEqualTo(mMonitorMock);
126 IBackupManagerMonitor result = BackupManagerMonitorUtils.monitorEvent(mMonitorMock, 1,
129 assertThat(result)
[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...]
H A DAndroidKeyStoreKey.java65 int result = 1;
66 result = prime * result + ((mAlgorithm == null) ? 0 : mAlgorithm.hashCode());
67 result = prime * result + ((mAlias == null) ? 0 : mAlias.hashCode());
68 result = prime * result + mUid;
69 return result;
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
H A DWorkSpec.java268 int result = id.hashCode();
269 result = 31 * result + state.hashCode();
270 result = 31 * result + workerClassName.hashCode();
271 result = 31 * result + (inputMergerClassName != null ? inputMergerClassName.hashCode() : 0);
272 result = 31 * result + input.hashCode();
273 result
[all...]
/frameworks/base/cmds/incident_helper/tests/
H A Dih_util_test.cpp30 header_t result, expected; local
31 result = parseHeader(" \t \t\t ");
32 EXPECT_EQ(expected, result);
34 result = parseHeader(" \t 100 00\tOpQ \t wqrw");
36 EXPECT_EQ(expected, result);
38 result = parseHeader(" \t 100 00\toooh \t wTF", "\t");
40 EXPECT_EQ(expected, result);
42 result = parseHeader("123,456,78_9", ",");
44 EXPECT_EQ(expected, result);
48 record_t result, expecte local
69 record_t result, expected; local
[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/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/support/compat/src/androidTest/java/androidx/core/app/
H A DPersonTest.java56 Person result = Person.fromBundle(personBundle);
58 assertEquals(TEST_NAME, result.getName());
59 assertEquals(TEST_URI, result.getUri());
60 assertEquals(TEST_KEY, result.getKey());
61 assertEquals(TEST_IS_BOT, result.isBot());
62 assertEquals(TEST_IS_IMPORTANT, result.isImportant());
63 assertEquals(TEST_ICON.toBundle().toString(), result.getIcon().toBundle().toString());
71 Person result = Person.fromBundle(personBundle);
73 assertNull(result.getIcon());
74 assertNull(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.java129 int result = writeEntityHeader_native(mBackupWriter, key, dataSize);
130 if (result >= 0) {
131 return result;
133 throw new IOException("result=0x" + Integer.toHexString(result));
145 int result = writeEntityData_native(mBackupWriter, data, size);
146 if (result >= 0) {
147 return result;
149 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/service/euicc/
H A DIGetDefaultDownloadableSubscriptionListCallback.aidl23 void onComplete(in GetDefaultDownloadableSubscriptionListResult result);
H A DIGetDownloadableSubscriptionMetadataCallback.aidl23 void onComplete(in GetDownloadableSubscriptionMetadataResult result);
H A DIGetEuiccProfileInfoListCallback.aidl23 void onComplete(in GetEuiccProfileInfoListResult 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;
/frameworks/base/core/tests/coretests/src/android/animation/
H A DFutureWaiter.java37 * Used to indicate failure (when the result value is false).
39 public void set(boolean result) { argument
40 super.set(result);
/frameworks/base/graphics/java/android/graphics/
H A DInsets.java98 int result = left;
99 result = 31 * result + top;
100 result = 31 * result + right;
101 result = 31 * result + bottom;
102 return result;
/frameworks/base/libs/androidfw/tests/
H A DBenchMain.cpp29 size_t result = ::benchmark::RunSpecifiedBenchmarks(); local
30 return result == 0 ? 1 : 0;
/frameworks/base/libs/hwui/tests/unit/
H A DFontRendererTests.cpp47 auto result = fontRenderer.renderDropShadow(&paint, glyphs.data(), glyphs.size(), radius, local
49 ASSERT_NE(nullptr, result.image);
50 EXPECT_FALSE(isZero(result.image, result.width * result.height));
51 EXPECT_LE(bounds.getWidth() + radius * 2, (int)result.width);
52 EXPECT_LE(bounds.getHeight() + radius * 2, (int)result.height);
53 delete result.image;
/frameworks/base/rs/java/android/renderscript/
H A DByte2.java60 Byte2 result = new Byte2();
61 result.x = (byte)(a.x + b.x);
62 result.y = (byte)(a.y + b.y);
64 return result;
85 Byte2 result = new Byte2();
86 result.x = (byte)(a.x + b);
87 result.y = (byte)(a.y + b);
89 return result;
110 Byte2 result = new Byte2();
111 result
[all...]

Completed in 550 milliseconds

1234567891011>>