Home
last modified time | relevance | path

Searched refs:sameindex (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_system_interface.cpp465 int sameindex = -1; in UpdateCallList() local
470 sameindex = i; in UpdateCallList()
474 prestate = bluetoothCallList_[sameindex].callstate; in UpdateCallList()
476 sameindex = -1; in UpdateCallList()
478 if (sameindex != -1) { in UpdateCallList()
479 bluetoothCallList_[sameindex].precallstate = bluetoothCallList_[sameindex].callstate; in UpdateCallList()
480 bluetoothCallList_[sameindex].callstate = (int)call.callState; in UpdateCallList()
H A Dhfp_ag_service.cpp483 int sameindex = -1; in UpdateMockCallList() local
489 sameindex = i; in UpdateMockCallList()
492 if (sameindex != -1) { in UpdateMockCallList()
493 callList_.erase(callList_.begin() + sameindex); in UpdateMockCallList()