Browse Source

Initial gapps

Based on MTG master 0f6b456
Tom Marshall 3 years ago
parent
commit
79624f4f3c
43 changed files with 896 additions and 0 deletions
  1. 31
    0
      arm/Android.mk
  2. 1
    0
      arm/BoardConfigVendor.mk
  3. 10
    0
      arm/arm-vendor.mk
  4. BIN
      arm/proprietary/lib/libjni_latinimegoogle.so
  5. BIN
      arm/proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
  6. BIN
      arm/proprietary/priv-app/Velvet/Velvet.apk
  7. 31
    0
      arm64/Android.mk
  8. 1
    0
      arm64/BoardConfigVendor.mk
  9. 11
    0
      arm64/arm64-vendor.mk
  10. BIN
      arm64/proprietary/lib/libjni_latinimegoogle.so
  11. BIN
      arm64/proprietary/lib64/libjni_latinimegoogle.so
  12. BIN
      arm64/proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
  13. BIN
      arm64/proprietary/priv-app/Velvet/Velvet.apk
  14. 180
    0
      common/Android.mk
  15. 1
    0
      common/BoardConfigVendor.mk
  16. 25
    0
      common/common-vendor.mk
  17. BIN
      common/proprietary/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
  18. BIN
      common/proprietary/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
  19. BIN
      common/proprietary/app/GoogleExtShared/GoogleExtShared.apk
  20. BIN
      common/proprietary/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk
  21. 11
    0
      common/proprietary/etc/permissions/com.google.android.dialer.support.xml
  22. 20
    0
      common/proprietary/etc/permissions/com.google.android.maps.xml
  23. 404
    0
      common/proprietary/etc/permissions/privapp-permissions-google.xml
  24. 93
    0
      common/proprietary/etc/sysconfig/google.xml
  25. 24
    0
      common/proprietary/etc/sysconfig/google_build.xml
  26. BIN
      common/proprietary/framework/com.google.android.dialer.support.jar
  27. BIN
      common/proprietary/framework/com.google.android.maps.jar
  28. BIN
      common/proprietary/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk
  29. BIN
      common/proprietary/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
  30. BIN
      common/proprietary/priv-app/GoogleExtServices/GoogleExtServices.apk
  31. BIN
      common/proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk
  32. BIN
      common/proprietary/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
  33. BIN
      common/proprietary/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
  34. BIN
      common/proprietary/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
  35. BIN
      common/proprietary/priv-app/Phonesky/Phonesky.apk
  36. BIN
      common/proprietary/priv-app/SetupWizard/SetupWizard.apk
  37. 11
    0
      product.mk
  38. 31
    0
      x86/Android.mk
  39. 1
    0
      x86/BoardConfigVendor.mk
  40. BIN
      x86/proprietary/lib/libjni_latinimegoogle.so
  41. BIN
      x86/proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
  42. BIN
      x86/proprietary/priv-app/Velvet/Velvet.apk
  43. 10
    0
      x86/x86-vendor.mk

+ 31
- 0
arm/Android.mk View File

@@ -0,0 +1,31 @@
1
+# No Copyright
2
+
3
+LOCAL_PATH := $(call my-dir)
4
+
5
+ifneq ($(filter arm,$(TARGET_ARCH)),)
6
+
7
+include $(CLEAR_VARS)
8
+LOCAL_MODULE := PrebuiltGmsCore
9
+LOCAL_MODULE_OWNER := gapps
10
+LOCAL_SRC_FILES := proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
11
+LOCAL_CERTIFICATE := PRESIGNED
12
+LOCAL_MODULE_TAGS := optional
13
+LOCAL_MODULE_CLASS := APPS
14
+LOCAL_DEX_PREOPT := false
15
+LOCAL_MODULE_SUFFIX := .apk
16
+LOCAL_PRIVILEGED_MODULE := true
17
+include $(BUILD_PREBUILT)
18
+
19
+include $(CLEAR_VARS)
20
+LOCAL_MODULE := Velvet
21
+LOCAL_MODULE_OWNER := gapps
22
+LOCAL_SRC_FILES := proprietary/priv-app/Velvet/Velvet.apk
23
+LOCAL_CERTIFICATE := PRESIGNED
24
+LOCAL_MODULE_TAGS := optional
25
+LOCAL_MODULE_CLASS := APPS
26
+LOCAL_DEX_PREOPT := false
27
+LOCAL_MODULE_SUFFIX := .apk
28
+LOCAL_PRIVILEGED_MODULE := true
29
+include $(BUILD_PREBUILT)
30
+
31
+endif

+ 1
- 0
arm/BoardConfigVendor.mk View File

@@ -0,0 +1 @@
1
+# No Copyright

+ 10
- 0
arm/arm-vendor.mk View File

@@ -0,0 +1,10 @@
1
+# No Copyright
2
+
3
+PRODUCT_COPY_FILES += \
4
+    vendor/gapps/arm/proprietary/lib/libjni_latinimegoogle.so:system/lib/libjni_latinimegoogle.so
5
+
6
+PRODUCT_PACKAGES += \
7
+    PrebuiltGmsCore \
8
+    Velvet
9
+
10
+$(call inherit-product, vendor/gapps/common/common-vendor.mk)

BIN
arm/proprietary/lib/libjni_latinimegoogle.so View File


BIN
arm/proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk View File


BIN
arm/proprietary/priv-app/Velvet/Velvet.apk View File


+ 31
- 0
arm64/Android.mk View File

