update new sdk

This commit is contained in:
August 2020-07-15 19:27:51 +08:00
parent f33907443a
commit 744c72c133
1643 changed files with 83006 additions and 28021 deletions

2
android/build/make/core/soong_config.mk Normal file → Executable file
View file

@ -89,6 +89,8 @@ $(SOONG_VARIABLES): FORCE
echo ''; \
echo ' "BtConfigIncludeDir": "$(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)",'; \
echo ''; \
echo ' "BtConfigVendor": "$(BOARD_BLUETOOTH_VENDOR)",'; \
echo ''; \
echo ' "DeviceKernelHeaders": $(call json_list,$(strip $(TARGET_PROJECT_SYSTEM_INCLUDES)))'; \
echo '}') > $(SOONG_VARIABLES_TMP); \
if ! cmp -s $(SOONG_VARIABLES_TMP) $(SOONG_VARIABLES); then \

2
android/build/make/core/version_defaults.mk Normal file → Executable file
View file

@ -181,7 +181,7 @@ ifndef PLATFORM_SECURITY_PATCH
# It must be of the form "YYYY-MM-DD" on production devices.
# It must match one of the Android Security Patch Level strings of the Public Security Bulletins.
# If there is no $PLATFORM_SECURITY_PATCH set, keep it empty.
PLATFORM_SECURITY_PATCH := 2018-05-05
PLATFORM_SECURITY_PATCH := 2018-11-05
endif
ifndef PLATFORM_BASE_OS

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,6 @@
[submodule "LinaroPkg"]
path = LinaroPkg
url = https://git.linaro.org/uefi/LinaroPkg.git
[submodule "OpenPlatformPkg"]
path = OpenPlatformPkg
url = https://git.linaro.org/uefi/OpenPlatformPkg.git

View file

@ -22,7 +22,7 @@
<resources>
<!-- The default tiles to display in QuickSettings -->
<string name="quick_settings_tiles_default" translatable="false">
wifi,bt,dnd,flashlight,rotation,location,cell,airplane,cast,custom(com.android.systemui/com.softwinner.screenshot.ScreenshotTileService),custom(com.android.systemui/com.softwinner.screenrecord.ScreenrecordTileService)
wifi,bt,dnd,flashlight,rotation,cell,airplane,cast,custom(com.android.systemui/com.softwinner.screenshot.ScreenshotTileService),custom(com.android.systemui/com.softwinner.screenrecord.ScreenrecordTileService)
</string>
</resources>

View file

@ -10,6 +10,8 @@ allow hal_bluetooth_default tmpfs:dir { write };
allow hal_bluetooth_default bluetooth_data_file:dir search;
allow hal_bluetooth_default bluetooth_data_file:file open;
allow hal_bluetooth_default bluetooth_data_file:file read;
allow hal_bluetooth_default bluetooth_logs_data_file:dir { write search create add_name remove_name};
allow hal_bluetooth_default bluetooth_logs_data_file:file {open read write create rename unlink getattr};
allow hal_bluetooth_default proc:file open;
allow hal_bluetooth_default proc:file write;

1
android/device/softwinner/common/sepolicy/vendor/shell.te vendored Normal file → Executable file
View file

@ -5,3 +5,4 @@ allow shell sysfs_zram:dir search;
allow shell sysfs_zram:file { read getattr open };
allow shell hal_memtrack_default:binder call;
allow shell untrusted_app_25:process getsched;
set_prop(shell, system_prop)

View file

@ -0,0 +1,2 @@
#!/system/bin/sh
cat /proc/kmsg > /data/misc/logd/cur_bg_kmsg.log

View file

@ -35,7 +35,7 @@
</mixPort>
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>

View file

@ -18,8 +18,8 @@
<Encoders>
<MediaCodec name="OMX.allwinner.video.encoder.avc" type="video/avc" update="true">
<Limit name="measured-frame-rate-320x240" range="45-220" />
<Limit name="measured-frame-rate-720x480" range="87-322" />
<Limit name="measured-frame-rate-1280x720" range="27-147" />
<Limit name="measured-frame-rate-720x480" range="26-127" />
<Limit name="measured-frame-rate-1280x720" range="25-129" />
<!-- Limit name="measured-frame-rate-1920x1080" range="69-69" / -->
</MediaCodec>
<MediaCodec name="OMX.google.h264.encoder" type="video/avc" update="true">
@ -28,7 +28,7 @@
<Limit name="measured-frame-rate-1280x720" range="10-50" />
</MediaCodec>
<MediaCodec name="OMX.google.h263.encoder" type="video/3gpp" update="true">
<Limit name="measured-frame-rate-176x144" range="126-1003" />
<Limit name="measured-frame-rate-176x144" range="85-411" />
</MediaCodec>
<MediaCodec name="OMX.google.mpeg4.encoder" type="video/mp4v-es" update="true">
<Limit name="measured-frame-rate-176x144" range="175-847" />
@ -60,7 +60,7 @@
<Limit name="measured-frame-rate-480x360" range="166-807" />
</MediaCodec>
<MediaCodec name="OMX.allwinner.video.decoder.vp8" type="video/x-vnd.on2.vp8" update="true">
<Limit name="measured-frame-rate-320x180" range="186-902" />
<Limit name="measured-frame-rate-320x180" range="469-2274" />
<Limit name="measured-frame-rate-640x360" range="216-1049" />
<Limit name="measured-frame-rate-1280x720" range="66-324" />
<Limit name="measured-frame-rate-1920x1080" range="26-91"/>

