/system/tools/hidl/test/version_test/ |
D | Android.bp | 7 " -r test.version:system/tools/hidl/test/version_test/good" + 8 " test.version.version@1.0" + 9 " test.version.version@2.2" + 10 " test.version.version@2.3" + 11 " test.version.version@2.4" + 12 " test.version.version@2.5" + 13 " test.version.version@3.0" + 14 " test.version.version@3.1" + 17 " -r test.version:system/tools/hidl/test/version_test/bad1" + 18 " test.version.version@2.3 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)" + [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/testing/gtest_extras/ |
D | Isolate.cpp | 174 int Isolate::ChildProcessFn(const std::tuple<std::string, std::string>& test) { in ChildProcessFn() argument 180 std::string filter("--gtest_filter=" + GetTestName(test)); in ChildProcessFn() 220 Test* test = new Test(tests_[cur_test_index_], cur_test_index_, run_index, read_fd.release()); in LaunchTests() local 221 running_by_pid_.emplace(pid, test); in LaunchTests() 222 running_[run_index] = test; in LaunchTests() 223 running_by_test_index_[cur_test_index_] = test; in LaunchTests() 226 pollfd->fd = test->fd(); in LaunchTests() 241 Test* test = running_[i]; in ReadTestsOutput() local 242 if (!test->Read()) { in ReadTestsOutput() 243 test->CloseFd(); in ReadTestsOutput() [all …]
|
/system/bt/osi/ |
D | Android.bp | 18 "test/AllocationTestHarness.cc", 30 "test/AlarmTestHarness.cc", 95 "test/AlarmTestHarness.cc", 96 "test/AllocationTestHarness.cc", 97 "test/alarm_test.cc", 98 "test/allocation_tracker_test.cc", 99 "test/allocator_test.cc", 100 "test/array_test.cc", 101 "test/config_test.cc", 102 "test/fixed_queue_test.cc", [all …]
|
D | BUILD.gn | 63 "test/AlarmTestHarness.cc", 64 "test/AllocationTestHarness.cc", 65 "test/alarm_test.cc", 66 "test/allocation_tracker_test.cc", 67 "test/allocator_test.cc", 68 "test/array_test.cc", 69 "test/config_test.cc", 70 "test/future_test.cc", 71 "test/hash_map_utils_test.cc", 72 "test/list_test.cc", [all …]
|
/system/bt/test/ |
D | gen_coverage.py | 151 for test in tests: 152 test_name = test['test_name'] 153 covered_files = test['covered_files'] 154 json_results = generate_coverage_json(test) 242 def generate_coverage_html(test): argument 245 test_name = test['test_name'] 246 file_list = test['covered_files'] 268 logging.info('Generating coverage report for ' + test['test_name']) 271 logging.error('Failed to generate coverage for ' + test['test_name']) 275 def generate_coverage_json(test): argument [all …]
|
/system/core/fastboot/fuzzy_fastboot/ |
D | extensions.cpp | 106 const std::string test = XMLAttribute(part, "test"); in ExtractPartitions() local 116 bool allowed = test == "yes" || test == "no-writes" || test == "no"; in ExtractPartitions() 122 part_info.test = (test == "yes") in ExtractPartitions() 124 : (test == "no-writes") ? Configuration::PartitionInfo::NO_WRITES in ExtractPartitions() 163 const tinyxml2::XMLElement* test = part->FirstChildElement("test") in ExtractPacked() local 166 while (test) { in ExtractPacked() 168 packed_test.packed_img = XMLAttribute(test, "packed"); in ExtractPacked() 169 packed_test.unpacked_dir = XMLAttribute(test, "unpacked"); in ExtractPacked() 170 const std::string expect = XMLAttribute(test, "expect", "okay"); in ExtractPacked() 172 if (XMLAssert(!packed_test.packed_img.empty(), test, in ExtractPacked() [all …]
|
/system/tools/aidl/tests/ |
D | test_data_example_interface.cpp | 126 @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="android/test/IExampleInterfa… 180 private static final java.lang.String DESCRIPTOR = "android.test.IExampleInterface"; 574 …@android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="android/test/IExampleInterf… 594 @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="android/test/IExampleInterfa… 648 private static final java.lang.String DESCRIPTOR = "android.test.IExampleInterface"; 1094 …@android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="android/test/IExampleInterf… 1114 @android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="android/test/IExampleInterfa… 1168 private static final java.lang.String DESCRIPTOR = "android.test.IExampleInterface"; 1642 …@android.compat.annotation.UnsupportedAppUsage(overrideSourcePosition="android/test/IExampleInterf… 1714 private static final java.lang.String DESCRIPTOR = "android.test.IExampleInterface"; [all …]
|
/system/keymaster/tests/ |
D | hmac_test.cpp | 28 namespace test { namespace 63 const HmacTest& test(kHmacTests[i]); in TEST() local 66 const string key = hex2str(test.key); in TEST() 70 uint8_t digest_copy[sizeof(test.digest)]; in TEST() 71 memcpy(digest_copy, test.digest, sizeof(test.digest)); in TEST() 74 Buffer data_buffer(test.data, strlen(test.data)); in TEST()
|
D | hkdf_test.cpp | 27 namespace test { namespace 61 for (auto& test : kHkdfTests) { in TEST() local 62 const string key = hex2str(test.key_hex); in TEST() 63 const string salt = hex2str(test.salt_hex); in TEST() 64 const string info = hex2str(test.info_hex); in TEST() 65 const string expected = hex2str(test.output_hex); in TEST()
|
D | kdf2_test.cpp | 27 namespace test { namespace 68 for (auto& test : kKdf2Tests) { in TEST() local 69 const string key = hex2str(test.key_hex); in TEST() 70 const string info = hex2str(test.info_hex); in TEST() 71 const string expected_output = hex2str(test.expected_output_hex); in TEST() 77 kdf2.Init(test.digest_type, reinterpret_cast<const uint8_t*>(key.data()), key.size())); in TEST()
|
D | ckdf_test.cpp | 27 namespace test { namespace 88 for (auto& test : kCkdfTests) { in TEST() local 89 auto key = hex2key(test.key); in TEST() 90 auto label = hex2blob(test.label); in TEST() 91 auto context = hex2blob(test.context); in TEST() 92 auto expected = hex2blob(test.output); in TEST()
|
/system/tools/sysprop/tests/ |
D | JavaGenTest.cpp | 49 prop_name: "vendor.test.string" 56 prop_name: "vendor.test.enum" 64 prop_name: "ro.vendor.test.b" 238 String value = SystemProperties.get("vendor.test.string"); 243 SystemProperties.set("vendor.test.string", value == null ? "" : value.toString()); 247 String value = SystemProperties.get("ro.vendor.test.b"); 252 SystemProperties.set("ro.vendor.test.b", value == null ? "" : value.toString()); 430 String value = SystemProperties.get("vendor.test.string"); 435 SystemProperties.set("vendor.test.string", value == null ? "" : value.toString()); 456 String value = SystemProperties.get("vendor.test.enum"); [all …]
|
D | CppGenTest.cpp | 49 prop_name: "android.test.string" 56 prop_name: "android.test.enum" 64 prop_name: "ro.android.test.b" 248 …LOG_ALWAYS_FATAL("Invalid value %d for property android.test.enum", static_cast<std::int32_t>(*val… 432 return GetProp<std::optional<std::string>>("android.test.string"); 436 return __system_property_set("android.test.string", value ? value->c_str() : "") == 0; 440 return GetProp<std::optional<test_enum_values>>("android.test.enum"); 444 return __system_property_set("android.test.enum", FormatValue(value).c_str()) == 0; 448 return GetProp<std::optional<bool>>("ro.android.test.b"); 452 return __system_property_set("ro.android.test.b", FormatValue(value).c_str()) == 0;
|
/system/sepolicy/tests/ |
D | sepolicy_tests.py | 104 if options.test is None or "TestDataTypeViolations" in options.test: 106 if options.test is None or "TestProcTypeViolations" in options.test: 108 if options.test is None or "TestSysfsTypeViolations" in options.test: 110 if options.test is None or "TestSystemTypeViolations" in options.test: 112 if options.test is None or "TestDebugfsTypeViolations" in options.test: 114 if options.test is None or "TestVendorTypeViolations" in options.test: 116 if options.test is None or "TestCoreDataTypeViolations" in options.test:
|
/system/core/init/ |
D | ueventd_parser_test.cpp | 28 void TestSubsystems(const Subsystem& expected, const Subsystem& test) { in TestSubsystems() argument 29 EXPECT_EQ(expected.name_, test.name_); in TestSubsystems() 30 EXPECT_EQ(expected.devname_source_, test.devname_source_) << expected.name_; in TestSubsystems() 31 EXPECT_EQ(expected.dir_name_, test.dir_name_) << expected.name_; in TestSubsystems() 34 void TestPermissions(const Permissions& expected, const Permissions& test) { in TestPermissions() argument 35 EXPECT_EQ(expected.name_, test.name_); in TestPermissions() 36 EXPECT_EQ(expected.perm_, test.perm_) << expected.name_; in TestPermissions() 37 EXPECT_EQ(expected.uid_, test.uid_) << expected.name_; in TestPermissions() 38 EXPECT_EQ(expected.gid_, test.gid_) << expected.name_; in TestPermissions() 39 EXPECT_EQ(expected.prefix_, test.prefix_) << expected.name_; in TestPermissions() [all …]
|
/system/tools/hidl/test/hash_test/ |
D | Android.bp | 8 " -r test.hash:system/tools/hidl/test/hash_test/good" + 9 " test.hash.hash@1.0" + 13 " -r test.hash:system/tools/hidl/test/hash_test/bad" + 14 " test.hash.hash@1.0 2> /dev/null)" + 18 " -r test.hash:system/tools/hidl/test/hash_test/bad" + 19 " test.hash.hash@1.0 > /dev/null" +
|
/system/bt/service/ |
D | Android.bp | 59 // Main unit test sources. These get built for host and target. 65 "test/a2dp_sink_unittest.cc", 66 "test/a2dp_source_unittest.cc", 67 "test/adapter_unittest.cc", 68 "test/advertise_data_unittest.cc", 69 "test/fake_hal_util.cc", 70 "test/gatt_client_unittest.cc", 71 "test/gatt_server_unittest.cc", 72 "test/low_energy_advertiser_unittest.cc", 73 "test/low_energy_client_unittest.cc", [all …]
|
/system/core/cli-test/ |
D | cli-test.cpp | 128 std::unique_ptr<Test> test(new Test); in CollectTests() local 134 if (test->name.empty() || test->command.empty()) { in CollectTests() 137 test->test_filename = absolute_test_filename; in CollectTests() 138 tests->push_back(*test.release()); in CollectTests() 139 test.reset(new Test); in CollectTests() 142 SetField("name", &test->name, line); in CollectTests() 144 SetField("command", &test->command, line); in CollectTests() 146 test->befores.push_back(line); in CollectTests() 148 test->afters.push_back(line); in CollectTests() 155 SetField("expected stdout", &test->expected_stdout, text); in CollectTests() [all …]
|
/system/chre/apps/test/common/proto/ |
D | chre_settings_test.proto | 13 // H2C: A message to start the test. 17 // C2H: A message indicating the test result. 25 // A message to start the test. 43 // The test step for the nanoapp to take. 46 // Sets up the nanoapp for an upcoming START test step (e.g. perform a WiFi 47 // scan for a WiFi RTT test). 49 // Begin the test (after optionally receiving a SETUP test step). 53 // The feature to test. 56 // The feature state (e.g. enabled or disabled), only used if the test step is 60 // The test step. [all …]
|
/system/apex/tests/sdkextensions/app-src/com/android/tests/apex/sdkextensions/ |
D | Receiver.java | 24 import android.os.ext.test.Test; 61 Test test = new Test(); in makeCallsVersion0() local 69 Test test = new Test(); in makeCallsVersion45() local 70 test.publicMethod(); in makeCallsVersion45() 71 test.systemApiMethod(); in makeCallsVersion45() 73 test.moduleLibsApiMethod(); in makeCallsVersion45() 79 test.testApiMethod(); in makeCallsVersion45() 85 test.hiddenMethod(); in makeCallsVersion45()
|
/system/bt/test/headless/ |
D | main.cc | 30 using namespace bluetooth::test::headless; 36 Main(const bluetooth::test::headless::GetOpt& options) in Main() 39 "nop", std::make_unique<bluetooth::test::headless::Nop>(options)); in Main() 42 std::make_unique<bluetooth::test::headless::Pairing>(options)); in Main() 44 "read", std::make_unique<bluetooth::test::headless::Read>(options)); in Main() 46 "sdp", std::make_unique<bluetooth::test::headless::Sdp>(options)); in Main() 63 bluetooth::test::headless::GetOpt options(argc, argv); in main()
|
/system/tools/aidl/build/ |
D | Android.bp | 62 name: "aidl-test-filegroup", 70 // Copy of test-piece-1 as test only. Creating a separate library because 'vendor_available' is 73 name: "test-variants", 79 ":aidl-test-filegroup", 84 name: "test-piece-1", 99 name: "test-piece-2", 106 "test-piece-1", 112 name: "test-piece-3", 118 "test-piece-2", 124 name: "test-piece-4", [all …]
|
/system/extras/simpleperf/runtest/ |
D | runtest.py | 211 for test in root: 212 assert test.tag == 'test' 213 test_name = test.attrib['name'] 221 for test_item in test: 476 def check_report_file(self, test, report_file, has_callgraph): argument 478 if not self._check_symbol_overhead_requirements(test, symbols): 481 if not self._check_symbol_children_overhead_requirements(test, symbols): 483 if not self._check_symbol_relation_requirements(test, symbols): 487 def _check_symbol_overhead_requirements(self, test, symbols): argument 489 matched = [False] * len(test.symbol_overhead_requirements) [all …]
|
/system/bt/btcore/test/ |
D | device_class_test.cc | 134 uint32_t test = 0; in TEST_F() local 135 memcpy(&test, &dc, sizeof(dc)); in TEST_F() 138 EXPECT_EQ((unsigned)0x00000000, test); in TEST_F() 141 test = 0; in TEST_F() 142 memcpy(&test, &dc, sizeof(dc)); in TEST_F() 144 EXPECT_EQ((unsigned)0x00002000, test); in TEST_F() 147 test = 0; in TEST_F() 148 memcpy(&test, &dc, sizeof(dc)); in TEST_F() 150 EXPECT_EQ((unsigned)0x00000000, test); in TEST_F() 153 test = 0; in TEST_F() [all …]
|