python-audio-autotest-3.10 1.5.11rc3__py3-none-any.whl → 1.5.12rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyaatlibs/__init__.py CHANGED
@@ -1,7 +1,7 @@
1
1
  import os
2
2
  import platform
3
3
 
4
- __version__ = "1.5.11rc3"
4
+ __version__ = "1.5.12rc1"
5
5
  __author__ = "Hao-Wei Lee"
6
6
  if platform.system() == "Windows":
7
7
  SEP = "\\"
Binary file
pyaatlibs/audioworker.py CHANGED
@@ -90,7 +90,9 @@ class AudioWorkerApp(AppInterface):
90
90
  PACKAGE = "com.google.audioworker"
91
91
  MAINACTIVITY = ".activities.MainActivity"
92
92
 
93
- DATA_FOLDER = "/storage/emulated/0/Google-AudioWorker-data"
93
+ DATA_FOLDER = (
94
+ "/storage/emulated/0/Android/data/com.google.audioworker/files/Google-AudioWorker-data"
95
+ )
94
96
 
95
97
  @staticmethod
96
98
  def get_apk_path():
@@ -102,7 +104,7 @@ class AudioWorkerApp(AppInterface):
102
104
 
103
105
  @staticmethod
104
106
  def get_apk_version():
105
- return "bc49bba-python-audio-autotest-v1.5.11"
107
+ return "a58be5e-python-audio-autotest-v1.5.12"
106
108
 
107
109
  @staticmethod
108
110
  def get_version_from_device(serialno=None):
@@ -277,7 +279,7 @@ class AudioWorkerApp(AppInterface):
277
279
 
278
280
  import traceback
279
281
  try:
280
- info_timestamp = float(out[0].strip().split("::")[1]) / 1000.
282
+ info_timestamp = float(out[0].strip().split("::")[-1]) / 1000.
281
283
  info_t = datetime.datetime.fromtimestamp(info_timestamp)
282
284
  # if (datetime.datetime.now() - info_t).total_seconds() > 1:
283
285
  # return None
@@ -762,7 +764,7 @@ class AudioWorkerToneDetectorThread(AATAppToneDetectorThread):
762
764
  adb_tictoc.tic()
763
765
  msg_in_device, _ = Adb.execute(
764
766
  cmd=["shell",
765
- "cat /storage/emulated/0/Google-AudioWorker-data/{}.txt".format(self.chandle)],
767
+ "cat {}/{}.txt".format(AudioWorkerApp.DATA_FOLDER, self.chandle)],
766
768
  serialno=self.serialno, tolog=False)
767
769
  elapsed = adb_tictoc.toc()
768
770
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-audio-autotest-3.10
3
- Version: 1.5.11rc3
3
+ Version: 1.5.12rc1
4
4
  Summary: This is a auto-testing framework of audio functions for Android devices.
5
5
  Home-page: https://github.com/HW-Lee/AudioAutoTest
6
6
  Author: Hao-Wei Lee
@@ -1,4 +1,4 @@
1
- pyaatlibs/__init__.py,sha256=c97x2Cwj35g7hEeMANaN4f9MLUpkn_EGQSP5UX3ncgw,355
1
+ pyaatlibs/__init__.py,sha256=FPtuBgCCcl-Rzj_szOsLhwv97jIF_dJxeLxuP0NG3QY,355
2
2
  pyaatlibs/aatapp.py,sha256=2oTnHnTCd4oIk_Nb218S3rO6nQfujxfVOLbQM1jeAhA,8742
3
3
  pyaatlibs/activitystatemachine.py,sha256=We5noxBtskgMUsdBOA34e8Rze8K-vuheuSBjL4RUo8Q,300
4
4
  pyaatlibs/adbutils.py,sha256=pQ0mQep_JN9NthSn5LWEd8G36ng6tpSKQSBGst52DQY,15741
@@ -7,7 +7,7 @@ pyaatlibs/argutils.py,sha256=6jOccgQlftmhUEGc3dAZ9-j0Mdg45jrhAGE-CylYjno,451
7
7
  pyaatlibs/audiofunction.py,sha256=7Lm_-dG88mK8ETRmu--vIyzXMPVPFiUbdwJmB4PQn9g,9640
