From 4603d830dfa79edb45dea234a570c73bb11084d0 Mon Sep 17 00:00:00 2001 From: Retype GitHub Action Date: Fri, 1 Mar 2024 20:51:31 +0000 Subject: [PATCH] Refreshes Retype-generated documentation. Process triggered by electrikjesus. --- 404.html | 8 +- code_of_conduct/index.html | 8 +- .../calibrate-and-configure-iptsd/index.html | 10 +- .../index.html | 8 +- development/build-bliss-os-11.x/index.html | 8 +- development/build-bliss-os-14.x/index.html | 8 +- development/build-bliss-os-15.x/index.html | 8 +- .../contributing-documentation/index.html | 8 +- development/development-faq/index.html | 8 +- .../gui-method-build-bliss-os-14.x/index.html | 8 +- .../maintaining-proper-authorship/index.html | 8 +- development/porting-linux-drivers/index.html | 8 +- development/what-are-linux-drivers/index.html | 8 +- index.html | 8 +- installation/advanced-installation/index.html | 8 +- .../collecting-bug-reports/index.html | 8 +- .../install-from-bootable-usb/index.html | 8 +- .../advanced-qemu-config/index.html | 10 +- .../install-in-a-virtual-machine/index.html | 8 +- .../install-in-qemu/index.html | 8 +- .../install-in-virtualbox/index.html | 8 +- installation/install-on-mac-os/index.html | 8 +- installation/live-boot-bliss-os/index.html | 8 +- .../manual-install-on-linux/index.html | 8 +- installation/run-from-docker/index.html | 8 +- .../syslinux-efi-stub-installation/index.html | 8 +- .../updating-bliss-os-ag-builds/index.html | 8 +- installation/using-auto-install/index.html | 8 +- .../using-the-windows-installer/index.html | 8 +- .../blissethernetmanager/index.html | 8 +- .../blisskiosklauncher/index.html | 12 +- .../power-management-aidl/index.html | 373 ++++++++++++++++++ .../xda-threads/index.html | 12 +- .../build-filenames/index.html | 8 +- .../desktop-mode/index.html | 8 +- .../frequently-asked-questions/faq/index.html | 8 +- .../hardware-compatibility/index.html | 8 +- .../how-to-log/index.html | 8 +- .../keyboard-shortcuts/index.html | 8 +- .../sandboxing-apps/index.html | 8 +- .../vulkan-mode/index.html | 8 +- .../other-bliss-variant/go-builds/index.html | 8 +- .../surface-builds/index.html | 8 +- .../zenith-builds/index.html | 8 +- .../advanced-android-x86-installer/index.html | 8 +- .../gearlock/index.html | 8 +- .../linux-android-x86-installer/index.html | 8 +- .../troubleshooting/debug-booting/index.html | 8 +- .../edit-grub-from-bliss-install/index.html | 8 +- .../graphics-troubleshooting/index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- .../remount-system-as-read-write/index.html | 8 +- .../troubleshooting/sound-issues/index.html | 8 +- .../touch-orientation/index.html | 8 +- .../troubleshooting/wifi-issues/index.html | 8 +- resources/js/config.js | 2 +- resources/js/search.json | 2 +- sitemap.xml.gz | Bin 1137 -> 1153 bytes 61 files changed, 609 insertions(+), 236 deletions(-) create mode 100644 knowledgebase/bliss-bass/interfaces/power-management-aidl/index.html diff --git a/404.html b/404.html index 3f2b6356..5e4938c5 100644 --- a/404.html +++ b/404.html @@ -3,7 +3,7 @@ - + @@ -27,11 +27,11 @@ - + - + - +
diff --git a/code_of_conduct/index.html b/code_of_conduct/index.html index af59217a..49634f4e 100644 --- a/code_of_conduct/index.html +++ b/code_of_conduct/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/configuration/calibrate-and-configure-iptsd/index.html b/configuration/calibrate-and-configure-iptsd/index.html index efb2140f..1ebb2f07 100644 --- a/configuration/calibrate-and-configure-iptsd/index.html +++ b/configuration/calibrate-and-configure-iptsd/index.html @@ -3,7 +3,7 @@ - + @@ -30,12 +30,12 @@ - + - + - - + +
diff --git a/configuration/configuration-through-command-line-parameters/index.html b/configuration/configuration-through-command-line-parameters/index.html index d59d1ef5..cc3eff26 100644 --- a/configuration/configuration-through-command-line-parameters/index.html +++ b/configuration/configuration-through-command-line-parameters/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/build-bliss-os-11.x/index.html b/development/build-bliss-os-11.x/index.html index c5fe1910..7b7d99c2 100644 --- a/development/build-bliss-os-11.x/index.html +++ b/development/build-bliss-os-11.x/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/build-bliss-os-14.x/index.html b/development/build-bliss-os-14.x/index.html index f0fd3f0f..5273dd7a 100644 --- a/development/build-bliss-os-14.x/index.html +++ b/development/build-bliss-os-14.x/index.html @@ -3,7 +3,7 @@ - + @@ -32,11 +32,11 @@ - + - + - +
diff --git a/development/build-bliss-os-15.x/index.html b/development/build-bliss-os-15.x/index.html index bf604cc1..08e49e00 100644 --- a/development/build-bliss-os-15.x/index.html +++ b/development/build-bliss-os-15.x/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/contributing-documentation/index.html b/development/contributing-documentation/index.html index 651d8aec..774c9b14 100644 --- a/development/contributing-documentation/index.html +++ b/development/contributing-documentation/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/development-faq/index.html b/development/development-faq/index.html index 0f1b1375..08f1e277 100644 --- a/development/development-faq/index.html +++ b/development/development-faq/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/gui-method-build-bliss-os-14.x/index.html b/development/gui-method-build-bliss-os-14.x/index.html index 5260803c..169f39e8 100644 --- a/development/gui-method-build-bliss-os-14.x/index.html +++ b/development/gui-method-build-bliss-os-14.x/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/maintaining-proper-authorship/index.html b/development/maintaining-proper-authorship/index.html index 454e5e22..fb8cacf9 100644 --- a/development/maintaining-proper-authorship/index.html +++ b/development/maintaining-proper-authorship/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/porting-linux-drivers/index.html b/development/porting-linux-drivers/index.html index 38ddf948..8384027e 100644 --- a/development/porting-linux-drivers/index.html +++ b/development/porting-linux-drivers/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/development/what-are-linux-drivers/index.html b/development/what-are-linux-drivers/index.html index 33f8e244..48ee3f82 100644 --- a/development/what-are-linux-drivers/index.html +++ b/development/what-are-linux-drivers/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/index.html b/index.html index 8905f88c..df06448c 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/advanced-installation/index.html b/installation/advanced-installation/index.html index 01696551..fb6741af 100644 --- a/installation/advanced-installation/index.html +++ b/installation/advanced-installation/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/collecting-bug-reports/index.html b/installation/collecting-bug-reports/index.html index 2f312e9a..b7f19c56 100644 --- a/installation/collecting-bug-reports/index.html +++ b/installation/collecting-bug-reports/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/install-from-bootable-usb/index.html b/installation/install-from-bootable-usb/index.html index 8c4ae38e..858d9609 100644 --- a/installation/install-from-bootable-usb/index.html +++ b/installation/install-from-bootable-usb/index.html @@ -3,7 +3,7 @@ - + @@ -32,11 +32,11 @@ - + - + - +
diff --git a/installation/install-in-a-virtual-machine/advanced-qemu-config/index.html b/installation/install-in-a-virtual-machine/advanced-qemu-config/index.html index 9c53096d..dba33244 100644 --- a/installation/install-in-a-virtual-machine/advanced-qemu-config/index.html +++ b/installation/install-in-a-virtual-machine/advanced-qemu-config/index.html @@ -3,7 +3,7 @@ - + @@ -30,12 +30,12 @@ - + - + - - + +
diff --git a/installation/install-in-a-virtual-machine/index.html b/installation/install-in-a-virtual-machine/index.html index 19c4d2d5..69b174b0 100644 --- a/installation/install-in-a-virtual-machine/index.html +++ b/installation/install-in-a-virtual-machine/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/install-in-a-virtual-machine/install-in-qemu/index.html b/installation/install-in-a-virtual-machine/install-in-qemu/index.html index 3c9f170e..438fca25 100644 --- a/installation/install-in-a-virtual-machine/install-in-qemu/index.html +++ b/installation/install-in-a-virtual-machine/install-in-qemu/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/install-in-a-virtual-machine/install-in-virtualbox/index.html b/installation/install-in-a-virtual-machine/install-in-virtualbox/index.html index b0b4eab9..574025ff 100644 --- a/installation/install-in-a-virtual-machine/install-in-virtualbox/index.html +++ b/installation/install-in-a-virtual-machine/install-in-virtualbox/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/install-on-mac-os/index.html b/installation/install-on-mac-os/index.html index ddb9b943..1f17c6a7 100644 --- a/installation/install-on-mac-os/index.html +++ b/installation/install-on-mac-os/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/live-boot-bliss-os/index.html b/installation/live-boot-bliss-os/index.html index 313bba18..01eb7bb3 100644 --- a/installation/live-boot-bliss-os/index.html +++ b/installation/live-boot-bliss-os/index.html @@ -3,7 +3,7 @@ - + @@ -32,11 +32,11 @@ - + - + - +
diff --git a/installation/manual-install-on-linux/index.html b/installation/manual-install-on-linux/index.html index 9c03c23c..35a3cdc9 100644 --- a/installation/manual-install-on-linux/index.html +++ b/installation/manual-install-on-linux/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/run-from-docker/index.html b/installation/run-from-docker/index.html index 3081c055..f6462b1a 100644 --- a/installation/run-from-docker/index.html +++ b/installation/run-from-docker/index.html @@ -3,7 +3,7 @@ - + @@ -32,11 +32,11 @@ - + - + - +
diff --git a/installation/syslinux-efi-stub-installation/index.html b/installation/syslinux-efi-stub-installation/index.html index 43989be9..17bb3fe5 100644 --- a/installation/syslinux-efi-stub-installation/index.html +++ b/installation/syslinux-efi-stub-installation/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/updating-bliss-os-ag-builds/index.html b/installation/updating-bliss-os-ag-builds/index.html index 336a5459..007b7777 100644 --- a/installation/updating-bliss-os-ag-builds/index.html +++ b/installation/updating-bliss-os-ag-builds/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/using-auto-install/index.html b/installation/using-auto-install/index.html index 63d31ff9..aec7fac2 100644 --- a/installation/using-auto-install/index.html +++ b/installation/using-auto-install/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
diff --git a/installation/using-the-windows-installer/index.html b/installation/using-the-windows-installer/index.html index 87558393..3f74ba44 100644 --- a/installation/using-the-windows-installer/index.html +++ b/installation/using-the-windows-installer/index.html @@ -3,7 +3,7 @@ - + @@ -32,11 +32,11 @@ - + - + - +
diff --git a/knowledgebase/bliss-bass/applications/blissethernetmanager/index.html b/knowledgebase/bliss-bass/applications/blissethernetmanager/index.html index d87770cd..529415ed 100644 --- a/knowledgebase/bliss-bass/applications/blissethernetmanager/index.html +++ b/knowledgebase/bliss-bass/applications/blissethernetmanager/index.html @@ -3,7 +3,7 @@ - + @@ -32,11 +32,11 @@ - + - + - +
diff --git a/knowledgebase/bliss-bass/applications/blisskiosklauncher/index.html b/knowledgebase/bliss-bass/applications/blisskiosklauncher/index.html index 89cc9b97..57ce2328 100644 --- a/knowledgebase/bliss-bass/applications/blisskiosklauncher/index.html +++ b/knowledgebase/bliss-bass/applications/blisskiosklauncher/index.html @@ -3,7 +3,7 @@ - + @@ -32,11 +32,11 @@ - + - + - +
@@ -310,10 +310,10 @@

