summaryrefslogtreecommitdiff
path: root/libs/binderthreadstate/test.cpp
AgeCommit message (Collapse)Author
2024-04-03Skip HIDL tests in libbinderthreadstate tests when HIDL isn't supported Devin Moore
We can get/register the HIDL service if HIDL isn't supported on the device. Test: atest libbinderthreadstateutils_test Bug: 218588089 Change-Id: Ibfe89f6e029af3acccb93278e23243b0b81b2cd3
2024-04-02Revert "Skip HIDL tests in libbinderthreadstate tests when HIDL ..." Satish Yalla
Revert submission 26722372-nomo_hidl Reason for revert: <Reason for revert: Potential culprit for b/332395670- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.> Reverted changes: /q/submissionid:26722372-nomo_hidl Change-Id: I35be9694eaa46639f84c1c52c80fe2f268a1e0b2
2024-03-28Skip HIDL tests in libbinderthreadstate tests when HIDL isn't supported Devin Moore
We can get/register the HIDL service if HIDL isn't supported on the device. Test: atest libbinderthreadstateutils_test Bug: 218588089 Change-Id: Ie4b081ccd63d76d406060c31a753482b2e8ba0f8
2023-03-22libbinderthreadstateutils: don't init binder Steven Moreland
Don't initialize binder/hwbinder thread state if they aren't already initialized. This is fine - if we know they aren't initialized, then there is no binder call going. Bug: 205282403 Test: libbinderthreadstateutils_test TesT: binderRpcTest (because it uses these APIs in a special way) Change-Id: Id67010bb15559e85dd764746525562acc7e1f13c
2022-09-24libbinderthreadstate: test debuggable++ Steven Moreland
For debuggability. Bug: 242924045 Test: libbinderthreadstateutils_test Change-Id: I75b5826e96ef74330aeb1bab5c45db548e779863
2022-08-25libbinderthreadstate: test debuggable Steven Moreland
CHECK(X == Y) -> CHECK_EQ(X, Y) For debuggability. Bug: 242924045 Test: libbinderthreadstateutils_test Change-Id: I8c8624d1e51428bc053b3bdd30400b3a2941e685
2020-07-09Avoid TREBLE_TESTING_OVERRIDE Steven Moreland
This is moved from an environmental variable to a function since getenv is problematic in multi-threaded testing environments. Bug: 156668058 Test: libbinderthreadstateutils_test Change-Id: Iab84111c219af4fdf01f4fc74b9dbc4db8bc441d
2020-02-05Remove need for libbinderthreadstate. Steven Moreland
Instead of having this library, libbinder/libhwbinder can keep track of stack pointers so that when they recurse, we know which one was visited most recently. As with the original implementation of libbinderthreadstate, this is somewhat of a hack. An explanation of why this is and what to do instead is added in CallerUtils.h. Bug: 148692216 Test: libbinderthreadstateutils_test Change-Id: Ief28663728fb8786b06bf9e72238052b9af81d87 Merged-In: Ief28663728fb8786b06bf9e72238052b9af81d87