Home
last modified time | relevance | path

Searched refs:binary (Results 1 – 25 of 165) sorted by relevance

1234567

/system/nfc/
Drun_unit_tests.sh12 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/
Dfragmented_load_transaction.h50 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/
Daidl_integration_test.py114 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/
Dauthentication.cc164 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/
Dcmd_inject.cpp185 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 …]
DBranchListFile.cpp67 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/
Dapexd_derive_classpath.te1 # 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/
Dtest_utils.cpp99 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()
Dtest_utils.h36 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/
DContextHubTrivialNanoAppsTestExecutor.java45 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()
DContextHubBadNanoAppsTestExecutor.java70 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()
DContextHubBusyStartupTestExecutor.java32 NanoAppBinary binary) { in ContextHubBusyStartupTestExecutor() argument
36 new GeneralTestNanoApp(binary, ContextHubTestConstants.TestNames.INVALID_TEST, in ContextHubBusyStartupTestExecutor()
DContextHubSimpleGeneralTestExecutor.java28 NanoAppBinary binary, ContextHubTestConstants.TestNames testName) { in ContextHubSimpleGeneralTestExecutor() argument
29 super(manager, info, new GeneralTestNanoApp(binary, testName)); in ContextHubSimpleGeneralTestExecutor()
DContextHubSimpleHeapAllocTestExecutor.java39 NanoAppBinary binary) { in ContextHubSimpleHeapAllocTestExecutor() argument
40 super(manager, info, new GeneralTestNanoApp(binary, in ContextHubSimpleHeapAllocTestExecutor()
DContextHubInfoByIdTestExecutor.java40 NanoAppBinary binary, ContextHubTestConstants.TestNames testName) { in ContextHubInfoByIdTestExecutor() argument
41 super(manager, info, new GeneralTestNanoApp(binary, testName)); in ContextHubInfoByIdTestExecutor()
DContextHubEstimatedHostTimeTestExecutor.java44 NanoAppBinary binary) { in ContextHubEstimatedHostTimeTestExecutor() argument
45 super(manager, info, new GeneralTestNanoApp(binary, in ContextHubEstimatedHostTimeTestExecutor()
DContextHubGetTimeTestExecutor.java67 NanoAppBinary binary) { in ContextHubGetTimeTestExecutor() argument
69 new GeneralTestNanoApp(binary, ContextHubTestConstants.TestNames.GET_TIME)); in ContextHubGetTimeTestExecutor()
/system/extras/libjsonpb/parse/
Djsonpb.cpp61 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/
DREADME.protocol.md16 } 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/
Dc2hal_y.yy482 | 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/
DContextHubWwanSettingsTestExecutor.java41 public ContextHubWwanSettingsTestExecutor(NanoAppBinary binary) { in ContextHubWwanSettingsTestExecutor() argument
42 mExecutor = new ContextHubSettingsTestExecutor(binary); in ContextHubWwanSettingsTestExecutor()
DContextHubMicDisableSettingsTestExecutor.java42 public ContextHubMicDisableSettingsTestExecutor(NanoAppBinary binary) { in ContextHubMicDisableSettingsTestExecutor() argument
43 mExecutor = new ContextHubSettingsTestExecutor(binary); in ContextHubMicDisableSettingsTestExecutor()
DContextHubGnssSettingsTestExecutor.java39 public ContextHubGnssSettingsTestExecutor(NanoAppBinary binary) { in ContextHubGnssSettingsTestExecutor() argument
40 mExecutor = new ContextHubSettingsTestExecutor(binary); in ContextHubGnssSettingsTestExecutor()
/system/tools/hidl/test/hidl_test/
Dhidl_test.py69 def short_name(binary): argument
70 if "64" in binary:
/system/tools/hidl/test/java_test/
Dhidl_test_java.py43 binary = cmd.split()[0]
44 run_cmd("adb shell killall %s >/dev/null 2>&1" % binary, ignore_error=True)

1234567