Home
last modified time | relevance | path

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

1234567891011

/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/extras/simpleperf/
Dcmd_inject.cpp219 for (auto& [key, binary] : binary_map) { in ProcessETMBranchListFeature()
223 branch_list_callback_(key, binary); in ProcessETMBranchListFeature()
292 AutoFDOBinaryInfo& binary = p.second; in ProcessAutoFDOBinaryInfo() local
293 binary.first_load_segment_addr = GetFirstLoadSegmentVaddr(dso); in ProcessAutoFDOBinaryInfo()
294 autofdo_callback_(BinaryKey(dso, 0), binary); in ProcessAutoFDOBinaryInfo()
301 BranchListBinaryInfo& binary = p.second; in ProcessBranchListBinaryInfo() local
302 binary.dso_type = dso->type(); in ProcessBranchListBinaryInfo()
304 if (binary.dso_type == DSO_KERNEL) { in ProcessBranchListBinaryInfo()
316 branch_list_callback_(key, binary); in ProcessBranchListBinaryInfo()
357 for (auto& [key, binary] : binary_map) { in Read()
[all …]
DETMBranchListFile.cpp67 const BranchListBinaryInfo& binary = p.second; in BranchListBinaryMapToString() local
74 auto opt_binary_type = ToProtoBinaryType(binary.dso_type); in BranchListBinaryMapToString()
80 for (const auto& addr_p : binary.branch_map) { in BranchListBinaryMapToString()
94 if (binary.dso_type == DSO_KERNEL) { in BranchListBinaryMapToString()
151 BranchListBinaryInfo& binary = binary_map[key]; in StringToBranchListBinaryMap() local
157 binary.dso_type = dso_type.value(); in StringToBranchListBinaryMap()
158 binary.branch_map = BuildUnorderedBranchMap(binary_proto); in StringToBranchListBinaryMap()
360 BranchListBinaryInfo& binary = p.second; in GetBranchListBinaryMap() local
361 binary.dso_type = dso->type(); in GetBranchListBinaryMap()
365 if (binary.dso_type == DSO_KERNEL) { in GetBranchListBinaryMap()
[all …]
Detm_branch_list.proto28 // vaddr in binary, instr addr before the first branch
53 // If it is zero, the Address in KERNEL binary has been converted to vaddr. Otherwise,
54 // the Address in KERNEL binary is still ip address, and need to be converted later.
/system/chre/host/common/include/chre_host/
Dfragmented_load_transaction.h50 std::vector<uint8_t> binary; member
53 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/netd/tests/
Dtest_utils.cpp71 std::vector<std::string> listIptablesRule(const char* binary, const char* chainName) { in listIptablesRule() argument
72 std::string command = StringPrintf("%s -w -n -L %s", binary, chainName); in listIptablesRule()
76 int iptablesRuleLineLength(const char* binary, const char* chainName) { in iptablesRuleLineLength() argument
77 return listIptablesRule(binary, chainName).size(); in iptablesRuleLineLength()
80 bool iptablesRuleExists(const char* binary, const char* chainName, in iptablesRuleExists() argument
82 std::vector<std::string> rules = listIptablesRule(binary, chainName); in iptablesRuleExists()
Dtest_utils.h33 std::vector<std::string> listIptablesRule(const char* binary, const char* chainName);
35 int iptablesRuleLineLength(const char* binary, const char* chainName);
37 bool iptablesRuleExists(const char* binary, const char* chainName, const std::string& expectedRule);
/system/tools/aidl/tests/
Daidl_integration_test.py108 self.binary = NATIVE_TEST_SERVICE_FOR_BITNESS % bitness
110 self.host.run('killall %s' % self.binary, ignore_status=True)
112 return self.host.run(self.binary, background=True)
116 self.host.run('killall %s' % self.binary, ignore_status=True)
118 result = self.host.run(self.binary + ' --gtest_color=yes', ignore_status=True)
127 self.binary = CPP_TEST_CLIENT_FOR_BITNESS % bitness
133 self.binary = NDK_TEST_CLIENT_FOR_BITNESS % bitness
234 self.binary = RUST_TEST_CLIENT_FOR_BITNESS % bitness
236 self.host.run('killall %s' % self.binary, ignore_status=True)
238 result = self.host.run(self.binary, ignore_status=True)
[all …]
/system/chre/platform/tinysys/
Dauthentication.cc157 bool authenticate(const void *binary) { in authenticate() argument
160 auto data = static_cast<const uint8_t *>(binary) + kDataOffset; in authenticate()
223 bool authenticateBinary(const void *binary, size_t appBinaryLen, in authenticateBinary() argument
226 UNUSED_VAR(binary); in authenticateBinary()
238 auto *header = static_cast<const ImageHeader *>(binary); in authenticateBinary()
255 } else if (!hasCorrectHash(binary, header->headerInfo.binaryLength, in authenticateBinary()
262 } else if (!authenticator.authenticate(binary)) { in authenticateBinary()
266 reinterpret_cast<uintptr_t>(binary) + kHeaderSize); in authenticateBinary()
/system/sepolicy/prebuilts/api/33.0/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/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/sepolicy/prebuilts/api/34.0/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/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()
/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/sepolicy/com.android.sepolicy/33/definitions/
Ddefinitions.cil2 ; The seamendc binary reads an amend SELinux policy as input in CIL format and applies its rules to
3 ; a binary SELinux policy. To parse the input correctly, we require the amend policy to be a valid
/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()
/system/tools/hidl/test/hidl_test/
Dhidl_test.py62 def short_name(binary): argument
63 if "64" in binary:
/system/libfmq/tests/
Dfmq_test.py62 def short_name(binary): argument
63 if "64" in binary:

1234567891011