def determine_cpu_bits(self):

        arch = self.getprop('ro.product.cpu.abi')
        if arch is None:
            log.e(TAG, "Unable to determine processor architecture!")
            return None

        if arch.find('armeabi') != -1:
            return '32'
        elif re.search("arm.*64", arch):
            return '64'
        else:
            log.e(TAG, "Unsupported CPU architecture: %s" % arch)
            return None
Determine if it is 32 or 64 bit
dataset/ETHPy150Open jakev/dtf/src/dtf/core/cmds/init.py/init.determine_cpu_bits