/system/nfc/ |
D | run_unit_tests.sh | 12 binary="$(basename "$0")" 13 echo "Usage: ${binary} --help" 14 …echo " ${binary} [-i <iterations>] [-s <specific device>] [--all] [<test name>[.<filter>] ..… 92 binary="/data/nativetest/${name}/${name}" 94 push_command=( "${adb[@]}" push {"${ANDROID_PRODUCT_OUT}",}"${binary}" ) 95 test_command=( "${adb[@]}" shell "${binary}" )
|
/system/chre/host/common/include/chre_host/ |
D | fragmented_load_transaction.h | 50 std::vector<uint8_t> binary; member 53 uint64_t appId, const std::vector<uint8_t> &binary) in FragmentedLoadRequest() 55 binary) {} in FragmentedLoadRequest() 60 const std::vector<uint8_t> &binary) in FragmentedLoadRequest() 68 binary(binary) {} in FragmentedLoadRequest()
|
/system/tools/aidl/tests/ |
D | aidl_integration_test.py | 114 self.host.run('killall %s' % self.binary, ignore_status=True) 116 return self.host.run(self.binary, background=True) 120 self.host.run('killall %s' % self.binary, ignore_status=True) 122 result = self.host.run(self.binary + ' --gtest_color=yes', ignore_status=True) 131 self.binary = CPP_TEST_SERVICE_FOR_BITNESS % bitness 137 self.binary = CPP_TEST_CLIENT_FOR_BITNESS % bitness 143 self.binary = CPP_TEST_V1_CLIENT_FOR_BITNESS % bitness 149 self.binary = NDK_TEST_SERVICE_FOR_BITNESS % bitness 155 self.binary = NDK_TEST_CLIENT_FOR_BITNESS % bitness 256 self.binary = RUST_TEST_CLIENT_FOR_BITNESS % bitness [all …]
|
/system/chre/platform/tinysys/ |
D | authentication.cc | 164 bool authenticate(const void *binary) { in authenticate() argument 167 auto data = static_cast<const uint8_t *>(binary) + kDataOffset; in authenticate() 230 bool authenticateBinary(const void *binary, size_t appBinaryLen, in authenticateBinary() argument 233 UNUSED_VAR(binary); in authenticateBinary() 245 auto *header = static_cast<const ImageHeader *>(binary); in authenticateBinary() 262 } else if (!hasCorrectHash(binary, header->headerInfo.binaryLength, in authenticateBinary() 269 } else if (!authenticator.authenticate(binary)) { in authenticateBinary() 273 reinterpret_cast<uintptr_t>(binary) + kHeaderSize); in authenticateBinary()
|
/system/extras/simpleperf/ |
D | cmd_inject.cpp | 185 AutoFDOBinaryInfo& binary = p.second; in ProcessAutoFDOBinaryInfo() local 186 binary.first_load_segment_addr = GetFirstLoadSegmentVaddr(dso); in ProcessAutoFDOBinaryInfo() 187 autofdo_callback_(BinaryKey(dso, 0), binary); in ProcessAutoFDOBinaryInfo() 317 for (auto& [key, binary] : binary_map) { in ProcessETMBranchListFeature() 321 etm_binary_callback_(key, binary); in ProcessETMBranchListFeature() 346 ETMBinary& binary = p.second; in ProcessETMBinary() local 347 binary.dso_type = dso->type(); in ProcessETMBinary() 349 if (binary.dso_type == DSO_KERNEL) { in ProcessETMBinary() 361 etm_binary_callback_(key, binary); in ProcessETMBinary() 530 for (auto& [key, binary] : etm_data) { in ProcessETMData() [all …]
|
D | BranchListFile.cpp | 67 const ETMBinary& binary = p.second; in ETMBinaryMapToString() local 74 auto opt_binary_type = ToProtoBinaryType(binary.dso_type); in ETMBinaryMapToString() 80 for (const auto& addr_p : binary.branch_map) { in ETMBinaryMapToString() 94 if (binary.dso_type == DSO_KERNEL) { in ETMBinaryMapToString() 336 ETMBinary& binary = p.second; in GetETMBinaryMap() local 337 binary.dso_type = dso->type(); in GetETMBinaryMap() 341 if (binary.dso_type == DSO_KERNEL) { in GetETMBinaryMap() 349 binary_map[key] = std::move(binary); in GetETMBinaryMap() 377 for (const BinaryKey& binary : data.binaries) { in LBRDataToString() local 379 binary_proto->set_path(binary.path); in LBRDataToString() [all …]
|
/system/sepolicy/private/ |
D | apexd_derive_classpath.te | 1 # Exclusive domain for apexd calling into derive_classpath binary 4 # Allow the binary to write into output file at location /apex/derive_classpath_temp 7 # Allow the binary to log using logwrap
|
/system/netd/tests/ |
D | test_utils.cpp | 99 std::vector<std::string> listIptablesRule(const char* binary, const char* chainName) { in listIptablesRule() argument 100 std::string command = StringPrintf("%s -w -n -L %s", binary, chainName); in listIptablesRule() 104 int iptablesRuleLineLength(const char* binary, const char* chainName) { in iptablesRuleLineLength() argument 105 return listIptablesRule(binary, chainName).size(); in iptablesRuleLineLength() 108 bool iptablesRuleExists(const char* binary, const char* chainName, in iptablesRuleExists() argument 110 std::vector<std::string> rules = listIptablesRule(binary, chainName); in iptablesRuleExists()
|
D | test_utils.h | 36 std::vector<std::string> listIptablesRule(const char* binary, const char* chainName); 38 int iptablesRuleLineLength(const char* binary, const char* chainName); 40 bool iptablesRuleExists(const char* binary, const char* chainName, const std::string& expectedRule);
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubTrivialNanoAppsTestExecutor.java | 45 public void run(NanoAppBinary binary, boolean expectLoadSuccess) { in run() argument 46 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in run() 50 binary.getNanoAppId()); in run()
|
D | ContextHubBadNanoAppsTestExecutor.java | 70 NanoAppBinary binary = new NanoAppBinary(buffer); in runInvalidBinaryTest() local 72 + " bytes) returns true for hasValidHeader()", binary.hasValidHeader()); in runInvalidBinaryTest() 74 boolean success = ChreTestUtil.loadNanoApp(mContextHubManager, mContextHubInfo, binary); in runInvalidBinaryTest()
|
D | ContextHubBusyStartupTestExecutor.java | 32 NanoAppBinary binary) { in ContextHubBusyStartupTestExecutor() argument 36 new GeneralTestNanoApp(binary, ContextHubTestConstants.TestNames.INVALID_TEST, in ContextHubBusyStartupTestExecutor()
|
D | ContextHubSimpleGeneralTestExecutor.java | 28 NanoAppBinary binary, ContextHubTestConstants.TestNames testName) { in ContextHubSimpleGeneralTestExecutor() argument 29 super(manager, info, new GeneralTestNanoApp(binary, testName)); in ContextHubSimpleGeneralTestExecutor()
|
D | ContextHubSimpleHeapAllocTestExecutor.java | 39 NanoAppBinary binary) { in ContextHubSimpleHeapAllocTestExecutor() argument 40 super(manager, info, new GeneralTestNanoApp(binary, in ContextHubSimpleHeapAllocTestExecutor()
|
D | ContextHubInfoByIdTestExecutor.java | 40 NanoAppBinary binary, ContextHubTestConstants.TestNames testName) { in ContextHubInfoByIdTestExecutor() argument 41 super(manager, info, new GeneralTestNanoApp(binary, testName)); in ContextHubInfoByIdTestExecutor()
|
D | ContextHubEstimatedHostTimeTestExecutor.java | 44 NanoAppBinary binary) { in ContextHubEstimatedHostTimeTestExecutor() argument 45 super(manager, info, new GeneralTestNanoApp(binary, in ContextHubEstimatedHostTimeTestExecutor()
|
D | ContextHubGetTimeTestExecutor.java | 67 NanoAppBinary binary) { in ContextHubGetTimeTestExecutor() argument 69 new GeneralTestNanoApp(binary, ContextHubTestConstants.TestNames.GET_TIME)); in ContextHubGetTimeTestExecutor()
|
/system/extras/libjsonpb/parse/ |
D | jsonpb.cpp | 61 std::string binary; in JsonStringToMessage() local 62 auto status = JsonToBinaryString(resolver.get(), GetTypeUrl(*message), content, &binary); in JsonStringToMessage() 66 if (!message->ParseFromString(binary)) { in JsonStringToMessage()
|
/system/logging/liblog/ |
D | README.protocol.md | 16 } binary; 77 ## `binary` payload 79 The `binary` part of the union is for binary buffers (events, security, etc) and consists of an
|
/system/tools/hidl/c2hal/ |
D | c2hal_y.yy | 482 | expr '+' expr { $$ = Expression::binary($1, "+", $3); } 483 | expr '-' expr { $$ = Expression::binary($1, "-", $3); } 484 | expr '/' expr { $$ = Expression::binary($1, "/", $3); } 485 | expr '*' expr { $$ = Expression::binary($1, "*", $3); } 486 | expr '%' expr { $$ = Expression::binary($1, "%%", $3); } 487 | expr '&' expr { $$ = Expression::binary($1, "&", $3); } 488 | expr '|' expr { $$ = Expression::binary($1, "|", $3); } 489 | expr '^' expr { $$ = Expression::binary($1, "^", $3); } 490 | expr LSHIFT expr { $$ = Expression::binary($1, "<<", $3); } 491 | expr RSHIFT expr { $$ = Expression::binary($1, ">>", $3); }
|
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/ |
D | ContextHubWwanSettingsTestExecutor.java | 41 public ContextHubWwanSettingsTestExecutor(NanoAppBinary binary) { in ContextHubWwanSettingsTestExecutor() argument 42 mExecutor = new ContextHubSettingsTestExecutor(binary); in ContextHubWwanSettingsTestExecutor()
|
D | ContextHubMicDisableSettingsTestExecutor.java | 42 public ContextHubMicDisableSettingsTestExecutor(NanoAppBinary binary) { in ContextHubMicDisableSettingsTestExecutor() argument 43 mExecutor = new ContextHubSettingsTestExecutor(binary); in ContextHubMicDisableSettingsTestExecutor()
|
D | ContextHubGnssSettingsTestExecutor.java | 39 public ContextHubGnssSettingsTestExecutor(NanoAppBinary binary) { in ContextHubGnssSettingsTestExecutor() argument 40 mExecutor = new ContextHubSettingsTestExecutor(binary); in ContextHubGnssSettingsTestExecutor()
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test.py | 69 def short_name(binary): argument 70 if "64" in binary:
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java.py | 43 binary = cmd.split()[0] 44 run_cmd("adb shell killall %s >/dev/null 2>&1" % binary, ignore_error=True)
|