View file

@ -25,15 +25,12 @@ on fs
mount_all /vendor/etc/fstab.sun50iw1p1
swapon_all /vendor/etc/fstab.sun50iw1p1
restorecon_recursive /persist
start console
on late-fs
# gpu
insmod /vendor/modules/mali.ko
write /sys/devices/platform/soc/cpu_budget_cooling/roomage "1152000 4 0 0 1152000 4 0 0"
# mkdir for optee
mkdir /data/tee 0770 system system
restorecon_recursive /data/tee
on post-fs-data
# Set indication (checked by vold) that we have finished this action
setprop vold.post_fs_data_done 1
@ -64,3 +61,37 @@ on boot
on post-fs-data
# create file for audio dump data
mkdir /data/audio_d 0777 audio audio
mkdir /data/tee 0770 system system
restorecon_recursive /data/tee
# add background log(kmsg:logcat) collect(pre:cur)
on property:persist.bg.logcollect=*
stop bg_kmsg
stop bg_logcat
# loadpersist and sys-complete trigger , use only eng/userdebug- ro.debuggable=1
on property:persist.bg.logcollect=1 && property:sys.boot_completed=1 && property:ro.debuggable=1
rm /data/misc/logd/pre_bg_kmsg.log
copy /data/misc/logd/cur_bg_kmsg.log /data/misc/logd/pre_bg_kmsg.log
rm /data/misc/logd/cur_bg_kmsg.log
start bg_kmsg
rm /data/misc/logd/pre_bg_logcat.log
copy /data/misc/logd/cur_bg_logcat.log /data/misc/logd/pre_bg_logcat.log
rm /data/misc/logd/cur_bg_logcat.log
start bg_logcat
service bg_kmsg /system/bin/bg_kmsg.sh
class main
oneshot
disabled
service bg_logcat /system/bin/logcat -f /data/misc/logd/cur_bg_logcat.log
class main
oneshot
disabled
# end

View file

@ -10,6 +10,11 @@ PRODUCT_COPY_FILES += \
device/softwinner/tulip-common/init.sun50iw1p1.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.sun50iw1p1.usb.rc \
device/softwinner/tulip-common/ueventd.sun50iw1p1.rc:root/ueventd.sun50iw1p1.rc
ifneq ($(TARGET_BUILD_VARIANT), user)
PRODUCT_COPY_FILES += device/softwinner/tulip-common/bg_kmsg.sh:system/bin/bg_kmsg.sh
endif
# video
PRODUCT_COPY_FILES += \
device/softwinner/tulip-common/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \

View file

@ -57,10 +57,10 @@ ifeq ($(BOARD_WIFI_VENDOR), broadcom)
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_WLAN_DEVICE := bcmdhd
WIFI_DRIVER_MODULE_NAME := "bcmdhd"
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
BOARD_USR_WIFI := ap6212
include hardware/aw/wlan/config/config.mk
include hardware/aw/wlan/firmware/firmware.mk
endif

View file

@ -37,7 +37,7 @@
-->
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>

View file

@ -20,7 +20,7 @@
#ifdef BLUETOOTH_RTK
/*
#define BTM_DEF_LOCAL_NAME "Realtek Bluetooth"
#define BTM_DEF_LOCAL_NAME "bananapi"
*/
// SERVICE_CLASS:0x1A (Bit17 -Networking,Bit19 - Capturing,Bit20 -Object Transfer)
@ -74,7 +74,7 @@
#define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE
#else
#define BTM_DEF_LOCAL_NAME "BPI-M64"
#define BTM_DEF_LOCAL_NAME "bananapi"
#define BTA_DM_COD {0x20, BTM_COD_MAJOR_AUDIO, BTM_COD_MINOR_SET_TOP_BOX}
#define BLE_VND_INCLUDED TRUE

View file

@ -6,7 +6,7 @@
#/dev/block/by-name/system /system ext4 ro,barrier=1 wait
#/dev/block/by-name/vendor /vendor ext4 ro,barrier=1 wait
/dev/block/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check,formattable
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,encryptable=/dev/block/by-name/metadata
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,forceencrypt=/dev/block/by-name/metadata
/dev/block/by-name/boot /boot emmc defaults defaults
/dev/block/by-name/recovery /recovery emmc defaults defaults
/dev/block/by-name/misc /misc emmc defaults defaults