@@ -0,0 +1,31 @@
1
+# No Copyright
2
+
3
+LOCAL_PATH := $(call my-dir)
4
+
5
+ifneq ($(filter arm64,$(TARGET_ARCH)),)
6
+
7
+include $(CLEAR_VARS)
8
+LOCAL_MODULE := PrebuiltGmsCore
9
+LOCAL_MODULE_OWNER := gapps
10
+LOCAL_SRC_FILES := proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
11
+LOCAL_CERTIFICATE := PRESIGNED
12
+LOCAL_MODULE_TAGS := optional
13
+LOCAL_MODULE_CLASS := APPS
14
+LOCAL_DEX_PREOPT := false
15
+LOCAL_MODULE_SUFFIX := .apk
16
+LOCAL_PRIVILEGED_MODULE := true
17
+include $(BUILD_PREBUILT)
18
+
19
+include $(CLEAR_VARS)
20
+LOCAL_MODULE := Velvet
21
+LOCAL_MODULE_OWNER := gapps
22
+LOCAL_SRC_FILES := proprietary/priv-app/Velvet/Velvet.apk
23
+LOCAL_CERTIFICATE := PRESIGNED
24
+LOCAL_MODULE_TAGS := optional
25
+LOCAL_MODULE_CLASS := APPS
26
+LOCAL_DEX_PREOPT := false
27
+LOCAL_MODULE_SUFFIX := .apk
28
+LOCAL_PRIVILEGED_MODULE := true
29
+include $(BUILD_PREBUILT)
30
+
31
+endif

+ 1
- 0
arm64/BoardConfigVendor.mk View File

@@ -0,0 +1 @@
1
+# No Copyright

+ 11
- 0
arm64/arm64-vendor.mk View File

@@ -0,0 +1,11 @@
1
+# No Copyright
2
+
3
+PRODUCT_COPY_FILES += \
4
+    vendor/gapps/arm64/proprietary/lib/libjni_latinimegoogle.so:system/lib/libjni_latinimegoogle.so \
5
+    vendor/gapps/arm64/proprietary/lib64/libjni_latinimegoogle.so:system/lib64/libjni_latinimegoogle.so
6
+
7
+PRODUCT_PACKAGES += \
8
+    PrebuiltGmsCore \
9
+    Velvet
10
+
11
+$(call inherit-product, vendor/gapps/common/common-vendor.mk)

BIN
arm64/proprietary/lib/libjni_latinimegoogle.so View File


BIN
arm64/proprietary/lib64/libjni_latinimegoogle.so View File


BIN
arm64/proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk View File


BIN
arm64/proprietary/priv-app/Velvet/Velvet.apk View File


+ 180
- 0
common/Android.mk View File

