Home
last modified time | relevance | path

Searched refs:DebugLevel (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Virtualization/virtualizationmanager/src/
Ddebug_config.rs18 VirtualMachineAppConfig::DebugLevel::DebugLevel, VirtualMachineConfig::VirtualMachineConfig,
153 pub debug_level: DebugLevel,
161 let debug_level = get_debug_level(config).unwrap_or(DebugLevel::NONE); in new()
201 pub(crate) fn new_with_debug_level(debug_level: DebugLevel) -> Self { in new_with_debug_level()
208 self.debug_level != DebugLevel::NONE || self.debug_policy_log || self.debug_policy_adb in should_prepare_console_output()
213 self.debug_level != DebugLevel::NONE || self.debug_policy_adb in should_include_debug_apexes()
218 self.debug_level != DebugLevel::NONE || self.debug_policy_ramdump in is_ramdump_needed()
221 fn from_custom_debug_overlay_policy(debug_level: DebugLevel, path: &Path) -> Result<Self> { in from_custom_debug_overlay_policy() argument
233 fn from_host(debug_level: DebugLevel) -> Result<Self> { in from_host()
250 DebugLevel::FULL, in test_read_avf_debug_policy_with_ramdump()
[all …]
Dpayload.rs21 VirtualMachineAppConfig::DebugLevel::DebugLevel,
431 DebugLevel::NONE => "normal", in add_microdroid_system_images()
432 DebugLevel::FULL => "debuggable", in add_microdroid_system_images()
634 &DebugConfig::new_with_debug_level(DebugLevel::FULL) in test_collect_apexes()
666 &DebugConfig::new_with_debug_level(DebugLevel::NONE), in test_check_allowed_partitions_vendor_not_allowed()
693 &DebugConfig::new_with_debug_level(DebugLevel::NONE) in test_check_allowed_partitions_system_ext_allowed()
Dcrosvm.rs48 VirtualMachineAppConfig::DebugLevel::DebugLevel,
927 if config.debug_config.debug_level == DebugLevel::NONE in run_vm()
Daidl.rs42 VirtualMachineAppConfig::{DebugLevel::DebugLevel, Payload::Payload, VirtualMachineAppConfig},
1419 if get_debug_level(config) == Some(DebugLevel::NONE) { in check_gdb_allowed()
/packages/modules/Virtualization/pvmfw/src/
Ddice.rs26 use pvmfw_avb::{Capability, DebugLevel, Digest, VerifiedBootData};
58 fn to_dice_mode(debug_level: DebugLevel) -> DiceMode { in to_dice_mode()
60 DebugLevel::None => DiceMode::kDiceModeNormal, in to_dice_mode()
61 DebugLevel::Full => DiceMode::kDiceModeDebug, in to_dice_mode()
203 use pvmfw_avb::DebugLevel;
213 debug_level: DebugLevel::None,
236 let vb_data = VerifiedBootData { debug_level: DebugLevel::Full, ..BASE_VB_DATA }; in debuggable_conversion()
316 let vb_data = VerifiedBootData { debug_level: DebugLevel::Full, ..BASE_VB_DATA }; in changing_deferred_rpb_changes_secrets()
Dmain.rs54 use pvmfw_avb::DebugLevel;
113 let debuggable = verified_boot_data.debug_level != DebugLevel::None; in main()
/packages/modules/Virtualization/virtualizationservice/aidl/android/system/virtualizationservice/
DVirtualMachineAppConfig.aidl74 enum DebugLevel { enum
85 DebugLevel debugLevel = DebugLevel.NONE;
/packages/modules/Virtualization/compos/common/
Dcompos_client.rs28 CustomConfig::CustomConfig, DebugLevel::DebugLevel, Payload::Payload,
118 let debug_level = if parameters.debug_mode { DebugLevel::FULL } else { DebugLevel::NONE };
162 if ready == Err(VmWaitError::Finished) && debug_level != DebugLevel::NONE {
/packages/modules/Virtualization/pvmfw/avb/tests/
Dapi_test.rs22 use pvmfw_avb::{verify_payload, Capability, DebugLevel, PvmfwVerifyError, VerifiedBootData};
48 DebugLevel::None, in latest_normal_payload_passes_verification()
57 DebugLevel::Full, in latest_debug_payload_passes_verification()
73 debug_level: DebugLevel::None, in payload_expecting_no_initrd_passes_verification_with_no_initrd()
117 debug_level: DebugLevel::None, in payload_expecting_no_initrd_passes_verification_with_service_vm_prop()
404 debug_level: DebugLevel::None, in payload_with_rollback_index()
Dutils.rs26 verify_payload, Capability, DebugLevel, Digest, PvmfwVerifyError, VerifiedBootData,
105 expected_debug_level: DebugLevel, in assert_latest_payload_verification_passes() argument
/packages/modules/Virtualization/vm/src/
Dmain.rs23 PartitionType::PartitionType, VirtualMachineAppConfig::DebugLevel::DebugLevel,
91 debug: DebugLevel,
329 fn parse_debug_level(s: &str) -> Result<DebugLevel, String> { in parse_debug_level() argument
331 "none" => Ok(DebugLevel::NONE), in parse_debug_level()
332 "full" => Ok(DebugLevel::FULL), in parse_debug_level()
Drun.rs23 CustomConfig::CustomConfig, DebugLevel::DebugLevel, Payload::Payload,
323 let debug_level = get_debug_level(config).unwrap_or(DebugLevel::NONE); in run()
327 if debug_level == DebugLevel::FULL { "debuggable VM" } else { "VM" }, in run()
/packages/modules/Virtualization/pvmfw/avb/src/
Dverify.rs37 pub debug_level: DebugLevel,
59 pub enum DebugLevel { enum
273 debug_level: DebugLevel::None, in verify_payload()
285 (DebugLevel::None, hash_descriptors.initrd_normal) in verify_payload()
287 (DebugLevel::Full, hash_descriptors.initrd_debug) in verify_payload()
Dlib.rs27 pub use verify::{verify_payload, Capability, DebugLevel, Digest, VerifiedBootData};
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/
DVirtualMachineConfig.java113 public @interface DebugLevel {} annotation in VirtualMachineConfig
166 @DebugLevel private final int mDebugLevel;
242 @DebugLevel int debugLevel, in VirtualMachineConfig()
342 @DebugLevel int debugLevel = b.getInt(KEY_DEBUGLEVEL); in fromPersistableBundle()
502 @DebugLevel
759 vsConfig.debugLevel = VirtualMachineAppConfig.DebugLevel.FULL; in toVsConfig()
762 vsConfig.debugLevel = VirtualMachineAppConfig.DebugLevel.NONE; in toVsConfig()
863 @DebugLevel private int mDebugLevel = DEBUG_LEVEL_NONE;
1077 public Builder setDebugLevel(@DebugLevel int debugLevel) { in setDebugLevel()
/packages/modules/Virtualization/libs/vmconfig/src/
Dlib.rs21 aidl::android::system::virtualizationservice::VirtualMachineAppConfig::DebugLevel::DebugLevel,
136 pub fn get_debug_level(config: &VirtualMachineConfig) -> Option<DebugLevel> { in get_debug_level() argument
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalAidlImp.java25 import android.hardware.wifi.hostapd.DebugLevel;
593 ? DebugLevel.DEBUG : DebugLevel.INFO); in setDebugParams()
DHostapdHalHidlImp.java23 import android.hardware.wifi.hostapd.V1_2.DebugLevel;
1323 ? DebugLevel.DEBUG in setDebugParams()
1324 : DebugLevel.INFO); in setDebugParams()
/packages/modules/Virtualization/demo_native/
Dmain.cpp208 app_config.debugLevel = VirtualMachineAppConfig::DebugLevel::FULL; in create_vm_config()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalAidlImpTest.java46 import android.hardware.wifi.hostapd.DebugLevel;
741 .setDebugParams(eq(DebugLevel.DEBUG)); in testSetLogLevel()
745 .setDebugParams(eq(DebugLevel.INFO)); in testSetLogLevel()
DSupplicantStaIfaceHalAidlImplTest.java69 import android.hardware.wifi.supplicant.DebugLevel;
324 .setDebugParams(eq(DebugLevel.INFO), eq(false), eq(false)); in testDuplicateSetupIface_Fails()
1653 .setDebugParams(eq(DebugLevel.DEBUG), eq(false), eq(false)); in testSetLogLevel()
1670 .setDebugParams(eq(DebugLevel.DEBUG), eq(false), eq(true)); in testSetLogLevelWithShowKeyEnabled()
1687 .setDebugParams(eq(DebugLevel.INFO), eq(false), eq(false)); in testVerboseLoggingDisabledWithShowKeyEnabled()
DSupplicantStaIfaceHalHidlImplTest.java59 import android.hardware.wifi.supplicant.DebugLevel;
452 .setDebugParams(eq(DebugLevel.INFO), eq(false), eq(false)); in testDuplicateSetupIfaceV1_1_Fails()
1969 .setDebugParams(eq(ISupplicant.DebugLevel.DEBUG), eq(false), eq(false)); in testSetLogLevel()
1987 .setDebugParams(eq(ISupplicant.DebugLevel.DEBUG), eq(false), eq(true)); in testSetLogLevelWithShowKeyEnabled()
2005 .setDebugParams(eq(ISupplicant.DebugLevel.INFO), eq(false), eq(false)); in testVerboseLoggingDisabledWithShowKeyEnabled()
DHostapdHalHidlImpTest.java32 import android.hardware.wifi.hostapd.V1_2.DebugLevel;
1031 .setDebugParams(eq(DebugLevel.DEBUG)); in testSetLogLevel()
1035 .setDebugParams(eq(DebugLevel.INFO)); in testSetLogLevel()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalAidlImpl.java21 import android.hardware.wifi.supplicant.DebugLevel;
144 ? DebugLevel.DEBUG in setLogLevel()
145 : DebugLevel.INFO; in setLogLevel()
DSupplicantP2pIfaceHalHidlImpl.java166 ? ISupplicant.DebugLevel.DEBUG in setLogLevel()
167 : ISupplicant.DebugLevel.INFO; in setLogLevel()

12