Home
last modified time | relevance | path

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

/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py62 retVal = minVal + (maxVal - minVal)/2
63 return retVal
155 retVal = 1
159 retVal = 0
162 retVal = 0
163 return rxMsg, retVal
172 rxMsg, retVal = self._rxMsgAndValidate(VehicleHalProto_pb2.GET_CONFIG_RESP,
174 if retVal:
186 rxMsg, retVal = self._rxMsgAndValidate(VehicleHalProto_pb2.GET_CONFIG_RESP,
188 if retVal:
[all …]
/packages/services/Car/car-lib/native/CarPowerManager/
DCarPowerManager.cpp33 int retVal = -1; in clearListener() local
38 retVal = 0; in clearListener()
40 return retVal; in clearListener()
44 int retVal = -1; in requestShutdownOnNextSuspend() local
48 retVal = 0; in requestShutdownOnNextSuspend()
50 return retVal; in requestShutdownOnNextSuspend()
54 int retVal = -1; in setListener() local
64 retVal = 0; in setListener()
66 return retVal; in setListener()
/packages/apps/Nfc/nci/jni/
DPowerSwitch.cpp231 bool retVal = false; in setModeOff() local
235 retVal = mCurrActivity != 0; in setModeOff()
240 return retVal; in setModeOff()
253 bool retVal = false; in setModeOn() local
257 retVal = mCurrActivity != 0; in setModeOn()
262 return retVal; in setModeOn()
DCondVar.cpp96 bool retVal = false; in wait() local
117 retVal = (waitResult == 0); // waited successfully in wait()
118 return retVal; in wait()
DSyncEvent.h70 bool retVal = mCondVar.wait(mMutex, millisec); in wait() local
71 return retVal; in wait()
DPeerToPeer.cpp915 bool retVal = false; in receive() local
934 retVal = true; in receive()
947 pConn->mNfaConnHandle, retVal, actualLen); in receive()
948 return retVal; in receive()
/packages/services/Car/tests/PowerTestService/src/
Dmain.cpp49 int retVal; in main() local
58 retVal = carPowerManager->setListener(onStateChanged); in main()
59 } while (retVal != 0); in main()
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemStateInterface.java108 int retVal; in enterDeepSleep() local
109 retVal = mICarServiceHelper.forceSuspend(SUSPEND_TRY_TIMEOUT_MS); in enterDeepSleep()
110 deviceEnteredSleep = retVal == 0; in enterDeepSleep()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DReverseGeocoder.java413 String retVal = dis.readUTF(); in readUTF() local
414 if (retVal.length() == 0) in readUTF()
416 return retVal; in readUTF()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java128 final boolean retVal = conn.isNetworkSupported(TYPE_MOBILE) && isReady; in hasReadyMobileRadio()
135 return retVal; in hasReadyMobileRadio()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageUtils.java127 final boolean retVal = conn.isNetworkSupported(TYPE_MOBILE) && isReady; in hasReadyMobileRadio()
134 return retVal; in hasReadyMobileRadio()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java539 long retVal = -1L; in getSingleAddressId() local
562 retVal = db.insert("canonical_addresses", in getSingleAddressId()
566 /*address*/ "xxxxxx" + ", _id=" + retVal); in getSingleAddressId()
568 return retVal; in getSingleAddressId()
572 retVal = cursor.getLong(cursor.getColumnIndexOrThrow(BaseColumns._ID)); in getSingleAddressId()
580 return retVal; in getSingleAddressId()
/packages/apps/Settings/src/com/android/settings/network/
DApnEditor.java628 StringBuilder retVal = new StringBuilder(); in bearerMultiDescription() local
634 retVal.append(values[bearerIndex]); in bearerMultiDescription()
637 retVal.append(", " + values[bearerIndex]); in bearerMultiDescription()
643 String val = retVal.toString(); in bearerMultiDescription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DApnEditor.java628 StringBuilder retVal = new StringBuilder(); in bearerMultiDescription() local
634 retVal.append(values[bearerIndex]); in bearerMultiDescription()
637 retVal.append(", " + values[bearerIndex]); in bearerMultiDescription()
643 String val = retVal.toString(); in bearerMultiDescription()
/packages/apps/Gallery/src/com/android/camera/
DGridViewSpecial.java1025 int retVal = 0; in loadImages() local
1056 retVal += 1; in loadImages()
1060 return retVal; in loadImages()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java4699 boolean retVal = phone.isUserDataEnabled(); in isUserDataEnabled()
4700 if (DBG) log("isUserDataEnabled: subId=" + subId + " retVal=" + retVal); in isUserDataEnabled()
4701 return retVal; in isUserDataEnabled()
4737 boolean retVal = phone.getDataEnabledSettings().isDataEnabled(); in isDataEnabled()
4738 if (DBG) log("isDataEnabled: subId=" + subId + " retVal=" + retVal); in isDataEnabled()
4739 return retVal; in isDataEnabled()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java3793 byte[] retVal = null; in readRawDataPart()
3801 retVal = os.toByteArray(); in readRawDataPart()
3809 return retVal; in readRawDataPart()