@@ -0,0 +1,180 @@
1
+# No Copyright
2
+
3
+LOCAL_PATH := $(call my-dir)
4
+
5
+ifneq ($(filter arm arm64 x86,$(TARGET_ARCH)),)
6
+
7
+include $(CLEAR_VARS)
8
+LOCAL_MODULE := GoogleCalendarSyncAdapter
9
+LOCAL_MODULE_OWNER := gapps
10
+LOCAL_SRC_FILES := proprietary/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
11
+LOCAL_CERTIFICATE := PRESIGNED
12
+LOCAL_MODULE_TAGS := optional
13
+LOCAL_MODULE_CLASS := APPS
14
+LOCAL_DEX_PREOPT := false
15
+LOCAL_MODULE_SUFFIX := .apk
16
+include $(BUILD_PREBUILT)
17
+
18
+include $(CLEAR_VARS)
19
+LOCAL_MODULE := GoogleContactsSyncAdapter
20
+LOCAL_MODULE_OWNER := gapps
21
+LOCAL_SRC_FILES := proprietary/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
22
+LOCAL_CERTIFICATE := PRESIGNED
23
+LOCAL_MODULE_TAGS := optional
24
+LOCAL_MODULE_CLASS := APPS
25
+LOCAL_DEX_PREOPT := false
26
+LOCAL_MODULE_SUFFIX := .apk
27
+include $(BUILD_PREBUILT)
28
+
29
+include $(CLEAR_VARS)
30
+LOCAL_MODULE := GoogleExtShared
31
+LOCAL_MODULE_OWNER := gapps
32
+LOCAL_SRC_FILES := proprietary/app/GoogleExtShared/GoogleExtShared.apk
33
+LOCAL_CERTIFICATE := PRESIGNED
34
+LOCAL_MODULE_TAGS := optional
35
+LOCAL_MODULE_CLASS := APPS
36
+LOCAL_DEX_PREOPT := false
37
+LOCAL_MODULE_SUFFIX := .apk
38
+include $(BUILD_PREBUILT)
39
+
40
+include $(CLEAR_VARS)
41
+LOCAL_MODULE := PrebuiltExchange3Google
42
+LOCAL_MODULE_OWNER := gapps
43
+LOCAL_SRC_FILES := proprietary/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk
44
+LOCAL_CERTIFICATE := PRESIGNED
45
+LOCAL_MODULE_TAGS := optional
46
+LOCAL_MODULE_CLASS := APPS
47
+LOCAL_DEX_PREOPT := false
48
+LOCAL_MODULE_SUFFIX := .apk
49
+include $(BUILD_PREBUILT)
50
+
51
+include $(CLEAR_VARS)
52
+LOCAL_MODULE := GoogleBackupTransport
53
+LOCAL_MODULE_OWNER := gapps
54
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
55
+LOCAL_CERTIFICATE := PRESIGNED
56
+LOCAL_MODULE_TAGS := optional
57
+LOCAL_MODULE_CLASS := APPS
58
+LOCAL_DEX_PREOPT := false
59
+LOCAL_MODULE_SUFFIX := .apk
60
+LOCAL_PRIVILEGED_MODULE := true
61
+include $(BUILD_PREBUILT)
62
+
63
+include $(CLEAR_VARS)
64
+LOCAL_MODULE := GoogleExtServices
65
+LOCAL_MODULE_OWNER := gapps
66
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleExtServices/GoogleExtServices.apk
67
+LOCAL_CERTIFICATE := PRESIGNED
68
+LOCAL_MODULE_TAGS := optional
69
+LOCAL_MODULE_CLASS := APPS
70
+LOCAL_DEX_PREOPT := false
71
+LOCAL_MODULE_SUFFIX := .apk
72
+LOCAL_PRIVILEGED_MODULE := true
73
+include $(BUILD_PREBUILT)
74
+
75
+include $(CLEAR_VARS)
76
+LOCAL_MODULE := GoogleFeedback
77
+LOCAL_MODULE_OWNER := gapps
78
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk
79
+LOCAL_CERTIFICATE := PRESIGNED
80
+LOCAL_MODULE_TAGS := optional
81
+LOCAL_MODULE_CLASS := APPS
82
+LOCAL_DEX_PREOPT := false
83
+LOCAL_MODULE_SUFFIX := .apk
84
+LOCAL_PRIVILEGED_MODULE := true
85
+include $(BUILD_PREBUILT)
86
+
87
+include $(CLEAR_VARS)
88
+LOCAL_MODULE := GoogleOneTimeInitializer
89
+LOCAL_MODULE_OWNER := gapps
90
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk
91
+LOCAL_CERTIFICATE := PRESIGNED
92
+LOCAL_MODULE_TAGS := optional
93
+LOCAL_MODULE_CLASS := APPS
94
+LOCAL_DEX_PREOPT := false
95
+LOCAL_MODULE_SUFFIX := .apk
96
+LOCAL_PRIVILEGED_MODULE := true
97
+include $(BUILD_PREBUILT)
98
+
99
+include $(CLEAR_VARS)
100
+LOCAL_MODULE := GooglePartnerSetup
101
+LOCAL_MODULE_OWNER := gapps
102
+LOCAL_SRC_FILES := proprietary/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
103
+LOCAL_CERTIFICATE := PRESIGNED
104
+LOCAL_MODULE_TAGS := optional
105
+LOCAL_MODULE_CLASS := APPS
106
+LOCAL_DEX_PREOPT := false
107
+LOCAL_MODULE_SUFFIX := .apk
108
+LOCAL_PRIVILEGED_MODULE := true
109
+include $(BUILD_PREBUILT)
110
+
111
+include $(CLEAR_VARS)
112
+LOCAL_MODULE := GoogleServicesFramework
113
+LOCAL_MODULE_OWNER := gapps
114
+LOCAL_SRC_FILES := proprietary/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
115
+LOCAL_CERTIFICATE := PRESIGNED
116
+LOCAL_MODULE_TAGS := optional
117
+LOCAL_MODULE_CLASS := APPS
118
+LOCAL_DEX_PREOPT := false
119
+LOCAL_MODULE_SUFFIX := .apk
120
+LOCAL_PRIVILEGED_MODULE := true
121
+include $(BUILD_PREBUILT)
122
+
123
+include $(CLEAR_VARS)
124
+LOCAL_MODULE := Phonesky
125
+LOCAL_MODULE_OWNER := gapps
126
+LOCAL_SRC_FILES := proprietary/priv-app/Phonesky/Phonesky.apk
127
+LOCAL_CERTIFICATE := PRESIGNED
128
+LOCAL_MODULE_TAGS := optional
129
+LOCAL_MODULE_CLASS := APPS
130
+LOCAL_DEX_PREOPT := false
131
+LOCAL_MODULE_SUFFIX := .apk
132
+LOCAL_PRIVILEGED_MODULE := true
133
+include $(BUILD_PREBUILT)
134
+
135
+include $(CLEAR_VARS)
136
+LOCAL_MODULE := com.google.android.dialer.support
137
+LOCAL_MODULE_OWNER := gapps
138
+LOCAL_SRC_FILES := proprietary/framework/com.google.android.dialer.support.jar
139
+LOCAL_CERTIFICATE := PRESIGNED
140
+LOCAL_MODULE_TAGS := optional
141
+LOCAL_MODULE_CLASS := JAVA_LIBRARIES
142
+LOCAL_MODULE_SUFFIX := .jar
143
+include $(BUILD_PREBUILT)
144
+
145
+include $(CLEAR_VARS)
146
+LOCAL_MODULE := com.google.android.maps
147
+LOCAL_MODULE_OWNER := gapps
148
+LOCAL_SRC_FILES := proprietary/framework/com.google.android.maps.jar
149
+LOCAL_CERTIFICATE := PRESIGNED
150
+LOCAL_MODULE_TAGS := optional
151
+LOCAL_MODULE_CLASS := JAVA_LIBRARIES
152
+LOCAL_MODULE_SUFFIX := .jar
153
+include $(BUILD_PREBUILT)
154
+
155
+include $(CLEAR_VARS)
156
+LOCAL_MODULE := AndroidMigratePrebuilt
157
+LOCAL_MODULE_OWNER := gapps
158
+LOCAL_SRC_FILES := proprietary/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk
159
+LOCAL_CERTIFICATE := PRESIGNED
160
+LOCAL_MODULE_TAGS := optional
161
+LOCAL_MODULE_CLASS := APPS
162
+LOCAL_DEX_PREOPT := false
163
+LOCAL_MODULE_SUFFIX := .apk
164
+LOCAL_PRIVILEGED_MODULE := true
165
+include $(BUILD_PREBUILT)
166
+
167
+include $(CLEAR_VARS)
168
+LOCAL_MODULE := SetupWizard
169
+LOCAL_MODULE_OWNER := gapps
170
+LOCAL_SRC_FILES := proprietary/priv-app/SetupWizard/SetupWizard.apk
171
+LOCAL_OVERRIDES_PACKAGES := Provision
172
+LOCAL_CERTIFICATE := PRESIGNED
173
+LOCAL_MODULE_TAGS := optional
174
+LOCAL_MODULE_CLASS := APPS
175
+LOCAL_DEX_PREOPT := false
176
+LOCAL_MODULE_SUFFIX := .apk
177
+LOCAL_PRIVILEGED_MODULE := true
178
+include $(BUILD_PREBUILT)
179
+
180
+endif

+ 1
- 0
common/BoardConfigVendor.mk View File

@@ -0,0 +1 @@
1
+# No Copyright

+ 25
- 0
common/common-vendor.mk View File