- + Next - XDA Threads + Power management aidl diff --git a/knowledgebase/bliss-bass/interfaces/power-management-aidl/index.html b/knowledgebase/bliss-bass/interfaces/power-management-aidl/index.html new file mode 100644 index 00000000..62cd886f --- /dev/null +++ b/knowledgebase/bliss-bass/interfaces/power-management-aidl/index.html @@ -0,0 +1,373 @@ + + + + + + + + + + + + Power management aidl + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + +
+ + +
+ + + +
+ +
+ + + + +
+ + + + + +
+ +
+ + +
+ + +
+ +
+
+ +
+
+ + + + +
+
+
+
+ +
+ + + + + + + + +
+ +
+
+
+
+ +
+ + +

+ # + Power management aidl +

+
+ +

+ # + Bliss Power Management AIDL Interface: +

+
+
+
package org.blissos.powermanagerclient;
+
+import androidx.appcompat.app.AppCompatActivity;
+import android.os.Bundle;
+import android.widget.Button;
+import org.blissos.powermanager.BlissPowerManager;
+
+public class MainActivity extends AppCompatActivity {
+
+   @Override
+   protected void onCreate(Bundle savedInstanceState) {
+       super.onCreate(savedInstanceState);
+       setContentView(R.layout.activity_main);
+
+       Button rebootBtn = findViewById(R.id.rebootBtn);
+       Button shutdownBtn = findViewById(R.id.shutdownBtn);
+       Button sleepBtn = findViewById(R.id.sleepBtn);
+
+       BlissPowerManager blissPowerManager = BlissPowerManager.getInstance(this);
+
+       rebootBtn.setOnClickListener(v -> blissPowerManager.reboot());
+       shutdownBtn.setOnClickListener(v -> blissPowerManager.shutdown());
+       sleepBtn.setOnClickListener(v -> blissPowerManager.sleep());
+   }
+}
+
+
    +
  1. copy paste “system_libs/bliss-power-framework.jar” from sample app

    +
  2. +
  3. gradle:

    +
  4. +
+
+
implementation fileTree(dir: 'system_libs/', include: ['*.jar'])
+
+
    +
  1. java:
  2. +
+
+
import org.blissos.powermanager.BlissPowerManager;
+
+BlissPowerManager blissPowerManager = BlissPowerManager.getInstance(this);
+blissPowerManager.reboot()
+blissPowerManager.shutdown()
+blissPowerManager.sleep()
+
+ +
+ # + ADB Interface: +
+
+
+
adb shell service call blisspower <parameters>
+
+

<parameters> is the method number in aidl

+

1: reboot

+

2: shutdown

+

3: sleep

+ + + + +
+ +
+ +
+ +
+
+ + + + + + + +
+ +
+
+ + + +
+ + +
+ + + + diff --git a/knowledgebase/external-threads-and-links/xda-threads/index.html b/knowledgebase/external-threads-and-links/xda-threads/index.html index 35e952a2..77c0c16f 100644 --- a/knowledgebase/external-threads-and-links/xda-threads/index.html +++ b/knowledgebase/external-threads-and-links/xda-threads/index.html @@ -3,7 +3,7 @@ - + @@ -30,11 +30,11 @@ - + - + - +
@@ -262,11 +262,11 @@