View file

@ -11,15 +11,13 @@ on boot
write /proc/sys/vm/page-cluster 0
write /proc/sys/vm/swappiness 80
# led
insmod /vendor/modules/leds-sunxi.ko
# rgb led
insmod /vendor/modules/leds-sunxi.ko
#insmod gsensor module
# gsensor module
#insmod /vendor/modules/bma250.ko
#tp
chown system system /sys/devices/platform/soc/twi0/i2c-0/0-0038/input/input3/runtime_suspend
### csi module
# csi module
insmod /vendor/modules/videobuf2-core.ko
insmod /vendor/modules/videobuf2-memops.ko
insmod /vendor/modules/videobuf2-v4l2.ko
@ -29,13 +27,15 @@ on boot
insmod /vendor/modules/vfe_v4l2.ko
on property:sys.boot_completed=1
#inmod tp module
# tp module
#insmod /vendor/modules/ft5x16_ts.ko
#insmod /vendor/modules/gt9xxnew_ts.ko
#chown system system /sys/devices/platform/soc/twi0/i2c-0/0-005d/input/input3/runtime_suspend
#insmod ir module
# ir module
insmod /vendor/modules/ir-nec-decoder.ko
insmod /vendor/modules/sunxi-ir-rx.ko
# 40pin
insmod /vendor/modules/gpio-sunxi.ko
# 40pin
#insmod /vendor/modules/gpio-sunxi.ko

View file

@ -99,8 +99,8 @@ PRODUCT_COPY_FILES += \
device/softwinner/common/config/awbms_config:$(TARGET_COPY_OUT_VENDOR)/etc/awbms_config \
# bootanimation
PRODUCT_COPY_FILES += \
device/softwinner/tulip-m64-hdmi/media/bootanimation.zip:system/media/bootanimation.zip
#PRODUCT_COPY_FILES += \
# device/softwinner/tulip-m64-hdmi/media/bootanimation.zip:system/media/bootanimation.zip
# audio
PRODUCT_COPY_FILES += \
@ -119,8 +119,9 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.first_api_level=27
# hdmi 1080P set 213
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=160
ro.sf.lcd_density=213
# limit dex2oat threads to improve thermals
PRODUCT_PROPERTY_OVERRIDES += \
@ -139,8 +140,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=8m
PRODUCT_PROPERTY_OVERRIDES += \
ro.lmk.downgrade_pressure=95
#PRODUCT_PROPERTY_OVERRIDES += \
# ro.lmk.downgrade_pressure=95
# Reduces GC frequency of foreground apps by 50% (not recommanded for 512M devices)
PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.foreground-heap-growth-multiplier=2.0

View file

@ -57,6 +57,7 @@ ifeq ($(BOARD_WIFI_VENDOR), broadcom)
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_WLAN_DEVICE := bcmdhd
WIFI_DRIVER_MODULE_NAME := "bcmdhd"
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
BOARD_USR_WIFI := ap6212

View file

@ -37,7 +37,7 @@
-->
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>

View file

@ -20,7 +20,7 @@
#ifdef BLUETOOTH_RTK
/*
#define BTM_DEF_LOCAL_NAME "Realtek Bluetooth"
#define BTM_DEF_LOCAL_NAME "bananapi"
*/
// SERVICE_CLASS:0x1A (Bit17 -Networking,Bit19 - Capturing,Bit20 -Object Transfer)
@ -74,7 +74,7 @@
#define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE
#else
#define BTM_DEF_LOCAL_NAME "BPI-M64"
#define BTM_DEF_LOCAL_NAME "bananapi"
#define BTA_DM_COD {0x20, BTM_COD_MAJOR_AUDIO, BTM_COD_MINOR_SET_TOP_BOX}
#define BLE_VND_INCLUDED TRUE

View file

@ -1,11 +0,0 @@
on boot
# MAC Program
mkdir /data/misc/bluedroid 0770 bluetooth net_bt_admin
exec - root system -- /vendor/xbin/macprog.sh
chmod 775 /data/misc/wifi
# Bluetooth
# UART device
chmod 0660 /dev/ttyS1
chown bluetooth net_bt_admin /dev/ttyS1

View file

@ -6,7 +6,7 @@
#/dev/block/by-name/system /system ext4 ro,barrier=1 wait
#/dev/block/by-name/vendor /vendor ext4 ro,barrier=1 wait
/dev/block/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check,formattable
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,encryptable=/dev/block/by-name/metadata
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,forceencrypt=/dev/block/by-name/metadata
/dev/block/by-name/boot /boot emmc defaults defaults
/dev/block/by-name/recovery /recovery emmc defaults defaults
/dev/block/by-name/misc /misc emmc defaults defaults

View file