@@ -0,0 +1,25 @@
1
+# No Copyright
2
+
3
+PRODUCT_COPY_FILES += \
4
+    vendor/gapps/common/proprietary/etc/permissions/com.google.android.dialer.support.xml:system/etc/permissions/com.google.android.dialer.support.xml \
5
+    vendor/gapps/common/proprietary/etc/permissions/com.google.android.maps.xml:system/etc/permissions/com.google.android.maps.xml \
6
+    vendor/gapps/common/proprietary/etc/permissions/privapp-permissions-google.xml:system/etc/permissions/privapp-permissions-google.xml \
7
+    vendor/gapps/common/proprietary/etc/sysconfig/google.xml:system/etc/sysconfig/google.xml \
8
+    vendor/gapps/common/proprietary/etc/sysconfig/google_build.xml:system/etc/sysconfig/google_build.xml
9
+
10
+PRODUCT_PACKAGES += \
11
+    GoogleCalendarSyncAdapter \
12
+    GoogleContactsSyncAdapter \
13
+    GoogleExtShared \
14
+    PrebuiltExchange3Google \
15
+    GoogleBackupTransport \
16
+    GoogleExtServices \
17
+    GoogleFeedback \
18
+    GoogleOneTimeInitializer \
19
+    GooglePartnerSetup \
20
+    GoogleServicesFramework \
21
+    Phonesky \
22
+    com.google.android.dialer.support \
23
+    com.google.android.maps \
24
+    AndroidMigratePrebuilt \
25
+    SetupWizard

BIN
common/proprietary/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk View File


BIN
common/proprietary/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk View File


BIN
common/proprietary/app/GoogleExtShared/GoogleExtShared.apk View File


BIN
common/proprietary/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk View File


+ 11
- 0
common/proprietary/etc/permissions/com.google.android.dialer.support.xml View File

@@ -0,0 +1,11 @@
1
+<permissions>
2
+    <!-- Shared library required on the device to get Google Dialer updates from
3
+         Play Store. This will be deprecated once Google Dialer play store
4
+         updates stop supporting pre-O devices. -->
5
+    <library name="com.google.android.dialer.support"
6
+      file="/system/framework/com.google.android.dialer.support.jar" />
7
+
8
+    <!-- Starting from Android O and above, this system feature is required for
9
+         getting Google Dialer play store updates. -->
10
+    <feature name="com.google.android.apps.dialer.SUPPORTED" />
11
+</permissions>

+ 20
- 0
common/proprietary/etc/permissions/com.google.android.maps.xml View File

@@ -0,0 +1,20 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2008 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+  
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+  
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<permissions>
18
+    <library name="com.google.android.maps"
19
+            file="/system/framework/com.google.android.maps.jar" />
20
+</permissions>

+ 404
- 0
common/proprietary/etc/permissions/privapp-permissions-google.xml View File

