Package com :: Package dtmilano :: Package android :: Module common |
[hide private]
[frames] | no frames]

# Module common

source code

    Copyright (C) 2012-2017  Diego Torres Milano
    Created on Jan 5, 2015

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

           http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

    @author: Diego Torres Milano

Version: 13.3.2

Functions | [hide private]
_nd(name) Returns: Returns a named decimal regex | source code
_nh(name) Returns: Returns a named hex regex | source code
_ns(name, greedy=False) NOTICE: this is using a non-greedy (or minimal) regex | source code
obtainPxPy(m) | source code
obtainVxVy(m) | source code
obtainVwVh(m) | source code
which(program, isWindows=False) | source code
obtainAdbPath() Obtains the ADB path attempting know locations for different OSs | source code
profileStart() | source code
profileEnd() | source code

Variables | [hide private]
| __package__ = ``'``com.dtmilano.android``'``

Function Details | [hide private]

### _nd(name) | source code
Returns: Returns a named decimal regex

### _nh(name) | source code
Returns: Returns a named hex regex

### _ns(name, greedy=False) | source code
NOTICE: this is using a non-greedy (or minimal) regex Parameters: `name` (str) - the name used to tag the expression `greedy` (bool) - Whether the regex is greedy or not Returns: Returns a named string regex (only non-whitespace characters allowed)