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

1234567891011>>

/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/keystore/java/android/security/keystore/
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/base/libs/hwui/tests/unit/
H A DFontRendererTests.cpp47 auto result = fontRenderer.renderDropShadow(&paint, glyphs.data(), glyphs.size(), 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...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DEnumerateClient.java42 final int result = daemon.enumerate();
43 if (result != 0) {
45 + " failed, result=" + result);
47 return result;
63 final int result = daemon.cancelEnumeration();
64 if (result != 0) {
65 Slog.w(TAG, "stop enumeration failed, result=" + result);
66 return result;
[all...]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DIRequestCallback.aidl21 void onResult(in Bundle result);
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DTextUtils.java28 String result = "";
32 result += (char)(random.nextInt(26) + base);
34 return result;
70 String result = "";
73 result += " ";
77 result += CACHE_HIT_STRINGS[random.nextInt(CACHE_HIT_STRINGS.length)];
83 result += randomWord(random, length);
86 strings[i] = result;
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
H A Dpass-struct.c35 int result = test_struct(s); local
36 return(result == 20 ? 0 : -1);
/frameworks/native/services/inputflinger/host/
H A DInputFlinger.cpp51 String8 result; local
57 result.appendFormat("Permission Denial: "
60 dumpInternal(result);
62 write(fd, result.string(), result.size());
66 void InputFlinger::dumpInternal(String8& result) { argument
67 result.append("INPUT FLINGER (dumpsys inputflinger)\n");
68 mHost->dump(result);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DUnitTest.java24 public int result; field in class:UnitTest
43 result = initResult;
61 result = -1;
68 mItem.result = result;
83 if (result == 0) {
86 result = 1;
89 result = -1;
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DUnitTest.java24 public int result; field in class:UnitTest
43 result = initResult;
61 result = -1;
68 mItem.result = result;
83 if (result == 0) {
86 result = 1;
89 result = -1;
/frameworks/wilhelm/src/itf/
H A DIMIDITempo.c27 result = SL_RESULT_PARAMETER_INVALID;
33 result = SL_RESULT_SUCCESS;
45 result = SL_RESULT_PARAMETER_INVALID;
52 result = SL_RESULT_SUCCESS;
65 result = SL_RESULT_PARAMETER_INVALID;
71 result = SL_RESULT_SUCCESS;
83 result = SL_RESULT_PARAMETER_INVALID;
90 result = SL_RESULT_SUCCESS;
H A DIVibra.c30 result = SL_RESULT_SUCCESS;
41 result = SL_RESULT_PARAMETER_INVALID;
48 result = SL_RESULT_SUCCESS;
61 result = SL_RESULT_PRECONDITIONS_VIOLATED;
63 result = SL_RESULT_PARAMETER_INVALID;
69 result = SL_RESULT_SUCCESS;
81 result = SL_RESULT_PARAMETER_INVALID;
88 result = SL_RESULT_SUCCESS;
101 result = SL_RESULT_PRECONDITIONS_VIOLATED;
103 result
[all...]
H A DIPlaybackRate.c29 result = SL_RESULT_PARAMETER_INVALID;
36 result = android_audioPlayer_setPlaybackRateAndConstraints(ap, rate, thiz->mProperties);
38 result = SL_RESULT_FEATURE_UNSUPPORTED;
41 result = SL_RESULT_SUCCESS;
43 if (SL_RESULT_SUCCESS == result) {
58 result = SL_RESULT_PARAMETER_INVALID;
65 result = SL_RESULT_SUCCESS;
79 result = SL_RESULT_PARAMETER_INVALID;
82 result = SL_RESULT_FEATURE_UNSUPPORTED;
90 result
[all...]
H A DIPresetReverb.c46 result = SL_RESULT_SUCCESS;
49 result = SL_RESULT_CONTROL_LOST;
52 result = android_fx_statusToResult(status);
58 result = SL_RESULT_PARAMETER_INVALID;
70 result = SL_RESULT_PARAMETER_INVALID;
77 result = SL_RESULT_SUCCESS;
81 result = SL_RESULT_CONTROL_LOST;
84 result = android_fx_statusToResult(status);
87 if (SL_RESULT_CONTROL_LOST == result) {
88 result
[all...]
H A DIBassBoost.c46 result = SL_RESULT_SUCCESS;
49 result = SL_RESULT_CONTROL_LOST;
52 result = android_fx_statusToResult(status);
66 result = SL_RESULT_PARAMETER_INVALID;
73 result = SL_RESULT_SUCCESS;
76 result = SL_RESULT_CONTROL_LOST;
79 result = SL_RESULT_SUCCESS;
94 result = SL_RESULT_PARAMETER_INVALID;
100 result = SL_RESULT_SUCCESS;
103 result
[all...]
/frameworks/wilhelm/src/ut/
H A DOpenSLESUT.h24 extern const char *slesutResultToString(SLresult result);
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dbasic_op_c_equivalent.h198 result = 32-bit result of L_var3 + (var1 * var2)(Word32)
202 Word32 result; local
204 result = (Word32) var1 * var2;
205 if (result != (Word32) 0x40000000L)
207 L_sum = (result << 1) + L_var3;
210 if ((L_var3 ^ result) > 0)
289 result = 32-bit result of L_var3 - (var1 * var2)
294 Word32 result; local
404 Word32 result; local
479 Word32 result; local
488 Word32 result; local
[all...]
/frameworks/native/services/sensorservice/
H A DSensorList.cpp122 String8 result; local
124 forEachSensor([&result] (const Sensor& s) -> bool {
125 result.appendFormat(
138 result.append(" continuous | ");
140 result.append(" on-change | ");
142 result.append(" one-shot | ");
144 result.append(" special-trigger | ");
146 result.append(" unknown-mode | ");
150 result.appendFormat("minRate=%.2fHz | ", 1e6f / s.getMaxDelay());
152 result
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthAppConfiguration.java82 int result = 17;
83 result = 31 * result + (mName != null ? mName.hashCode() : 0);
84 result = 31 * result + mDataType;
85 result = 31 * result + mRole;
86 result = 31 * result + mChannelType;
87 return result;
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DUriDerivativeLoader.java69 public void deliverResult(Res result) { argument
71 closeQuietly(result);
75 mResult = result;
78 super.deliverResult(result);
81 if (oldResult != null && oldResult != result) {
108 public void onCanceled(Res result) { argument
109 closeQuietly(result);
125 private void closeQuietly(Res result) { argument
126 if (result instanceof AutoCloseable) {
128 ((AutoCloseable) result)
[all...]
/frameworks/base/packages/Osu/src/com/android/anqp/
H A DIconInfo.java73 int result = mWidth;
74 result = 31 * result + mHeight;
75 result = 31 * result + mLanguage.hashCode();
76 result = 31 * result + mIconType.hashCode();
77 result = 31 * result + mFileName.hashCode();
78 return result;
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
H A DIconInfo.java74 int result = mWidth;
75 result = 31 * result + mHeight;
76 result = 31 * result + mLanguage.hashCode();
77 result = 31 * result + mIconType.hashCode();
78 result = 31 * result + mFileName.hashCode();
79 return result;
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaSessionStatus.java129 StringBuilder result = new StringBuilder();
130 result.append("MediaSessionStatus{ ");
131 result.append("timestamp=");
132 TimeUtils.formatDuration(SystemClock.elapsedRealtime() - getTimestamp(), result);
133 result.append(" ms ago");
134 result.append(", sessionState=").append(sessionStateToString(getSessionState()));
135 result.append(", queuePaused=").append(isQueuePaused());
136 result.append(", extras=").append(getExtras());
137 result.append(" }");
138 return result
[all...]
/frameworks/wilhelm/src/
H A Dentry.c33 SLresult result; local
43 result = SL_RESULT_PARAMETER_INVALID;
50 result = SL_RESULT_PARAMETER_INVALID;
61 result = SL_RESULT_SUCCESS;
73 result = SL_RESULT_PARAMETER_INVALID;
77 if (SL_RESULT_SUCCESS != result) {
83 result = checkInterfaces(pCEngine_class, numInterfaces,
85 if (SL_RESULT_SUCCESS != result) {
145 result = SL_RESULT_MEMORY_FAILURE;
174 return result;
183 SLresult result; local
218 SLresult result; local
[all...]

Completed in 1071 milliseconds

1234567891011>>