emulator: merge oc-emu-dev development project
BUG: 64401460 Change-Id: I9f757a14d9bb59db2e6c62f4a4c83a4373b7b4d6
This commit is contained in:
@@ -42,6 +42,9 @@ public class DefaultActivity extends Activity {
|
|||||||
|
|
||||||
Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
|
Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
|
||||||
|
|
||||||
|
// Disables a dialog shown on adb install execution.
|
||||||
|
Settings.Global.putInt(getContentResolver(), Settings.Global.PACKAGE_VERIFIER_INCLUDE_ADB, 0);
|
||||||
|
|
||||||
// Enable the GPS.
|
// Enable the GPS.
|
||||||
// Not needed since this SDK will contain the Settings app.
|
// Not needed since this SDK will contain the Settings app.
|
||||||
Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
|
Settings.Secure.putString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
||||||
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
|
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
|
||||||
|
|
||||||
<uses-sdk android:targetSdkVersion="11"/>
|
<uses-sdk android:targetSdkVersion="24"/>
|
||||||
|
|
||||||
<application android:label="@string/application_label">
|
<application android:label="@string/application_label">
|
||||||
|
|
||||||
|
|||||||
@@ -14,11 +14,10 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
prebuilts/qemu-kernel/${TARGET_ARCH}/kernel-qemu system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/kernel-qemu
|
prebuilts/qemu-kernel/${TARGET_ARCH}/3.18/kernel-qemu2 system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/kernel-ranchu
|
||||||
prebuilts/qemu-kernel/${TARGET_ARCH}/kernel-qemu system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/kernel-ranchu
|
|
||||||
|
|
||||||
# version files for the SDK updater, from development.git
|
# version files for the SDK updater, from development.git
|
||||||
${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_arm64-v8a_source.properties system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/source.properties
|
${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_arm64-v8a_source.properties system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/source.properties
|
||||||
|
|
||||||
# feature control config file
|
# feature control config file
|
||||||
development/sys-img/advancedFeatures.ini system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/advancedFeatures.ini
|
development/sys-img/advancedFeatures.ini.arm system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/advancedFeatures.ini
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Copy the ARMv7 specific kernel image to .../kernel-qemu
|
# Copy the ARMv7 specific kernel image to .../kernel-qemu
|
||||||
prebuilts/qemu-kernel/${TARGET_ARCH}/kernel-qemu-armv7 system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/kernel-qemu
|
prebuilts/qemu-kernel/${TARGET_ARCH}/3.18/kernel-qemu2 system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/kernel-ranchu
|
||||||
prebuilts/qemu-kernel/${TARGET_ARCH}/ranchu/kernel-qemu system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/kernel-ranchu
|
|
||||||
|
|
||||||
# version files for the SDK updater, from development.git
|
# version files for the SDK updater, from development.git
|
||||||
${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_armeabi-v7a_source.properties system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/source.properties
|
${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_armeabi-v7a_source.properties system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/source.properties
|
||||||
@@ -25,4 +24,4 @@ ${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_armeabi-v7a_source.prop
|
|||||||
development/sys-img/images_armeabi-v7a_hardware.ini system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/hardware.ini
|
development/sys-img/images_armeabi-v7a_hardware.ini system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/hardware.ini
|
||||||
|
|
||||||
# feature control config file
|
# feature control config file
|
||||||
development/sys-img/advancedFeatures.ini system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/advancedFeatures.ini
|
development/sys-img/advancedFeatures.ini.arm system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/advancedFeatures.ini
|
||||||
|
|||||||
@@ -21,4 +21,4 @@ prebuilts/qemu-kernel/${TARGET_ARCH}/ranchu/kernel-qemu system-images/${PLATFORM
|
|||||||
${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_armeabi_source.properties system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/source.properties
|
${HOST_OUT}/development/sys-img-${TARGET_CPU_ABI}/images_armeabi_source.properties system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/source.properties
|
||||||
|
|
||||||
# feature control config file
|
# feature control config file
|
||||||
development/sys-img/advancedFeatures.ini system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/advancedFeatures.ini
|
development/sys-img/advancedFeatures.ini.arm system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/advancedFeatures.ini
|
||||||
|
|||||||
@@ -236,6 +236,7 @@ development/sdk/sdk_files_NOTICE.txt platforms/${PLATFORM_NAME}/skins/NOTIC
|
|||||||
|
|
||||||
# System images + Kernel
|
# System images + Kernel
|
||||||
system-qemu.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/system.img
|
system-qemu.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/system.img
|
||||||
|
vendor-qemu.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/vendor.img
|
||||||
ramdisk.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/ramdisk.img
|
ramdisk.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/ramdisk.img
|
||||||
userdata.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/userdata.img
|
userdata.img system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/userdata.img
|
||||||
system/build.prop system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/build.prop
|
system/build.prop system-images/${PLATFORM_NAME}/${TARGET_CPU_ABI}/build.prop
|
||||||
|
|||||||
@@ -1 +1,6 @@
|
|||||||
GrallocSync = on
|
GrallocSync = on
|
||||||
|
LogcatPipe = on
|
||||||
|
GLAsyncSwap = on
|
||||||
|
GLESDynamicVersion = on
|
||||||
|
GLDMA = on
|
||||||
|
EncryptUserData = on
|
||||||
|
|||||||
5
sys-img/advancedFeatures.ini.arm
Normal file
5
sys-img/advancedFeatures.ini.arm
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
GrallocSync = on
|
||||||
|
LogcatPipe = on
|
||||||
|
GLAsyncSwap = on
|
||||||
|
GLESDynamicVersion = on
|
||||||
|
GLDMA = on
|
||||||
@@ -19,7 +19,8 @@
|
|||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.READ_SMS" />
|
<uses-permission android:name="android.permission.READ_SMS" />
|
||||||
<uses-sdk android:minSdkVersion="4" />
|
<uses-sdk android:minSdkVersion="4"
|
||||||
|
android:targetSdkVersion="24"/>
|
||||||
<instrumentation android:targetPackage="com.android.emulator.smoketests"
|
<instrumentation android:targetPackage="com.android.emulator.smoketests"
|
||||||
android:name="android.support.test.runner.AndroidJUnitRunner" />
|
android:name="android.support.test.runner.AndroidJUnitRunner" />
|
||||||
<application android:label="Emulator Smoke Tests">
|
<application android:label="Emulator Smoke Tests">
|
||||||
|
|||||||
Reference in New Issue
Block a user