/system/tools/hidl/hidl2aidl/test/ |
D | Android.bp | 30 "-rhidl2aidl.test:system/tools/hidl/hidl2aidl/test " + 31 "hidl2aidl.test@1.2 && " + 33 "-rhidl2aidl.test:system/tools/hidl/hidl2aidl/test " + 34 "hidl2aidl.test.extension@1.2 && " + 36 "-rhidl2aidl.test:system/tools/hidl/hidl2aidl/test " + 37 "hidl2aidl.test@2.0 && " + 38 "mv $(genDir)/include/hidl2aidl/test/translate-ndk.h $(genDir)/hidl2aidl/test/ && " + 39 "mv $(genDir)/include/hidl2aidl/test/translate-cpp.h $(genDir)/hidl2aidl/test/ &&" + 40 …"mv $(genDir)/include/hidl2aidl/test/extension/translate-ndk.h $(genDir)/hidl2aidl/test/extension/… 41 …"mv $(genDir)/include/hidl2aidl/test/extension/translate-cpp.h $(genDir)/hidl2aidl/test/extension/… [all …]
|
D | TranslateJavaTest.java | 23 import hidl2aidl.test.Translate; 30 hidl2aidl.test.OnlyIn10 dest; in OnlyIn10() 31 hidl2aidl.test.V1_0.OnlyIn10 source = new hidl2aidl.test.V1_0.OnlyIn10(); in OnlyIn10() 39 hidl2aidl.test.OnlyIn11 dest; in OnlyIn11() 40 hidl2aidl.test.V1_1.OnlyIn11 source = new hidl2aidl.test.V1_1.OnlyIn11(); in OnlyIn11() 48 hidl2aidl.test.OverrideMe dest; in OverrideMe() 49 hidl2aidl.test.V1_1.OverrideMe source = new hidl2aidl.test.V1_1.OverrideMe(); in OverrideMe() 57 hidl2aidl.test.Outer dest; in Outer() 58 hidl2aidl.test.V1_1.Outer source = new hidl2aidl.test.V1_1.Outer(); in Outer() 67 hidl2aidl.test.OuterInner dest; in OuterInner() [all …]
|
D | translate_cpp_test.cpp | 27 hidl2aidl::test::OnlyIn10 dest; in TEST_F() 28 hidl2aidl::test::V1_0::OnlyIn10 source; in TEST_F() 35 hidl2aidl::test::OnlyIn11 dest; in TEST_F() 36 hidl2aidl::test::V1_1::OnlyIn11 source; in TEST_F() 43 hidl2aidl::test::OverrideMe dest; in TEST_F() 44 hidl2aidl::test::V1_1::OverrideMe source; in TEST_F() 51 hidl2aidl::test::Outer dest; in TEST_F() 52 hidl2aidl::test::V1_1::Outer source; in TEST_F() 61 hidl2aidl::test::OuterInner dest; in TEST_F() 62 hidl2aidl::test::V1_0::Outer::Inner source; in TEST_F() [all …]
|
D | translate_ndk_test.cpp | 27 aidl::hidl2aidl::test::OnlyIn10 dest; in TEST_F() 28 hidl2aidl::test::V1_0::OnlyIn10 source; in TEST_F() 35 aidl::hidl2aidl::test::OnlyIn11 dest; in TEST_F() 36 hidl2aidl::test::V1_1::OnlyIn11 source; in TEST_F() 43 aidl::hidl2aidl::test::OverrideMe dest; in TEST_F() 44 hidl2aidl::test::V1_1::OverrideMe source; in TEST_F() 51 aidl::hidl2aidl::test::Outer dest; in TEST_F() 52 hidl2aidl::test::V1_1::Outer source; in TEST_F() 61 aidl::hidl2aidl::test::OuterInner dest; in TEST_F() 62 hidl2aidl::test::V1_0::Outer::Inner source; in TEST_F() [all …]
|
D | cpp_test_compile.cpp | 43 void testIFoo(const sp<hidl2aidl::test::IFoo>& foo) { in testIFoo() 49 hidl2aidl::test::IFooBigStruct big_struct; in testIFoo() 53 hidl2aidl::test::Outer outer; in testIFoo() 56 hidl2aidl::test::OverrideMe override; in testIFoo() 58 hidl2aidl::test::NameCollision collision; in testIFoo() 64 void testIBar(const sp<hidl2aidl::test::IBar>& bar) { in testIBar() 68 hidl2aidl::test::IBarInner inner; in testIBar() 74 static_assert(static_cast<int>(hidl2aidl::test::Value::A) == 3); 75 static_assert(static_cast<int>(hidl2aidl::test::Value::B) == 7); 76 static_assert(static_cast<int>(hidl2aidl::test::Value::C) == 8); [all …]
|
/system/apex/tests/testdata/sharedlibs/prebuilts/ |
D | Android.bp | 24 name: "com.android.apex.test.bar_stripped.v1.libvX_prebuilt", 27 src: "arm/com.android.apex.test.bar_stripped.v1.libvX.apex", 30 src: "arm64/com.android.apex.test.bar_stripped.v1.libvX.apex", 33 src: "x86/com.android.apex.test.bar_stripped.v1.libvX.apex", 36 src: "x86_64/com.android.apex.test.bar_stripped.v1.libvX.apex", 39 filename: "com.android.apex.test.bar_stripped.v1.libvX.apex", 44 name: "com.android.apex.test.bar_stripped.v2.libvY_prebuilt", 47 src: "arm/com.android.apex.test.bar_stripped.v2.libvY.apex", 50 src: "arm64/com.android.apex.test.bar_stripped.v2.libvY.apex", 53 src: "x86/com.android.apex.test.bar_stripped.v2.libvY.apex", [all …]
|
/system/bt/test/mock/ |
D | mock_stack_smp_act.cc | 48 namespace test { namespace 138 test::mock::stack_smp_act::smp_send_app_cback(p_cb, p_data); in smp_send_app_cback() 142 test::mock::stack_smp_act::smp_send_pair_fail(p_cb, p_data); in smp_send_pair_fail() 146 test::mock::stack_smp_act::smp_send_pair_req(p_cb, p_data); in smp_send_pair_req() 150 test::mock::stack_smp_act::smp_send_pair_rsp(p_cb, p_data); in smp_send_pair_rsp() 154 test::mock::stack_smp_act::smp_send_confirm(p_cb, p_data); in smp_send_confirm() 158 test::mock::stack_smp_act::smp_send_init(p_cb, p_data); in smp_send_init() 162 test::mock::stack_smp_act::smp_send_rand(p_cb, p_data); in smp_send_rand() 166 test::mock::stack_smp_act::smp_send_pair_public_key(p_cb, p_data); in smp_send_pair_public_key() 170 test::mock::stack_smp_act::smp_send_commitment(p_cb, p_data); in smp_send_commitment() [all …]
|
D | mock_stack_l2cap_api.cc | 57 namespace test { namespace 103 return test::mock::stack_l2cap_api::l2c_get_transport_from_fixed_cid( in l2c_get_transport_from_fixed_cid() 111 return test::mock::stack_l2cap_api::L2CA_Register2( in L2CA_Register2() 120 return test::mock::stack_l2cap_api::L2CA_Register( in L2CA_Register() 126 test::mock::stack_l2cap_api::L2CA_Deregister(psm); in L2CA_Deregister() 130 return test::mock::stack_l2cap_api::L2CA_AllocateLePSM(); in L2CA_AllocateLePSM() 134 test::mock::stack_l2cap_api::L2CA_FreeLePSM(psm); in L2CA_FreeLePSM() 139 return test::mock::stack_l2cap_api::L2CA_ConnectReq2(psm, p_bd_addr, in L2CA_ConnectReq2() 144 return test::mock::stack_l2cap_api::L2CA_ConnectReq(psm, p_bd_addr); in L2CA_ConnectReq() 149 return test::mock::stack_l2cap_api::L2CA_RegisterLECoc(psm, p_cb_info, in L2CA_RegisterLECoc() [all …]
|
D | mock_hci_layer.cc | 48 namespace test { namespace 74 test::mock::hci_layer::initialization_complete(); in initialization_complete() 78 test::mock::hci_layer::hci_event_received(from_here, packet); in hci_event_received() 82 test::mock::hci_layer::acl_event_received(packet); in acl_event_received() 86 test::mock::hci_layer::sco_data_received(packet); in sco_data_received() 90 test::mock::hci_layer::iso_data_received(packet); in iso_data_received() 94 test::mock::hci_layer::hal_service_died(); in hal_service_died() 98 test::mock::hci_layer::process_command_credits(credits); in process_command_credits() 102 return test::mock::hci_layer::hci_is_root_inflammation_event_received(); in hci_is_root_inflammation_event_received() 106 test::mock::hci_layer::handle_root_inflammation_event(); in handle_root_inflammation_event() [all …]
|
D | mock_main_shim_l2cap_api.cc | 41 namespace test { namespace 102 return test::mock::main_shim_l2cap_api::L2CA_ReadRemoteVersion( in L2CA_ReadRemoteVersion() 107 return test::mock::main_shim_l2cap_api::L2CA_ReadRemoteFeatures(addr); in L2CA_ReadRemoteFeatures() 111 test::mock::main_shim_l2cap_api::L2CA_UseLegacySecurityModule(); in L2CA_UseLegacySecurityModule() 118 return test::mock::main_shim_l2cap_api::L2CA_Register( in L2CA_Register() 124 test::mock::main_shim_l2cap_api::L2CA_Deregister(psm); in L2CA_Deregister() 129 return test::mock::main_shim_l2cap_api::L2CA_ConnectReq(psm, raw_address); in L2CA_ConnectReq() 133 return test::mock::main_shim_l2cap_api::L2CA_DisconnectReq(cid); in L2CA_DisconnectReq() 137 return test::mock::main_shim_l2cap_api::L2CA_DataWrite(cid, p_data); in L2CA_DataWrite() 143 return test::mock::main_shim_l2cap_api::L2CA_ReconfigCreditBasedConnsReq( in L2CA_ReconfigCreditBasedConnsReq() [all …]
|
D | mock_stack_btm_ble_bgconn.cc | 43 namespace test { namespace 69 return test::mock::stack_btm_ble_bgconn::convert_to_address_with_type( in convert_to_address_with_type() 74 test::mock::stack_btm_ble_bgconn::btm_update_scanner_filter_policy( in btm_update_scanner_filter_policy() 79 test::mock::stack_btm_ble_bgconn::btm_ble_bgconn_cancel_if_disconnected( in btm_ble_bgconn_cancel_if_disconnected() 84 return test::mock::stack_btm_ble_bgconn::btm_ble_suspend_bg_conn(); in btm_ble_suspend_bg_conn() 88 return test::mock::stack_btm_ble_bgconn::btm_ble_resume_bg_conn(); in btm_ble_resume_bg_conn() 92 return test::mock::stack_btm_ble_bgconn::BTM_BackgroundConnectAddressKnown( in BTM_BackgroundConnectAddressKnown() 97 return test::mock::stack_btm_ble_bgconn::BTM_SetLeConnectionModeToFast(); in BTM_SetLeConnectionModeToFast() 101 test::mock::stack_btm_ble_bgconn::BTM_SetLeConnectionModeToSlow(); in BTM_SetLeConnectionModeToSlow() 105 return test::mock::stack_btm_ble_bgconn::BTM_AcceptlistAdd(address); in BTM_AcceptlistAdd() [all …]
|
D | mock_stack_btm_ble_privacy.cc | 46 namespace test { namespace 77 test::mock::stack_btm_ble_privacy::btm_ble_clear_resolving_list_complete( in btm_ble_clear_resolving_list_complete() 82 test::mock::stack_btm_ble_privacy::btm_ble_add_resolving_list_entry_complete( in btm_ble_add_resolving_list_entry_complete() 88 test::mock::stack_btm_ble_privacy:: in btm_ble_remove_resolving_list_entry_complete() 93 test::mock::stack_btm_ble_privacy::btm_ble_read_resolving_list_entry_complete( in btm_ble_read_resolving_list_entry_complete() 98 return test::mock::stack_btm_ble_privacy::btm_ble_remove_resolving_list_entry( in btm_ble_remove_resolving_list_entry() 103 test::mock::stack_btm_ble_privacy::btm_ble_clear_resolving_list(); in btm_ble_clear_resolving_list() 107 return test::mock::stack_btm_ble_privacy::btm_ble_read_resolving_list_entry( in btm_ble_read_resolving_list_entry() 112 return test::mock::stack_btm_ble_privacy::btm_ble_disable_resolving_list( in btm_ble_disable_resolving_list() 117 return test::mock::stack_btm_ble_privacy::btm_ble_resolving_list_load_dev( in btm_ble_resolving_list_load_dev() [all …]
|
D | mock_btif_config.cc | 48 namespace test { namespace 79 return test::mock::btif_config::btif_get_device_type(bda, p_device_type); in btif_get_device_type() 83 return test::mock::btif_config::btif_get_address_type(bda, p_addr_type); in btif_get_address_type() 87 return test::mock::btif_config::btif_config_exist(section, key); in btif_config_exist() 92 return test::mock::btif_config::btif_config_get_int(section, key, value); in btif_config_get_int() 97 return test::mock::btif_config::btif_config_set_int(section, key, value); in btif_config_set_int() 102 return test::mock::btif_config::btif_config_get_uint64(section, key, value); in btif_config_get_uint64() 107 return test::mock::btif_config::btif_config_set_uint64(section, key, value); in btif_config_set_uint64() 112 return test::mock::btif_config::btif_config_get_str(section, key, value, in btif_config_get_str() 118 return test::mock::btif_config::btif_config_set_str(section, key, value); in btif_config_set_str() [all …]
|
/system/teeui/test/example_config/ |
D | README | 5 your test from. These files would be referred to as the configuration files. 39 The TEST_MAPPING file is going to run the test as a postsubmit test with the 53 "native-test-flag": "--width=<device width in pixels>" 56 "native-test-flag": "--height=<device height in pixels>" 59 …"native-test-flag": "--dp2px=<pixel per density independent pixel (px/dp) ratio of the device. Typ… 62 "native-test-flag": "--mm2px=<pixel per millimeter (px/mm) ratio>" 65 …"native-test-flag": "--powerButtonTop=<distance from the top of the power button to the top of the… 68 …"native-test-flag": "--powerButtonBottom=<distance from the bottom of the power button to the top … 71 …"native-test-flag": "--volUpButtonTop=<distance from the top of the UP volume button to the top of… 74 …"native-test-flag": "--volUpButtonBottom=<distance from the bottom of the UP power button to the t… [all …]
|
/system/tools/hidl/test/version_test/ |
D | Android.bp | 16 " -r test.version:system/tools/hidl/test/version_test/good" + 17 " test.version.version@1.0" + 18 " test.version.version@2.2" + 19 " test.version.version@2.3" + 20 " test.version.version@2.4" + 21 " test.version.version@2.5" + 22 " test.version.version@3.0" + 23 " test.version.version@3.1" + 26 " -r test.version:system/tools/hidl/test/version_test/bad1" + 27 " test.version.version@2.3 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" + [all …]
|
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.baz/ |
D | Android.bp | 19 name: "com.android.apex.test.baz.key", 20 public_key: "com.android.apex.test.baz.avbpubkey", 21 private_key: "com.android.apex.test.baz.pem", 25 name: "com.android.apex.test.baz.certificate", 26 certificate: "com.android.apex.test.baz", 30 name: "com.android.apex.test.baz", 32 file_contexts: ":apex.test-file_contexts", 33 key: "com.android.apex.test.baz.key", 48 apex_available: [ "com.android.apex.test.baz" ], 52 name: "com.android.apex.test.baz_stripped", [all …]
|
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.bar/ |
D | Android.bp | 19 name: "com.android.apex.test.bar.key", 20 public_key: "com.android.apex.test.bar.avbpubkey", 21 private_key: "com.android.apex.test.bar.pem", 25 name: "com.android.apex.test.bar.certificate", 26 certificate: "com.android.apex.test.bar", 30 name: "com.android.apex.test.bar", 32 file_contexts: ":apex.test-file_contexts", 33 key: "com.android.apex.test.bar.key", 67 apex_available: [ "com.android.apex.test.bar" ], 71 name: "com.android.apex.test.bar_stripped", [all …]
|
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.foo/ |
D | Android.bp | 19 name: "com.android.apex.test.foo.key", 20 public_key: "com.android.apex.test.foo.avbpubkey", 21 private_key: "com.android.apex.test.foo.pem", 25 name: "com.android.apex.test.foo.certificate", 26 certificate: "com.android.apex.test.foo", 30 name: "com.android.apex.test.foo", 32 file_contexts: ":apex.test-file_contexts", 33 key: "com.android.apex.test.foo.key", 48 apex_available: [ "com.android.apex.test.foo" ], 52 name: "com.android.apex.test.foo_stripped", [all …]
|
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.pony/ |
D | Android.bp | 19 name: "com.android.apex.test.pony.key", 20 public_key: "com.android.apex.test.pony.avbpubkey", 21 private_key: "com.android.apex.test.pony.pem", 25 name: "com.android.apex.test.pony.certificate", 26 certificate: "com.android.apex.test.pony", 30 name: "com.android.apex.test.pony", 32 file_contexts: ":apex.test-file_contexts", 33 key: "com.android.apex.test.pony.key", 48 apex_available: [ "com.android.apex.test.pony" ], 52 name: "com.android.apex.test.pony_stripped", [all …]
|
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.sharedlibs_secondary/ |
D | Android.bp | 19 name: "com.android.apex.test.sharedlibs_secondary.key", 20 public_key: "com.android.apex.test.sharedlibs_secondary.avbpubkey", 21 private_key: "com.android.apex.test.sharedlibs_secondary.pem", 25 name: "com.android.apex.test.sharedlibs_secondary.certificate", 26 certificate: "com.android.apex.test.sharedlibs_secondary", 30 name: "com.android.apex.test.sharedlibs_secondary_stub", 32 file_contexts: ":apex.test-file_contexts", 33 key: "com.android.apex.test.sharedlibs_secondary.key", 41 name: "com.android.apex.test.sharedlibs_secondary_generated", 42 out: ["com.android.apex.test.sharedlibs_secondary_generated.apex"], [all …]
|
/system/apex/tests/testdata/sharedlibs/build/com.android.apex.test.sharedlibs/ |
D | Android.bp | 19 name: "com.android.apex.test.sharedlibs.key", 20 public_key: "com.android.apex.test.sharedlibs.avbpubkey", 21 private_key: "com.android.apex.test.sharedlibs.pem", 25 name: "com.android.apex.test.sharedlibs.certificate", 26 certificate: "com.android.apex.test.sharedlibs", 30 name: "com.android.apex.test.sharedlibs_stub", 32 file_contexts: ":apex.test-file_contexts", 33 key: "com.android.apex.test.sharedlibs.key", 49 name: "com.android.apex.test.sharedlibs_generated", 50 out: ["com.android.apex.test.sharedlibs_generated.apex"], [all …]
|
/system/testing/gtest_extras/ |
D | Isolate.cpp | 181 int Isolate::ChildProcessFn(const std::tuple<std::string, std::string>& test) { in ChildProcessFn() argument 187 std::string filter("--gtest_filter=" + GetTestName(test)); in ChildProcessFn() 251 Test* test = new Test(tests_[cur_test_index_], cur_test_index_, run_index, read_fd); in LaunchTests() local 252 running_by_pid_.emplace(pid, test); in LaunchTests() 253 running_[run_index] = test; in LaunchTests() 254 running_by_test_index_[cur_test_index_] = test; in LaunchTests() 257 pollfd->fd = test->fd(); in LaunchTests() 273 Test* test = running_[i]; in ReadTestsOutput() local 274 if (!test->Read()) { in ReadTestsOutput() 275 test->CloseFd(); in ReadTestsOutput() [all …]
|
/system/sepolicy/tests/ |
D | sepolicy_tests.py | 158 if options.test is None or "TestDataTypeViolations" in options.test: 160 if options.test is None or "TestProcTypeViolations" in options.test: 162 if options.test is None or "TestSysfsTypeViolations" in options.test: 164 if options.test is None or "TestSystemTypeViolations" in options.test: 166 if options.test is None or "TestDebugfsTypeViolations" in options.test: 168 if options.test is None or "TestVendorTypeViolations" in options.test: 170 if options.test is None or "TestCoreDataTypeViolations" in options.test: 172 if options.test is None or "TestPropertyTypeViolations" in options.test: 174 if options.test is None or "TestAppDataTypeViolations" in options.test: 176 if options.test is None or "TestDmaHeapDevTypeViolations" in options.test:
|
/system/bt/osi/ |
D | BUILD.gn | 64 if (use.test) { 67 "test/AlarmTestHarness.cc", 68 "test/AllocationTestHarness.cc", 69 "test/alarm_test.cc", 70 "test/allocation_tracker_test.cc", 71 "test/allocator_test.cc", 72 "test/array_test.cc", 73 "test/config_test.cc", 74 "test/future_test.cc", 75 "test/hash_map_utils_test.cc", [all …]
|
D | Android.bp | 28 "test/AllocationTestHarness.cc", 40 "test/AlarmTestHarness.cc", 105 "test/AlarmTestHarness.cc", 106 "test/AllocationTestHarness.cc", 107 "test/alarm_test.cc", 108 "test/allocation_tracker_test.cc", 109 "test/allocator_test.cc", 110 "test/array_test.cc", 111 "test/config_test.cc", 112 "test/fixed_queue_test.cc", [all …]
|