/system/core/adb/ |
D | adb_utils_test.cpp | 89 auto wrap = [](const std::string& x) { return '\'' + x + '\''; }; local 91 EXPECT_EQ(wrap(q), escape_arg("'")); 92 EXPECT_EQ(wrap(q + q), escape_arg("''")); 93 EXPECT_EQ(wrap(q + "abc" + q), escape_arg("'abc'")); 94 EXPECT_EQ(wrap(q + "abc"), escape_arg("'abc")); 95 EXPECT_EQ(wrap("abc" + q), escape_arg("abc'")); 96 EXPECT_EQ(wrap("abc" + q + "def"), escape_arg("abc'def")); 97 EXPECT_EQ(wrap("a" + q + "b" + q + "c"), escape_arg("a'b'c")); 98 EXPECT_EQ(wrap("a" + q + "bcde" + q + "f"), escape_arg("a'bcde'f"));
|
/system/chre/build/arch/ |
D | hexagon.mk | 63 TARGET_SO_LDFLAGS += --wrap=malloc 64 TARGET_SO_LDFLAGS += --wrap=calloc 65 TARGET_SO_LDFLAGS += --wrap=free 66 TARGET_SO_LDFLAGS += --wrap=realloc 67 TARGET_SO_LDFLAGS += --wrap=memalign 68 TARGET_SO_LDFLAGS += --wrap=__stack_chk_fail
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/ |
D | profiling.gradle | 16 // Exclude wrap.sh for architectures not built. 21 .collect{ "**/" + it + "/wrap.sh" } 26 // Add lib/xxx/wrap.sh in the apk. This is to enable java profiling on Android O 52 def wrapFile = new File(dir, "wrap.sh")
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/ |
D | profiling.gradle | 17 // Exclude wrap.sh for architectures not built. 22 .collect{ "**/" + it + "/wrap.sh" } 27 // Add lib/xxx/wrap.sh in the apk. This is to enable java profiling on Android O 53 def wrapFile = new File(dir, "wrap.sh")
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/ |
D | profiling.gradle | 17 // Exclude wrap.sh for architectures not built. 22 .collect{ "**/" + it + "/wrap.sh" } 27 // Add lib/xxx/wrap.sh in the apk. This is to enable java profiling on Android O 53 def wrapFile = new File(dir, "wrap.sh")
|
/system/tools/hidl/build/ |
D | hidl_interface.go | 155 "extras": strings.Join(wrap("{\\\"interface\\\":\\\"", additionalInterfaces, "\\\"},"), " "), 200 "files": strings.Join(wrap("-f ", hidlLintOutputs.Strings(), ""), " "), 363 ctx.AddDependency(ctx.Module(), nil, wrap("", g.properties.Interfaces, hidlInterfaceSuffix)...) 658 Outputs: concat(wrap(name.dir(), interfaces, "All.cpp"), wrap(name.dir(), types, ".cpp")), 668 Outputs: concat(wrap(name.dir()+"I", interfaces, ".h"), 669 wrap(name.dir()+"Bs", interfaces, ".h"), 670 wrap(name.dir()+"BnHw", interfaces, ".h"), 671 wrap(name.dir()+"BpHw", interfaces, ".h"), 672 wrap(name.dir()+"IHw", interfaces, ".h"), 673 wrap(name.dir(), types, ".h"), [all …]
|
D | utils.go | 18 func wrap(prefix string, strs []string, suffix string) []string { func
|
/system/chre/util/include/chre/util/ |
D | buffer.h | 72 void wrap(ElementType *buffer, size_t size) { in wrap() function 73 BufferBase::wrap(buffer, size); in wrap()
|
D | buffer_base.h | 46 void wrap(void *buffer, size_t size);
|
/system/netd/libnetdutils/ |
D | Slice.cpp | 38 std::string toHex(const Slice s, int wrap) { in toHex() argument 46 if ((++count % wrap) == 0) { in toHex()
|
/system/chre/util/tests/ |
D | buffer_test.cc | 41 buffer.wrap(buf, ARRAY_SIZE(buf)); in TEST() 71 buffer.wrap(buf, ARRAY_SIZE(buf)); in TEST()
|
/system/chre/util/ |
D | buffer_base.cc | 29 void BufferBase::wrap(void *buffer, size_t size) { in wrap() function in chre::BufferBase
|
/system/core/fs_mgr/ |
D | fs_mgr_remount.cpp | 267 auto wrap = is_wrapped(overlayfs_candidates, *it); in do_remount() local 268 if (wrap) { in do_remount() 270 << wrap->mount_point << ", switching"; in do_remount() 271 partition = system_mount_point(*wrap); in do_remount()
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | PatchUtils.java | 38 ByteBuffer buf = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN); in readLELong()
|
D | ApkArchive.java | 88 long size = ByteBuffer.wrap(signature).order(ByteOrder.LITTLE_ENDIAN).getLong(); in extractMetadata()
|
/system/extras/simpleperf/doc/ |
D | android_application_profiling.md | 59 If you are on Android >= O, we can use [wrap.sh](https://developer.android.com/ndk/guides/wrap-scri… 67 Step 2: Add wrap.sh in lib/`arch` directories. wrap.sh runs the app without passing any debug flags 68 to ART, so the app runs as a release app. wrap.sh can be done by adding the script below in 91 def wrapFile = new File(dir, "wrap.sh") 113 and it also needs wrap.sh to use the compiled Java code. To compile Java code, we can pass
|
/system/chre/build/sys_support/qcom/ |
D | chre.scons | 94 env.Append(SHLINKFLAGS = '-G0 --wrap=malloc --wrap=calloc --wrap=free --wrap=realloc --wrap=memalig… 95 ' --wrap=__stack_chk_fail -call_shared ')
|
/system/chre/core/ |
D | host_comms_manager.cc | 52 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromNanoapp()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Slice.h | 138 std::string toHex(const Slice s, int wrap = INT_MAX);
|
/system/tools/aidl/build/ |
D | aidl_interface.go | 242 func wrap(prefix string, strs []string, suffix string) []string { func 347 g.importFlags = strings.Join(wrap("-I", importPaths, ""), " ") 502 ctx.AddDependency(ctx.Module(), nil, wrap("", g.properties.Imports, aidlInterfaceSuffix)...) 614 "imports": strings.Join(wrap("-I", importPaths, ""), " "), 835 ctx.AddDependency(ctx.Module(), nil, wrap("", m.properties.Imports, aidlInterfaceSuffix)...) 1296 importExportDependencies := wrap("", i.properties.Imports, "-"+lang) 1423 Static_libs: wrap("", i.properties.Imports, "-java"), 1585 "types": strings.Join(wrap(`\"`, info.ComputedTypes, `\"`), ", "),
|
/system/memory/libmemunreachable/ |
D | README.md | 23 adb shell setprop wrap.[process] "\$\@" 33 adb shell setprop wrap.[process] "''"
|
/system/update_engine/scripts/ |
D | payload_info.py | 140 ext_str = '\n '.join(textwrap.wrap(ext_str, 74))
|
/system/extras/verity/ |
D | BootSignature.java | 206 ByteBuffer image = ByteBuffer.wrap(data); in getSignableImageSize()
|
/system/chre/platform/shared/idl/ |
D | host_messages.fbs | 268 /// structure (root type), so we must wrap it in a table.
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | file.te | 337 # asanwrapper (run a sanitized app_process, to be used with wrap properties)
|