@@ -0,0 +1,404 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!--
3
+  ~ Copyright (C) 2017 The Android Open Source Project
4
+  ~
5
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
6
+  ~ you may not use this file except in compliance with the License.
7
+  ~ You may obtain a copy of the License at
8
+  ~
9
+  ~      http://www.apache.org/licenses/LICENSE-2.0
10
+  ~
11
+  ~ Unless required by applicable law or agreed to in writing, software
12
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
13
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+  ~ See the License for the specific language governing permissions and
15
+  ~ limitations under the License
16
+  -->
17
+
18
+<!--
19
+This XML file declares which signature|privileged permissions should be granted to privileged
20
+applications on GMS or Google-branded devices.
21
+It allows additional grants on top of privapp-permissions-platform.xml
22
+-->
23
+<permissions>
24
+    <privapp-permissions package="com.android.carrierconfig">
25
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
26
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
27
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
28
+    </privapp-permissions>
29
+
30
+    <privapp-permissions package="com.android.connectivity.metrics">
31
+        <permission name="android.permission.DUMP"/>
32
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>.
33
+        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
34
+    </privapp-permissions>
35
+
36
+    <privapp-permissions package="com.android.hotspot2">
37
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
38
+        <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
39
+    </privapp-permissions>
40
+
41
+    <privapp-permissions package="com.android.hotwordenrollment.okgoogle">
42
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
43
+    </privapp-permissions>
44
+
45
+    <privapp-permissions package="com.android.hotwordenrollment.xgoogle">
46
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
47
+    </privapp-permissions>
48
+
49
+    <privapp-permissions package="com.android.hotwordenrollment.tgoogle">
50
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
51
+    </privapp-permissions>
52
+
53
+    <privapp-permissions package="com.android.systemui">
54
+        <permission name="android.permission.SET_WALLPAPER_COMPONENT"/>
55
+        <permission name="android.permission.LOCATION_HARDWARE"/>
56
+    </privapp-permissions>
57
+
58
+    <privapp-permissions package="com.android.vending">
59
+        <permission name="android.permission.ALLOCATE_AGGRESSIVE"/>
60
+        <permission name="android.permission.BATTERY_STATS"/>
61
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
62
+        <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
63
+        <permission name="android.permission.CLEAR_APP_CACHE"/>
64
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
65
+        <permission name="android.permission.DELETE_PACKAGES"/>
66
+        <permission name="android.permission.DUMP"/>
67
+        <permission name="android.permission.FORCE_STOP_PACKAGES"/>
68
+        <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
69
+        <permission name="android.permission.GET_APP_OPS_STATS"/>
70
+        <permission name="android.permission.INSTALL_PACKAGES"/>
71
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
72
+        <permission name="android.permission.MANAGE_USERS"/>
73
+        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
74
+        <permission name="android.permission.PACKAGE_VERIFICATION_AGENT"/>
75
+        <permission name="android.permission.REAL_GET_TASKS"/>
76
+        <permission name="android.permission.SEND_SMS_NO_CONFIRMATION"/>
77
+        <permission name="android.permission.SET_PREFERRED_APPLICATIONS"/>
78
+        <permission name="android.permission.STATUS_BAR"/>
79
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
80
+    </privapp-permissions>
81
+
82
+    <privapp-permissions package="com.google.android.apps.gcs">
83
+        <permission name="android.permission.CONTROL_VPN"/>
84
+        <permission name="android.permission.GET_APP_OPS_STATS"/>
85
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
86
+        <permission name="android.permission.OVERRIDE_WIFI_CONFIG"/>
87
+        <permission name="android.permission.SCORE_NETWORKS"/>
88
+        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
89
+    </privapp-permissions>
90
+
91
+    <privapp-permissions package="com.google.android.apps.helprtc">
92
+        <permission name="android.permission.CAPTURE_VIDEO_OUTPUT"/>
93
+    </privapp-permissions>
94
+
95
+    <privapp-permissions package="com.google.android.apps.messaging">
96
+        <permission name="com.google.android.setupwizard.READ_DEVICE_ORIGIN"/>
97
+    </privapp-permissions>
98
+
99
+    <privapp-permissions package="com.google.android.apps.nexuslauncher">
100
+        <permission name="android.permission.BIND_APPWIDGET"/>
101
+        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
102
+    </privapp-permissions>
103
+
104
+    <privapp-permissions package="com.google.android.apps.pixelclauncher">
105
+        <permission name="android.permission.BIND_APPWIDGET"/>
106
+        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
107
+    </privapp-permissions>
108
+
109
+    <privapp-permissions package="com.google.android.apps.pixelmigrate">
110
+        <permission name="android.permission.MANAGE_USB"/>
111
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
112
+    </privapp-permissions>
113
+
114
+    <privapp-permissions package="com.google.android.apps.turbo">
115
+        <permission name="android.permission.BATTERY_STATS"/>
116
+        <permission name="android.permission.DUMP"/>
117
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
118
+        <permission name="android.permission.READ_LOGS"/>
119
+        <permission name="android.permission.REBOOT"/>
120
+        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
121
+    </privapp-permissions>
122
+
123
+    <privapp-permissions package="com.google.android.apps.work.oobconfig">
124
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
125
+        <permission name="android.permission.DISPATCH_PROVISIONING_MESSAGE"/>
126
+        <permission name="android.permission.MANAGE_USERS"/>
127
+        <permission name="android.permission.MANAGE_CARRIER_OEM_UNLOCK_STATE" />
128
+        <permission name="android.permission.MASTER_CLEAR"/>
129
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
130
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
131
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
132
+    </privapp-permissions>
133
+
134
+    <privapp-permissions package="com.google.android.backuptransport">
135
+        <permission name="android.permission.BACKUP"/>
136
+        <permission name="android.permission.MODIFY_NETWORK_ACCOUNTING"/>
137
+    </privapp-permissions>
138
+
139
+    <privapp-permissions package="com.google.android.carrier">
140
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
141
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
142
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
143
+        <permission name="android.permission.WRITE_APN_SETTINGS"/>
144
+    </privapp-permissions>
145
+
146
+    <privapp-permissions package="com.google.android.carrierentitlement">
147
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
148
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
149
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
150
+        <permission name="android.permission.WRITE_APN_SETTINGS"/>
151
+    </privapp-permissions>
152
+
153
+    <privapp-permissions package="com.google.android.carriersetup">
154
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
155
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
156
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
157
+        <permission name="android.permission.WRITE_APN_SETTINGS"/>
158
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
159
+    </privapp-permissions>
160
+
161
+    <privapp-permissions package="com.google.android.configupdater">
162
+        <permission name="android.permission.UPDATE_CONFIG"/>
163
+    </privapp-permissions>
164
+
165
+    <privapp-permissions package="com.google.android.contacts">
166
+        <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
167
+        <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
168
+    </privapp-permissions>
169
+
170
+    <privapp-permissions package="com.google.android.crashuploader">
171
+        <permission name="android.permission.READ_LOGS"/>
172
+    </privapp-permissions>
173
+
174
+    <privapp-permissions package="com.google.android.dialer">
175
+        <permission name="android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK"/>
176
+        <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
177
+        <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
178
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
179
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
180
+        <permission name="android.permission.REGISTER_CONNECTION_MANAGER"/>
181
+        <permission name="android.permission.STATUS_BAR"/>
182
+        <permission name="android.permission.STOP_APP_SWITCHES"/>
183
+        <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
184
+        <permission name="com.android.voicemail.permission.WRITE_VOICEMAIL"/>
185
+    </privapp-permissions>
186
+
187
+    <privapp-permissions package="com.google.android.euicc">
188
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
189
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
190
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
191
+        <permission name="android.permission.REBOOT"/>
192
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
193
+        <permission name="com.android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS"/>
194
+    </privapp-permissions>
195
+
196
+    <privapp-permissions package="com.google.android.feedback">
197
+        <permission name="android.permission.READ_LOGS"/>
198
+    </privapp-permissions>
199
+
200
+    <privapp-permissions package="com.google.android.gms">
201
+        <permission name="android.permission.ACCESS_NETWORK_CONDITIONS"/>
202
+        <permission name="android.permission.BACKUP"/>
203
+        <permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
204
+        <permission name="android.permission.CALL_PRIVILEGED"/>
205
+        <permission name="android.permission.CAPTURE_AUDIO_HOTWORD"/>
206
+        <permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/>
207
+        <permission name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT"/>
208
+        <permission name="android.permission.CAPTURE_VIDEO_OUTPUT"/>
209
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
210
+        <permission name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST"/>
211
+        <permission name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS"/>
212
+        <permission name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
213
+        <permission name="android.permission.DISPATCH_PROVISIONING_MESSAGE"/>
214
+        <permission name="android.permission.DUMP"/>
215
+        <permission name="android.permission.GET_APP_OPS_STATS"/>
216
+        <permission name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/>
217
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
218
+        <permission name="android.permission.INVOKE_CARRIER_SETUP"/>
219
+        <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
220
+        <permission name="android.permission.LOCATION_HARDWARE"/>
221
+        <permission name="android.permission.MANAGE_ACTIVITY_STACKS"/>
222
+        <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
223
+        <permission name="android.permission.MANAGE_SOUND_TRIGGER"/>
224
+        <permission name="android.permission.MANAGE_USB"/>
225
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
226
+        <permission name="android.permission.MODIFY_AUDIO_ROUTING"/>
227
+        <permission name="android.permission.MODIFY_NETWORK_ACCOUNTING"/>
228
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
229
+        <permission name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE"/>
230
+        <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
231
+        <permission name="android.permission.OVERRIDE_WIFI_CONFIG"/>
232
+        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
233
+        <permission name="android.permission.PROVIDE_RESOLVER_RANKER_SERVICE" />
234
+        <permission name="android.permission.PROVIDE_TRUST_AGENT"/>
235
+        <permission name="android.permission.READ_DREAM_STATE"/>
236
+        <permission name="android.permission.READ_LOGS"/>
237
+        <permission name="android.permission.READ_OEM_UNLOCK_STATE"/>
238
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
239
+        <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
240
+        <permission name="android.permission.REAL_GET_TASKS"/>
241
+        <permission name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"/>
242
+        <permission name="android.permission.RECOVERY"/>
243
+        <permission name="android.permission.REGISTER_CALL_PROVIDER"/>
244
+        <permission name="android.permission.SCORE_NETWORKS"/>
245
+        <permission name="android.permission.SEND_SMS_NO_CONFIRMATION"/>
246
+        <permission name="android.permission.SET_TIME"/>
247
+        <permission name="android.permission.SET_TIME_ZONE"/>
248
+        <permission name="android.permission.START_TASKS_FROM_RECENTS"/>
249
+        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
250
+        <permission name="android.permission.TETHER_PRIVILEGED"/>
251
+        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
252
+        <permission name="android.permission.USER_ACTIVITY"/>
253
+        <permission name="com.android.voicemail.permission.READ_VOICEMAIL"/>
254
+    </privapp-permissions>
255
+
256
+    <privapp-permissions package="com.google.android.googlequicksearchbox">
257
+        <permission name="android.permission.BIND_APPWIDGET"/>
258
+        <permission name="android.permission.CALL_PRIVILEGED"/>
259
+        <permission name="android.permission.CAPTURE_AUDIO_HOTWORD"/>
260
+        <permission name="android.permission.GLOBAL_SEARCH"/>
261
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
262
+        <permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
263
+        <permission name="android.permission.MEDIA_CONTENT_CONTROL"/>
264
+        <permission name="android.permission.REAL_GET_TASKS"/>
265
+        <permission name="android.permission.STATUS_BAR"/>
266
+        <permission name="android.permission.STOP_APP_SWITCHES"/>
267
+    </privapp-permissions>
268
+
269
+    <privapp-permissions package="com.google.android.gsf">
270
+        <permission name="android.permission.ACCESS_CACHE_FILESYSTEM"/>
271
+        <permission name="android.permission.BACKUP"/>
272
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
273
+        <permission name="android.permission.DUMP"/>
274
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
275
+        <permission name="android.permission.INVOKE_CARRIER_SETUP"/>
276
+        <permission name="android.permission.MANAGE_USERS"/>
277
+        <permission name="android.permission.MASTER_CLEAR"/>
278
+        <permission name="android.permission.READ_DREAM_STATE"/>
279
+        <permission name="android.permission.READ_LOGS"/>
280
+        <permission name="android.permission.READ_NETWORK_USAGE_HISTORY"/>
281
+        <permission name="android.permission.REBOOT"/>
282
+        <permission name="android.permission.RECEIVE_DATA_ACTIVITY_CHANGE"/>
283
+        <permission name="android.permission.RECOVERY"/>
284
+        <permission name="android.permission.SET_TIME"/>
285
+        <permission name="android.permission.STATUS_BAR"/>
286
+        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
287
+        <permission name="android.permission.WRITE_GSERVICES"/>
288
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
289
+    </privapp-permissions>
290
+
291
+    <privapp-permissions package="com.google.android.hiddenmenu">
292
+        <permission name="android.permission.CALL_PRIVILEGED"/>
293
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
294
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
295
+        <permission name="android.permission.REBOOT"/>
296
+        <permission name="android.permission.WRITE_APN_SETTINGS"/>
297
+    </privapp-permissions>
298
+
299
+    <privapp-permissions package="com.google.android.ims">
300
+        <permission name="android.permission.BIND_IMS_SERVICE"/>
301
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
302
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
303
+    </privapp-permissions>
304
+
305
+    <privapp-permissions package="com.google.android.onetimeinitializer">
306
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
307
+    </privapp-permissions>
308
+
309
+    <privapp-permissions package="com.google.android.packageinstaller">
310
+        <permission name="android.permission.CLEAR_APP_CACHE"/>
311
+        <permission name="android.permission.DELETE_PACKAGES"/>
312
+        <permission name="android.permission.INSTALL_PACKAGES"/>
313
+        <permission name="android.permission.MANAGE_USERS"/>
314
+        <permission name="android.permission.OBSERVE_GRANT_REVOKE_PERMISSIONS"/>
315
+        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
316
+    </privapp-permissions>
317
+
318
+    <privapp-permissions package="com.google.android.partnersetup">
319
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
320
+        <permission name="android.permission.CHANGE_CONFIGURATION"/>
321
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
322
+    </privapp-permissions>
323
+
324
+    <privapp-permissions package="com.google.android.setupwizard">
325
+        <permission name="android.permission.BACKUP"/>
326
+        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
327
+        <permission name="android.permission.CHANGE_CONFIGURATION"/>
328
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
329
+        <permission name="android.permission.DISPATCH_PROVISIONING_MESSAGE"/>
330
+        <permission name="android.permission.INVOKE_CARRIER_SETUP"/>
331
+        <permission name="android.permission.LOCAL_MAC_ADDRESS"/>
332
+        <permission name="android.permission.MANAGE_DEVICE_ADMINS"/>
333
+        <permission name="android.permission.MANAGE_FINGERPRINT"/>
334
+        <permission name="android.permission.MANAGE_USB"/>
335
+        <permission name="android.permission.MANAGE_USERS"/>
336
+        <permission name="android.permission.MASTER_CLEAR"/>
337
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
338
+        <permission name="android.permission.NOTIFICATION_DURING_SETUP"/>
339
+        <permission name="android.permission.OVERRIDE_WIFI_CONFIG"/>
340
+        <permission name="android.permission.PERFORM_CDMA_PROVISIONING"/>
341
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
342
+        <permission name="android.permission.REBOOT"/>
343
+        <permission name="android.permission.SET_TIME"/>
344
+        <permission name="android.permission.SET_TIME_ZONE"/>
345
+        <permission name="android.permission.SHUTDOWN"/>
346
+        <permission name="android.permission.STATUS_BAR"/>
347
+        <permission name="android.permission.WRITE_APN_SETTINGS"/>
348
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
349
+    </privapp-permissions>
350
+
351
+    <privapp-permissions package="com.google.android.storagemanager">
352
+        <permission name="android.permission.DELETE_PACKAGES"/>
353
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
354
+        <permission name="android.permission.MANAGE_USERS"/>
355
+        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
356
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
357
+    </privapp-permissions>
358
+
359
+    <privapp-permissions package="com.google.android.tag">
360
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
361
+    </privapp-permissions>
362
+
363
+    <privapp-permissions package="com.google.android.tetheringentitlement">
364
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
365
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
366
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
367
+        <permission name="android.permission.WRITE_APN_SETTINGS"/>
368
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
369
+    </privapp-permissions>
370
+
371
+    <privapp-permissions package="com.google.android.tv">
372
+        <permission name="android.permission.DVB_DEVICE" />
373
+        <permission name="android.permission.GLOBAL_SEARCH" />
374
+        <permission name="android.permission.MODIFY_PARENTAL_CONTROLS" />
375
+        <permission name="com.android.providers.tv.permission.ACCESS_ALL_EPG_DATA" />
376
+        <permission name="com.android.providers.tv.permission.ACCESS_WATCHED_PROGRAMS" />
377
+    </privapp-permissions>
378
+
379
+    <privapp-permissions package="com.google.android.volta">
380
+        <permission name="android.permission.BATTERY_STATS"/>
381
+        <permission name="android.permission.DUMP"/>
382
+        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
383
+        <permission name="android.permission.PACKAGE_USAGE_STATS"/>
384
+        <permission name="android.permission.REAL_GET_TASKS"/>
385
+        <permission name="android.permission.REBOOT"/>
386
+    </privapp-permissions>
387
+
388
+    <privapp-permissions package="com.google.android.wfcactivation">
389
+        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
390
+        <permission name="android.permission.MODIFY_PHONE_STATE"/>
391
+        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
392
+        <permission name="android.permission.WRITE_APN_SETTINGS"/>
393
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
394
+    </privapp-permissions>
395
+
396
+    <privapp-permissions package="com.google.intelligence.sense">
397
+        <permission name="android.permission.CAPTURE_AUDIO_HOTWORD"/>
398
+        <permission name="android.permission.LOCATION_HARDWARE"/>
399
+        <permission name="android.permission.MANAGE_SOUND_TRIGGER"/>
400
+        <permission name="android.permission.RECORD_AUDIO"/>
401
+        <permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
402
+        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
403
+    </privapp-permissions>
404
+</permissions>