@ -11,15 +11,13 @@ on boot
write /proc/sys/vm/page-cluster 0
write /proc/sys/vm/swappiness 80
# led
insmod /vendor/modules/leds-sunxi.ko
# rgb led
insmod /vendor/modules/leds-sunxi.ko
#insmod gsensor module
# gsensor module
#insmod /vendor/modules/bma250.ko
#tp
chown system system /sys/devices/platform/soc/twi0/i2c-0/0-0038/input/input3/runtime_suspend
### csi module
# csi module
insmod /vendor/modules/videobuf2-core.ko
insmod /vendor/modules/videobuf2-memops.ko
insmod /vendor/modules/videobuf2-v4l2.ko
@ -29,13 +27,15 @@ on boot
insmod /vendor/modules/vfe_v4l2.ko
on property:sys.boot_completed=1
#inmod tp module
# tp module
#insmod /vendor/modules/ft5x16_ts.ko
insmod /vendor/modules/gt9xxnew_ts.ko
chown system system /sys/devices/platform/soc/twi0/i2c-0/0-005d/input/input3/runtime_suspend
#insmod ir module
# ir module
insmod /vendor/modules/ir-nec-decoder.ko
insmod /vendor/modules/sunxi-ir-rx.ko
# 40pin
insmod /vendor/modules/gpio-sunxi.ko
# 40pin
#insmod /vendor/modules/gpio-sunxi.ko

View file

@ -99,8 +99,8 @@ PRODUCT_COPY_FILES += \
device/softwinner/common/config/awbms_config:$(TARGET_COPY_OUT_VENDOR)/etc/awbms_config \
# bootanimation
PRODUCT_COPY_FILES += \
device/softwinner/tulip-m64/media/bootanimation.zip:system/media/bootanimation.zip
#PRODUCT_COPY_FILES += \
# device/softwinner/tulip-m64/media/bootanimation.zip:system/media/bootanimation.zip
# audio
PRODUCT_COPY_FILES += \
@ -139,8 +139,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=8m
PRODUCT_PROPERTY_OVERRIDES += \
ro.lmk.downgrade_pressure=95
#PRODUCT_PROPERTY_OVERRIDES += \
# ro.lmk.downgrade_pressure=95
# Reduces GC frequency of foreground apps by 50% (not recommanded for 512M devices)
PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.foreground-heap-growth-multiplier=2.0

View file

@ -37,7 +37,7 @@
-->
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>

View file

@ -1,4 +1,4 @@
on boot
on post-fs-data
# MAC Program
mkdir /data/misc/bluedroid 0770 bluetooth net_bt_admin
exec - root system -- /vendor/xbin/macprog.sh

View file

@ -6,7 +6,7 @@
#/dev/block/by-name/system /system ext4 ro,barrier=1 wait
#/dev/block/by-name/vendor /vendor ext4 ro,barrier=1 wait
/dev/block/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check,formattable
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,encryptable=/dev/block/by-name/metadata,quota
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,forceencrypt=/dev/block/by-name/metadata,quot
/dev/block/by-name/boot /boot emmc defaults defaults
/dev/block/by-name/recovery /recovery emmc defaults defaults
/dev/block/by-name/misc /misc emmc defaults defaults

View file

@ -40,7 +40,6 @@ PRODUCT_PACKAGES += Launcher3Go
#File Explorer
PRODUCT_PACKAGES += \
ESFileExplorer \
SoundRecorder
#PRODUCT_NOT_USES_VENDORIMAGE := true

View file

@ -22,3 +22,4 @@
add_lunch_combo tulip_p3-eng
add_lunch_combo tulip_p3-user
add_lunch_combo tulip_p3-userdebug

View file

@ -37,7 +37,7 @@
-->
<mixPort name="primary input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100"
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
</mixPort>
</mixPorts>

View file

@ -1,4 +1,4 @@
on boot
on post-fs-data
# MAC Program
mkdir /data/misc/bluedroid 0770 bluetooth net_bt_admin
exec - root system -- /vendor/xbin/macprog.sh

View file

@ -6,7 +6,7 @@
#/dev/block/by-name/system /system ext4 ro,barrier=1 wait
#/dev/block/by-name/vendor /vendor ext4 ro,barrier=1 wait
/dev/block/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,errors=panic wait,check,formattable
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,encryptable=/dev/block/by-name/metadata
/dev/block/by-name/UDISK /data f2fs noatime,nosuid,nodev,discard wait,check,formattable,quota,forceencrypt=/dev/block/by-name/metadata
/dev/block/by-name/boot /boot emmc defaults defaults
/dev/block/by-name/recovery /recovery emmc defaults defaults
/dev/block/by-name/misc /misc emmc defaults defaults

View file

@ -137,8 +137,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=8m
PRODUCT_PROPERTY_OVERRIDES += \
ro.lmk.downgrade_pressure=95
#PRODUCT_PROPERTY_OVERRIDES += \
# ro.lmk.downgrade_pressure=95
# Reduces GC frequency of foreground apps by 50% (not recommanded for 512M devices)
PRODUCT_PROPERTY_OVERRIDES += dalvik.vm.foreground-heap-growth-multiplier=2.0

