Searched refs:result (Results 101 - 125 of 1828) sorted by relevance

1234567891011>>

/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLContextImpl.java52 int result = 17;
53 result = 31 * result + (int) (mEGLContext ^ (mEGLContext >>> 32));
54 return result;
H A DEGLSurfaceImpl.java50 int result = 17;
51 result = 31 * result + (int) (mEGLSurface ^ (mEGLSurface >>> 32));
52 return result;
/frameworks/wilhelm/src/itf/
H A DIDynamicSource.c27 result = SL_RESULT_PARAMETER_INVALID;
32 SLresult result;
33 result = checkDataSource("pDataSource", pDataSource, &myDataSource, DATALOCATOR_MASK_ALL,
35 // handle result here
43 result = SL_RESULT_FEATURE_UNSUPPORTED;
H A DIMetadataExtraction.c27 result = SL_RESULT_PARAMETER_INVALID;
32 result = android_audioPlayer_metadata_getItemCount((CAudioPlayer *)thiz->mThis,
35 result = SL_RESULT_FEATURE_UNSUPPORTED;
38 result = SL_RESULT_PARAMETER_INVALID;
52 result = SL_RESULT_PARAMETER_INVALID;
57 result = android_audioPlayer_metadata_getKeySize((CAudioPlayer *)thiz->mThis,
60 result = SL_RESULT_FEATURE_UNSUPPORTED;
63 result = SL_RESULT_PARAMETER_INVALID;
77 result = SL_RESULT_PARAMETER_INVALID;
82 result
[all...]
H A DIAndroidEffectSend.c30 result = SL_RESULT_PARAMETER_INVALID;
39 result = SL_RESULT_PARAMETER_INVALID;
43 result = android_fxSend_attachToAux(ap, effectImplementationId, enable,
45 if (SL_RESULT_SUCCESS == result) {
65 result = SL_RESULT_PARAMETER_INVALID;
73 result = SL_RESULT_SUCCESS;
88 result = SL_RESULT_PARAMETER_INVALID;
103 result = SL_RESULT_SUCCESS;
107 result = SL_RESULT_PARAMETER_INVALID;
121 result
[all...]
H A DIEnvironmentalReverb.c48 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.c29 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/wilhelm/tests/examples/
H A DslesTestEffectCapabilities.cpp37 void ExitOnErrorFunc( SLresult result , int line)
39 if (SL_RESULT_SUCCESS != result) {
40 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
69 SLresult result; local
92 result = slCreateEngine( &sl, 1, EngineOption, 1, iidArray, required);
93 ExitOnError(result);
96 result = (*sl)->Realize(sl, SL_BOOLEAN_FALSE);
97 ExitOnError(result);
104 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
105 ExitOnError(result);
[all...]
/frameworks/av/services/mediaresourcemanager/
H A DServiceLog.cpp43 String8 result; local
45 addLine(log.string(), linePrefix, &result);
48 addLine("...", linePrefix, &result);
50 addLine("[no events yet]", linePrefix, &result);
52 return result;
55 void ServiceLog::addLine(const char *log, const char *prefix, String8 *result) const {
57 result->append(prefix);
59 result->append(log);
60 result->append("\n");
/frameworks/wilhelm/src/
H A Dtrace.c41 void slTraceLeaveGlobal(const char *function, SLresult result) argument
43 if (SL_RESULT_SUCCESS == result) {
49 const char *str = slesutResultToString(result);
53 SL_LOGW("Leaving %s (0x%X)", function, result);
86 void slTraceLeaveInterface(const char *function, SLresult result) argument
101 if (SL_RESULT_SUCCESS == result) {
112 const char *str = slesutResultToString(result);
119 &underscore[1], result);
125 SL_LOGW("Leaving %s (0x%X)", function, result);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java49 RunnerResult result = new RunnerResult();
67 result.status = RESULT_RUNNING;
68 while (!isCancelled() && result.status == RESULT_RUNNING) {
70 result.status = runner[0].determinePostRunState();
71 if (result.status == GraphRunner.RESULT_SLEEPING) {
73 result.status = RESULT_RUNNING;
80 result.status = RESULT_STOPPED;
83 result.exception = exception;
84 result.status = RESULT_ERROR;
91 result
100 onCancelled(RunnerResult result) argument
105 onPostExecute(RunnerResult result) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java158 public void getIccCardStatus(Message result) { argument
160 resultSuccess(result, mIccCardStatus);
162 resultFail(result, null, new RuntimeException("IccCardStatus not set"));
167 public void supplyIccPin(String pin, Message result) { argument
173 resultFail(result, null, ex);
183 resultSuccess(result, null);
188 if (result != null) {
200 resultFail(result, null, ex);
205 public void supplyIccPuk(String puk, String newPin, Message result) { argument
211 resultFail(result, nul
242 supplyIccPin2(String pin2, Message result) argument
278 supplyIccPuk2(String puk2, String newPin2, Message result) argument
314 changeIccPin(String oldPin, String newPin, Message result) argument
330 changeIccPin2(String oldPin2, String newPin2, Message result) argument
347 changeBarringPassword(String facility, String oldPwd, String newPwd, Message result) argument
353 setSuppServiceNotifications(boolean enable, Message result) argument
364 queryFacilityLock(String facility, String pin, int serviceClass, Message result) argument
370 queryFacilityLockForApp(String facility, String pin, int serviceClass, String appId, Message result) argument
396 setFacilityLock(String facility, boolean lockEnabled, String pin, int serviceClass, Message result) argument
402 setFacilityLockForApp(String facility, boolean lockEnabled, String pin, int serviceClass, String appId, Message result) argument
447 supplyNetworkDepersonalization(String netpin, Message result) argument
460 getCurrentCalls(Message result) argument
477 getPDPContextList(Message result) argument
489 getDataCallList(Message result) argument
505 dial(String address, int clirMode, Message result) argument
524 dial(String address, int clirMode, UUSInfo uusInfo, Message result) argument
532 getIMSI(Message result) argument
543 getIMSIForApp(String aid, Message result) argument
559 getIMEI(Message result) argument
576 getIMEISV(Message result) argument
593 hangupConnection(int gsmIndex, Message result) argument
616 hangupWaitingOrBackground(Message result) argument
638 hangupForegroundResumeBackground(Message result) argument
660 switchWaitingOrHoldingAndActive(Message result) argument
681 conference(Message result) argument
702 explicitCallTransfer(Message result) argument
720 separateConnection(int gsmIndex, Message result) argument
740 acceptCall(Message result) argument
760 rejectCall(Message result) argument
781 getLastCallFailCause(Message result) argument
792 getLastPdpFailCause(Message result) argument
797 getLastDataCallFailCause(Message result) argument
803 setMute(boolean enableMute, Message result) argument
806 getMute(Message result) argument
813 getSignalStrength(Message result) argument
844 setBandMode(int bandMode, Message result) argument
857 queryAvailableBandMode(Message result) argument
917 getVoiceRegistrationState(Message result) argument
943 getDataRegistrationState(Message result) argument
967 getOperator(Message result) argument
992 sendDtmf(char c, Message result) argument
1002 startDtmf(char c, Message result) argument
1012 stopDtmf(Message result) argument
1022 sendBurstDtmf(String dtmfString, int on, int off, Message result) argument
1034 sendSMS(String smscPDU, String pdu, Message result) argument
1048 sendSMSExpectMore(String smscPDU, String pdu, Message result) argument
1089 setupDataCall(int radioTechnology, int profile, String apn, String user, String password, int authType, String protocol, Message result) argument
1119 deactivateDataCall(int cid, int reason, Message result) argument
1125 setPreferredNetworkType(int networkType , Message result) argument
1132 getPreferredNetworkType(Message result) argument
1141 getNeighboringCids(Message result) argument
1158 getSmscAddress(Message result) argument
1163 setSmscAddress(String address, Message result) argument
1168 reportSmsMemoryStatus(boolean available, Message result) argument
1174 reportStkServiceIsRunning(Message result) argument
1179 getCdmaSubscriptionSource(Message result) argument
1191 setRadioPower(boolean on, Message result) argument
1201 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message result) argument
1208 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message result) argument
1213 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message result) argument
1230 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message result) argument
1262 getCLIR(Message result) argument
1271 setCLIR(int clirMode, Message result) argument
1304 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message result) argument
1320 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message result) argument
1328 setNetworkSelectionModeAutomatic(Message result) argument
1330 exitEmergencyCallbackMode(Message result) argument
1332 setNetworkSelectionModeManual( String operatorNumeric, Message result) argument
1344 getNetworkSelectionMode(Message result) argument
1366 getAvailableNetworks(Message result) argument
1369 getBasebandVersion(Message result) argument
1404 sendUSSD(String ussdString, Message result) argument
1427 resetRadio(Message result) argument
1567 unimplemented(Message result) argument
1580 resultSuccess(Message result, Object ret) argument
1591 resultFail(Message result, Object ret, Throwable tr) argument
1612 getCDMASubscription(Message result) argument
1644 getPreferredVoicePrivacy(Message result) argument
1649 setPreferredVoicePrivacy(boolean enable, Message result) argument
1840 setInitialAttachApn(String apn, String protocol, int authType, String username, String password, Message result) argument
1845 setDataProfile(DataProfile[] dps, Message result) argument
1928 getHardwareConfig(Message result) argument
1933 requestShutdown(Message result) argument
1938 startLceService(int report_interval_ms, boolean pullMode, Message result) argument
1945 stopLceService(Message result) argument
1950 pullLceData(Message result) argument
1955 getModemActivityInfo(Message result) argument
1960 getRadioCapability(Message result) argument
1964 notifySmsStatus(Object result) argument
1970 notifyGsmBroadcastSms(Object result) argument
2076 setDataAllowed(boolean allowed, Message result) argument
[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...]
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
H A DAccessPointTest.java51 ScanResult result = new ScanResult();
52 result.capabilities = "";
53 result.SSID = TEST_SSID;
56 result.level = WifiTrackerTest.levelToRssi(1);
57 mAccessPoint.update(result);
61 result.level = WifiTrackerTest.levelToRssi(2);
62 mAccessPoint.update(result);
76 ScanResult result = new ScanResult();
77 result.capabilities = "";
78 result
[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/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DSimpleCompilationTest.java49 CompilationResult result = runGradle("tasks");
50 assertEquals(0, result.resultCode);
51 assertTrue("there should not be any errors", StringUtils.isEmpty(result.error));
53 result.resultContainsText("All tasks runnable from root project"));
59 CompilationResult result = runGradle("assembleDebug");
60 assertEquals(result.error, 0, result.resultCode);
61 assertTrue("there should not be any errors " + result.error,
62 StringUtils.isEmpty(result.error));
64 result
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DScanDetailCache.java130 ScanDetail result = list.get(i);
131 mMap.remove(result.getBSSIDString());
132 mPasspointMatches.remove(result.getBSSIDString());
181 ScanResult result = scanDetail.getScanResult();
186 if (result.is5GHz()) {
190 } else if (result.is24GHz()) {
196 if (result.timestamp != 0) {
198 Log.e("getVisibilityByRssi", " considering " + result.SSID + " " + result.BSSID
199 + " elapsed=" + now_elapsed_ms + " timestamp=" + result
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferConsumer.cpp74 status_t result = remote()->transact(ACQUIRE_BUFFER, data, &reply); local
75 if (result != NO_ERROR) {
76 return result;
78 result = reply.read(*buffer);
79 if (result != NO_ERROR) {
80 return result;
89 status_t result = remote()->transact(DETACH_BUFFER, data, &reply); local
90 if (result != NO_ERROR) {
91 return result;
93 result
101 status_t result = remote()->transact(ATTACH_BUFFER, data, &reply); local
118 status_t result = remote()->transact(RELEASE_BUFFER, data, &reply); local
130 status_t result = remote()->transact(CONSUMER_CONNECT, data, &reply); local
140 status_t result = remote()->transact(CONSUMER_DISCONNECT, data, &reply); local
154 status_t result = remote()->transact(GET_RELEASED_BUFFERS, data, &reply); local
167 status_t result = remote()->transact(SET_DEFAULT_BUFFER_SIZE, data, &reply); local
178 status_t result = remote()->transact(SET_MAX_BUFFER_COUNT, data, &reply); local
189 status_t result = remote()->transact(SET_MAX_ACQUIRED_BUFFER_COUNT, data, &reply); local
207 status_t result = remote()->transact(SET_DEFAULT_BUFFER_FORMAT, data, &reply); local
219 status_t result = remote()->transact(SET_DEFAULT_BUFFER_DATA_SPACE, local
231 status_t result = remote()->transact(SET_CONSUMER_USAGE_BITS, data, &reply); local
242 status_t result = remote()->transact(SET_TRANSFORM_HINT, data, &reply); local
263 dump(String8& result, const char* prefix) const argument
290 status_t result = acquireBuffer(&item, presentWhen, maxFrameNumber); local
299 int result = detachBuffer(slot); local
308 int result = attachBuffer(&slot, buffer); local
329 status_t result = consumerConnect(consumer, controlledByApp); local
335 status_t result = consumerDisconnect(); local
342 status_t result = getReleasedBuffers(&slotMask); local
351 status_t result = setDefaultBufferSize(width, height); local
358 status_t result = setMaxBufferCount(bufferCount); local
365 status_t result = setMaxAcquiredBufferCount(maxAcquiredBuffers); local
377 status_t result = setDefaultBufferFormat(defaultFormat); local
385 status_t result = setDefaultBufferDataSpace(defaultDataSpace); local
392 status_t result = setConsumerUsageBits(usage); local
399 status_t result = setTransformHint(hint); local
414 String8 result = data.readString8(); local
[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.java88 int result = writeEntityHeader_native(mBackupWriter, key, dataSize);
89 if (result >= 0) {
90 return result;
92 throw new IOException("result=0x" + Integer.toHexString(result));
104 int result = writeEntityData_native(mBackupWriter, data, size);
105 if (result >= 0) {
106 return result;
108 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/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);

Completed in 565 milliseconds

1234567891011>>