Home
last modified time | relevance | path

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

/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py62 retVal = minVal + (maxVal - minVal)/2
63 return retVal
161 retVal = 1
165 retVal = 0
168 retVal = 0
169 return rxMsg, retVal
178 rxMsg, retVal = self._rxMsgAndValidate(VehicleHalProto_pb2.GET_CONFIG_RESP,
180 if retVal:
192 rxMsg, retVal = self._rxMsgAndValidate(VehicleHalProto_pb2.GET_CONFIG_RESP,
194 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/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/testing/
DMoreAsserts.java36 @SuppressWarnings("unchecked") T retVal = (T) actualThrown; in assertThrows()
37 return retVal; in assertThrows()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java898 boolean retVal = false; in isSendFreqRangesNeeded()
904 retVal = true; in isSendFreqRangesNeeded()
912 retVal = true; in isSendFreqRangesNeeded()
920 retVal = true; in isSendFreqRangesNeeded()
925 if (retVal) { in isSendFreqRangesNeeded()
/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/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java131 final boolean retVal = isDataCapable && isReady; in hasReadyMobileRadio()
138 return retVal; in hasReadyMobileRadio()
/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/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsSmsProvider.java549 long retVal = -1L; in getSingleAddressId() local
575 retVal = db.insert("canonical_addresses", in getSingleAddressId()
579 /*address*/ "xxxxxx" + ", _id=" + retVal); in getSingleAddressId()
581 return retVal; in getSingleAddressId()
585 retVal = cursor.getLong(cursor.getColumnIndexOrThrow(BaseColumns._ID)); in getSingleAddressId()
593 return retVal; in getSingleAddressId()
/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/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java669 final StringBuilder retVal = new StringBuilder(); in bearerMultiDescription() local
675 retVal.append(values[bearerIndex]); in bearerMultiDescription()
678 retVal.append(", " + values[bearerIndex]); in bearerMultiDescription()
684 final String val = retVal.toString(); in bearerMultiDescription()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java6538 boolean retVal = phone.isUserDataEnabled(); in isUserDataEnabled()
6539 if (DBG) log("isUserDataEnabled: subId=" + subId + " retVal=" + retVal); in isUserDataEnabled()
6540 return retVal; in isUserDataEnabled()
6578 boolean retVal = phone.getDataEnabledSettings().isDataEnabled(); in isDataEnabled()
6579 if (DBG) log("isDataEnabled: subId=" + subId + " retVal=" + retVal); in isDataEnabled()
6580 return retVal; in isDataEnabled()
6617 boolean retVal; in isDataEnabledForReason()
6619 retVal = phone.isUserDataEnabled(); in isDataEnabledForReason()
6621 retVal = phone.getDataEnabledSettings().isDataEnabledForReason(reason); in isDataEnabledForReason()
6623 if (DBG) log("isDataEnabledForReason: retVal=" + retVal); in isDataEnabledForReason()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java2312 boolean retVal = tm.createForSubscriptionId(subId).isDataEnabled(); in getMobileDataEnabled()
2314 + " retVal=" + retVal); in getMobileDataEnabled()
2315 return retVal; in getMobileDataEnabled()
/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()