89
android/external/ImageMagick/.gitignore vendored Normal file
View file

@ -0,0 +1,89 @@
/config/ImageMagick.rdf
/config/*.dox
/config/config.h
/config/delegates.xml
/config/stamp-h1
/config/type-apple.xml
/config/type-dejavu.xml
/config/type-ghostscript.xml
/config/type-windows.xml
/config/type.xml
/Magick++/bin/Magick++-config
/Magick++/demo/*_out*
/Magick++/demo/analyze
/Magick++/demo/button
/Magick++/demo/demo
/Magick++/demo/detrans
/Magick++/demo/flip
/Magick++/demo/gravity
/Magick++/demo/piddle
/Magick++/demo/shapes
/Magick++/demo/zoom
/Magick++/tests/appendImages
/Magick++/tests/attributes
/Magick++/tests/averageImages
/Magick++/tests/coalesceImages
/Magick++/tests/coderInfo
/Magick++/tests/color
/Magick++/tests/colorHistogram
/Magick++/tests/exceptions
/Magick++/tests/geometry
/Magick++/tests/montageImages
/Magick++/tests/morphImages
/Magick++/tests/readWriteBlob
/Magick++/tests/readWriteImages
/Magick++/tests/testmagick_anim_out*
/PerlMagick/*.a
/PerlMagick/**/*.bs
/PerlMagick/**/*.c
/PerlMagick/**/*.json
/PerlMagick/**/*.yml
/PerlMagick/**/*.pm
/PerlMagick/**/*.xs
/PerlMagick/**/pm_to_blib
/PerlMagick/**/typemap
/PerlMagick/Zip.ps1
/PerlMagick/blib
/PerlMagick/check.sh
/tests/*_out*
/tests/drawtest
/tests/validate
/tests/wandtest
/utilities/animate
/utilities/compare
/utilities/composite
/utilities/conjure
/utilities/display
/utilities/identify
/utilities/import
/utilities/magick
/utilities/mogrify
/utilities/montage
/utilities/stream
/ImageMagick.spec
/autom4te.cache
/config.log
/config.status
/common.shi
/libtool
/local.exp
/magick.sh
/perl-sources
/test-suite.log
*.o
*.lo
*.log
*.la
*.pc
*.trs
.deps
.dirstamp
.libs
Makefile
Makefile.PL

View file

@ -0,0 +1,13 @@
CMakeFiles
tests/CMakeFiles
tests/Debug
*.opensdf
*.sdf
tests/*tests.dir
*.vcxproj
*.vcxproj.filters
*.sln
*.tlog
Testing/Temporary/*.*
CMakeCache.txt
*.suo

View file

@ -0,0 +1,3 @@
[submodule "tests/unittest-cpp"]
path = tests/unittest-cpp
url = https://github.com/Microsoft/unittest-cpp.git

View file

@ -0,0 +1,7 @@
/.metadata/
/AndroidPlot-Core/target/
/AndroidPlot-Core/.settings/
/Examples/DemoApp/.settings/
/Examples/DemoApp/bin/
/Examples/DemoApp/gen/
/Examples/DemoApp/target/

6
android/external/ant-glob/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
bin
*~
*.bak
Thumbs.db
*.class
*.DS_Store

80
android/external/autotest/.gitignore vendored Normal file
View file

@ -0,0 +1,80 @@
#
# NOTE! Please use 'git ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Standard ignores
*.[aod]
*.la
*.lo
*.pyc
*.so
*~
# Anything created as a result of running a test
results.*/
tmp/
# This file is meant only for local testing
private_host_attributes_config.py
# default svn:ignore property:
*.o
#*#
.*.rej
*.rej
.*~
*~
.*.swp
.#*
.DS_Store.
# additional patterns:
*.pyc
client/control
client/results/
client/tests/kvm/images
client/tests/kvm/env
client/tmp
client/tests/kvm/*.cfg
logs/*
results-*
results/*
server/tmp
tko/parsers/test/site_scenarios
ExternalSource
/frontend/client/www/
/shadow_config.ini
/site-packages/
monitor_db.pid
server/cros/chaos_shadow_ap_list.conf
server/site_tests/network_WiFiChaosPSK/control.local
# These exist on the production servers.
bug_filing_oauth_credentials.dat
gmail_api_credentials.dat
creds/
site_utils/autotest_private/
site_utils/autotest_tools/
site_utils/devserver/
site_utils/buildbot_src/
# Pupplylab files
puppylab/Vagrantfile
puppylab/chromeos_lab_core_cluster.box
puppylab/.vagrant
# Container directory
containers/
# Shadow config for ssp deploy
ssp_deploy_shadow_config.json
# Shadow config for perf dashboard
tko/perf_upload/perf_dashboard_shadow_config.json
# HWID key file used by site_utils/hwid_lib.py
hwid_key
# suite_scheduler.ini is deployed by puppet
suite_scheduler.ini

View file

@ -0,0 +1 @@
closure-library-20111110-r1376

View file

@ -0,0 +1,3 @@
fakemodem
fakemodem-dbus.h
fakenet

6
android/external/bart/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
*.pyc
.ipynb_checkpoints
example_trace_dat*
/dist/
/build/
/bart_py.egg-info/

View file

@ -0,0 +1,3 @@
_build
*.rst
!index.rst

View file

@ -0,0 +1,24 @@
build/
ssl/test/runner/runner
*.swp
*.swo
doc/*.html
doc/doc.css
util/bot/android_tools
util/bot/cmake-linux64
util/bot/cmake-linux64.tar.gz
util/bot/cmake-mac
util/bot/cmake-mac.tar.gz
util/bot/cmake-win32
util/bot/cmake-win32.zip
util/bot/golang
util/bot/gyp
util/bot/libFuzzer
util/bot/llvm-build
util/bot/perl-win32
util/bot/perl-win32.zip
util/bot/sde-linux64
util/bot/sde-linux64.tar.bz2
util/bot/win_toolchain.json
util/bot/yasm-win32.exe

View file

@ -20,12 +20,10 @@ public class RSAKeyPairGenerator
private static final BigInteger ONE = BigInteger.valueOf(1);
private RSAKeyGenerationParameters param;
private int iterations;
public void init(KeyGenerationParameters param)
{
this.param = (RSAKeyGenerationParameters)param;
this.iterations = getNumberOfIterations(this.param.getStrength(), this.param.getCertainty());
}
public AsymmetricCipherKeyPair generateKeyPair()
@ -191,6 +189,8 @@ public class RSAKeyPairGenerator
protected boolean isProbablePrime(BigInteger x)
{
int iterations = getNumberOfIterations(x.bitLength(), param.getCertainty());
/*
* Primes class for FIPS 186-4 C.3 primality checking
*/

