diff options
author | Martijn Coenen <maco@google.com> | 2016-12-29 14:03:41 +0100 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2016-12-30 14:00:31 +0100 |
commit | 028223775be7539c5b569a454524584a7ad8e152 (patch) | |
tree | 9af70a8e425238771c31528c014d23ee0ee5662c /broadcastradio/1.0 | |
parent | 7993944ebbba965869becbf023681dbdeb0f349c (diff) | |
download | android_hardware_interfaces-028223775be7539c5b569a454524584a7ad8e152.tar.gz android_hardware_interfaces-028223775be7539c5b569a454524584a7ad8e152.tar.bz2 android_hardware_interfaces-028223775be7539c5b569a454524584a7ad8e152.zip |
Remove obsolete references to IPCThreadState/ProcessState.
Threadpool can now be configured/joined if needed with
configureRpcThreadpool() / joinRpcThreadpool().
Bug: 31226656
Test: mma
Change-Id: I0d7d9924cc8c8851cc2b61ebdae906204909890e
Diffstat (limited to 'broadcastradio/1.0')
-rw-r--r-- | broadcastradio/1.0/vts/functional/broadcastradio_hidl_hal_test.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/broadcastradio/1.0/vts/functional/broadcastradio_hidl_hal_test.cpp b/broadcastradio/1.0/vts/functional/broadcastradio_hidl_hal_test.cpp index 26666d68d..6802c3c7a 100644 --- a/broadcastradio/1.0/vts/functional/broadcastradio_hidl_hal_test.cpp +++ b/broadcastradio/1.0/vts/functional/broadcastradio_hidl_hal_test.cpp @@ -19,9 +19,8 @@ #include <android-base/logging.h> #include <cutils/native_handle.h> #include <cutils/properties.h> +#include <hidl/HidlTransportSupport.h> #include <utils/threads.h> -#include <hwbinder/IPCThreadState.h> -#include <hwbinder/ProcessState.h> #include <android/hardware/broadcastradio/1.0/IBroadcastRadioFactory.h> #include <android/hardware/broadcastradio/1.0/IBroadcastRadio.h> @@ -33,7 +32,6 @@ using ::android::sp; using ::android::Mutex; using ::android::Condition; -using ::android::hardware::ProcessState; using ::android::hardware::Return; using ::android::hardware::Status; using ::android::hardware::Void; @@ -461,8 +459,6 @@ TEST_F(BroadcastRadioHidlTest, TuneAndGetProgramInformationAndCancel) { int main(int argc, char** argv) { - sp<ProcessState> proc(ProcessState::self()); - ProcessState::self()->startThreadPool(); ::testing::AddGlobalTestEnvironment(new BroadcastRadioHidlEnvironment); ::testing::InitGoogleTest(&argc, argv); int status = RUN_ALL_TESTS(); |