Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
- Version 21.0.0
  • Loading branch information
dtmilano committed May 20, 2022
1 parent a21146c commit 74724e0
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 12 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from setuptools import setup, find_packages

setup(name='androidviewclient',
version='20.9.1',
version='21.0.0',
description='''AndroidViewClient is a 100% pure python library and tools
that simplifies test script creation providing higher level
operations and the ability of obtaining the tree of Views present at
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/adb/adbclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

from com.dtmilano.android.adb.dumpsys import Dumpsys

__version__ = '20.9.1'
__version__ = '21.0.0'

import sys
import warnings
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/adb/dumpsys.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import sys
from _warnings import warn

__version__ = '20.9.1'
__version__ = '21.0.0'

DEBUG = False

Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from __future__ import print_function

__version__ = '20.9.1'
__version__ = '21.0.0'

import ast
import os
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/concertina.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import random

__author__ = 'diego'
__version__ = '20.9.1'
__version__ = '21.0.0'

DEBUG = True

Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'''
import platform

__version__ = '20.9.1'
__version__ = '21.0.0'

import tkinter
import tkinter.ttk
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/culebron.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from com.dtmilano.android.concertina import Concertina
from com.dtmilano.android.viewclient import ViewClient

__version__ = '20.9.1'
__version__ = '21.0.0'

import sys
import threading
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

from com.dtmilano.android.adb.dumpsys import Dumpsys

__version__ = '20.9.1'
__version__ = '21.0.0'

DEBUG = True

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@author: Diego Torres Milano
'''

__version__ = '20.9.1'
__version__ = '21.0.0'
__author__ = 'diego'

import sys
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/uiautomator/uiautomatorhelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from __future__ import print_function

__version__ = '20.9.1'
__version__ = '21.0.0'

import json
import os
Expand Down
2 changes: 1 addition & 1 deletion src/com/dtmilano/android/viewclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from culebratester_client import WindowHierarchyChild, WindowHierarchy

__version__ = '20.9.1'
__version__ = '21.0.0'

import sys
import warnings
Expand Down
2 changes: 1 addition & 1 deletion tools/dump
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Created on Feb 3, 2012

from __future__ import print_function

__version__ = '20.9.1'
__version__ = '21.0.0'

import getopt
import os
Expand Down
23 changes: 23 additions & 0 deletions tools/gfxinfo-plot.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#! /usr/bin/env python
# -*- coding: utf-8 -*-

import re
import sys
import os

try:
sys.path.insert(0, os.path.join(os.environ['ANDROID_VIEW_CLIENT_HOME'], 'src'))
except:
pass

from com.dtmilano.android.viewclient import ViewClient
from com.dtmilano.android.adb.dumpsys import Dumpsys
from com.dtmilano.android.plot import Plot

try:
pkg = sys.argv.pop(1)
except:
sys.exit('usage: %s <package> [serialno]' % sys.argv[0])

device, serialno = ViewClient.connectToDeviceOrExit()
Plot().append(Dumpsys(device, Dumpsys.GFXINFO, pkg, Dumpsys.FRAMESTATS)).plot(_type=Dumpsys.FRAMESTATS)

0 comments on commit 74724e0

Please sign in to comment.