17
android/external/brotli/.gitignore vendored Normal file
View file

@ -0,0 +1,17 @@
# C
*.o
bin/
buildfiles/
**/obj/
dist/
# Python
__pycache__/
*.py[cod]
*.so
*.egg-info/
# Tests
*.txt.uncompressed
*.bro
*.unbro

6
android/external/brotli/.gitmodules vendored Normal file
View file

@ -0,0 +1,6 @@
[submodule "terryfy"]
path = terryfy
url = https://github.com/MacPython/terryfy.git
[submodule "research/esaxx"]
path = research/esaxx
url = https://github.com/hillbig/esaxx

14
android/external/bsdiff/.gitignore vendored Normal file
View file

@ -0,0 +1,14 @@
#
# NOTE! Please use 'git ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Standard ignores
*.o
*~
# Executables
bsdiff
bspatch
unittests

6
android/external/caliper/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
*.iml
*.ipr
*.iws
.idea
target
*~

View file

@ -29,3 +29,5 @@ LOCAL_SHARED_LIBRARIES := libutils liblog libicuuc libicui18n
LOCAL_CXX_STL := libc++
include $(BUILD_SHARED_LIBRARY)
include $(LOCAL_PATH)/test/Android.mk

View file

@ -18,6 +18,6 @@ LOCAL_CFLAGS += \
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../src $(LOCAL_PATH)/ external/v8
LOCAL_SHARED_LIBRARIES := libpac libutils liblog
LOCAL_SHARED_LIBRARIES := libpac libutils liblog libandroid_runtime
include $(BUILD_NATIVE_TEST)

View file

@ -0,0 +1,15 @@
// PAC script with getter that changes element kind.
function FindProxyForURL(url, host) {
let arr = [];
arr[1000] = 0x1234;
arr.__defineGetter__(256, function () {
delete arr[256];
arr.unshift(1.1);
});
let results = Object.entries(arr);
let str = results.toString();
return "DIRECT";
}

View file

@ -544,5 +544,19 @@ TEST(ProxyResolverV8Test, DNSResolutionOfInternationDomainName) {
EXPECT_EQ("xn--bcher-kva.ch", bindings->dns_resolves_ex[0]);
}
TEST(ProxyResolverV8Test, GetterChangesElementKind) {
ProxyResolverV8WithMockBindings resolver(new MockJSBindings());
int result = resolver.SetPacScript(String16(CHANGE_ELEMENT_KIND_JS));
EXPECT_EQ(OK, result);
// Execute FindProxyForURL().
result = resolver.GetProxyForURL(kQueryUrl, kQueryHost, &kResults);
EXPECT_EQ(OK, result);
std::vector<std::string> proxies = string16ToProxyList(kResults);
EXPECT_EQ(1U, proxies.size());
EXPECT_EQ("DIRECT", proxies[0]);
}
} // namespace
} // namespace net

View file