+ 93
- 0
common/proprietary/etc/sysconfig/google.xml View File

@@ -0,0 +1,93 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2014 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<!-- These are configurations that must exist on all GMS devices. -->
18
+<config>
19
+    <!-- These are the standard packages that are white-listed to always have internet
20
+         access while in power save mode, even if they aren't in the foreground. -->
21
+
22
+    <!-- GmsCore must always have network access for GCM and other things. -->
23
+    <allow-in-power-save package="com.google.android.gms" />
24
+    <allow-in-data-usage-save package="com.google.android.gms" />
25
+    <allow-unthrottled-location package="com.google.android.gms" />
26
+
27
+    <!-- OobConfig must always have network access to fetch enterprise and carrier lock config. -->
28
+    <allow-in-power-save-except-idle package="com.google.android.apps.work.oobconfig" />
29
+    <allow-in-data-usage-save package="com.google.android.apps.work.oobconfig" />
30
+
31
+    <!-- Certain broadcasts must still go to legacy implicit receivers -->
32
+    <allow-implicit-broadcast action="com.google.android.checkin.CHECKIN_COMPLETE" />
33
+    <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_CHANGED" />
34
+    <allow-implicit-broadcast action="com.google.gservices.intent.action.GSERVICES_OVERRIDE" />
35
+    <allow-implicit-broadcast action="com.google.android.c2dm.intent.RECEIVE" />
36
+    <!-- TODO: This is a temporary workaround for allowing GmsCore to receive this broadcast.
37
+         This can be removed once OneTimeInitializer functionality is moved to GmsCore. -->
38
+    <allow-implicit-broadcast action="com.google.android.onetimeinitializer.ONE_TIME_INITIALIZED" />
39
+
40
+    <!-- Play Store likewise must have network access to support other applications. -->
41
+    <allow-in-power-save-except-idle package="com.android.vending" />
42
+
43
+    <!-- If the volta app is pre-installed (for monitoring power use), let it do checkins. -->
44
+    <allow-in-power-save package="com.google.android.volta" />
45
+
46
+    <!-- If CarrierServices is installed, it must always have network access to
47
+         reliably receive IMS messages. -->
48
+    <allow-in-power-save package="com.google.android.ims" />
49
+    <allow-in-data-usage-save package="com.google.android.ims" />
50
+
51
+    <!-- These Google applications all handle URLs to their websites by default -->
52
+
53
+    <!-- Apps below are required on all GMS devices -->
54
+    <app-link package="com.android.vending" />
55
+    <app-link package="com.google.android.apps.maps" />
56
+    <app-link package="com.google.android.youtube" />
57
+    <app-link package="com.google.android.apps.docs" />
58
+    <app-link package="com.google.android.talk" />
59
+    <app-link package="com.google.android.apps.photos" />
60
+    <app-link package="com.google.android.music" />
61
+
62
+    <!-- Apps below are optional on GMS devices -->
63
+    <app-link package="com.google.android.apps.tycho" />
64
+    <app-link package="com.google.android.apps.plus" />
65
+    <app-link package="com.google.android.apps.docs.editors.sheets" />
66
+    <app-link package="com.google.android.apps.docs.editors.slides" />
67
+    <app-link package="com.google.android.apps.docs.editors.docs" />
68
+    <app-link package="com.google.android.talk" />
69
+    <app-link package="com.google.android.videos" />
70
+    <app-link package="com.google.android.calendar" />
71
+
72
+    <!-- These are the packages that are white-listed to be able to run as system user -->
73
+    <system-user-whitelisted-app package="com.android.vending" />
74
+    <system-user-whitelisted-app package="com.google.android.gms" />
75
+    <system-user-whitelisted-app package="com.google.android.gms.policy_auth" />
76
+    <system-user-whitelisted-app package="com.google.android.play.games" />
77
+    <system-user-whitelisted-app package="com.google.android.tts" />
78
+
79
+    <!-- These are the packages that are uninstalled for system user -->
80
+    <!-- Apps below are required on all GMS devices -->
81
+    <system-user-blacklisted-app package="com.google.android.googlequicksearchbox" />
82
+    <!-- Apps below are optional on GMS devices -->
83
+    <system-user-blacklisted-app package="com.google.android.launcher" />
84
+
85
+    <!-- Whitelist of what components are permitted as backup data transports.  The
86
+         'service' attribute here is a flattened ComponentName string. -->
87
+    <backup-transport-whitelisted-service
88
+        service="com.google.android.gms/.backup.BackupTransportService" />
89
+    <backup-transport-whitelisted-service
90
+        service="com.google.android.gms/.backup.component.D2dTransportService" />
91
+
92
+
93
+</config>

