anadroid.profiler.greenScaler.GreenScaler.libmutation package

Submodules

anadroid.profiler.greenScaler.GreenScaler.libmutation.color module

class anadroid.profiler.greenScaler.GreenScaler.libmutation.color.RGB(package)[source]

Bases: object

calculate_rgb()[source]
capture_images()[source]
delete_images()[source]
makedir()[source]
pull_images()[source]
run_screencap()[source]

anadroid.profiler.greenScaler.GreenScaler.libmutation.cpu module

Copyright 2016 Shaiful Chowdhury (shaiful@ualberta.ca)

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

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.

class anadroid.profiler.greenScaler.GreenScaler.libmutation.cpu.CPU[source]

Bases: object

count_cpu(apk)[source]
cpu_after(pkg_name)[source]
cpu_before(pkg_name)[source]
pull_cpu(pkg_name)[source]

anadroid.profiler.greenScaler.GreenScaler.libmutation.greenscalerapplication module

Copyright 2016 Shaiful Chowdhury (shaiful@ualberta.ca)

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

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.

class anadroid.profiler.greenScaler.GreenScaler.libmutation.greenscalerapplication.GreenScalerApplication(apk, package, runTestCommand=None)[source]

Bases: object

stop_and_clean_app()[source]
stop_app()[source]

anadroid.profiler.greenScaler.GreenScaler.libmutation.model module

Copyright 2016 Shaiful Chowdhury (shaiful@ualberta.ca)

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

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.

anadroid.profiler.greenScaler.GreenScaler.libmutation.model.estimate_energy(apk, app, n)[source]

anadroid.profiler.greenScaler.GreenScaler.libmutation.syscall module

Copyright 2016 Shaiful Chowdhury (shaiful@ualberta.ca)

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

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.

class anadroid.profiler.greenScaler.GreenScaler.libmutation.syscall.SYSCALL(package)[source]

Bases: object

count_syscall()[source]
pull_syscall()[source]
start_profiling()[source]
syscall_capture()[source]
syscall_stop()[source]

anadroid.profiler.greenScaler.GreenScaler.libmutation.test module

Copyright 2016 Shaiful Chowdhury(shaiful@ualberta.ca)

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

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.

class anadroid.profiler.greenScaler.GreenScaler.libmutation.test.Test(apk, run=None)[source]

Bases: object

run(command=None)[source]

anadroid.profiler.greenScaler.GreenScaler.libmutation.utils module

Copyright 2016 Shaiful Chowdhury, Stephanie Gil (shaiful@ualberta.ca, sgil@ualberta.ca)

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

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.

anadroid.profiler.greenScaler.GreenScaler.libmutation.utils.install_app(pkg)[source]
anadroid.profiler.greenScaler.GreenScaler.libmutation.utils.stop_app(pkg)[source]
anadroid.profiler.greenScaler.GreenScaler.libmutation.utils.uninstall_app(pkg)[source]

Module contents

Copyright 2016 Shaiful Chowdhury (shaiful@ualberta.ca)

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

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.