Home
last modified time | relevance | path

Searched refs:pending (Results 1 – 25 of 37) sorted by relevance

12

/system/extras/boottime_tools/io_analysis/
Dcheck_file_read.py352 for pending in access_list:
353 offset, valid_access_size = pending.get_valid_access(address - access_addr, l)
355 if pending.is_req_started(): # spread across multiple reads. complete alone
356 pending.queue_block_access(offset, valid_access_size)
357 if pending.is_req_complete():
358 pending.handle_req_complete(time, is_read)
359 reqs_to_remove.append(pending)
361 pending.queue_block_access(offset, valid_access_size)
362 if pending.is_req_complete():
363 reads = accesses_per_inodes.get(pending.inode, [[], [], []])
[all …]
/system/chre/pal/util/tests/
Dwifi_scan_cache_test.cc37 void chreWifiScanResponseCallback(bool pending, uint8_t errorCode);
41 bool pending; member
86 void chreWifiScanResponseCallback(bool pending, uint8_t errorCode) { in chreWifiScanResponseCallback() argument
88 .pending = pending, in chreWifiScanResponseCallback()
164 EXPECT_EQ(gWifiScanResponse->pending, true); in cacheDefaultWifiCacheTest()
214 EXPECT_TRUE(gWifiScanResponse->pending); in testCacheDispatch()
255 EXPECT_FALSE(gWifiScanResponse->pending); in TEST_F()
271 EXPECT_FALSE(gWifiScanResponse->pending); in TEST_F()
355 EXPECT_EQ(gWifiScanResponse->pending, true); in TEST_F()
/system/chre/core/
Dwifi_request_manager.cc200 void WifiRequestManager::handleScanResponse(bool pending, uint8_t errorCode) { in handleScanResponse() argument
202 bool pending; in handleScanResponse() member
210 .handleScanResponseSync(cbState.pending, cbState.errorCode); in handleScanResponse()
214 cbState.pending = pending; in handleScanResponse()
497 void WifiRequestManager::handleScanResponseSync(bool pending, in handleScanResponseSync() argument
508 if (!pending && errorCode == CHRE_ERROR_NONE) { in handleScanResponseSync()
514 bool success = (pending && errorCode == CHRE_ERROR_NONE); in handleScanResponseSync()
516 LOGW("Wifi scan request failed: pending %d, errorCode %" PRIu8, pending, in handleScanResponseSync()
524 mScanRequestResultsArePending = pending; in handleScanResponseSync()
526 if (pending) { in handleScanResponseSync()
/system/bt/gd/rust/hci/src/
Dlib.rs175 let mut pending: Option<QueuedCommand> = None; in dispatch() localVariable
184 match pending.take() { in dispatch()
197 match pending.take() { in dispatch()
235 Some(queued) = cmd_rx.recv(), if pending.is_none() => { in dispatch()
240 pending = Some(queued); in dispatch()
242 …_ = hci_timeout.expired() => panic!("Timed out waiting for {:?}", pending.unwrap().cmd.get_op_code… in dispatch()
/system/chre/pal/tests/src/
Dwifi_pal_impl_test.cc61 void chrePalScanResponseCallback(bool pending, uint8_t errorCode) { in chrePalScanResponseCallback() argument
63 gTest->scanResponseCallback(pending, errorCode); in chrePalScanResponseCallback()
127 void PalWifiTest::scanResponseCallback(bool pending, uint8_t errorCode) { in scanResponseCallback() argument
128 LOGI("Received scan response with pending %d error %" PRIu8, pending, in scanResponseCallback()
/system/chre/core/include/chre/core/
Dsensor.h169 void setFlushRequestPending(bool pending) { in setFlushRequestPending() argument
170 mFlushRequestPending = pending; in setFlushRequestPending()
Dwifi_request_manager.h141 void handleScanResponse(bool pending, uint8_t errorCode);
393 void handleScanResponseSync(bool pending, uint8_t errorCode);
/system/bt/gd/rust/link/src/acl/classic/
Dmod.rs147 let mut pending = PendingConnect::None; in provide_acl_manager() localVariable
163 if let PendingConnect::None = pending { in provide_acl_manager()
164 pending = PendingConnect::Outgoing(addr); in provide_acl_manager()
172 if pending == PendingConnect::Outgoing(addr) { in provide_acl_manager()
185 let role = match pending.take() { in provide_acl_manager()
220 pending = PendingConnect::Incoming(addr); in provide_acl_manager()
/system/chre/platform/shared/
Dplatform_wifi.cc127 void PlatformWifiBase::scanResponseCallback(bool pending, uint8_t errorCode) { in scanResponseCallback() argument
129 pending, errorCode); in scanResponseCallback()
/system/chre/platform/shared/include/chre/target_platform/
Dplatform_wifi_base.h41 static void scanResponseCallback(bool pending, uint8_t errorCode);
/system/chre/chpp/
Dtransport.c587 if (context->txDatagramQueue.pending > 0 || in chppProcessRxPacket()
747 context->txDatagramQueue.pending, context->txDatagramQueue.front, in chppRegisterRxAck()
865 txHeader->seq, remainingBytes, context->txDatagramQueue.pending); in chppAddPayload()
915 if (context->txDatagramQueue.pending == 0) { in chppDequeueTxDatagram()
924 context->txDatagramQueue.pending, in chppDequeueTxDatagram()
925 context->txDatagramQueue.pending - 1); in chppDequeueTxDatagram()
933 context->txDatagramQueue.pending--; in chppDequeueTxDatagram()
938 return context->txDatagramQueue.pending; in chppDequeueTxDatagram()
947 while (context->txDatagramQueue.pending > 0) { in chppClearTxDatagramQueue()
990 if ((context->txDatagramQueue.pending > 0)) { in chppTransportDoWork()
[all …]
/system/bt/service/doc/
DIBluetoothGattServer.txt50 * Sends a response to a currently pending read or write request. The request
67 * will remain pending until the remote device sends a handle-value
68 * confirmation. Returns false if a call to this method is pending. Otherwise
/system/chre/pal/include/chre/pal/
Dwifi.h101 void (*scanResponseCallback)(bool pending, uint8_t errorCode);
/system/core/libsysutils/src/
DSocketListener.cpp197 std::vector<SocketClient*> pending; in runListener() local
209 pending.push_back(c); in runListener()
215 for (SocketClient* c : pending) { in runListener()
/system/chre/pal/tests/include/
Dwifi_pal_impl_test.h36 void scanResponseCallback(bool pending, uint8_t errorCode);
/system/chre/chpp/include/chpp/common/
Dwifi.h91 bool pending; member
/system/bt/main/shim/
Dlink_policy.cc188 tBTM_PM_MODE pending = p_acl->policy.mode.Pending(); in btm_pm_on_mode_change() local
198 power_mode_state_text(pending).c_str())); in btm_pm_on_mode_change()
202 new_mode, power_mode_state_text(pending).c_str()); in btm_pm_on_mode_change()
/system/chre/chpp/services/
Dwifi.c120 static void chppWifiServiceScanResponseCallback(bool pending,
546 static void chppWifiServiceScanResponseCallback(bool pending, in chppWifiServiceScanResponseCallback() argument
564 response->params.pending = pending; in chppWifiServiceScanResponseCallback()
/system/extras/memory_replay/tests/
DThreadTest.cpp77 TEST(ThreadTest, pending) { in TEST() argument
/system/core/healthd/
Dhealthd_mode_charger.h35 bool pending; member
Dhealthd_mode_charger.cpp439 keys_[code].pending = true; in SetKeyCallback()
502 if (key->pending) { in ProcessKey()
509 key->pending = false; in ProcessKey()
/system/chre/chpp/test/
Dtransport_test.cpp473 EXPECT_EQ(mTransportContext.txDatagramQueue.pending, 0); in TEST_P()
637 EXPECT_EQ(mTransportContext.txDatagramQueue.pending, i); in TEST_P()
645 if (mTransportContext.txDatagramQueue.pending == in TEST_P()
660 EXPECT_EQ(mTransportContext.txDatagramQueue.pending, i - 1); in TEST_P()
666 EXPECT_EQ(mTransportContext.txDatagramQueue.pending, 0); in TEST_P()
692 mTransportContext.txDatagramQueue.pending - 1) % in TEST_P()
724 mTransportContext.txDatagramQueue.pending - 1) % in TEST_P()
/system/bt/gd/rust/linux/service/src/
Dmain.rs97 future::pending::<()>().await; in main()
/system/security/keystore2/src/
Dapc.rs59 pub fn pending() -> Self { in pending() method
278 return Err(Error::pending()) in present_prompt()
/system/chre/chpp/include/chpp/
Dtransport.h407 uint8_t pending; member

12