Home
last modified time | relevance | path

Searched refs:fake (Results 1 – 25 of 41) sorted by relevance

12

/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DREADME.md3 ### How to enable fake VHAL mode.
7 For default usage to enable fake VHAL mode, run `enable-fake-vhal.sh` and verify the result shows
13 To disable, run `disable-fake-vhal.sh` and verify the result shows
39 #### Activate fake VHAL mode.
48 1. Check if Car Service is connecting to fake VHAL.
51 $ adb shell cmd car_service check-fake-vhal
55 1. Delete ENABLE file from device and restart service to disable fake VHAL.
Ddisable-fake-vhal.sh14 && adb shell cmd car_service check-fake-vhal
Denable-fake-vhal.sh15 && adb shell cmd car_service check-fake-vhal
/packages/services/Car/cpp/computepipe/tests/
DPipeRegistrationTest.cpp53 std::shared_ptr<IPipeRunner> fake = ndk::SharedRefBase::make<FakeRunner>(); in TEST_F() local
56 EXPECT_TRUE(rIface->registerPipeRunner("fake", fake).isOk()); in TEST_F()
61 std::shared_ptr<IPipeRunner> fake = ndk::SharedRefBase::make<FakeRunner>(); in TEST_F() local
64 ASSERT_TRUE(rIface->registerPipeRunner("fake", fake).isOk()); in TEST_F()
65 EXPECT_FALSE(rIface->registerPipeRunner("fake", fake).isOk()); in TEST_F()
/packages/modules/Bluetooth/system/bta/test/
Dbta_hf_client_add_record_test.cc29 void SetUp() override { fake_osi_ = std::make_unique<test::fake::FakeOsi>(); } in SetUp()
32 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
Dbta_hf_client_test.cc35 fake_osi_ = std::make_unique<test::fake::FakeOsi>(); in SetUp()
40 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
Dbta_test_fixtures.h47 fake_osi_ = std::make_unique<test::fake::FakeOsi>(); in SetUp()
51 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
Dbta_jv_test.cc124 fake_osi_ = std::make_unique<test::fake::FakeOsi>(); in SetUp()
130 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
Dbta_ag_test.cc67 fake_osi_ = std::make_unique<test::fake::FakeOsi>(); in SetUp()
91 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
/packages/modules/Bluetooth/system/stack/test/btm/
Dbtm_test_fixtures.h26 void SetUp() override { fake_osi_ = std::make_unique<test::fake::FakeOsi>(); } in SetUp()
29 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
Dstack_btm_dm_inq_db_test.cc60 fake_osi_ = std::make_unique<test::fake::FakeOsi>(); in SetUp()
95 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/include/
DMockBaseSessionCallback.h47 void SetDelegate(BaseSessionCallback* fake) { mFake = fake; } in SetDelegate() argument
DMockBaseNode.h76 void SetDelegate(BaseNode* fake) { mFake = fake; } in SetDelegate() argument
/packages/services/Car/tests/CarLibUnitTest/fake_dep/
DAndroid.bp19 // This is a fake implementation for the APIs in com.android.car.internal.dep that are used in
22 name: "fake.com.android.car.internal.dep",
/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.h20 namespace fake {
/packages/modules/Bluetooth/system/btif/test/
Dbtif_dm_test.cc73 void SetUp() override { fake_osi_ = std::make_unique<test::fake::FakeOsi>(); } in SetUp()
77 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
/packages/modules/Bluetooth/system/test/
DAndroid.bp594 "fake/fake_osi.cc",
601 "fake/fake_thread.cc",
608 "fake/fake_looper.cc",
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DMockEngine.h35 void delegateToFake(const std::shared_ptr<StreamEngineInterface>& fake);
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_parse_test.cc57 fake_osi_ = std::make_unique<test::fake::FakeOsi>(); in SetUp()
85 std::unique_ptr<test::fake::FakeOsi> fake_osi_;
/packages/modules/IntentResolver/aconfig/
DREADME.md19 * a configurable stateful fake (get/set/clear)
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeFactory.java70 final FakeContext fake) { in registerWithFakeContext() argument
81 factory.mFakeContext = fake; in registerWithFakeContext()
/packages/services/Car/libs/car-internal-dep-lib/
DAndroid.bp20 // This library contains the wrappers for system static APIs which we need to fake during a
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/
DAndroid.bp29 "framework-adservices-lib", // Needed to test fake ServiceBinder implementations
/packages/modules/DnsResolver/
Dgethnamaddr.cpp414 goto fake; in resolv_gethostbyname()
428 goto fake; in resolv_gethostbyname()
445 fake: in resolv_gethostbyname()
/packages/services/Car/tests/CarLibUnitTest/
DAndroid.bp31 "fake.com.android.car.internal.dep",

12