当前位置:   article > 正文

adb shell cmd settings

adb shell cmd settings

1 需求


2 语法

  1. Settings provider (settings) commands:
  2. help
  3. Print this help text.
  4. get [--user <USER_ID> | current] NAMESPACE KEY
  5. Retrieve the current value of KEY.
  6. put [--user <USER_ID> | current] NAMESPACE KEY VALUE [TAG] [default]
  7. Change the contents of KEY to VALUE.
  8. TAG to associate with the setting.
  9. {default} to set as the default, case-insensitive only for global/secure namespace
  10. delete NAMESPACE KEY
  11. Delete the entry for KEY.
  12. reset [--user <USER_ID> | current] NAMESPACE {PACKAGE_NAME | RESET_MODE}
  13. Reset the global/secure table for a package with mode.
  14. RESET_MODE is one of {untrusted_defaults, untrusted_clear, trusted_defaults}, case-insensitive
  15. list NAMESPACE
  16. Print all defined keys.
  17. NAMESPACE is one of {system, secure, global}, case-insensitive

3.X 示例

adb shell cmd settings list system


3.x 示例

adb shell cmd settings list secure


3.X 示例

adb shell cmd settings list global


4 参考资料

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/891873
推荐阅读
相关标签
  

闽ICP备14008679号