third_party/android_platform/development/scripts/symbol.py
def GetCrazyLib(apk_filename):
  """Returns the name of the first crazy library from this APK.

  Args:
    apk_filename: name of an APK file.

  Returns:
    Name of the first library which would be crazy loaded from this APK.
  """
  zip_file = zipfile.ZipFile(apk_filename, 'r')
  for filename in zip_file.namelist():
    match = re.match('lib/[^/]*/crazy.(lib.*[.]so)', filename)
    if match:
      return match.group(1)

  return None
Returns the name of the first crazy library from this APK.

  Args:
    apk_filename: name of an APK file.

  Returns:
    Name of the first library which would be crazy loaded from this APK.
  
Returns the name of the first crazy library from this APK.
Returns the name of the first crazy library from this APK .
def GetCrazyLib(apk_filename):
  zip_file = zipfile.ZipFile(apk_filename, 'r')
  for filename in zip_file.namelist():
    match = re.match('lib/[^/]*/crazy.(lib.*[.]so)', filename)
    if match:
      return match.group(1)
  return None
def GetCrazyLib ( apk_filename ) : zip_file = zipfile . ZipFile ( apk_filename , 'r' ) for filename in zip_file . namelist ( ) : match = re . match ( 'lib/[^/]*/crazy.(lib.*[.]so)' , filename ) if match : return match . group ( 1 ) return None
Returns the name of the first crazy library from this APK.
Returns the name of the first crazy library from this APK .
"""Returns the name of the first crazy library from this APK.

  Args:
    apk_filename: name of an APK file.

  Returns:
    Name of the first library which would be crazy loaded from this APK.
  """
Name of the first library which would be crazy loaded from this APK.
Name of the first library which would be crazy loaded from this APK .
apk_filename
name of an APK file.
name of an APK file .