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

1234567891011>>

/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DImageFormat.java41 MutableFrameFormat result = new MutableFrameFormat(FrameFormat.TYPE_BYTE, target);
42 result.setDimensions(width, height);
43 result.setBytesPerSample(bytesPerSample);
44 result.setMetaValue(COLORSPACE_KEY, colorspace);
46 result.setObjectClass(Bitmap.class);
48 return result;
H A DPrimitiveFormat.java69 MutableFrameFormat result = new MutableFrameFormat(baseType, target);
70 result.setDimensions(count);
71 return result;
75 MutableFrameFormat result = new MutableFrameFormat(baseType, target);
76 result.setDimensionCount(1);
77 return result;
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp118 // Record in the result RSInfo object.
151 RSInfo *result = NULL; local
181 // Allocate result object
182 result = new (std::nothrow) RSInfo(string_pool_size);
183 if (result == NULL) {
189 if (result->mStringPool == NULL) {
196 result->mStringPool[ cur_string_pool_offset++ ] = '\0';
216 result->mPragmas.push(std::make_pair(
217 writeString(key, result->mStringPool, &cur_string_pool_offset),
218 writeString(val, result
[all...]
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...]
/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);
148 EAS_RESULT result = lpJet->loadFromFile(pathStr); local
151 if (result==EAS_SUCCESS) {
156 (int)result);
178 EAS_RESULT result = lpJet->loadFromFD(jniGetFDFromFileDescriptor(env, fileDescriptor), local
181 if (result==EAS_SUCCESS) {
186 (int)result);
224 EAS_RESULT result local
247 EAS_RESULT result = lpJet->pause(); local
276 EAS_RESULT result local
302 EAS_RESULT result=EAS_FAILURE; local
347 EAS_RESULT result; local
371 EAS_RESULT result=EAS_FAILURE; local
416 EAS_RESULT result; local
441 EAS_RESULT result; local
465 EAS_RESULT result = lpJet->clearQueue(); local
[all...]
H A Dandroid_os_MemoryFile.cpp33 int result = ashmem_create_region(namestr, length); local
38 if (result < 0) {
43 return jniCreateFileDescriptor(env, result);
50 jint result = (jint)mmap(NULL, length, prot, MAP_SHARED, fd, 0); local
51 if (!result)
53 return result;
58 int result = munmap((void *)addr, length); local
59 if (result < 0)
113 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0)); local
114 if (result <
125 int result = ashmem_get_size_region(fd); local
[all...]
/frameworks/wilhelm/src/itf/
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) {
1008 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1021 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1260 result = SL_RESULT_FEATURE_UNSUPPORTED; local
1311 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...]
H A DILEDArray.c30 result = SL_RESULT_SUCCESS;
41 result = SL_RESULT_PARAMETER_INVALID;
48 result = SL_RESULT_SUCCESS;
59 result = SL_RESULT_PARAMETER_INVALID; local
75 result = SL_RESULT_SUCCESS;
87 result = SL_RESULT_PARAMETER_INVALID;
95 result = SL_RESULT_SUCCESS;
H A DIMIDIMessage.c28 result = SL_RESULT_PARAMETER_INVALID;
31 result = SL_RESULT_FEATURE_UNSUPPORTED;
48 result = SL_RESULT_SUCCESS;
64 result = SL_RESULT_SUCCESS;
89 result = SL_RESULT_SUCCESS;
93 result = SL_RESULT_PARAMETER_INVALID;
109 result = SL_RESULT_SUCCESS;
H A DIPrefetchStatus.c27 result = SL_RESULT_PARAMETER_INVALID;
34 result = SL_RESULT_SUCCESS;
46 result = SL_RESULT_PARAMETER_INVALID;
53 result = SL_RESULT_SUCCESS;
70 result = SL_RESULT_SUCCESS;
81 result = SL_RESULT_PARAMETER_INVALID;
88 result = SL_RESULT_SUCCESS;
102 result = SL_RESULT_PARAMETER_INVALID;
109 result = SL_RESULT_SUCCESS;
121 result
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp464 String8 result; local
466 result.appendFormat("Permission Denial: "
470 write(fd, result.string(), result.size());
475 result.append("CameraService may be deadlocked\n");
476 write(fd, result.string(), result.size());
481 result = String8::format("No camera module available!\n");
482 write(fd, result.string(), result
[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/compile/libbcc/tools/build/
H A Dgen-build-info.py81 result = '"'
84 result += '\\\\'
86 result += '\\r'
88 result += '\\n'
90 result += '\\t'
92 result += '\\"'
94 result += '\\\''
96 result += c
97 result += '"'
98 return result
[all...]
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/
H A DTestRequestBuilderTest.java72 Result result = testRunner.run(request.getRequest());
73 Assert.assertEquals(2, result.getRunCount());
86 Result result = testRunner.run(request.getRequest());
87 Assert.assertEquals(1, result.getRunCount());
101 Result result = testRunner.run(request.getRequest());
102 Assert.assertEquals(3, result.getRunCount());
116 Result result = testRunner.run(request.getRequest());
117 Assert.assertEquals(3, result.getRunCount());
131 Result result = testRunner.run(request.getRequest());
132 Assert.assertEquals(1, 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/opt/telephony/src/java/com/android/internal/telephony/
H A DCommandsInterface.java111 void getVoiceRadioTechnology(Message result); argument
187 * AsyncResult.result is a String containing the SMS PDU
197 * AsyncResult.result is a String containing the SMS PDU
205 * AsyncResult.result is a byte array containing the SMS-CB PDU
213 * AsyncResult.result is an int array containing the index of new SMS
221 * AsyncResult.result is a String containing the status report PDU
229 * AsyncResult.result is an Object[]
230 * ((Object[])AsyncResult.result)[0] is a String containing the NITZ time string
231 * ((Object[])AsyncResult.result)[1] is a Long containing the milliseconds since boot as
247 * AsyncResult.result i
383 setSuppServiceNotifications(boolean enable, Message result) argument
567 supplyIccPin(String pin, Message result) argument
583 supplyIccPinForApp(String pin, String aid, Message result) argument
597 supplyIccPuk(String puk, String newPin, Message result) argument
613 supplyIccPukForApp(String puk, String newPin, String aid, Message result) argument
629 supplyIccPin2(String pin2, Message result) argument
647 supplyIccPin2ForApp(String pin2, String aid, Message result) argument
663 supplyIccPuk2(String puk2, String newPin2, Message result) argument
681 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message result) argument
683 changeIccPin(String oldPin, String newPin, Message result) argument
684 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message result) argument
685 changeIccPin2(String oldPin2, String newPin2, Message result) argument
686 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message result) argument
688 changeBarringPassword(String facility, String oldPwd, String newPwd, Message result) argument
690 supplyNetworkDepersonalization(String netpin, Message result) argument
700 getCurrentCalls(Message result) argument
711 getPDPContextList(Message result) argument
720 getDataCallList(Message result) argument
733 dial(String address, int clirMode, Message result) argument
746 dial(String address, int clirMode, UUSInfo uusInfo, Message result) argument
755 getIMSI(Message result) argument
764 getIMSIForApp(String aid, Message result) argument
773 getIMEI(Message result) argument
782 getIMEISV(Message result) argument
795 hangupConnection(int gsmIndex, Message result) argument
805 hangupWaitingOrBackground(Message result) argument
816 hangupForegroundResumeBackground(Message result) argument
827 switchWaitingOrHoldingAndActive(Message result) argument
837 conference(Message result) argument
845 setPreferredVoicePrivacy(boolean enable, Message result) argument
852 getPreferredVoicePrivacy(Message result) argument
859 separateConnection(int gsmIndex, Message result) argument
867 acceptCall(Message result) argument
875 rejectCall(Message result) argument
885 explicitCallTransfer(Message result) argument
895 getLastCallFailCause(Message result) argument
906 getLastPdpFailCause(Message result) argument
912 getLastDataCallFailCause(Message result) argument
965 sendDtmf(char c, Message result) argument
973 startDtmf(char c, Message result) argument
980 stopDtmf(Message result) argument
987 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
1224 resetRadio(Message result) argument
1285 getSmscAddress(Message result) argument
1293 setSmscAddress(String address, Message result) argument
1300 reportSmsMemoryStatus(boolean available, Message result) argument
1308 reportStkServiceIsRunning(Message result) argument
1368 setGsmBroadcastActivation(boolean activate, Message result) argument
1496 setupDataCall(String radioTechnology, String profile, String apn, String user, String password, String authType, String protocol, Message result) argument
1510 deactivateDataCall(int cid, int reason, Message result) argument
1520 setCdmaBroadcastActivation(boolean activate, Message result) argument
1529 setCdmaBroadcastConfig(int[] configValuesArray, Message result) argument
1537 getCdmaBroadcastConfig(Message result) argument
1553 getIccCardStatus(Message result) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java327 CacheResult result = nativeGetCacheResult(url);
328 if (result == null) {
333 File src = new File(mBaseDir, result.localPath);
337 result.inStream = new FileInputStream(src);
346 // that we should provide the cache result even if it is expired.
348 if (headers != null && result.expires >= 0
349 && result.expires <= System.currentTimeMillis()) {
350 if (result.lastModified == null && result.etag == null) {
355 if (result
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java75 boolean result = false;
80 result = true;
87 return result;
91 boolean result = false;
96 result = true;
104 return result;
127 boolean result = false;
133 result = true;
140 return result;
/frameworks/base/core/java/android/nfc/
H A DTransceiveResult.java25 * Class used to pipe transceive result from the NFC service.
38 public TransceiveResult(final int result, final byte[] data) { argument
39 mResult = result;
74 int result = in.readInt();
77 if (result == RESULT_SUCCESS) {
84 return new TransceiveResult(result, responseData);
/frameworks/base/core/java/android/os/
H A DRegistrant.java50 notifyResult(Object result) argument
52 internalNotifyRegistrant (result, null);
67 internalNotifyRegistrant (ar.result, ar.exception);
71 internalNotifyRegistrant (Object result, Throwable exception) argument
82 msg.obj = new AsyncResult(userObj, result, exception);

Completed in 306 milliseconds

1234567891011>>