+ 24
- 0
common/proprietary/etc/sysconfig/google_build.xml View File

@@ -0,0 +1,24 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2014 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+
17
+<!-- These are configurations that should exist on Google's own Nexus and GPe devices. -->
18
+<config>
19
+    <feature name="com.google.android.feature.GOOGLE_BUILD" />
20
+    <!-- This should be added to all Nexus and GPe devices -->
21
+    <feature name="com.google.android.feature.GOOGLE_EXPERIENCE" />
22
+    <!-- This should declare the version of Exchange that ships -->
23
+    <feature name="com.google.android.feature.EXCHANGE_6_2" />
24
+</config>

BIN
common/proprietary/framework/com.google.android.dialer.support.jar View File


BIN
common/proprietary/framework/com.google.android.maps.jar View File


BIN
common/proprietary/priv-app/AndroidMigratePrebuilt/AndroidMigratePrebuilt.apk View File


BIN
common/proprietary/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk View File


BIN
common/proprietary/priv-app/GoogleExtServices/GoogleExtServices.apk View File


BIN
common/proprietary/priv-app/GoogleFeedback/GoogleFeedback.apk View File


BIN
common/proprietary/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk View File


BIN
common/proprietary/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk View File


BIN
common/proprietary/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk View File


BIN
common/proprietary/priv-app/Phonesky/Phonesky.apk View File