@ -78,6 +78,23 @@
"function fn() {}\n" \
"\n" \
#define CHANGE_ELEMENT_KIND_JS \
"// PAC script with getter that changes element kind.\n" \
" \n" \
"function FindProxyForURL(url, host) {\n" \
" let arr = [];\n" \
" arr[1000] = 0x1234;\n" \
"\n" \
" arr.__defineGetter__(256, function () {\n" \
" delete arr[256];\n" \
" arr.unshift(1.1);\n" \
" });\n" \
"\n" \
" let results = Object.entries(arr);\n" \
" let str = results.toString(); \n" \
" return \"DIRECT\";\n" \
"}\n" \
#define DIRECT_JS \
"function FindProxyForURL(url, host) {\n" \
" return \"DIRECT\";\n" \

View file

@ -0,0 +1,3 @@
*.pyc
trace.html
catapult-upstream

View file

@ -0,0 +1,3 @@
*.pyc
systrace_trace_viewer.html
trace.html

View file

@ -0,0 +1,2 @@
obj/
libs/

37
android/external/clang/.gitignore vendored Normal file
View file

@ -0,0 +1,37 @@
#==============================================================================#
# This file specifies intentionally untracked files that git should ignore.
# See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
#
# This file is intentionally different from the output of `git svn show-ignore`,
# as most of those are useless.
#==============================================================================#
#==============================================================================#
# File extensions to be ignored anywhere in the tree.
#==============================================================================#
# Temp files created by most text editors.
*~
# Merge files created by git.
*.orig
# Byte compiled python modules.
*.pyc
# vim swap files
.*.sw?
.sw?
#==============================================================================#
# Explicit files to ignore (only matches one).
#==============================================================================#
cscope.files
cscope.out
#==============================================================================#
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
#==============================================================================#
# Clang extra user tools, which is tracked independently (clang-tools-extra).
tools/extra
# Sphinx build products
docs/_build
docs/analyzer/_build
# debug info testsuite
test/debuginfo-tests

View file

@ -0,0 +1,5 @@
*~
darwin_fat
clang_darwin
multi_arch
*.sw?

28
android/external/conscrypt/.gitignore vendored Normal file
View file

@ -0,0 +1,28 @@
# Gradle
build
gradle.properties
.gradle
local.properties
# Maven (examples)
target
# IntelliJ IDEA
.idea
*.iml
# Eclipse
.classpath
.project
.settings
bin
# OS X
.DS_Store
# Emacs
*~
\#*\#
# Vim
.*.sw[nop]

View file

@ -0,0 +1 @@
\.externalNativeBuild/

5
android/external/curl/.gitattributes vendored Normal file
View file

@ -0,0 +1,5 @@
*.dsw -crlf
buildconf eol=lf
configure.ac eol=lf
*.m4 eol=lf
*.in eol=lf

52
android/external/curl/.gitignore vendored Normal file
View file

@ -0,0 +1,52 @@
*.asc
*.dll
*.exe
*.exp
*.la
*.lib
*.lo
*.o
*.obj
*.pdb
*~
.*.swp
.cproject
.deps
.dirstamp
.libs
.project
.settings
/build/
/builds/
CHANGES.dist
Debug
INSTALL
Makefile
Makefile.in
Release
TAGS
aclocal.m4
aclocal.m4.bak
autom4te.cache
compile
config.cache
config.guess
config.log
config.status
config.sub
configure
curl-*.tar.bz2
curl-*.tar.gz
curl-*.tar.lzma
curl-*.zip
curl-config
depcomp
install-sh
libcurl.pc
libtool
ltmain.sh
missing
mkinstalldirs
tags
test-driver
scripts/_curl

2
android/external/curl/docs/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
*.html
*.pdf

View file

@ -0,0 +1,79 @@
10-at-a-time
anyauthput
certinfo
chkspeed
cookie_interface
debug
externalsocket
fileupload
fopen
ftp-wildcard
ftpget
ftpgetinfo
ftpgetresp
ftpsget
ftpupload
getinfo
getinmemory
http-post
httpcustomheader
httpput
https
imap
imap-append
imap-copy
imap-create
imap-delete
imap-examine
imap-fetch
imap-list
imap-multi
imap-noop
imap-search
imap-ssl
imap-store
imap-tls
multi-app
multi-debugcallback
multi-double
multi-post
multi-single
persistant
pop3-dele
pop3-list
pop3-multi
pop3-noop
pop3-retr
pop3-ssl
pop3-stat
pop3-tls
pop3-top
pop3-uidl
pop3s
pop3slist
post-callback
postinmemory
postit2
progressfunc
resolve
rtsp
sendrecv
sepheaders
sftpget
simple
simplepost
simplesmtp
simplessl
smtp-expn
smtp-mail
smtp-multi
smtp-ssl
smtp-tls
smtp-vrfy
url2file
usercertinmem
xmlstream
http2-download
http2-serverpush
http2-upload
imap-lsub

