From b4b3c93eaab5079c871a1281630ffd4adaf0a662 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Thu, 29 Dec 2016 14:03:41 +0100 Subject: [PATCH] Remove obsolete references to IPCThreadState/ProcessState. Threadpool can now be configured/joined if needed with configureRpcThreadpool() / joinRpcThreadpool(). Bug: 31226656 Test: mma Change-Id: I0d7d9924cc8c8851cc2b61ebdae906204909890e (cherry picked from commit 028223775be7539c5b569a454524584a7ad8e152) --- nfc/1.0/vts/functional/nfc_hidl_hal_test.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nfc/1.0/vts/functional/nfc_hidl_hal_test.cpp b/nfc/1.0/vts/functional/nfc_hidl_hal_test.cpp index 3e40a9c3..f5ed4d75 100644 --- a/nfc/1.0/vts/functional/nfc_hidl_hal_test.cpp +++ b/nfc/1.0/vts/functional/nfc_hidl_hal_test.cpp @@ -21,14 +21,12 @@ #include #include #include -#include #include #include #include #include -using ::android::hardware::ProcessState; using ::android::hardware::nfc::V1_0::INfc; using ::android::hardware::nfc::V1_0::INfcClientCallback; using ::android::hardware::nfc::V1_0::NfcEvent; @@ -66,12 +64,6 @@ class NfcHidlTest : public ::testing::Test { nfc_ = INfc::getService(NFC_NCI_SERVICE_NAME, passthrough); ASSERT_NE(nfc_, nullptr); - // TODO:b/31748996 - if (nfc_->isRemote()) { - ProcessState::self()->setThreadPoolMaxThreadCount(1); - ProcessState::self()->startThreadPool(); - } - nfc_cb_ = new NfcClientCallback(*this); ASSERT_NE(nfc_cb_, nullptr); -- 2.11.0