/aosp12/packages/modules/adb/libs/adbconnection/ |
H A D | adbconnection_client.cpp | 65 std::optional<bool> debuggable; in adbconnection_client_new() local 80 case AdbConnectionClientInfoType::debuggable: in adbconnection_client_new() 81 if (debuggable) { in adbconnection_client_new() 85 debuggable = info->data.debuggable; in adbconnection_client_new() 111 if (!debuggable) { in adbconnection_client_new() 170 ProcessInfo process(*pid, *debuggable, *profileable, *architecture); in adbconnection_client_new()
|
/aosp12/frameworks/base/core/jni/ |
H A D | com_android_internal_content_NativeLibraryHelper.cpp | 309 NativeLibrariesIterator(ZipFileRO* zipFile, bool debuggable, void* cookie) in NativeLibrariesIterator() argument 315 static NativeLibrariesIterator* create(ZipFileRO* zipFile, bool debuggable) { in create() argument 322 return new NativeLibrariesIterator(zipFile, debuggable, cookie); in create() 390 jboolean debuggable, iterFunc callFunc, void* callArg) { in iterateOverNativeFiles() argument 397 NativeLibrariesIterator::create(zipFile, debuggable)); in iterateOverNativeFiles() 432 jboolean debuggable) { in findSupportedAbi() argument 447 NativeLibrariesIterator::create(zipFile, debuggable)); in findSupportedAbi() 489 jboolean extractNativeLibs, jboolean debuggable) in com_android_internal_content_NativeLibraryHelper_copyNativeBinaries() argument 492 return (jint) iterateOverNativeFiles(env, apkHandle, javaCpuAbi, debuggable, in com_android_internal_content_NativeLibraryHelper_copyNativeBinaries() 498 jlong apkHandle, jstring javaCpuAbi, jboolean debuggable) in com_android_internal_content_NativeLibraryHelper_sumNativeBinaries() argument [all …]
|
/aosp12/packages/modules/Virtualization/compos/src/ |
H A D | pvm_exec.rs | 49 fn spawn_fd_server(metadata: &Metadata, debuggable: bool) -> Result<Minijail> { in spawn_fd_server() 50 let mut inheritable_fds = if debuggable { in spawn_fd_server() 89 debuggable: bool, field 135 let debuggable = matches.is_present("debug"); in parse_args() localVariable 140 debuggable, in parse_args() 146 let Config { args, metadata, debuggable } = parse_args()?; in main() 149 let fd_server_jail = spawn_fd_server(&metadata, debuggable)?; in main()
|
H A D | compsvc.rs | 54 debuggable: bool, field 69 let inheritable_fds = if self.debuggable { in run_worker_in_jail_and_wait() 92 if self.debuggable { in build_worker_args() 137 debuggable: matches.is_present("debug"), in parse_args()
|
H A D | compsvc_worker.rs | 62 let preserve_fds = if config.debuggable { in spawn_authfs() 114 if config.debuggable { in spawn_jailed_task() 138 debuggable: bool, field 194 let debuggable = matches.is_present("debug"); in parse_args() localVariable 196 Ok(Config { authfs_root, in_fds, out_fds, args, debuggable }) in parse_args()
|
/aosp12/frameworks/base/core/java/com/android/internal/content/ |
H A D | NativeLibraryHelper.java | 86 final boolean debuggable; field in NativeLibraryHelper.Handle 105 boolean extractNativeLibs, boolean debuggable) throws IOException { in create() argument 122 return new Handle(apkPaths, apkHandles, multiArch, extractNativeLibs, debuggable); in create() 138 boolean extractNativeLibs, boolean debuggable) { in Handle() argument 143 this.debuggable = debuggable; in Handle() 176 boolean debuggable); in nativeSumNativeBinaries() argument 179 String abiToCopy, boolean extractNativeLibs, boolean debuggable); in nativeCopyNativeBinaries() argument 184 sum += nativeSumNativeBinaries(apkHandle, abi, handle.debuggable); in sumNativeBinaries() 200 handle.extractNativeLibs, handle.debuggable); in copyNativeBinaries() 218 final int res = nativeFindSupportedAbi(apkHandle, supportedAbis, handle.debuggable); in findSupportedAbi() [all …]
|
/aosp12/libnativehelper/ |
H A D | JniInvocation.c | 58 char debuggable[PROP_VALUE_MAX] = {0}; in IsDebuggable() local 59 __system_property_get("ro.debuggable", debuggable); in IsDebuggable() 60 return strcmp(debuggable, "1") == 0; in IsDebuggable() 130 bool debuggable = IsDebuggable(); in JniInvocationGetLibrary() local 135 return JniInvocationGetLibraryWith(library, debuggable, system_preferred_library); in JniInvocationGetLibrary()
|
/aosp12/packages/modules/adb/daemon/ |
H A D | jdwp_service.cpp | 195 if (!proc->process.debuggable) continue; in jdwp_process_list() 216 if (!proc->process.debuggable && !proc->process.profileable) continue; in app_process_list() 219 entry->set_debuggable(proc->process.debuggable); in app_process_list() 291 bool debuggable = proc->process.debuggable; in jdwp_process_event() 294 if (debuggable) jdwp_process_list_updated(); in jdwp_process_event() 295 if (debuggable || profileable) app_process_list_updated(); in jdwp_process_event() 303 if (!proc->process.debuggable) continue; in create_jdwp_connection_fd() 505 if (process.debuggable) jdwp_process_list_updated(); in init_jdwp() 506 if (process.debuggable || process.profileable) app_process_list_updated(); in init_jdwp()
|
/aosp12/packages/modules/adb/libs/adbconnection/include/adbconnection/ |
H A D | process_info.h | 27 bool debuggable; member 32 ProcessInfo() : pid(0), debuggable(false), profileable(false), arch_name_length(0) {} in ProcessInfo() 35 : pid(pid), debuggable(dbg), profileable(prof) { in ProcessInfo()
|
H A D | client.h | 30 debuggable, enumerator 39 bool debuggable; member
|
/aosp12/system/core/llkd/ |
H A D | Android.bp | 29 debuggable: { 53 debuggable: { 54 init_rc: ["llkd-debuggable.rc"],
|
H A D | llkd-debuggable.rc | 1 on property:ro.debuggable=1 6 setprop llk.enable ${ro.debuggable:-0} 9 setprop khungtask.enable ${ro.debuggable:-0}
|
/aosp12/system/sepolicy/prebuilts/api/31.0/private/ |
H A D | runas_app.te | 9 # when using run-as on a debuggable app. Used to run lldb/ndk-gdb/simpleperf, 13 # Allow lldb/ndk-gdb/simpleperf to read maps of debuggable app processes. 16 # Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes. 29 # Allow runas_app to call perf_event_open for profiling debuggable app
|
/aosp12/system/sepolicy/prebuilts/api/30.0/private/ |
H A D | runas_app.te | 9 # when using run-as on a debuggable app. Used to run lldb/ndk-gdb/simpleperf, 13 # Allow lldb/ndk-gdb/simpleperf to read maps of debuggable app processes. 16 # Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes. 29 # Allow runas_app to call perf_event_open for profiling debuggable app
|
/aosp12/system/sepolicy/prebuilts/api/32.0/private/ |
H A D | runas_app.te | 9 # when using run-as on a debuggable app. Used to run lldb/ndk-gdb/simpleperf, 13 # Allow lldb/ndk-gdb/simpleperf to read maps of debuggable app processes. 16 # Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes. 29 # Allow runas_app to call perf_event_open for profiling debuggable app
|
/aosp12/system/sepolicy/private/ |
H A D | runas_app.te | 9 # when using run-as on a debuggable app. Used to run lldb/ndk-gdb/simpleperf, 13 # Allow lldb/ndk-gdb/simpleperf to read maps of debuggable app processes. 16 # Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes. 29 # Allow runas_app to call perf_event_open for profiling debuggable app
|
/aosp12/system/core/libpackagelistparser/ |
H A D | packagelistparser.cpp | 67 int debuggable; in parse_line() local 72 sscanf(line, "%ms %lu %d %ms %ms %ms %d %ld", &info->name, &uid, &debuggable, &info->data_dir, in parse_line() 95 info->debuggable = debuggable; in parse_line()
|
H A D | packagelistparser_test.cpp | 52 ASSERT_FALSE(packages[0]->debuggable); in TEST() 61 ASSERT_TRUE(packages[1]->debuggable); in TEST() 71 ASSERT_FALSE(packages[2]->debuggable); in TEST() 82 ASSERT_FALSE(packages[3]->debuggable); in TEST()
|
/aosp12/system/sepolicy/prebuilts/api/29.0/private/ |
H A D | runas_app.te | 9 # when using run-as on a debuggable app. Used to run lldb/ndk-gdb/simpleperf, 13 # Allow lldb/ndk-gdb/simpleperf to read maps of debuggable app processes. 16 # Allow lldb/ndk-gdb/simpleperf to ptrace attach to debuggable app processes.
|
/aosp12/frameworks/native/cmds/installd/ |
H A D | run_dex2oat.cpp | 81 bool debuggable, in Initialize() argument 96 debuggable, target_sdk_version, enable_hidden_api_checks, in Initialize() 183 bool debuggable, in PrepareCompilerConfigFlags() argument 265 if (!debuggable) { in PrepareCompilerConfigFlags() 266 debuggable = GetProperty("dalvik.vm.always_debuggable", "") == "1"; in PrepareCompilerConfigFlags() 268 if (debuggable) { in PrepareCompilerConfigFlags()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
H A D | OverrideValidatorImplTest.java | 106 .debuggable() in getOverrideAllowedState_debugBuildAnyChangeDebugApp_allowOverride() 191 .debuggable() in getOverrideAllowedState_betaBuildTargetSdkChangeDebugApp_allowOverride() 223 .debuggable() in getOverrideAllowedState_betaBuildEnabledChangeDebugApp_allowOverride() 241 .debuggable() in getOverrideAllowedState_betaBuildDisabledChangeDebugApp_allowOverride() 303 .debuggable() in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptin_allowOverride() 329 .debuggable() in getOverrideAllowedState_finalBuildTargetSdkChangeDebugAppOptout_rejectOverride() 350 .debuggable() in getOverrideAllowedState_targetSdkChangeGreaterThanOsVersion_rejectOverride() 369 .debuggable().build()); in getOverrideAllowedState_finalBuildEnabledChangeDebugApp_rejectOverride() 388 .debuggable().build()); in getOverrideAllowedState_finalBuildDisabledChangeDebugApp_allowOverride() 490 .debuggable() in getOverrideAllowedState_forceFinalBuildTargetSdkChangeDebugAppOptin_allowOverride() [all …]
|
/aosp12/art/tools/checker/file_format/checker/ |
H A D | parser.py | 27 def _extract_line(prefix, line, arch=None, debuggable=False): argument 35 dbg_specifier = "-DEBUGGABLE" if debuggable else "" 89 for debuggable in [True, False]: 92 start_line = _extract_line(prefix + "-START", sline, arch, debuggable) 94 return None, start_line, (arch, debuggable)
|
/aosp12/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInfoLite.java | 79 public boolean debuggable; field in PackageInfoLite 116 dest.writeInt(debuggable ? 1 : 0); in writeToParcel() 148 debuggable = (source.readInt() != 0); in PackageInfoLite()
|
/aosp12/frameworks/base/tools/aapt2/link/ |
H A D | ManifestFixer_test.cpp | 713 <application android:debuggable="false"> in TEST_F() 720 <application android:debuggable="true"> in TEST_F() 728 {}, "application", xml::kSchemaAndroid, "debuggable", "true"), NotNull()); in TEST_F() 734 {}, "application", xml::kSchemaAndroid, "debuggable", "true"), NotNull()); in TEST_F() 739 {}, "application", xml::kSchemaAndroid, "debuggable", "true"), NotNull()); in TEST_F() 745 {}, "application", xml::kSchemaAndroid, "debuggable", "true"), IsNull()); in TEST_F() 751 {}, "application", xml::kSchemaAndroid, "debuggable", "true"), IsNull()); in TEST_F() 757 {}, "application", xml::kSchemaAndroid, "debuggable", "true"), NotNull()); in TEST_F()
|
/aosp12/art/runtime/ |
H A D | jdwp_provider.h | 44 inline JdwpProvider CanonicalizeJdwpProvider(JdwpProvider p, bool debuggable) { in CanonicalizeJdwpProvider() argument 48 if (debuggable) { in CanonicalizeJdwpProvider()
|