View file

@ -0,0 +1,3 @@
*.html
*.pdf
libcurl-symbols.3

View file

@ -0,0 +1,4 @@
curlbuild.h
curlver.h.dist
stamp-h2
stamp-h3

13
android/external/curl/lib/.gitignore vendored Normal file
View file

@ -0,0 +1,13 @@
*.a
*.imp
*.nlm
*.orig
*.rej
*.res
Makefile.vc*.dist
TAGS
curl_config.h
curl_config.h.in
libcurl.plist.dist
libcurl.vers
stamp-h1

View file

@ -17,22 +17,22 @@
/* #undef CURL_DISABLE_CRYPTO_AUTH */
/* to disable DICT */
/* #undef CURL_DISABLE_DICT */
#define CURL_DISABLE_DICT 1
/* to disable FILE */
/* #undef CURL_DISABLE_FILE */
/* to disable FTP */
/* #undef CURL_DISABLE_FTP */
#define CURL_DISABLE_FTP 1
/* to disable Gopher */
/* #undef CURL_DISABLE_GOPHER */
#define CURL_DISABLE_GOPHER 1
/* to disable HTTP */
/* #undef CURL_DISABLE_HTTP */
/* to disable IMAP */
/* #undef CURL_DISABLE_IMAP */
#define CURL_DISABLE_IMAP 1
/* to disable LDAP */
#define CURL_DISABLE_LDAP 1
@ -44,25 +44,25 @@
/* #undef CURL_DISABLE_LIBCURL_OPTION */
/* to disable POP3 */
/* #undef CURL_DISABLE_POP3 */
#define CURL_DISABLE_POP3 1
/* to disable proxies */
/* #undef CURL_DISABLE_PROXY */
/* to disable RTSP */
/* #undef CURL_DISABLE_RTSP */
#define CURL_DISABLE_RTSP 1
/* to disable SMB/CIFS */
/* #undef CURL_DISABLE_SMB */
#define CURL_DISABLE_SMB 1
/* to disable SMTP */
/* #undef CURL_DISABLE_SMTP */
#define CURL_DISABLE_SMTP 1
/* to disable TELNET */
/* #undef CURL_DISABLE_TELNET */
#define CURL_DISABLE_TELNET 1
/* to disable TFTP */
/* #undef CURL_DISABLE_TFTP */
#define CURL_DISABLE_TFTP 1
/* to disable TLS-SRP authentication */
/* #undef CURL_DISABLE_TLS_SRP */

6
android/external/curl/m4/.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
libtool.m4
libtool.m4.tmp
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4

View file

@ -0,0 +1 @@
curl.spec

View file

@ -0,0 +1 @@
curl.list

View file

@ -0,0 +1,2 @@
curl-ssl.spec
curl.spec

View file

@ -0,0 +1,6 @@
VC*/src/*curl.vcproj.dist
VC*/lib/*curl.vcproj.dist
VC*/src/*curl.vcxproj.dist
VC*/lib/*curl.vcxproj.dist
VC6/lib/libcurl.dsp.dist
VC6/src/curl.dsp.dist

View file

@ -0,0 +1,4 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo

View file

@ -0,0 +1,6 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo
/*.user
/*.vcxproj

View file

@ -0,0 +1,6 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo
/*.user
/*.vcxproj

View file

@ -0,0 +1,4 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo

View file

@ -0,0 +1,6 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo
/*.user
/*.vcxproj

View file

@ -0,0 +1,6 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo
/*.user
/*.vcxproj

View file

@ -0,0 +1,4 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo

View file

@ -0,0 +1,6 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo
/*.user
/*.vcxproj

View file

@ -0,0 +1,6 @@
/*.ncb
/*.opensdf
/*.sdf
/*.suo
/*.user
/*.vcxproj

View file

@ -0,0 +1,5 @@
/*.opendb
/*.opensdf
/*.sdf
/*.vc.db
/.vs

View file

@ -0,0 +1,6 @@
/*.opensdf
/*.sdf
/*.user
/*.vc.db
/*.vcxproj
/.vs

View file

@ -0,0 +1,6 @@
/*.opensdf
/*.sdf
/*.user
/*.vc.db
/*.vcxproj
/.vs

View file

@ -0,0 +1,2 @@
/*.ncb
/*.opt

View file

@ -0,0 +1,5 @@
/*.dsp
/*.html
/*.ncb
/*.opt
/*.plg

View file

@ -0,0 +1,5 @@
/*.dsp
/*.html
/*.ncb
/*.opt
/*.plg

View file

@ -0,0 +1,2 @@
/*.ncb
/*.suo

View file

@ -0,0 +1,3 @@
/*.ncb
/*.suo
/*.vcproj

View file

@ -0,0 +1,3 @@
/*.ncb
/*.suo
/*.vcproj

Some files were not shown because too many files have changed in this diff Show more