Home
last modified time | relevance | path

Searched refs:retVal (Results 1 – 18 of 18) 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/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DStateMachineTest.java1804 boolean retVal; in processMessage()
1812 retVal = true; in processMessage()
1816 retVal = false; in processMessage()
1819 return retVal; in processMessage()
1857 boolean retVal; in processMessage()
1862 retVal = true; in processMessage()
1867 retVal = true; in processMessage()
1870 retVal = false; in processMessage()
1873 return retVal; in processMessage()
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemStateInterface.java122 int retVal = mICarServiceHelper.forceSuspend(SUSPEND_TRY_TIMEOUT_MS); in enterDeepSleep() local
123 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.java129 final boolean retVal = conn.isNetworkSupported(TYPE_MOBILE) && isReady; in hasReadyMobileRadio()
136 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.java567 long retVal = -1L; in getSingleAddressId() local
590 retVal = db.insert("canonical_addresses", in getSingleAddressId()
594 /*address*/ "xxxxxx" + ", _id=" + retVal); in getSingleAddressId()
596 return retVal; in getSingleAddressId()
600 retVal = cursor.getLong(cursor.getColumnIndexOrThrow(BaseColumns._ID)); in getSingleAddressId()
608 return retVal; in getSingleAddressId()
/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/Settings/src/com/android/settings/network/
DApnEditor.java695 final StringBuilder retVal = new StringBuilder(); in bearerMultiDescription() local
701 retVal.append(values[bearerIndex]); in bearerMultiDescription()
704 retVal.append(", " + values[bearerIndex]); in bearerMultiDescription()
710 final 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.java5743 boolean retVal = phone.isUserDataEnabled(); in isUserDataEnabled()
5744 if (DBG) log("isUserDataEnabled: subId=" + subId + " retVal=" + retVal); in isUserDataEnabled()
5745 return retVal; in isUserDataEnabled()
5772 boolean retVal = phone.getDataEnabledSettings().isDataEnabled(); in isDataEnabled()
5773 if (DBG) log("isDataEnabled: subId=" + subId + " retVal=" + retVal); in isDataEnabled()
5774 return retVal; in isDataEnabled()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java3788 byte[] retVal = null; in readRawDataPart()
3796 retVal = os.toByteArray(); in readRawDataPart()
3804 return retVal; in readRawDataPart()