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

<<11121314151617181920>>

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DStatement.java123 int result = mTarget.hashCode();
124 result = 31 * result + mRelation.hashCode();
125 result = 31 * result + mSource.hashCode();
126 return result;
/frameworks/base/services/core/java/com/android/server/pm/
H A DIntentFilterVerificationKey.java58 int result = domains != null ? domains.hashCode() : 0;
59 result = 31 * result + (packageName != null ? packageName.hashCode() : 0);
60 result = 31 * result + (className != null ? className.hashCode() : 0);
61 return result;
/frameworks/base/services/tests/notification/src/com/android/server/notification/
H A DValidateNotificationPeopleTest.java40 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
41 assertNull("lack of extra should return null", result);
49 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
50 assertStringArrayEquals("string should be in result[0]", expected, result);
58 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
59 assertStringArrayEquals("char[] should be in result[0]", expected, result);
67 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
68 assertStringArrayEquals("charSequence should be in result[
155 assertStringArrayEquals(String message, String[] expected, String[] result) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DDataConnectionRealTimeInfo.java108 long result = 1;
109 result = (prime * result) + mTime;
110 result += (prime * result) + mDcPowerState;
111 return (int)result;
/frameworks/base/tools/aapt2/link/
H A DPrivateAttributeMover.cpp29 OutputIterator move_if(InputContainer& input_container, OutputIterator result, Predicate pred) { argument
33 return result;
36 *result = std::move(*new_end);
44 *result = std::move(*first);
45 ++result;
55 return result;
/frameworks/base/tools/split-select/
H A DRule_test.cpp71 std::string result(rule.toJson().string());
72 result.erase(std::remove_if(result.begin(), result.end(), ::isspace), result.end());
74 ASSERT_EQ(expected, result);
/frameworks/compile/mclinker/lib/LD/
H A DRelocationFactory.cpp72 Relocation* result = allocate(); local
73 new (result) Relocation(pType, &pFragRef, pAddend, target_data);
74 return result;
78 Relocation* result = allocate(); local
79 new (result) Relocation(0, 0, 0, 0);
80 return result;
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraDeviceInfo.java129 int result = 0;
131 result = (getSensorOrientation() + currentDisplayOrientation) % 360;
133 result = (360 - result) % 360;
136 result = (getSensorOrientation() - currentDisplayOrientation + 360) % 360;
140 return result;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/
H A DSingleScanSettings.java86 SingleScanSettings result = new SingleScanSettings();
87 result.channelSettings = new ArrayList<ChannelSettings>();
88 in.readTypedList(result.channelSettings, ChannelSettings.CREATOR);
89 result.hiddenNetworks = new ArrayList<HiddenNetwork>();
90 in.readTypedList(result.hiddenNetworks, HiddenNetwork.CREATOR);
95 return result;
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DDownloadDrmHelper.java43 boolean result = false;
48 result = drmClient.canHandle("", mimetype);
57 return result;
97 String result = containingMime;
101 result = drmClient.getOriginalMimeType(path);
109 return result;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteDiscoveryRequest.java106 StringBuilder result = new StringBuilder();
107 result.append("DiscoveryRequest{ selector=").append(getSelector());
108 result.append(", activeScan=").append(isActiveScan());
109 result.append(", isValid=").append(isValid());
110 result.append(" }");
111 return result.toString();
/frameworks/wilhelm/src/itf/
H A DIPitch.cpp29 result = SL_RESULT_PARAMETER_INVALID;
34 result = SL_RESULT_SUCCESS;
46 result = SL_RESULT_PARAMETER_INVALID;
53 result = SL_RESULT_SUCCESS;
68 result = SL_RESULT_PARAMETER_INVALID;
78 result = SL_RESULT_SUCCESS;
H A DIRatePitch.cpp28 result = SL_RESULT_PARAMETER_INVALID;
33 result = SL_RESULT_SUCCESS;
45 result = SL_RESULT_PARAMETER_INVALID;
52 result = SL_RESULT_SUCCESS;
67 result = SL_RESULT_PARAMETER_INVALID;
77 result = SL_RESULT_SUCCESS;
H A DIStreamInformation.cpp27 result = XA_RESULT_PARAMETER_INVALID;
40 result = XA_RESULT_SUCCESS;
44 result = XA_RESULT_FEATURE_UNSUPPORTED;
58 result = XA_RESULT_PARAMETER_INVALID;
67 result = XA_RESULT_PARAMETER_INVALID;
77 result = XA_RESULT_SUCCESS;
82 result = XA_RESULT_PARAMETER_INVALID;
100 result = XA_RESULT_PARAMETER_INVALID;
104 result = XA_RESULT_FEATURE_UNSUPPORTED;
114 result
[all...]
H A DIEngine.cpp102 result = SL_RESULT_PARAMETER_INVALID;
108 result = SL_RESULT_FEATURE_UNSUPPORTED;
110 result = checkInterfaces(pCLEDDevice_class, numInterfaces, pInterfaceIds,
113 if (SL_RESULT_SUCCESS == result) {
116 result = SL_RESULT_MEMORY_FAILURE;
126 result = SL_RESULT_FEATURE_UNSUPPORTED;
140 result = SL_RESULT_PARAMETER_INVALID;
146 result = SL_RESULT_FEATURE_UNSUPPORTED;
148 result = checkInterfaces(pCVibraDevice_class, numInterfaces,
151 if (SL_RESULT_SUCCESS == result) {
1024 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1037 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1275 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1326 result = SL_RESULT_FEATURE_UNSUPPORTED; local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DSyntheticPasswordManager.java145 AuthenticationToken result = new AuthenticationToken();
146 result.initialize(secureRandom(SYNTHETIC_PASSWORD_LENGTH),
148 return result;
169 PasswordData result = new PasswordData();
170 result.scryptN = PASSWORD_SCRYPT_N;
171 result.scryptR = PASSWORD_SCRYPT_R;
172 result.scryptP = PASSWORD_SCRYPT_P;
173 result.passwordType = passwordType;
174 result.salt = secureRandom(PASSWORD_SALT_LENGTH);
175 return result;
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestFeedback.cpp78 SLresult result; local
110 result = (*recorderBufferQueue)->Enqueue(recorderBufferQueue, buffer, bufSizeInBytes);
111 ASSERT_EQ(SL_RESULT_SUCCESS, result);
124 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, bufSizeInBytes);
125 if (SL_RESULT_SUCCESS == result) {
141 assert(SL_RESULT_BUFFER_INSUFFICIENT == result);
146 result = (*recorderBufferQueue)->Enqueue(recorderBufferQueue, buffer, bufSizeInBytes);
147 ASSERT_EQ(SL_RESULT_SUCCESS, result);
168 SLresult result; local
205 result
396 SLresult result; local
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_JetPlayer.cpp85 EAS_RESULT result = lpJet->init(); local
87 if (result==EAS_SUCCESS) {
93 ALOGE("android_media_JetPlayer_setup(): initialization failed with EAS error code %d", (int)result);
149 EAS_RESULT result = lpJet->loadFromFile(pathStr); local
152 if (result==EAS_SUCCESS) {
157 (int)result);
180 EAS_RESULT result = lpJet->loadFromFD(jniGetFDFromFileDescriptor(env, fileDescriptor), local
183 if (result==EAS_SUCCESS) {
188 (int)result);
228 EAS_RESULT result local
252 EAS_RESULT result = lpJet->pause(); local
282 EAS_RESULT result local
309 EAS_RESULT result=EAS_FAILURE; local
355 EAS_RESULT result; local
380 EAS_RESULT result=EAS_FAILURE; local
426 EAS_RESULT result; local
452 EAS_RESULT result; local
477 EAS_RESULT result = lpJet->clearQueue(); local
[all...]
/frameworks/native/cmds/flatland/
H A DMain.cpp293 bool result; local
298 result = mGLHelper->createSurfaceTexture(mDesc.width, mDesc.height,
300 if (!result) {
305 result = mRenderer->setUp(helper);
306 if (!result) {
311 result = mComposer->setUp(desc, helper);
312 if (!result) {
391 bool result; local
400 result = mGLHelper->setUp(shaders, NELEMS(shaders));
401 if (!result) {
467 bool result; local
512 bool result; local
597 double prevResult = 0.0, result = 0.0; local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DVolumeCurve.cpp68 String8 result; local
70 result.append(buffer);
74 result.append(buffer);
75 result.append(i == (mCurvePoints.size() - 1) ? " }\n" : ", ");
77 write(fd, result.string(), result.size());
84 String8 result; local
89 result.append(buffer);
92 result.append(buffer);
94 result
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioService.cpp54 aaudio_result_t result = AAUDIO_OK;
67 result = serviceStream->open(request, configurationOutput);
68 if (result != AAUDIO_OK) {
82 result = serviceStream->open(request, configurationOutput);
86 if (result != AAUDIO_OK) {
88 ALOGE("AAudioService::openStream(): failed, return %d", result);
89 return result;
128 aaudio_result_t result = serviceStream->getDescription(parcelable);
130 return result;
139 aaudio_result_t result
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DHexDump.java31 StringBuilder result = new StringBuilder();
36 result.append("\n0x");
37 result.append(toHexString(offset));
43 result.append(" ");
49 result.append(new String(line, j, 1));
53 result.append(".");
57 result.append("\n0x");
58 result.append(toHexString(i));
63 result.append(" ");
64 result
[all...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DAuthenticationClient.java53 boolean result = false;
75 result = true; // client failed
78 result = true; // client not listening
99 result |= lockoutMode != LOCKOUT_NONE; // in a lockout mode
104 result |= true; // we have a valid fingerprint, done
107 return result;
121 final int result = daemon.authenticate(mOpId, getGroupId());
122 if (result != 0) {
123 Slog.w(TAG, "startAuthentication failed, result=" + result);
[all...]
/frameworks/base/core/java/android/text/format/
H A DFormatter.java107 float result = isNegative ? -sizeBytes : sizeBytes;
110 if (result > 900) {
113 result = result / 1000;
115 if (result > 900) {
118 result = result / 1000;
120 if (result > 900) {
123 result = result / 100
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.cpp92 const jint result = vm->GetEnv(reinterpret_cast<void**>(&env),
94 return result == JNI_OK ? env : NULL;
105 std::string result(c_value);
108 return result;
128 jobject result = JNI_NULL; local
130 return result;
134 Value result = MakeNullValue(); local
138 result = MakeIntValue(env->CallBooleanMethod(object, method) == JNI_TRUE ? 1 : 0);
141 result = MakeIntValue(env->CallIntMethod(object, method));
144 result
163 jobject result = JNI_NULL; local
[all...]

Completed in 360 milliseconds

<<11121314151617181920>>