Home
last modified time | relevance | path

Searched refs:retVal (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
DImsConfigImplBase.java240 int retVal = getImsConfigImpl().getProvisionedValue(item); in getProvisionedValue() local
241 if (retVal != ImsConfig.OperationStatusConstants.UNKNOWN) { in getProvisionedValue()
242 updateCachedValue(item, retVal, false); in getProvisionedValue()
244 return retVal; in getProvisionedValue()
261 String retVal = getImsConfigImpl().getProvisionedStringValue(item); in getProvisionedStringValue() local
262 if (retVal != null) { in getProvisionedStringValue()
263 updateCachedValue(item, retVal, false); in getProvisionedStringValue()
265 return retVal; in getProvisionedStringValue()
282 int retVal = getImsConfigImpl().setProvisionedValue(item, value); in setProvisionedValue() local
283 if (retVal == ImsConfig.OperationStatusConstants.SUCCESS) { in setProvisionedValue()
[all …]
/frameworks/av/media/codecs/amrnb/enc/test/
Damrnb_enc_test.cpp62 int retVal = EXIT_SUCCESS; in encode() local
78 retVal = EXIT_FAILURE; in encode()
86 retVal = EXIT_FAILURE; in encode()
110 retVal = EXIT_FAILURE; // Invalid magic number. in encode()
136 retVal = EXIT_FAILURE; in encode()
171 return retVal; in encode()
176 int retVal; in main() local
234 retVal = encode(mode, inFileName, outFileName); in main()
235 return retVal; in main()
/frameworks/base/core/java/android/hardware/location/
DContextHubInfo.java279 String retVal = ""; in toString() local
280 retVal += "ID/handle : " + mId; in toString()
281 retVal += ", Name : " + mName; in toString()
282 retVal += "\n\tVendor : " + mVendor; in toString()
283 retVal += ", Toolchain : " + mToolchain; in toString()
284 retVal += ", Toolchain version: 0x" + Integer.toHexString(mToolchainVersion); in toString()
285 retVal += "\n\tPlatformVersion : 0x" + Integer.toHexString(mPlatformVersion); in toString()
286 retVal += ", SwVersion : " in toString()
288 retVal += ", CHRE platform ID: 0x" + Long.toHexString(mChrePlatformId); in toString()
289 retVal += "\n\tPeakMips : " + mPeakMips; in toString()
[all …]
DNanoApp.java377 String retVal = "Id : " + mAppId; in toString() local
378 retVal += ", Version : " + mAppVersion; in toString()
379 retVal += ", Name : " + mName; in toString()
380 retVal += ", Publisher : " + mPublisher; in toString()
382 return retVal; in toString()
DNanoAppInstanceInfo.java225 String retVal = "handle : " + mHandle; in toString() local
226 retVal += ", Id : 0x" + Long.toHexString(mAppId); in toString()
227 retVal += ", Version : 0x" + Integer.toHexString(mAppVersion); in toString()
229 return retVal; in toString()
DMemoryRegion.java106 String retVal = "[ " + mSizeBytesFree + "/ " + mSizeBytes + " ] : " + mask; in toString() local
108 return retVal; in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java441 long retVal; in getRetryTimer() local
443 retVal = mRetryArray.get(index).mDelayTime + nextRandomizationTime(index); in getRetryTimer()
445 retVal = 0; in getRetryTimer()
448 if (DBG) log("getRetryTimer: " + retVal); in getRetryTimer()
449 return retVal; in getRetryTimer()
460 Pair<Boolean, Integer> retVal; in parseNonNegativeInt() local
463 retVal = new Pair<>(validateNonNegativeInt(name, value), value); in parseNonNegativeInt()
466 retVal = new Pair<>(false, 0); in parseNonNegativeInt()
470 + retVal.first + ", " + retVal.second); in parseNonNegativeInt()
472 return retVal; in parseNonNegativeInt()
[all …]
/frameworks/hardware/interfaces/displayservice/1.0/vts/functional/
DVtsFwkDisplayServiceV1_0TargetTest.cpp44 Return<Status> retVal = (retExpr); \
45 ASSERT_OK(retVal); \
46 EXPECT_EQ(Status::SUCCESS, static_cast<Status>(retVal)); \
49 Return<Status> retVal = (retExpr); \
50 ASSERT_OK(retVal); \
51 EXPECT_EQ(Status::BAD_VALUE, static_cast<Status>(retVal)); \
/frameworks/av/media/codecs/amrnb/dec/test/
Damrnbdec_test.cpp107 uint32_t retVal = 0; in main() local
118 retVal = 1; in main()
133 retVal = 1; in main()
153 return retVal; in main()
/frameworks/base/services/core/jni/
Dcom_android_server_am_CachedAppOptimizer.cpp478 jint retVal = IPCThreadState::freeze(pid, freeze, 100 /* timeout [ms] */); in com_android_server_am_CachedAppOptimizer_freezeBinder() local
479 if (retVal != 0 && retVal != -EAGAIN) { in com_android_server_am_CachedAppOptimizer_freezeBinder()
483 return retVal; in com_android_server_am_CachedAppOptimizer_freezeBinder()
496 jint retVal = 0; in com_android_server_am_CachedAppOptimizer_getBinderFreezeInfo() local
499 retVal |= syncReceived & SYNC_RECEIVED_WHILE_FROZEN; in com_android_server_am_CachedAppOptimizer_getBinderFreezeInfo()
501 retVal |= (asyncReceived << 1) & ASYNC_RECEIVED_WHILE_FROZEN; in com_android_server_am_CachedAppOptimizer_getBinderFreezeInfo()
503 retVal |= (syncReceived << 1) & TXNS_PENDING_WHILE_FROZEN; in com_android_server_am_CachedAppOptimizer_getBinderFreezeInfo()
505 return retVal; in com_android_server_am_CachedAppOptimizer_getBinderFreezeInfo()
Dcom_android_server_UsbDescriptorParser.cpp69 int retVal = in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native() local
76 if (retVal == 0) { in Java_com_android_server_usb_descriptors_UsbDescriptorParser_getDescriptorString_1native()
/frameworks/av/media/codecs/amrwb/dec/test/
Damrwbdec_test.cpp112 int retVal = EXIT_SUCCESS; in main() local
124 retVal = EXIT_FAILURE; in main()
153 retVal = EXIT_FAILURE; in main()
175 return retVal; in main()
/frameworks/compile/slang/
Dslang_rs_ast_replace.h43 bool retVal = mOldExpr && (mOldExpr == E); in matchesExpr() local
44 if (retVal) { in matchesExpr()
48 return retVal; in matchesExpr()
/frameworks/av/media/codecs/mp3dec/test/
Dmp3dec_test.cpp97 int retVal = EXIT_SUCCESS; in main() local
116 retVal = EXIT_FAILURE; in main()
132 return retVal; in main()
Dmp3reader.cpp195 int retVal = fseek(fp, offset, SEEK_SET); in sourceReadAt() local
196 if (retVal != EXIT_SUCCESS) { in sourceReadAt()
214 int retVal = sourceReadAt(fp, *inout_pos, id3header, in resync() local
216 if (retVal < (ssize_t)sizeof(id3header)) { in resync()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java2292 boolean retVal = HANDLED; in processMessage()
2387 retVal = HANDLED; in processMessage()
2410 retVal = HANDLED; in processMessage()
2420 return retVal; in processMessage()
2675 boolean retVal; in processMessage()
2685 retVal = HANDLED; in processMessage()
2795 retVal = HANDLED; in processMessage()
2806 retVal = HANDLED; in processMessage()
2811 retVal = HANDLED; in processMessage()
2815 retVal = HANDLED; in processMessage()
[all …]
DDataEnabledSettings.java448 boolean retVal = "true".equalsIgnoreCase(prov_property); in isProvisioningDataEnabled()
452 retVal ? 1 : 0); in isProvisioningDataEnabled()
453 retVal = prov_mobile_data != 0; in isProvisioningDataEnabled()
454 log("getDataEnabled during provisioning retVal=" + retVal + " - (" + prov_property in isProvisioningDataEnabled()
457 return retVal; in isProvisioningDataEnabled()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsConfigImplBase.java149 int retVal = executeMethodAsyncForResult(()-> { in getConfigInt() local
174 return retVal; in getConfigInt()
188 String retVal = executeMethodAsyncForResult(()-> { in getConfigString() local
213 return retVal; in getConfigString()
230 int retVal = executeMethodAsyncForResult(()-> { in setConfigInt() local
256 return retVal; in setConfigInt()
274 int retVal = executeMethodAsyncForResult(()-> { in setConfigString() local
297 return retVal; in setConfigString()
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLogging.java118 private void logReturn(String methodName, Object retVal, Object... args) { in logReturn() argument
119 logReturnWithObject(this, IdentityContext.get(), methodName, retVal, args); in logReturn()
277 private void logReturn(String methodName, Object retVal, Object... args) { in logReturn() argument
278 logReturnWithObject(this, mOriginatorIdentity, methodName, retVal, args); in logReturn()
435 @Nullable Object retVal, in logReturnWithObject() argument
441 printObject(retVal)); in logReturnWithObject()
/frameworks/av/media/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp206 int32_t retVal = EXIT_SUCCESS; in main() local
238 retVal = EXIT_FAILURE; in main()
258 return retVal; in main()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java1428 int retVal = onIsLanguageAvailable(lang, country, variant);
1430 if (retVal == TextToSpeech.LANG_AVAILABLE
1431 || retVal == TextToSpeech.LANG_COUNTRY_AVAILABLE
1432 || retVal == TextToSpeech.LANG_COUNTRY_VAR_AVAILABLE) {
1448 return retVal;
1461 int retVal = onIsValidVoiceName(voiceName);
1463 if (retVal == TextToSpeech.SUCCESS) {
1475 return retVal;
1482 int retVal = onIsLanguageAvailable(lang, country, variant);
1484 if (retVal == TextToSpeech.LANG_AVAILABLE
[all …]
/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java378 List<UEventInfo> retVal = new ArrayList<UEventInfo>(); in makeObservedUEventList() local
385 retVal.add(uei); in makeObservedUEventList()
394 retVal.add(uei); in makeObservedUEventList()
409 retVal.add(uei); in makeObservedUEventList()
413 retVal.add(uei); in makeObservedUEventList()
419 return retVal; in makeObservedUEventList()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java544 String retVal = safeStringReturn(node.getText()); in getText() local
545 Log.d(LOG_TAG, String.format("getText() = %s", retVal)); in getText()
546 return retVal; in getText()
562 String retVal = safeStringReturn(node.getClassName()); in getClassName() local
563 Log.d(LOG_TAG, String.format("getClassName() = %s", retVal)); in getClassName()
564 return retVal; in getClassName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataSettingsManager.java359 boolean retVal = "true".equalsIgnoreCase(prov_property); in isProvisioningDataEnabled()
363 retVal ? 1 : 0); in isProvisioningDataEnabled()
364 retVal = prov_mobile_data != 0; in isProvisioningDataEnabled()
365 log("getDataEnabled during provisioning retVal=" + retVal + " - (" + prov_property in isProvisioningDataEnabled()
368 return retVal; in isProvisioningDataEnabled()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java371 boolean retVal = false; in isNANP()
382 retVal = true; in isNANP()
386 retVal = false; in isNANP()
392 return retVal; in isNANP()

12