Searched refs:result (Results 201 - 225 of 1438) sorted by relevance

1234567891011>>

/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.cpp74 Relocation* result = allocate(); local
75 new (result) Relocation(pType, &pFragRef, pAddend, target_data);
76 return result;
81 Relocation* result = allocate(); local
82 new (result) Relocation(0, 0, 0, 0);
83 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/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/v4/api20/android/support/v4/app/
H A DRemoteInputCompatApi20.java29 RemoteInputCompatBase.RemoteInput[] result = factory.newArray(srcArray.length);
32 result[i] = factory.build(src.getResultKey(), src.getLabel(), src.getChoices(),
35 return result;
42 RemoteInput[] result = new RemoteInput[srcArray.length];
45 result[i] = new RemoteInput.Builder(src.getResultKey())
52 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.c29 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.c28 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.c27 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.c101 result = SL_RESULT_PARAMETER_INVALID;
107 result = SL_RESULT_FEATURE_UNSUPPORTED;
109 result = checkInterfaces(pCLEDDevice_class, numInterfaces, pInterfaceIds,
112 if (SL_RESULT_SUCCESS == result) {
115 result = SL_RESULT_MEMORY_FAILURE;
125 result = SL_RESULT_FEATURE_UNSUPPORTED;
139 result = SL_RESULT_PARAMETER_INVALID;
145 result = SL_RESULT_FEATURE_UNSUPPORTED;
147 result = checkInterfaces(pCVibraDevice_class, numInterfaces,
150 if (SL_RESULT_SUCCESS == result) {
1017 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1030 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1269 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1320 result = SL_RESULT_FEATURE_UNSUPPORTED; local
[all...]
H A DI3DSource.c30 result = SL_RESULT_SUCCESS;
41 result = SL_RESULT_PARAMETER_INVALID;
48 result = SL_RESULT_SUCCESS;
62 result = SL_RESULT_PARAMETER_INVALID;
69 result = SL_RESULT_SUCCESS;
82 result = SL_RESULT_PARAMETER_INVALID;
90 result = SL_RESULT_SUCCESS;
105 result = SL_RESULT_SUCCESS;
116 result = SL_RESULT_PARAMETER_INVALID;
123 result
[all...]
H A DIMIDITime.c27 result = SL_RESULT_PARAMETER_INVALID;
32 result = SL_RESULT_SUCCESS;
46 result = SL_RESULT_PARAMETER_INVALID;
51 result = SL_RESULT_SUCCESS;
63 result = SL_RESULT_PARAMETER_INVALID;
70 result = SL_RESULT_SUCCESS;
85 result = SL_RESULT_PARAMETER_INVALID;
91 result = SL_RESULT_SUCCESS;
104 result = SL_RESULT_PARAMETER_INVALID;
113 result
[all...]
H A DIPlay.c33 result = SL_RESULT_SUCCESS;
90 result = SL_RESULT_INTERNAL_ERROR;
109 result = SL_RESULT_PARAMETER_INVALID;
122 result = SL_RESULT_PARAMETER_INVALID;
128 result = SL_RESULT_SUCCESS;
141 result = SL_RESULT_INTERNAL_ERROR;
157 result = SL_RESULT_PARAMETER_INVALID;
159 result = SL_RESULT_SUCCESS;
169 result = android_audioPlayer_getDuration(thiz, &temp);
172 result
[all...]
H A DIRecord.c38 result = SL_RESULT_SUCCESS;
42 result = SL_RESULT_PARAMETER_INVALID;
56 result = SL_RESULT_PARAMETER_INVALID;
62 result = SL_RESULT_SUCCESS;
81 result = SL_RESULT_SUCCESS;
92 result = SL_RESULT_PARAMETER_INVALID;
109 result = SL_RESULT_SUCCESS;
126 result = SL_RESULT_SUCCESS;
143 result = SL_RESULT_PARAMETER_INVALID;
153 result
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBlendComposite.java200 int[] result = new int[4];
223 result = blender.blend(srcPixel, dstPixel, result);
225 // mixes the result with the opacity
227 dstPixels[x] = (result[3] & 0xFF) << 24 |
228 (result[0] & 0xFF) << 16 |
229 (result[1] & 0xFF) << 8 |
230 result[2] & 0xFF;
233 ((int) (dstPixel[3] + (result[3] - dstPixel[3]) * alpha) & 0xFF) << 24 |
234 ((int) (dstPixel[0] + (result[
247 blend(int[] src, int[] dst, int[] result) argument
[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.cpp294 bool result; local
299 result = mGLHelper->createSurfaceTexture(mDesc.width, mDesc.height,
301 if (!result) {
306 result = mRenderer->setUp(helper);
307 if (!result) {
312 result = mComposer->setUp(desc, helper);
313 if (!result) {
392 bool result; local
401 result = mGLHelper->setUp(shaders, NELEMS(shaders));
402 if (!result) {
468 bool result; local
513 bool result; local
598 double prevResult = 0.0, result = 0.0; local
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSExecutable.cpp51 RSExecutable *result = new (std::nothrow) RSExecutable(pInfo, local
54 if (result == NULL) {
55 ALOGE("Out of memory when create object to hold RS result file for %s!",
70 void *addr = result->getSymbolAddress(name);
72 //ALOGW("RS export var at entry #%u named %s cannot be found in the result "
75 result->mExportVarAddrs.push_back(addr);
87 void *addr = result->getSymbolAddress(name);
89 // ALOGW("RS export func at entry #%u named %s cannot be found in the result"
92 result->mExportFuncAddrs.push_back(addr);
106 void *addr = result
184 DisassembleResult result = local
[all...]
H A DRSInfoExtractor.cpp134 RSInfo *result = NULL; local
154 // Allocate result object
155 result = new (std::nothrow) RSInfo(string_pool_size);
156 if (result == NULL) {
162 if (result->mStringPool == NULL) {
169 result->mStringPool[ cur_string_pool_offset++ ] = '\0';
189 result->mPragmas.push(std::make_pair(
190 writeString(key, result->mStringPool, &cur_string_pool_offset),
191 writeString(val, result->mStringPool, &cur_string_pool_offset)));
207 result
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java150 IccIoResult result = new IccIoResult(mExpectingSendEnvelopeResponseSw1,
154 AsyncResult.forMessage(response, result, null);
161 public void setSuppServiceNotifications(boolean enable, Message result) { argument
165 public void supplyIccPin(String pin, Message result) { argument
169 public void supplyIccPinForApp(String pin, String aid, Message result) { argument
173 public void supplyIccPuk(String puk, String newPin, Message result) { argument
177 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { argument
181 public void supplyIccPin2(String pin2, Message result) { argument
185 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { argument
189 public void supplyIccPuk2(String puk2, String newPin2, Message result) { argument
193 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result) argument
197 changeIccPin(String oldPin, String newPin, Message result) argument
201 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message result) argument
205 changeIccPin2(String oldPin2, String newPin2, Message result) argument
209 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message result) argument
213 changeBarringPassword(String facility, String oldPwd, String newPwd, Message result) argument
218 supplyNetworkDepersonalization(String netpin, Message result) argument
222 getCurrentCalls(Message result) argument
226 getPDPContextList(Message result) argument
230 getDataCallList(Message result) argument
234 dial(String address, int clirMode, Message result) argument
238 dial(String address, int clirMode, UUSInfo uusInfo, Message result) argument
242 getIMSI(Message result) argument
246 getIMEI(Message result) argument
250 getIMEISV(Message result) argument
254 hangupConnection(int gsmIndex, Message result) argument
258 hangupWaitingOrBackground(Message result) argument
262 hangupForegroundResumeBackground(Message result) argument
266 switchWaitingOrHoldingAndActive(Message result) argument
270 conference(Message result) argument
274 setPreferredVoicePrivacy(boolean enable, Message result) argument
278 getPreferredVoicePrivacy(Message result) argument
282 separateConnection(int gsmIndex, Message result) argument
286 acceptCall(Message result) argument
290 rejectCall(Message result) argument
294 explicitCallTransfer(Message result) argument
298 getLastCallFailCause(Message result) argument
302 getLastPdpFailCause(Message result) argument
306 getLastDataCallFailCause(Message result) argument
334 sendDtmf(char c, Message result) argument
338 startDtmf(char c, Message result) argument
342 stopDtmf(Message result) argument
346 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
479 resetRadio(Message result) argument
507 getSmscAddress(Message result) argument
511 setSmscAddress(String address, Message result) argument
515 reportSmsMemoryStatus(boolean available, Message result) argument
519 reportStkServiceIsRunning(Message result) argument
543 setGsmBroadcastActivation(boolean activate, Message result) argument
563 getImsRegistrationState(Message result) argument
599 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
604 deactivateDataCall(int cid, int reason, Message result) argument
608 setCdmaBroadcastActivation(boolean activate, Message result) argument
616 getCdmaBroadcastConfig(Message result) argument
624 getIccCardStatus(Message result) argument
640 getCellInfoList(Message result) argument
648 setInitialAttachApn(String apn, String protocol, int authType, String username, String password, Message result) argument
653 setDataProfile(DataProfile[] dps, Message result) argument
657 getIMSIForApp(String aid, Message result) argument
[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...]
/frameworks/base/location/java/android/location/
H A DGeofence.java149 int result = 1;
152 result = prime * result + (int) (temp ^ (temp >>> 32));
154 result = prime * result + (int) (temp ^ (temp >>> 32));
155 result = prime * result + Float.floatToIntBits(mRadius);
156 result = prime * result + mType;
157 return result;
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DCachedFrameManager.java45 Frame result = findAvailableFrame(format, Frame.NO_BINDING, 0);
46 if (result == null) {
47 result = super.newFrame(format);
49 result.setTimestamp(Frame.TIMESTAMP_NOT_SET);
50 return result;
55 Frame result = findAvailableFrame(format, bindingType, bindingId);
56 if (result == null) {
57 result = super.newBoundFrame(format, bindingType, bindingId);
59 result.setTimestamp(Frame.TIMESTAMP_NOT_SET);
60 return result;
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp201 int result = snprintf(s, sizeof(s), "%d", x); local
202 CHECK((result > 0) && ((size_t) result) < sizeof(s));
208 int result = snprintf(s, sizeof(s), "%u", x); local
209 CHECK((result > 0) && ((size_t) result) < sizeof(s));
215 int result = snprintf(s, sizeof(s), "%ld", x); local
216 CHECK((result > 0) && ((size_t) result) < sizeof(s));
222 int result local
229 int result = snprintf(s, sizeof(s), "%lld", x); local
236 int result = snprintf(s, sizeof(s), "%llu", x); local
243 int result = snprintf(s, sizeof(s), "%f", x); local
250 int result = snprintf(s, sizeof(s), "%f", x); local
257 int result = snprintf(s, sizeof(s), "%p", x); local
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DVoice.java200 int result = 1;
201 result = prime * result + ((mFeatures == null) ? 0 : mFeatures.hashCode());
202 result = prime * result + mLatency;
203 result = prime * result + ((mLocale == null) ? 0 : mLocale.hashCode());
204 result = prime * result + ((mName == null) ? 0 : mName.hashCode());
205 result
[all...]

Completed in 3360 milliseconds

1234567891011>>