BIN
common/proprietary/priv-app/SetupWizard/SetupWizard.apk View File


+ 11
- 0
product.mk View File

@@ -0,0 +1,11 @@
1
+# XXX: TARGET_ARCH is not set when this file is parsed.
2
+# XXX: Find a way to distinguish x86 from arm.
3
+ifeq (true,$(TARGET_SUPPORTS_64_BIT_APPS))
4
+gms_arch := arm64
5
+else
6
+gms_arch := arm
7
+endif
8
+
9
+include vendor/gapps/$(gms_arch)/$(gms_arch)-vendor.mk
10
+
11
+gms_arch :=

+ 31
- 0
x86/Android.mk View File

@@ -0,0 +1,31 @@
1
+# No Copyright
2
+
3
+LOCAL_PATH := $(call my-dir)
4
+
5
+ifneq ($(filter x86,$(TARGET_ARCH)),)
6
+
7
+include $(CLEAR_VARS)
8
+LOCAL_MODULE := PrebuiltGmsCore
9
+LOCAL_MODULE_OWNER := gapps
10
+LOCAL_SRC_FILES := proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
11
+LOCAL_CERTIFICATE := PRESIGNED
12
+LOCAL_MODULE_TAGS := optional
13
+LOCAL_MODULE_CLASS := APPS
14
+LOCAL_DEX_PREOPT := false
15
+LOCAL_MODULE_SUFFIX := .apk
16
+LOCAL_PRIVILEGED_MODULE := true
17
+include $(BUILD_PREBUILT)
18
+
19
+include $(CLEAR_VARS)
20
+LOCAL_MODULE := Velvet
21
+LOCAL_MODULE_OWNER := gapps
22
+LOCAL_SRC_FILES := proprietary/priv-app/Velvet/Velvet.apk
23
+LOCAL_CERTIFICATE := PRESIGNED
24
+LOCAL_MODULE_TAGS := optional
25
+LOCAL_MODULE_CLASS := APPS
26
+LOCAL_DEX_PREOPT := false
27
+LOCAL_MODULE_SUFFIX := .apk
28
+LOCAL_PRIVILEGED_MODULE := true
29
+include $(BUILD_PREBUILT)
30
+
31
+endif

+ 1
- 0
x86/BoardConfigVendor.mk View File

@@ -0,0 +1 @@
1
+# No Copyright

BIN
x86/proprietary/lib/libjni_latinimegoogle.so View File


BIN
x86/proprietary/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk View File


BIN
x86/proprietary/priv-app/Velvet/Velvet.apk View File


+ 10
- 0
x86/x86-vendor.mk View File

@@ -0,0 +1,10 @@
1
+# No Copyright
2
+
3
+PRODUCT_COPY_FILES += \
4
+    vendor/gapps/x86/proprietary/lib/libjni_latinimegoogle.so:system/lib/libjni_latinimegoogle.so
5
+
6
+PRODUCT_PACKAGES += \
7
+    PrebuiltGmsCore \
8
+    Velvet
9
+
10
+$(call inherit-product, vendor/gapps/common/common-vendor.mk)