8
8
  pyaatlibs/audiosignalframelogger.py,sha256=K0byfkpPAoMNNl6YdyoSGSgWbYPK1m0cLpQIPkeQlto,1446
9
9
  pyaatlibs/audiothread.py,sha256=GOEHPFtEK-P8SQNdgWeDxnHcs_vic2kTN68UCjWUiLM,6548
10
- pyaatlibs/audioworker.py,sha256=3hW4iEj8dHjIqqvfvNwWVmdVALWGfjyTtCYuNTCZvSY,28542
10
+ pyaatlibs/audioworker.py,sha256=GwkdvSbpZfCr7IQ1AUCSxEggS_r3YY8Ih9Y3g7jFP1Y,28588
11
11
  pyaatlibs/logcatlistener.py,sha256=0Dz5wM1qOsxn-KcHspD2nCJnVu5g7rzbk5ycEDvxG08,6213
12
12
  pyaatlibs/logger.py,sha256=13Kx86hzFTbynWG5hKrWiCsT8gYk0-6ER98aOLiMJfY,5224
13
13
  pyaatlibs/signalanalyzer.py,sha256=F1TiLAqqSHLpm4KgslRgu7hjj4iRX1qyCZMDI21oxls,306
@@ -15,11 +15,11 @@ pyaatlibs/signalmatcher.py,sha256=6A4mLf6GLbQzdM0wFbHqDfyWvgpZRci90kaOrLeV8B0,18
15
15
  pyaatlibs/timeutils.py,sha256=yEgZGcHf_ASyXr0Mcef0toEa4zXX4j3FyQayaF1sN8I,2613
16
16
  pyaatlibs/trials.py,sha256=hSYIvR1vsEqfu20eLDeh3oDCCTWvHQcvS6LKfScLB30,2469
17
17
  pyaatlibs/apk/audiofunctionsdemo.apk,sha256=GG06POXrPOphMNsm5pD4XPfzVF8FXQ1ruupJFO2V8iQ,3205247
18
- pyaatlibs/apk/audioworker.apk,sha256=TJSRC3RVzu4tfTvC6nvMzBXV7hJXYFvt1zCtkMbFIYw,28933325
18
+ pyaatlibs/apk/audioworker.apk,sha256=crAALQtroYk-AKvGn_W8EDlZUCgNRZdhdYfWWI40l5Q,28921400
19
19
  pyaatlibs/tests/audioworker_test.py,sha256=oKwi7TGh3apYG1SJlTYWTbCazJZya7wOCtYiytQvea8,20977
20
20
  pyaatlibs/tests/conftest.py,sha256=Ng_ClpNsY-62bo8O0zCl702jy9AcwdteakJ1vhlOCTk,293
21
- python_audio_autotest_3_10-1.5.11rc3.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
22
- python_audio_autotest_3_10-1.5.11rc3.dist-info/METADATA,sha256=UOFtjTmaJpS4p-t1bH0TVHDSCo9QWsLcChw0kaexq9k,5242
23
- python_audio_autotest_3_10-1.5.11rc3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
- python_audio_autotest_3_10-1.5.11rc3.dist-info/top_level.txt,sha256=MyCr1MMMQB2sjxyhlZSJPG4Fx10ya00APmhY7r1fSoQ,10
25
- python_audio_autotest_3_10-1.5.11rc3.dist-info/RECORD,,
21
+ python_audio_autotest_3_10-1.5.12rc1.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
22
+ python_audio_autotest_3_10-1.5.12rc1.dist-info/METADATA,sha256=NmHkkOyaJMCslnoDyZ5HKcDygYeNx16PUwXsaFw0e2E,5242
23
+ python_audio_autotest_3_10-1.5.12rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
+ python_audio_autotest_3_10-1.5.12rc1.dist-info/top_level.txt,sha256=MyCr1MMMQB2sjxyhlZSJPG4Fx10ya00APmhY7r1fSoQ,10
25
+ python_audio_autotest_3_10-1.5.12rc1.dist-info/RECORD,,