Android 13
19 octobre 2022
2. Types d'appareils
Voir révision
Si les implémentations d'appareils portables ne s'exécutent pas en mode de tâche de verrouillage , lorsque le contenu est copié dans le presse-papiers, elles :
- [3.8.17/H-1-1] DOIT présenter une confirmation à l'utilisateur que les données ont été copiées dans le presse-papiers (par exemple, une vignette ou une alerte de « Contenu copié »). De plus, incluez ici une indication si les données du presse-papiers seront synchronisées sur tous les appareils.
3. Logiciel
3.2.3.5. Intentions d'application conditionnelles
Voir révision
Si l'application Paramètres de l'implémentation de l'appareil implémente une fonctionnalité fractionnée , à l'aide de l'intégration d'activités, alors ils :
- [C-17-1] DOIT avoir une activité qui gère l'intent Settings#ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY lorsque la fonctionnalité de fractionnement est activée. L'activité DOIT être protégée par
android.permission.LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK
et elle DOIT démarrer l'activité de l'intention analysée à partir de Settings#EXTRA_SETTINGS_EMBEDDED_DEEP_LINK_INTENT_URI .
Si les implémentations d'appareils prennent en charge
VoiceInteractionService
et que plusieurs applications utilisant cette API sont installées à la fois, elles :- [C-18-1] DOIT respecter l'intention
android.settings.ACTION_VOICE_INPUT_SETTINGS
d'afficher un menu de paramètres d'application par défaut pour la saisie et l'assistance vocales.
- [C-17-1] DOIT avoir une activité qui gère l'intent Settings#ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY lorsque la fonctionnalité de fractionnement est activée. L'activité DOIT être protégée par
Voir révision
- [C-1-4] DOIT restituer le contenu fourni ou le contenu de l'URL distante dans un processus distinct de l'application qui instancie la WebView. Plus précisément, le processus de rendu séparé DOIT détenir des privilèges inférieurs, s'exécuter en tant qu'ID utilisateur distinct, n'avoir aucun accès au répertoire de données de l'application, n'avoir aucun accès direct au réseau et n'avoir accès qu'aux services système minimum requis via Binder. L'implémentation AOSP de WebView répond à cette exigence.
7. Compatibilité matérielle
Voir révision
Si les implémentations d'appareils incluent la prise en charge du mode d'économie d'énergie Wi-Fi tel que défini dans la norme IEEE 802.11, elles :
[C-3-1] DOITDEVRAIT désactiver le mode d'économie d'énergie Wi-Fi chaque fois qu'une application acquiert le verrouWIFI_MODE_FULL_HIGH_PERF
ou le verrouWIFI_MODE_FULL_LOW_LATENCY
viaWifiManager.createWifiLock()
etWifiManager.WifiLock.acquire()
Voir révision
Si les implémentations d'appareils incluent la prise en charge de Bluetooth Low Energy (BLE), elles :
- [C-3-5] DOIT implémenter un délai d'expiration d'adresse privée résoluble (RPA) ne dépassant pas 15 minutes et faire pivoter l'adresse à l'expiration pour protéger la confidentialité de l'utilisateur lorsque l'appareil utilise activement BLE pour la numérisation ou la publicité. Pour éviter les attaques temporelles, les intervalles de temporisation DOIVENT également être randomisés entre 5 et 15 minutes.
7.5.5 Orientation de la caméra
Voir révision
Si les implémentations d'appareils disposent d'une caméra orientée vers l'avant ou vers l'arrière, ces caméras :
- [C-1-1] DOIT être orienté de sorte que la dimension longue de la caméra s'aligne avec la dimension longue de l'écran. Autrement dit, lorsque l'appareil est tenu en orientation paysage, les caméras DOIVENT capturer des images en orientation paysage. Cela s'applique quelle que soit l'orientation naturelle de l'appareil ; c'est-à-dire qu'il s'applique aux appareils principaux en mode paysage ainsi qu'aux appareils principaux en mode portrait.
Les appareils qui remplissent tous les critères suivants sont exemptés de l'exigence ci-dessus :- Le dispositif met en œuvre des écrans à géométrie variable, tels que des écrans pliables ou articulés.
- Lorsque l'état de pliage ou de charnière de l'appareil change, l'appareil bascule entre les orientations portrait-primaire et paysage-primaire (ou vice-versa).
9. Compatibilité du modèle de sécurité
Voir révision
Lorsque l'implémentation de l'appareil prend en charge un écran de verrouillage sécurisé, elle :
- [C-1-6] DOIT prendre en charge IKeymasterDevice 4.0, IKeymasterDevice 4.1, IKeyMintDevice version 1 ou IKeyMintDevice version 2.
9.17 Cadre de virtualisation Android
Voir révision
Si l'appareil implémente la prise en charge des API Android Virtualization Framework (
android.system.virtualmachine.*
), l'hôte Android :[C-1-3] NE DOIT PAS modifier, omettre ou remplacer les règles Neverallow présentes dans le système/sepolicy fourni dans le projet Open Source Android (AOSP) en amont et la politique DOIT être compilée avec toutes les règles Neverallow présentes.
Si l'appareil implémente la prise en charge des API Android Virtualization Framework (
android.system.virtualmachine.*
), alors toute instance de machine virtuelle protégée :[C-2-4] NE DOIT PAS modifier, omettre ou remplacer les règles Neverallow présentes dans le système/sepolicy/microdroid fourni dans le projet Open Source Android (AOSP) en amont.
Si l'appareil implémente la prise en charge des API Android Virtualization Framework, alors pour la gestion des clés :
- [C-6-2] DOIT faire DICE correctement, c'est-à-dire fournir les valeurs correctes.
Mais il n'est peut-être pas nécessaire d'aller à ce niveau de détail.
15 août 2022
2. Types d'appareils
2.2.1 Matériel : Modifications des exigences matérielles comme suit.
Des dispositifs d'entrée:
Voir révision
Implémentations d'appareils portables :
- [ 7.2 .3/H-0-5] DOIT appeler
OnBackInvokedCallback.onBackStarted()
sur la fenêtre focalisée actuelle lorsque le geste de retour commence ou que le bouton de retour (KEYCODE_BACK
) est enfoncé. - [ 7.2 .3/H-0-6] DOIT appeler
OnBackInvokedCallback.onBackInvoked()
lorsque le geste de retour est validé ou que le bouton Retour est relâché (UP). - [ 7.2 .3/H-0-7] DOIT appeler
OnBackInvokedCallback.onBackCancelled()
lorsque le geste de retour n'est pas validé ou que l'événementKEYCODE_BACK
est annulé.
Si les appareils prennent en charge le protocole WiFi Neighbor Awareness Networking (NAN) en déclarant
PackageManager.FEATURE_WIFI_AWARE
et Wi-Fi Location (Wi-Fi Round Trip Time — RTT) en déclarantPackageManager.FEATURE_WIFI_RTT
, ils :[ 7.4 .2.5/H-1-1] DOIT signaler la portée avec précision à +/- 1 mètre à une largeur de bande de 160 MHz au 68e centile (tel que calculé avec la fonction de distribution cumulative), +/- 2 mètres à une largeur de bande de 80 MHz au 68e centile, +/-4 mètres à une bande passante de 40 MHz au 68e centile, et +/-8 mètres à une bande passante de 20 MHz au 68e centile à des distances de 10 cm, 1 m, 3 m et 5 m, comme observé via l' API Android WifiRttManager#startRanging .
[ 7.4 .2.5/H-SR] Il est FORTEMENT RECOMMANDÉ de signaler la portée avec précision à +/- 1 mètre à une bande passante de 160 MHz au 90e centile (calculée avec la fonction de distribution cumulative), +/- 2 mètres à 80 MHz bande passante au 90e centile, +/-4 mètres à une bande passante de 40 MHz au 90e centile et +/-8 mètres à une bande passante de 20 MHz au 90e centile à des distances de 10 cm, comme observé via l' API Android WifiRttManager#startRanging .
Il est FORTEMENT RECOMMANDÉ de suivre les étapes de configuration de mesure spécifiées dans Exigences d'étalonnage de présence .
- [ 7.2 .3/H-0-5] DOIT appeler
Latence audio :
Voir révision
Si les implémentations d'appareils portables déclarent
android.hardware.audio.output
etandroid.hardware.microphone
, elles :- [ 5.6 /H-1-1] DOIT avoir une latence aller-retour continue moyenne de 500
800millisecondes ou moins sur 5 mesures, avec un écart absolu moyen inférieur à 50100ms, sur les chemins de données suivants : "haut-parleur vers microphone", adaptateur de bouclage 3,5 mm (si pris en charge), bouclage USB (si pris en charge).au moins un chemin pris en charge.
- [ 5.6 /H-1-1] DOIT avoir une latence moyenne de 500 millisecondes ou moins sur au moins 5 mesures sur le chemin de données du haut-parleur au microphone.
- [ 5.6 /H-1-1] DOIT avoir une latence aller-retour continue moyenne de 500
Entrées haptiques :
Voir révision
Si les implémentations d'appareils portables incluent au moins un actionneur haptique, elles :
- [ 7.10 /H]* NE DOIT PAS utiliser un actionneur haptique à masse rotative excentrique (ERM) (vibrateur).
- [ 7.10 /H]* DEVRAIT positionner l'actionneur près de l'endroit où l'appareil est généralement tenu ou touché par les mains.
- [ 7.10 /H]* DEVRAIT implémenter toutes les constantes publiques pour des haptiques claires dans android.view.HapticFeedbackConstants , à savoir (CLOCK_TICK, CONTEXT_CLICK, KEYBOARD_PRESS, KEYBOARD_RELEASE, KEYBOARD_TAP, LONG_PRESS, TEXT_HANDLE_MOVE, VIRTUAL_KEY, VIRTUAL_KEY_RELEASE, CONFIRM, REJECT, GESTURE_START et GESTURE_END).
- [ 7.10 /H]* DEVRAIT implémenter toutes les constantes publiques pour l'haptique claire dans android.os.VibrationEffect , à savoir (EFFECT_TICK, EFFECT_CLICK, EFFECT_HEAVY_CLICK et EFFECT_DOUBLE_CLICK) et toutes les constantes publiques
PRIMITIVE_*
possibles pour l'haptique riche dans android.os.VibrationEffect.Composition , à savoir(PRIMITIVE_CLICK et PRIMITIVE_TICK)(CLIC, TICK, LOW_TICK, QUICK_FALL, QUICK_RISE, SLOW_RISE, SPIN, THUD). Certaines de ces primitives, telles que LOW_TICK et SPIN, ne sont réalisables que si le vibreur peut prendre en charge des fréquences relativement basses.
- [7.10/H]* DEVRAIT suivre les conseils pour mapper les constantes publiques dans android.view.HapticFeedbackConstants aux constantes android.os.VibrationEffect recommandées, avec les relations d'amplitude correspondantes.
- [ 7.10 /H]* DEVRAIT vérifier que le résultat de l'API publique android.os.Vibrator.hasAmplitudeControl() reflète correctement les capacités de leur vibromasseur.
- [ 7.10 /H]* DEVRAIT vérifier les capacités d'évolutivité de l'amplitude en exécutant android.os.Vibrator.hasAmplitudeControl() .
Si les implémentations d'appareils portables incluent au moins un actionneur résonnant linéaire, elles :
[ 7.10 /H]* DEVRAIT déplacer l'actionneur haptique dans l'axe X (gauche-droite) de l'orientation portrait.
[ 7.10 /H]* DEVRAIT vérifier et mettre à jour si nécessaire la configuration de repli pour les primitives non prises en charge comme décrit dans le guide de mise en œuvre pour les constantes.
[7.10/H]* DEVRAIT fournir un support de secours pour atténuer le risque d'échec comme décrit ici .
Auth Trivial Device Controls :
Voir révision
- [ 3.8 .16/H-1-5] DOIT permettre à l'utilisateur de se retirer des contrôles d'appareil auth-trivial désignés par l'application à partir des contrôles enregistrés par les applications tierces via
ControlsProviderService
et l'APIControl
Control.isAuthRequired
.
- [ 3.8 .16/H-1-5] DOIT permettre à l'utilisateur de se retirer des contrôles d'appareil auth-trivial désignés par l'application à partir des contrôles enregistrés par les applications tierces via
Notifications MediaStyle :
Voir révision
Si les implémentations d'appareils portables prennent en charge les notifications MediaStyle , elles :
- [3.8.3.1/H-1-SR] Il est FORTEMENT RECOMMANDÉ de fournir un accès utilisateur (par exemple, "commutateur de sortie") accessible à partir de l'interface utilisateur du système qui permet aux utilisateurs de basculer entre les itinéraires multimédias disponibles appropriés (par exemple, les périphériques Bluetooth et les itinéraires fournis à MediaRouter2Manager ) lorsqu'une application publie une notification MediaStyle avec un jeton MediaSession .
2.2.4 Performances et puissance : nouvelle exigence pour les applications qui exécutent des services de premier plan.
Voir révision
Implémentations d'appareils portables :
- [ 8.5 /H-0-1] DOIT fournir une accessibilité utilisateur dans le menu Paramètres avec la possibilité d'arrêter une application qui exécute un service de premier plan et d'afficher toutes les applications qui ont des services de premier plan actifs et la durée de chacun de ces services depuis qu'il démarré comme décrit dans le document SDK .
- Certaines applications PEUVENT être exemptées d'être arrêtées ou d'être répertoriées dans une allocation utilisateur telle que décrite dans le document SDK .
- [ 8.5 /H-0-1] DOIT fournir une accessibilité utilisateur dans le menu Paramètres avec la possibilité d'arrêter une application qui exécute un service de premier plan et d'afficher toutes les applications qui ont des services de premier plan actifs et la durée de chacun de ces services depuis qu'il démarré comme décrit dans le document SDK .
2.2.7.1 Médias : Mises à jour de la section Médias requis pour l'ordinateur de poche comme suit :
Voir révision
Si les implémentations d'appareils portables renvoient
android.os.Build.VERSION_CODES.T
pourandroid.os.Build.VERSION_CODES.MEDIA_PERFORMANCE_CLASS
, elles :- [5.1/H-1-1] DOIT annoncer le nombre maximal de sessions de décodeur vidéo matériel pouvant être exécutées simultanément dans n'importe quelle combinaison de codecs via les méthodes
CodecCapabilities.getMaxSupportedInstances()
etVideoCapabilities.getSupportedPerformancePoints()
. - [5.1/H-1-2] DOIT prendre en charge 6 instances de sessions de décodeur vidéo matériel (AVC, HEVC, VP9, AV1 ou version ultérieure) dans n'importe quelle combinaison de codecs fonctionnant simultanément à une résolution de 1080p à 30 ips.
- [5.1/H-1-3] DOIT annoncer le nombre maximal de sessions d'encodeur vidéo matériel pouvant être exécutées simultanément dans n'importe quelle combinaison de codecs via les méthodes
CodecCapabilities.getMaxSupportedInstances()
etVideoCapabilities.getSupportedPerformancePoints()
. - [5.1/H-1-4] DOIT prendre en charge 6 instances de sessions d'encodeur vidéo matériel (AVC, HEVC, VP9, AV1 ou version ultérieure) dans n'importe quelle combinaison de codecs fonctionnant simultanément à une résolution de 1080p à 30 ips.
- [5.1/H-1-5] DOIT annoncer le nombre maximal de sessions d'encodeur et de décodeur vidéo matériels pouvant être exécutées simultanément dans n'importe quelle combinaison de codecs via les méthodes
CodecCapabilities.getMaxSupportedInstances()
etVideoCapabilities.getSupportedPerformancePoints()
. - [5.1/H-1-6] DOIT prendre en charge 6 instances de sessions de décodeur vidéo matériel et d'encodeur vidéo matériel (AVC, HEVC, VP9, AV1 ou version ultérieure) dans n'importe quelle combinaison de codec fonctionnant simultanément à une résolution de 1080p@30fps.
- [5.1/H-1-7] DOIT avoir une latence d'initialisation du codec de 40 ms ou moins pour une session d'encodage vidéo 1080p ou moins pour tous les encodeurs vidéo matériels lorsqu'ils sont sous charge. Le chargement est défini ici comme une session de transcodage vidéo simultanée de 1080p à 720p utilisant des codecs vidéo matériels avec l'initialisation de l'enregistrement audio-vidéo 1080p.
- [5.1/H-1-8] DOIT avoir une latence d'initialisation du codec de 30 ms ou moins pour une session d'encodage audio à 128 kbit/s ou moins pour tous les encodeurs audio lorsqu'ils sont en charge. Le chargement est défini ici comme une session de transcodage vidéo simultanée de 1080p à 720p utilisant des codecs vidéo matériels avec l'initialisation de l'enregistrement audio-vidéo 1080p.
- [5.1/H-1-9] DOIT prendre en charge 2 instances de sessions de décodeur vidéo matériel sécurisé (AVC, HEVC, VP9, AV1 ou version ultérieure) dans n'importe quelle combinaison de codecs fonctionnant simultanément à une résolution de 1080p à 30 ips.
- [5.1/H-1-10] DOIT prendre en charge 3 instances de sessions de décodeur vidéo matériel non sécurisées avec 1 instance de session de décodeur vidéo matériel sécurisé (4 instances au total) (AVC, HEVC, VP9, AV1 ou version ultérieure) dans n'importe quel codec combinaison fonctionnant simultanément à une résolution de 1080p à 30fps.
- [5.1/ H-1-11] DOIT prendre en charge un décodeur sécurisé pour chaque décodeur matériel AVC, HEVC, VP9 ou AV1 sur l'appareil.
- [5.1/H-1-12] DOIT avoir une latence d'initialisation du décodeur vidéo de 40 ms ou moins.
- [5.1/H-1-13] DOIT avoir une latence d'initialisation du décodeur audio de 30 ms ou moins.
- [5.1/H-1-14] DOIT prendre en charge le décodeur matériel AV1 Main 10, Niveau 4.1.
- [5.1/H-SR] Sont fortement recommandés pour prendre en charge Film Grain pour le décodeur matériel AV1.
- [5.1/H-1-15] DOIT avoir au moins 1 décodeur vidéo matériel prenant en charge 4K60.
- [5.1/H-1-16] DOIT avoir au moins 1 encodeur vidéo matériel prenant en charge 4K60.
- [5.3/H-1-1] NE DOIT PAS perdre plus d'une image en 10 secondes (c'est-à-dire moins de 0,167 % de perte d'image) pour une session vidéo 1080p 60 ips sous charge. La charge est définie comme une session de transcodage vidéo simultanée de 1080p à 720p utilisant des codecs vidéo matériels, ainsi qu'une lecture audio AAC à 128 kbps.
- [5.3/H-1-2] NE DOIT PAS perdre plus d'une image en 10 secondes lors d'un changement de résolution vidéo dans une session vidéo à 60 ips sous charge. La charge est définie comme une session de transcodage vidéo simultanée de 1080p à 720p utilisant des codecs vidéo matériels, ainsi qu'une lecture audio AAC à 128 kbps.
- [5.6/H-1-1] DOIT avoir une latence tap-to-tone de 80 millisecondes ou moins en utilisant le test tap-to-tone OboeTester ou le test tap-to-tone CTS Verifier.
- [5.6/H-1-2] DOIT avoir une latence audio aller-retour de 80 millisecondes ou moins sur au moins un chemin de données pris en charge.
- [5.6/H-1-3] DOIT prendre en charge >= 24 bits audio pour une sortie stéréo sur des prises audio 3,5 mm si elles sont présentes et sur l'audio USB si pris en charge sur l'ensemble du chemin de données pour des configurations à faible latence et en streaming. Pour la configuration à faible latence, AAudio doit être utilisé par l'application en mode de rappel à faible latence. Pour la configuration du streaming, un Java AudioTrack doit être utilisé par l'application. Dans les configurations à faible latence et en streaming, le récepteur de sortie HAL doit accepter
AUDIO_FORMAT_PCM_24_BIT
,AUDIO_FORMAT_PCM_24_BIT_PACKED
,AUDIO_FORMAT_PCM_32_BIT
ouAUDIO_FORMAT_PCM_FLOAT
pour son format de sortie cible. - [5.6/H-1-4] DOIT prendre en charge les périphériques audio USB >= 4 canaux (ceci est utilisé par les contrôleurs DJ pour prévisualiser les chansons.)
- [5.6/H-1-5] DOIT prendre en charge les appareils MIDI conformes à la classe et déclarer le drapeau de fonctionnalité MIDI.
- [5.7/H-1-2] DOIT prendre en charge
MediaDrm.SECURITY_LEVEL_HW_SECURE_ALL
avec les capacités de décryptage de contenu ci-dessous.
Taille minimale de l'échantillon 4 Mio Nombre minimum de sous-échantillons - H264 ou HEVC 32 Nombre minimum de sous-échantillons - VP9 9 Nombre minimum de sous-échantillons - AV1 288 Taille minimale du tampon de sous-échantillon 1 Mio Taille minimale du tampon de chiffrement générique 500 Kio Nombre minimum de sessions simultanées 30 Nombre minimum de clés par session 20 Nombre total minimum de clés (toutes les sessions) 80 Nombre total minimum de clés DRM (toutes les sessions) 6 Taille des messages 16 Kio Images décryptées par seconde 60 ips - [5.1/H-1-1] DOIT annoncer le nombre maximal de sessions de décodeur vidéo matériel pouvant être exécutées simultanément dans n'importe quelle combinaison de codecs via les méthodes
2.2.7.2 Caméra : Mises à jour des exigences relatives aux caméras de la classe de performance multimédia.
Voir révision
Si les implémentations d'appareils portables renvoient
android.os.Build.VERSION_CODES.T
pourandroid.os.Build.VERSION_CODES.MEDIA_PERFORMANCE_CLASS
, elles :- [7.5/H-1-1] DOIT avoir une caméra principale orientée vers l'arrière avec une résolution d'au moins 12 mégapixels prenant en charge la capture vidéo à 4k@30fps. La caméra principale orientée vers l'arrière est la caméra orientée vers l'arrière avec l'ID de caméra le plus bas.
- [7.5/H-1-2] DOIT avoir une caméra frontale principale avec une résolution d'au moins 5 mégapixels et prendre en charge la capture vidéo à 1080p@30fps. La caméra frontale principale est la caméra frontale avec l'ID de caméra le plus bas.
- [7.5/H-1-3] DOIT prendre en charge la propriété
android.info.supportedHardwareLevel
en tant queFULL
ou mieux pour les deux caméras principales. - [7.5/H-1-4] DOIT prendre en charge
CameraMetadata.SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME
pour les deux caméras principales. - [7.5/H-1-5] DOIT avoir une latence de capture JPEG de la caméra 2 < 1 000 ms pour une résolution de 1 080 p, telle que mesurée par le test de performance de la caméra CTS dans des conditions d'éclairage ITS (3 000 K) pour les deux caméras principales.
- [7.5/H-1-6] DOIT avoir une latence de démarrage de la caméra 2 (caméra ouverte à la première image de prévisualisation) < 500 ms, telle que mesurée par le test de performance de la caméra CTS dans des conditions d'éclairage ITS (3 000 K) pour les deux caméras principales.
- [7.5/H-1-8] DOIT prendre en charge
CameraMetadata.REQUEST_AVAILABLE_CAPABILITIES_RAW
etandroid.graphics.ImageFormat.RAW_SENSOR
pour la caméra arrière principale. - [7.5/H-1-9] DOIT avoir une caméra principale orientée vers l'arrière prenant en charge 720p ou 1080p @ 240fps.
- [7.5/H-1-10] DOIT avoir min ZOOM_RATIO < 1.0 pour les caméras principales s'il y a une caméra RVB ultra large orientée dans la même direction.
- [7.5/H-1-11] DOIT implémenter la diffusion simultanée avant-arrière sur les caméras principales.
- [7.5/H-1-12] DOIT prendre en charge
CONTROL_VIDEO_STABILIZATION_MODE_PREVIEW_STABILIZATION
pour les caméras avant et arrière principales. - [7.5/H-1-13] DOIT prendre en charge la capacité
LOGICAL_MULTI_CAMERA
pour les caméras principales s'il y a plus de 1 caméras RVB orientées dans la même direction. - [7.5/H-1-14] DOIT prendre en charge la fonctionnalité
STREAM_USE_CASE
pour les caméras avant et arrière principales.
2.2.7.3 Matériel : Mises à jour des exigences de la classe de performance multimédia pour le matériel.
Voir révision
Si les implémentations d'appareils portables renvoient
android.os.Build.VERSION_CODES.T
pourandroid.os.Build.VERSION_CODES.MEDIA_PERFORMANCE_CLASS
, elles :- [7.1.1.1/H-2-1] DOIT avoir une résolution d'écran d'au moins 1080p.
- [7.1.1.3/H-2-1] DOIT avoir une densité d'écran d'au moins 400 dpi.
- [7.6.1/H-2-1] DOIT disposer d'au moins 8 Go de mémoire physique.
2.2.7.4 Performances : mises à jour de la classe de performances des médias pour les performances.
Voir révision
Si les implémentations d'appareils portables renvoient
android.os.Build.VERSION_CODES.T
pourandroid.os.Build.VERSION_CODES.MEDIA_PERFORMANCE_CLASS
, elles :- [8.2/H-1-1] DOIT assurer une performance d'écriture séquentielle d'au moins 125 Mo/s.
- [8.2/H-1-2] DOIT assurer une performance d'écriture aléatoire d'au moins 10 Mo/s.
- [8.2/H-1-3] DOIT assurer une performance de lecture séquentielle d'au moins 250 Mo/s.
- [8.2/H-1-4] DOIT assurer une performance de lecture aléatoire d'au moins 40 Mo/s.
2.5.1 Matériel : Mises à jour des exigences relatives à l'accéléromètre 3 axes et au gyroscope 3 axes, ainsi qu'aux exigences relatives aux caméras de vision extérieure.
Voir révision
Implémentations d'appareils automobiles :
- [ 7.3 .1/A-0-4] DOIT être conforme au système de coordonnées du capteur de voiture Android .
- [ 7.3 /A-SR] Il est FORTEMENT_RECOMMANDÉ d'inclure un accéléromètre 3 axes et un gyroscope 3 axes.
- [ 7.3 /A-SR] Il est FORTEMENT_RECOMMANDÉ d'implémenter et de signaler le capteur
TYPE_HEADING
.
Si les implémentations d'appareils automobiles incluent un accéléromètre, elles :
- [ 7.3 .1/A-1-1] DOIT pouvoir signaler des événements jusqu'à une fréquence d'au moins 100 Hz.
Si les implémentations d'appareils incluent un accéléromètre à 3 axes, elles :
- [ 7.3 .1/A-SR] Il est FORTEMENT RECOMMANDÉ d'implémenter le capteur composite pour accéléromètre à axes limités.
Si les implémentations d'appareils automobiles incluent un accéléromètre avec moins de 3 axes, elles :
- [ 7.3 .1/A-1-3] DOIT implémenter et rapporter le capteur
TYPE_ACCELEROMETER_LIMITED_AXES
. - [ 7.3 .1/A-1-4] DOIT implémenter et signaler le capteur
TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED
.
Si les implémentations d'appareils automobiles incluent un gyroscope, elles :
- [ 7.3 .4/A-2-1] DOIT pouvoir signaler des événements jusqu'à une fréquence d'au moins 100 Hz.
- [ 7.3 .4/A-2-3] DOIT être capable de mesurer des changements d'orientation jusqu'à 250 degrés par seconde.
- [ 7.3 .4/A-SR] Il est FORTEMENT RECOMMANDÉ de configurer la plage de mesure du gyroscope à +/-250dps afin de maximiser la résolution possible.
Si les implémentations d'appareils automobiles incluent un gyroscope à 3 axes, elles :
- [ 7.3 .4/A-SR] Il est FORTEMENT RECOMMANDÉ d'implémenter le capteur composite pour gyroscope à axes limités.
Si les implémentations d'appareils automobiles incluent un gyroscope à moins de 3 axes, elles :
- [ 7.3 .4/A-4-1] DOIT implémenter et rapporter le capteur
TYPE_GYROSCOPE_LIMITED_AXES
. - [ 7.3 .4/A-4-2] DOIT implémenter et rapporter le capteur
TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED
.
Si les implémentations d'appareils automobiles incluent un capteur
TYPE_HEADING
, elles :- [ 7.3 .4/A-4-3] DOIT pouvoir signaler des événements jusqu'à une fréquence d'au moins 1 Hz.
- [ 7.3 .4/A-SR] FORTEMENT_RECOMMANDÉ pour signaler les événements jusqu'à une fréquence d'au moins 10 Hz.
- DEVRAIT être en référence au vrai nord.
- DEVRAIT être disponible même lorsque le véhicule est immobile.
- DEVRAIT avoir une résolution d'au moins 1 degré.
Une caméra de vue extérieure est une caméra qui filme des scènes en dehors de la mise en œuvre de l'appareil, comme la caméra de recul
une caméra de tableau de bord.Si les implémentations d'appareils automobiles incluent une caméra de vue extérieure, pour une telle caméra, elles :
[ 7.5 .5/A-SR] Il est FORTEMENT RECOMMANDÉ d'être orienté de manière à ce que la dimension longue de la caméra soit alignée avec l'horizon.DEVRAIT prendre en charge le cadre de synchronisation Android .PEUT avoir une mise au point automatique matérielle ou une mise au point automatique logicielle implémentée dans le pilote de la caméra.
Si les implémentations d'appareils automobiles incluent une ou plusieurs caméras de vue extérieure et chargent le service de système de vue extérieure (EVS), alors pour une telle caméra, elles :
- [ 7.5 /A-2-1] NE DOIT PAS faire pivoter ou refléter horizontalement l'aperçu de la caméra.
Implémentations d'appareils automobiles :
- PEUT inclure une ou plusieurs caméras disponibles pour des applications tierces.
Si les implémentations d'appareils automobiles incluent au moins une caméra et la mettent à la disposition d'applications tierces, elles :
- [ 7.5 /A-3-1] DOIT signaler l'indicateur de fonctionnalité
android.hardware.camera.any
. - [ 7.5 /A-3-2] NE DOIT PAS déclarer la caméra en tant que caméra système .
- PEUT prendre en charge les caméras externes décrites dans la section 7.5.3 .
- PEUT inclure des fonctionnalités (telles que la mise au point automatique, etc.) disponibles pour les caméras orientées vers l'arrière, comme décrit dans la section 7.5.1 .
2.5.5 Modèle de sécurité : Nouvelles exigences pour les autorisations de caméra pour les appareils automobiles.
Voir révision
Si les implémentations d'appareils automobiles déclarent
android.hardware.camera.any
, elles :[ 9.8.2 /A-2-1] DOIT afficher l'indicateur de caméra lorsqu'une application accède aux données de la caméra en direct, mais pas lorsque la caméra n'est accessible que par une ou plusieurs applications détenant les rôles indiqués dans la section 9.1 Autorisations avec CDD identifiant [C-3-X].
[ 9.8.2 /A-2-2] NE DOIT PAS masquer l'indicateur de caméra pour les applications système qui ont des interfaces utilisateur visibles ou une interaction directe avec l'utilisateur.
2.6.1 Configuration requise pour la tablette — Matériel : Mise à jour des exigences relatives à la taille de l'écran de la tablette.
Voir révision
Une tablette Android fait référence à une implémentation d'appareil Android qui répond généralement à tous les critères suivants :
- A une taille d'affichage d'écran supérieure à 7" et inférieure à 18", mesurée en diagonale.
Taille de l'écran
- [ 7.1 .1.1/Tab-0-1] DOIT avoir un écran de 7 à 18 pouces.
3. Logiciel
3.2.2 Paramètres de construction : caractères ASCII mis à jour dans
getSerial()
.Voir révision
- [C-0-1] Pour fournir des valeurs cohérentes et significatives à travers les implémentations de dispositifs, le tableau ci-dessous inclut des restrictions supplémentaires sur les formats de ces valeurs auxquelles les implémentations de dispositifs DOIVENT se conformer.
Paramètre Détails getSerial() DOIT (être ou retourner) un numéro de série de matériel, qui DOIT être disponible et unique sur tous les appareils avec le même MODÈLE et FABRICANT. La valeur de ce champ DOIT être encodable en ASCII 7 bits et correspondre à l'expression régulière « ^[a-zA-Z0-9]+$ » . 3.2.3.5 Intentions d'application conditionnelles : mise à jour des exigences relatives aux intentions d'application conditionnelles.
Voir révision
Si les implémentations d'appareils incluent un grand écran (ayant généralement une largeur et une hauteur d'affichage de 600 dp+) et prennent en charge la fonctionnalité de fractionnement , elles :
- [C-17-1] DOIT avoir une activité qui gère l'intent Settings#ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY lorsque la fonctionnalité de fractionnement est activée. L'activité DOIT être protégée par
android.permission.LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK
et elle DOIT démarrer l'activité de l'intention analysée à partir de Settings#EXTRA_SETTINGS_EMBEDDED_DEEP_LINK_INTENT_URI .
- [C-17-1] DOIT avoir une activité qui gère l'intent Settings#ACTION_SETTINGS_EMBED_DEEP_LINK_ACTIVITY lorsque la fonctionnalité de fractionnement est activée. L'activité DOIT être protégée par
3.5.1 Restriction d'application : mises à jour des restrictions d'application.
Voir révision
Si les implémentations d'appareils implémentent un mécanisme propriétaire pour restreindre les applications (par exemple, modifier ou restreindre les comportements d'API décrits dans le SDK) et que ce mécanisme est plus restrictif que le compartiment en veille d'applications restreintes , elles :
- [C-1-1] DOIT permettre à l'utilisateur de voir la liste des applications restreintes.
- [C-1-2] DOIT permettre à l'utilisateur d'activer/désactiver toutes ces restrictions propriétaires sur chaque application.
- [C-1-3] NE DOIT PAS appliquer automatiquement ces restrictions propriétaires sans preuve d'un mauvais comportement du système, mais PEUT appliquer les restrictions sur les applications lors de la détection d'un mauvais comportement du système, comme des wakelocks bloqués, des services de longue durée et d'autres critères. Les critères PEUVENT être déterminés par les implémenteurs de l'appareil, mais DOIVENT être liés à l'impact de l'application sur la santé du système. D'autres critères qui ne sont pas purement liés à la santé du système, tels que le manque de popularité de l'application sur le marché, NE DOIVENT PAS être utilisés comme critères.
- [C-1-4] NE DOIT PAS appliquer automatiquement ces restrictions propriétaires pour les applications lorsqu'un utilisateur a désactivé manuellement les restrictions d'application, et PEUT suggérer à l'utilisateur d'appliquer ces restrictions propriétaires.
[C-1-5] DOIT informer les utilisateurs si ces restrictions propriétaires sont appliquées automatiquement à une application. Ces informations DOIVENT être fournies dans les 24 heures précédant l'application de ces restrictions exclusives.
[C-1-6] DOIT renvoyer true pour la méthode ActivityManager.isBackgroundRestricted() pour tous les appels d'API depuis une application.
[C-1-7] NE DOIT PAS restreindre l'application de premier plan qui est explicitement utilisée par l'utilisateur.
[C-1-8] DOIT suspendre ces restrictions propriétaires sur une application chaque fois qu'un utilisateur commence à utiliser explicitement l'application, ce qui en fait l'application de premier plan.
[C-1-9] DOIT signaler tous ces événements de restrictions propriétaires via UsageStats.
[C-1-10] DOIT fournir un document ou un site Web public et clair qui décrit comment les restrictions de propriété sont appliquées. Ce document ou site Web DOIT pouvoir être lié à partir des documents du SDK Android et DOIT inclure :
- Conditions de déclenchement des restrictions propriétaires.
- Quoi et comment une application peut être restreinte.
- Comment une application peut être exemptée de ces restrictions.
- Comment une application peut demander une exemption des restrictions propriétaires, si elle prend en charge une telle exemption pour les applications que l'utilisateur peut installer.
Si une application est préinstallée sur l'appareil et n'a jamais été explicitement utilisée par un utilisateur pendant plus de 30 jours, [C-1-3] [C-1-5] sont exemptés.
3.8.1 Lanceur (écran d'accueil) : Mises à jour pour la prise en charge de
monochrome/adaptive-icon
.Voir révision
Si les implémentations de périphérique prennent en charge les icônes monochromes , ces icônes :
- [C-6-1] DOIT être utilisé uniquement lorsqu'un utilisateur les active explicitement (par exemple via les paramètres ou le menu de sélection de papier peint).
3.8.2 Widgets : Mise à jour de la présence de widgets d'applications tierces dans le lanceur.
Voir révision
Si les implémentations d'appareils prennent en charge les widgets d'applications tierces, elles :
- [C-1-2] DOIT inclure la prise en charge intégrée des AppWidgets et exposer les affordances de l'interface utilisateur pour ajouter, configurer, afficher et supprimer des AppWidgets
directement dans le lanceur.
- [C-1-2] DOIT inclure la prise en charge intégrée des AppWidgets et exposer les affordances de l'interface utilisateur pour ajouter, configurer, afficher et supprimer des AppWidgets
3.8.3.1 Présentation des notifications : Clarification de la définition des notifications tête haute.
Voir révision
Les notifications d'avertissement sont des notifications qui sont présentées à l'utilisateur au fur et à mesure qu'elles arrivent, indépendamment de la surface sur laquelle se trouve l'utilisateur.
3.8.3.3 NPD (Ne pas déranger) / Mode prioritaire : mise à jour pour inclure le mode prioritaire dans les exigences NPD (Ne pas déranger).
Voir révision
3.8.3.3. NPD (Ne pas déranger) / Mode prioritaire
Si les implémentations d'appareils prennent en charge la fonction NPD (également appelée mode prioritaire), elles :
3.8.6 Thèmes : Nouvelles exigences pour les palettes de couleurs dynamiques.
Voir révision
Si les implémentations d'appareils incluent un écran ou une sortie vidéo, elles :
[C-1-4] DOIT générer des palettes de couleurs dynamiques comme spécifié dans la documentation AOSP de
Settings.THEME_CUSTOMIZATION_OVERLAY_PACKAGES
(voirandroid.theme.customization.system_palette
etandroid.theme.customization.theme_style
).[C-1-5] DOIT générer des palettes de couleurs dynamiques en utilisant les styles de thème de couleur énumérés dans la documentation
Settings.THEME_CUSTOMIZATION_OVERLAY_PACKAGES
(voirandroid.theme.customization.theme_styles
), à savoirTONAL_SPOT
,VIBRANT
,EXPRESSIVE
,SPRITZ
,RAINBOW
,FRUIT_SALAD
."Couleur source" utilisée pour générer des palettes de couleurs dynamiques lors de l'envoi avec
android.theme.customization.system_palette
(comme documenté dansSettings.THEME_CUSTOMIZATION_OVERLAY_PACKAGES
).[C-1-6] DOIT avoir une valeur de chroma
CAM16
de 5 ou plus.DEVRAIT être dérivé du fond d'écran via
com.android.systemui.monet.ColorScheme#getSeedColors
, qui fournit plusieurs couleurs source valides pour en choisir une.DEVRAIT utiliser la valeur
0xFF1B6EF3
, si aucune des couleurs fournies ne répond à l'exigence de couleur source ci-dessus.
3.8.17 Presse-papiers : Ajout d'une nouvelle section d'exigences pour le contenu du presse-papiers.
Voir révision
3.8.17. Presse-papiers
Implémentations de l'appareil :
- [C-0-1] NE DOIT PAS envoyer de données de presse-papiers à un composant, une activité, un service ou via une connexion réseau, sans action explicite de l'utilisateur (par exemple, appuyer sur un bouton sur la superposition), à l'exception des services mentionnés dans 9.8.6 Contenu Capture et recherche d'applications .
Si les implémentations d'appareils génèrent un aperçu visible par l'utilisateur lorsque le contenu est copié dans le presse-papiers pour tout élément
ClipData
oùClipData.getDescription().getExtras()
contientandroid.content.extra.IS_SENSITIVE
, elles :- [C-1-1] DOIT masquer l'aperçu visible par l'utilisateur
L'implémentation de référence AOSP satisfait ces exigences de presse-papiers.
3.9.1.1 Approvisionnement du propriétaire de l'appareil : mises à jour des exigences d'approvisionnement du propriétaire de l'appareil.
Voir révision
Si les implémentations d'appareils déclarent
android.software.device_admin
, elles :- [C-1-1] DOIT prendre en charge l'inscription d'un Device Policy Client (DPC) en tant qu'application Device Owner , comme décrit ci-dessous :
- Lorsque l'implémentation de l'appareil n'a ni utilisateurs ni données utilisateur configurés, elle :
- [C-1-5] DOIT inscrire l'application DPC en tant qu'application Propriétaire de l'appareil ou permettre à l'application DPC de choisir de devenir propriétaire de l'appareil ou propriétaire du profil, si l'appareil déclare la prise en charge des communications en champ proche (NFC) via la fonctionnalité flag
android.hardware.nfc
et reçoit un message NFC contenant un enregistrement avec le type MIMEMIME_TYPE_PROVISIONING_NFC
. - [C-1-8] DOIT envoyer l'intention ACTION_GET_PROVISIONING_MODE après le déclenchement du provisionnement du propriétaire de l'appareil afin que l'application DPC puisse choisir de devenir propriétaire de l'appareil ou propriétaire du profil, selon les valeurs de
android.app.extra.PROVISIONING_ALLOWED_PROVISIONING_MODES
, sauf si it can be determined from context that there is only one valid option.(such as for NFC based provisioning where Profile Owner provisioning is not supported). - [C-1-9] MUST send the ACTION_ADMIN_POLICY_COMPLIANCE intent to the Device Owner app if a Device Owner is established during provisioning regardless of the provisioning method used. The user must not be able to proceed in the Setup Wizard until the Device Owner app finishes.
- [C-1-5] DOIT inscrire l'application DPC en tant qu'application Propriétaire de l'appareil ou permettre à l'application DPC de choisir de devenir propriétaire de l'appareil ou propriétaire du profil, si l'appareil déclare la prise en charge des communications en champ proche (NFC) via la fonctionnalité flag
- When the device implementation has users or user data, it:
- [C-1-7] MUST not enroll any DPC application as the Device Owner App any more.
- Lorsque l'implémentation de l'appareil n'a ni utilisateurs ni données utilisateur configurés, elle :
- [C-1-2] MUST show an appropriate disclosure notice (such as referenced in AOSP ) and obtain affirmative consent from the end user prior to an app being set as Device Owner, unless the device is programmatically configured for retail demo mode prior to on-screen, end-user interaction.
require some affirmative action before or during the provisioning process to consent to an app being set as Device Owner. Consent can be via user action or by some programmatic means but appropriate disclosure notice (as referenced in AOSP) MUST be shown before device owner provisioning is initiated. Also, the programmatic device owner consent mechanism used (by enterprises) for device owner provisioning MUST NOT interfere with the Out-Of-Box Experience for non-enterprise use. [C-1-3] MUST NOT hard code the consent or prevent the use of other device owner apps.
If device implementations declare
android.software.device_admin
, but also include a proprietaryDevice Ownerdevice management solution and provide a mechanism to promote an application configured in their solution as a "Device Owner equivalent" to the standard "Device Owner" as recognized by the standard Android DevicePolicyManager APIs, they:- [C-2-1] MUST have a process in place to verify that the specific app being promoted belongs to a legitimate enterprise device management solution and has been configured in the proprietary solution to have the rights equivalent as a "Device Owner".
- [C-2-2] MUST show the same AOSP Device Owner consent disclosure as the flow initiated by
android.app.action.PROVISION_MANAGED_DEVICE
prior to enrolling the DPC application as "Device Owner". - [C-2-3] MUST NOT hard code the consent or prevent the use of other device owner apps.
MAY have user data on the device prior to enrolling the DPC application as "Device Owner".
- [C-1-1] DOIT prendre en charge l'inscription d'un Device Policy Client (DPC) en tant qu'application Device Owner , comme décrit ci-dessous :
3.9.4 Device Management Role Requirements : Added a section for Device Management Role Requirements.
See revision
3.9.4 Device Policy Management Role Requirements
If device implementations report
android.software.device_admin
orandroid.software.managed_users
, then they:- [C-1-1] MUST support the device policy management role as defined in section 9.1 . The application that holds the device policy management role MAY be defined by setting
config_devicePolicyManagement
to the package name. The package name MUST be followed by:
and the signing certificate unless the application is preloaded.
If a package name is not defined for
config_devicePolicyManagement
as described above:- [C-2-1] Device implementations MUST support provisioning without a device policy management role holder application ( AOSP provides a reference implementation ).
If a package name is defined for
config_devicePolicyManagement
as described above:- [C-3-1] The application MUST be installed on all profiles for a user .
- [C-3-2] Device implementations MAY define an application that updates the device policy management role holder before provisioning by setting
config_devicePolicyManagementUpdater
.
If a package name is defined for
config_devicePolicyManagementUpdater
as described above:- [C-4-1] The application MUST be preinstalled on the device.
- [C-4-2] The application MUST implement an intent filter which resolves
android.app.action.UPDATE_DEVICE_POLICY_MANAGEMENT_ROLE_HOLDER
.
- [C-1-1] MUST support the device policy management role as defined in section 9.1 . The application that holds the device policy management role MAY be defined by setting
3.18 Contacts : Adding information for new contacts.
See revision
Default account for new contacts: Contacts Provider provides APIs to manage the setting of the default account when creating a new contact.
If device implementations preload a contacts app, then the pre-loaded contacts app:
[C-2-1] MUST handle the intent
ContactsContract.Settings.ACTION_SET_DEFAULT_ACCOUNT
to launch a UI for account selection and save the setting to Contacts Provider when an account is selected.[C-2-2] MUST honor the default account setting when handling
Intent.ACTION_INSERT and Intent.ACTION_INSERT_OR_EDIT
for theContactsContracts.Contacts.CONTENT_TYPE
andContactsContract.RawContacts.CONTENT_TYPE
by initially selecting the account.
4. Application Packaging Compatibility
4. Application Packaging Compatibility : Updates to APK Signature Scheme version.
See revision
Device implementations:
[C-0-2] MUST support verifying “.apk” files using the APK Signature Scheme v3.1 , APK Signature Scheme v3 , APK Signature Scheme v2 and JAR signing .
[C-0-9] MUST support verifying .apk files using the APK Signature Scheme v4 and APK Signature Scheme v4.1 .
5. Multimedia Compatibility
5.1.2 Audio Decoding : Added new requirements for decoders capable of outputting mutli-channel audio.
See revision
If device implementations support the decoding of AAC input buffers of multichannel streams (ie more than two channels) to PCM through the default AAC audio decoder in the
android.media.MediaCodec
API, then the following MUST be supported:- [C-7-1] MUST be able to be configured by the application using the decoding with the key
KEY_MAX_OUTPUT_CHANNEL_COUNT
to control whether the content is downmixed to stereo (when using a value of 2) or is output using the native number of channels (when using a value equal or greater to that number). For instance a value of 6 or greater would configure a decoder to output 6 channels when fed 5.1 content. - [C-7-2] When decoding, the decoder MUST advertise the channel mask being used on the output format with the
KEY_CHANNEL_MASK
key, using theandroid.media.AudioFormat
constants (example:CHANNEL_OUT_5POINT1
).
If device implementations support audio decoders other than the default AAC audio decoder and are capable of outputting multi-channel audio (ie more than 2 channels) when fed compressed multi-channel content, then:
- [C-SR] The decoder is STRONGLY RECOMMENDED to be able to be configured by the application using the decoding with the key
KEY_MAX_OUTPUT_CHANNEL_COUNT
to control whether the content is downmixed to stereo (when using a value of 2) or is output using the native number of channels (when using a value equal or greater to that number). For instance a value of 6 or greater would configure a decoder to output 6 channels when fed 5.1 content. - [C-SR] When decoding, the decoder is STRONGLY RECOMMENDED to advertise the channel mask being used on the output format with the
KEY_CHANNEL_MASK
key, using the android.media.AudioFormat constants (example:CHANNEL_OUT_5POINT1
).
- [C-7-1] MUST be able to be configured by the application using the decoding with the key
5.4.1 Raw Audio Capture and Microphone Information : Updates to supported audio sources for audio input streams.
See revision
If device implementations declare
android.hardware.microphone
, they:[C-1-1] MUST allow capture of raw audio content with the following characteristics for any
AudioRecord
orAAudio
INPUT stream that is opened successfully. At a minimum, the following characteristics MUST be supported :- Format: Linear PCM, 16-bit
- Sampling rates: 8000, 11025, 16000, 44100, 48000 Hz
- Channels: Mono
- Audio Sources:
DEFAULT
,MIC
,CAMCORDER
,VOICE_RECOGNITION
,VOICE_COMMUNICATION
,UNPROCESSED
, orVOICE_PERFORMANCE
. This also applies to the equivalent Input Presets inAAudio
, for example,AAUDIO_INPUT_PRESET_CAMCORDER
. - [C-1-4] MUST honor the
MicrophoneInfo
API and properly fill in information for the available microphones on device accessible to the third-party applications via theAudioManager.getMicrophones()
API, for active AudioRecord usingMediaRecorder.AudioSources DEFAULT
,MIC
,CAMCORDER
,VOICE_RECOGNITION
,VOICE_COMMUNICATION
,UNPROCESSED
, orVOICE_PERFORMANCE
.and the currently active microphones which are accessible to the third party applications via theAudioRecord.getActiveMicrophones()
andMediaRecorder.getActiveMicrophones()
APIs.
5.4.2 Capture for Voice Recognition : Updated requirements for voice recognition audio stream and added requirements for microphone gain levels.
See revision
If device implementations declare
android.hardware.microphone
, they:- SHOULD record the voice recognition audio stream with approximately flat amplitude versus frequency characteristics: specifically, ±3 dB, from 100 Hz to 4000 Hz.
- SHOULD record the voice recognition audio stream with input sensitivity set such that a 90 dB sound power level (SPL) source at 1000 Hz yields RMS of 2500 for 16-bit samples.
- SHOULD exhibit approximately flat amplitude-versus-frequency characteristics in the mid-frequency range: specifically ±3dB from 100 Hz to 4000 Hz for each and every microphone used to record the voice recognition audio source.
- [C-SR] are STRONGLY RECOMMENDED to exhibit amplitude levels in the low frequency range: specifically from ±20 dB from 30 Hz to 100 Hz compared to the mid-frequency range for each and every microphone used to record the voice recognition audio source.
- [C-SR] are STRONGLY RECOMMENDED to exhibit amplitude levels in the high frequency range: specifically from ±30 dB from 4000 Hz to 22 KHz compared to the mid-frequency range for each and every microphone used to record the voice recognition audio source.
- SHOULD set audio input sensitivity such that a 1000 Hz sinusoidal tone source played at 90 dB Sound Pressure Level (SPL) (measured next to the microphone) yields an ideal response of RMS 2500 within a range of 1770 and 3530 for 16 bit-samples (or -22.35 db ±3dB Full Scale for floating point/double precision samples) for each and every microphone used to record the voice recognition audio source.
5.4.6 Microphone Gain Levels : Moved requirements for Microphone Gain Levels to section 5.4.2.
See revision
5.4.6. Microphone Gain Levels [Moved to 5.4.2]
If device implementations declare
android.hardware.microphone
, they:- SHOULD exhibit approximately flat amplitude-versus-frequency characteristics in the mid-frequency range: specifically ±3dB from 100 Hz to 4000 Hz for each and every microphone used to record the voice recognition audio source.
- [C-SR] are STRONGLY RECOMMENDED to exhibit amplitude levels in the low frequency range: specifically from ±20 dB from 5 Hz to 100 Hz compared to the mid-frequency range for each and every microphone used to record the voice recognition audio source.
- [C-SR] are STRONGLY RECOMMENDED to exhibit amplitude levels in the high frequency range: specifically from ±30 dB from 4000 Hz to 22 KHz compared to the mid-frequency range for each and every microphone used to record the voice recognition audio source.
- SHOULD set audio input sensitivity such that a 1000 Hz sinusoidal tone source played at 90 dB Sound Pressure Level (SPL) yields a response with RMS of 2500 for 16 bit-samples (or -22.35 dB Full Scale for floating point/double precision samples) for each and every microphone used to record the voice recognition audio source.
5.5.4 Audio Offload : Updates to the audio offload playback requirements.
See revision
If device implementations support audio offload playback , they:
- [C-SR] Are STRONGLY RECOMMENDED to trim the played gapless audio content between two clips with the same format when specified by the AudioTrack gapless API and the media container for MediaPlayer.
5.6 Audio Latency : Updates to the audio latency requirements.
See revision
For the purposes of this section, use the following definitions:
- cold output jitter . The variability among separate measurements of cold output latency values.
- cold input jitter . The variability among separate measurements of cold input latency values.
If device implementations declare
android.hardware.audio.output
, they MUST meet or exceed the following requirements:- [C-1-2] Cold output latency of 500 milliseconds or less.
- [C-1-3] Opening an output stream using
AAudioStreamBuilder_openStream()
MUST take less than 1000 milliseconds.
If device implementations declare
android.hardware.audio.output
they are STRONGLY RECOMMENDED to meet or exceed the following requirements:- [C-SR] Cold output latency of 100 milliseconds or less over the speaker data path.
Existing and new devices that run this version of Android are VERY STRONGLY RECOMMENDED to meet these requirements now. In a future platform release, we will require Cold output latency of 200 ms or less as a MUST. [C-SR] Minimize the cold output jitter.
If device implementations include
android.hardware.microphone
, they MUST meet these input audio requirements:- [C-3-2] Cold input latency of 500 milliseconds or less.
- [C-3-3] Opening an input stream using
AAudioStreamBuilder_openStream()
MUST take less than 1000 milliseconds.
If device implementations include
android.hardware.microphone
, they are STRONGLY RECOMMENDED to meet these input audio requirements:- [C-SR] Cold input latency of 100 milliseconds or less over the microphone data path.
Existing and new devices that run this version of Android are VERY STRONGLY RECOMMENDED to meet these requirements now. In a future platform release we will require Cold input latency of 200 ms or less as a MUST.
- [C-SR] Continuous input latency of 30 milliseconds or less.
- [C-SR] Minimize the cold input jitter.
5.10 Professional Audio : Updates to audio latency requirements for professional audio support.
See revision
If device implementations report support for feature
android.hardware.audio.pro
via the android.content.pm.PackageManager class, they:- [C-1-2] MUST have the continuous round-trip audio latency, as defined in section 5.6 Audio Latency of 25 milliseconds or less
and SHOULD be 10 milliseconds or lessover at least one supported path. - [C-1-5] MUST meet latencies and USB audio requirements using the AAudio native audio API and
AAUDIO_PERFORMANCE_MODE_LOW_LATENCY
. - [C-1-8] MUST have an average Tap-to-tone latency of 80 milliseconds or less over at least 5 measurements over the speaker to microphone data path.
- [C-SR] Are STRONGLY RECOMMENDED to provide a consistent level of CPU performance while audio is active and CPU load is varying. This should be tested using the Android app SynthMark . SynthMark uses a software synthesizer running on a simulated audio framework that measures system performance. See the SynthMark documentation for an explanation of the benchmarks. The SynthMark app needs to be run using the “Automated Test” option and achieve the following results: * voicemark.90 >= 32 voices * latencymark.fixed.little <= 15 msec * latencymark.dynamic.little <= 50 msec
SHOULD have a latency from touch input to audio output of less than or equal to 40 ms.
If device implementations include a 4 conductor 3.5mm audio jack, they:
- [C-2-1] MUST have a mean Continuous Round-trip Audio Latency, as defined in section 5.6 Audio Latency , of 20 milliseconds or less, over 5 measurements with a Mean Absolute Deviation less than 5 milliseconds over the audio jack path using an audio loopback dongle .
- [C-1-2] MUST have the continuous round-trip audio latency, as defined in section 5.6 Audio Latency of 25 milliseconds or less
5.12 HDR Video : Added a new section for HDR Video requirements.
6. Developer Tools and Options Compatibility
6.1 Developer Tools : Updates to connectivity and GPU Kernel requirements.
See revision
If device implementations support adb connections to a host machine via Wi-Fi or Ethernet , they:
- [C-4-1] MUST have the
AdbManager#isAdbWifiSupported()
method returntrue
.
If device implementations support adb connections to a host machine via Wi-Fi or Ethernet , and includes at least one camera, they:
- [C-5-1] MUST have the
AdbManager#isAdbWifiQrSupported()
method returntrue
.
GPU work information
Device implementations:
- [C-6-1] MUST implement the shell command
dumpsys gpu --gpuwork
to display the aggregated GPU work data returned by thepower/gpu_work_period
kernel tracepoint, or display no data if the tracepoint is not supported. The AOSP implementation isframeworks/native/services/gpuservice/gpuwork/
.
- [C-6-1] MUST implement the shell command
- [C-4-1] MUST have the
7. Hardware Compatibility
7.1.4.1 OpenGL ES : Update to recommended extensions.
See revision
If device implementations support any of the OpenGL ES versions, they:
- SHOULD support the
EGL_IMG_context_priority
andEGL_EXT_protected_content
extensions.
- SHOULD support the
7.1.4.2 Vulkan : Updates to version supported for Vulkan.
See revision
If device implementations support OpenGL ES 3.1, they:
- [SR] Are STRONGLY RECOMMENDED to include support for Vulkan 1.3 .
Vulkan 1.1 - MUST NOT support a Vulkan Variant version (ie the variant part of the Vulkan core version MUST be zero).
If device implementations include a screen or video output, they:
- [SR] Are STRONGLY RECOMMENDED to include support for Vulkan 1.3 .
Vulkan 1.1
If device implementations include support for Vulkan 1.0 or higher, they:
- SHOULD support
VkPhysicalDeviceProtectedMemoryFeatures
andVK_EXT_global_priority
. - [C-1-12] MUST NOT enumerate support for the
VK_KHR_performance_query
extension. - [C-SR] Are STRONGLY RECOMMENDED to satisfy the requirements specified by the Android Baseline 2021 profile.
- [SR] Are STRONGLY RECOMMENDED to include support for Vulkan 1.3 .
7.2.3 Navigation Keys :
See revision
Device implementations:
- [C-SR] Are STRONGLY RECOMMENDED to provide all navigation functions as cancellable. 'Cancellable' is defined as the user's ability to prevent the navigation function from executing (eg going home, going back, etc.) if the swipe is not released past a certain threshold.
If the back navigation function is provided and the user cancels the Back gesture, then:
- [C-8-1]
OnBackInvokedCallback.onBackCancelled()
MUST be called. - [C-8-2]
OnBackInvokedCallback.onBackInvoked()
MUST NOT be called. - [C-8-3] KEYCODE_BACK event MUST NOT be dispatched.
If the back navigation function is provided but the foreground application does NOT have an
OnBackInvokedCallback
registered, then:- The system SHOULD provide an animation for the foreground application that suggests that the user is going back, as provided in AOSP.
If device implementations provide support for the system API
setNavBarMode
to allow any system app withandroid.permission.STATUS_BAR
permission to set the navigation bar mode, then they:- [C-9-1] MUST provide support for kid-friendly icons or button-based navigation as provided in the AOSP code.
7.3.1 Accelerometer : Updates to sensor requirements for accelerometers.
See revision
If device implementations include an accelerometer,
a 3-axis accelerometer,they:[C-1-2] MUST implement and reportTYPE_ACCELEROMETER
sensor.[SR] are STRONGLY RECOMMENDED to implement theTYPE_SIGNIFICANT_MOTION
composite sensor.[SR] are STRONGLY RECOMMENDED to implement and reportTYPE_ACCELEROMETER_UNCALIBRATED
sensor. Android devices are STRONGLY RECOMMENDED to meet this requirement so they will be able to upgrade to the future platform release where this might become REQUIRED.SHOULD implement theTYPE_SIGNIFICANT_MOTION
,TYPE_TILT_DETECTOR
,TYPE_STEP_DETECTOR
,TYPE_STEP_COUNTER
composite sensors as described in the Android SDK document.
If device implementations include a 3-axis accelerometer, they:
- [C-2-1] MUST implement and report
TYPE_ACCELEROMETER
sensor. - [C-SR] Are STRONGLY RECOMMENDED to implement the
TYPE_SIGNIFICANT_MOTION
composite sensor. - [C-SR] Are STRONGLY RECOMMENDED to implement and report
TYPE_ACCELEROMETER_UNCALIBRATED
sensor. Android devices are STRONGLY RECOMMENDED to meet this requirement so they will be able to upgrade to the future platform release where this might become REQUIRED. - SHOULD implement the
TYPE_SIGNIFICANT_MOTION
,TYPE_TILT_DETECTOR
,TYPE_STEP_DETECTOR
,TYPE_STEP_COUNTER
composite sensors as described in the Android SDK document.
If device implementations include an accelerometer with less than 3 axes, they:
- [C-3-1] MUST implement and report
TYPE_ACCELEROMETER_LIMITED_AXES
sensor. - [C-SR] Are STRONGLY_RECOMMENDED to implement and report
TYPE_ACCELEROMETER_LIMITED_AXES_UNCALIBRATED
sensor.
If device implementations include a 3-axis accelerometer and any of the
TYPE_SIGNIFICANT_MOTION
,TYPE_TILT_DETECTOR
,TYPE_STEP_DETECTOR
,TYPE_STEP_COUNTER
composite sensors are implemented:- [C-4-1] The sum of their power consumption MUST always be less than 4 mW.
If device implementations include a 3-axis accelerometer and a 3-axis gyroscope sensor, they:
- [C-5-1] MUST implement the
TYPE_GRAVITY
andTYPE_LINEAR_ACCELERATION
composite sensors.
If device implementations include a 3-axis accelerometer, a 3-axis gyroscope sensor, and a magnetometer sensor, they:
- [C-6-1] MUST implement a
TYPE_ROTATION_VECTOR
composite sensor.
7.3.4 Gyroscopes : Updates to sensor requirements for gyroscopes.
See revision
If device implementations include a gyroscope, they:
- [C-1-1] MUST be able to report events up to a frequency of at least 50 Hz.
- [C-1-4] MUST have a resolution of 12-bits or more.
- [C-1-5] MUST be temperature compensated.
- [C-1-6] MUST be calibrated and compensated while in use, and preserve the compensation parameters between device reboots.
- [C-1-7] MUST have a variance no greater than 1e-7 rad^2 / s^2 per Hz (variance per Hz, or rad^2 / s). The variance is allowed to vary with the sampling rate, but MUST be constrained by this value. In other words, if you measure the variance of the gyro at 1 Hz sampling rate it SHOULD be no greater than 1e-7 rad^2/s^2.
- [C-SR] Calibration error is STRONGLY RECOMMENDED to be less than 0.01 rad/s when device is stationary at room temperature.
- [C-SR] Are STRONGLY RECOMMENDED to have a resolution of 16-bits or more.
- SHOULD report events up to at least 200 Hz.
If device implementations include a 3-axis gyroscope, they:
- [C-2-1] MUST implement the
TYPE_GYROSCOPE
sensor.
If device implementations include a gyroscope with less than 3 axes, they:
- [C-3-1] MUST implement and report
TYPE_GYROSCOPE_LIMITED_AXES
sensor. - [C-SR] Are STRONGLY_RECOMMENDED to implement and report
TYPE_GYROSCOPE_LIMITED_AXES_UNCALIBRATED
sensor.
If device implementations include a 3-axis gyroscope, an accelerometer sensor and a magnetometer sensor, they:
- [C-4-1] MUST implement a
TYPE_ROTATION_VECTOR
composite sensor.
If device implementations include a 3-axis accelerometer and a 3-axis gyroscope sensor, they:
- [C-5-1] MUST implement the
TYPE_GRAVITY
andTYPE_LINEAR_ACCELERATION
composite sensors.
7.3.10 Biometric Sensors : Updates to sensor requirements for biometric sensors.
See revision
Biometric sensors can be classified as Class 3 (formerly Strong ), Class 2 (formerly Weak ), or Class 1 (formerly Convenience ) based on their spoof and imposter acceptance rates, and on the security of the biometric pipeline. This classification determines the capabilities the biometric sensor has to interface with the platform and with third-party applications. Sensors need to meet additional requirements as detailed below if they wish to be classified as either Class 1 , Class 2 or Class 3 .
Sensors are classified as Class 1 by default, and need to meet additional requirements as detailed below if they wish to be classified as either Class 2 or Class 3 . Both Class 2 and Class 3 biometrics get additional capabilities as detailed below.If device implementations wish to treat a biometric sensor as Class 1 (formerly Convenience ), they:
- [C-1-11] MUST have a spoof and imposter acceptance rate not higher than 30%, with (1) a spoof and imposter acceptance rate for Level A presentation attack instrument (PAI) species not higher than 30%, and (2) a spoof and imposter acceptance rate of Level B PAI species not higher than 40%, as measured by the Android Biometrics Test Protocols.
If device implementations wish to treat a biometric sensor as Class 2 (formerly Weak ), they:
- [C-2-2] MUST have a spoof and imposter acceptance rate not higher than 20%, with (1) a spoof and imposter acceptance rate for Level A presentation attack instrument (PAI) species not higher than 20%, and (2) a spoof and imposter acceptance rate of Level B PAI species not higher than 30%, as measured by the Android Biometrics Test Protocols .
If device implementations wish to treat a biometric sensor as Class 3 (formerly Strong ), they:
- [C-3-3] MUST have a spoof and imposter acceptance rate not higher than 7%, with (1) a spoof and imposter acceptance rate for Level A presentation attack instrument (PAI) species not higher than 7%, and (2) a spoof and imposter acceptance rate of Level B PAI species not higher than 20%, as measured by the Android Biometrics Test Protocols .
7.3.13 IEEE 802.1.15.4 (UWB) : Added a new requirements section for UWB.
See revision
7.3.13. IEEE 802.1.15.4 (UWB)
If device implementations include support for 802.1.15.4 and expose the functionality to a third-party application, they:
- [C-1-1] MUST implement the corresponding Android API in android.uwb.
- [C-1-2] MUST report the hardware feature flag android.hardware.uwb.
- [C-1-3] MUST support all the relevant UWB profiles defined in Android implementation.
- [C-1-4] MUST provide a user affordance to allow the user to toggle the UWB radio on/off state.
- [C-1-5] MUST enforce that apps using UWB radio hold UWB_RANGING permission (under NEARBY_DEVICES permission group).
- [C-1-6] Are STRONGLY RECOMMENDED to pass the relevant conformance and certification tests defined by standard organizations, including FIRA , CCC and CSA .
7.4.1 Telephony : Updates to telephony requirements for GSM and CDMA telephony, and cellular usage settings.
See revision
If device implementations support eUICCs or eSIMs/embedded SIMs and include a proprietary mechanism to make eSIM functionality available for third-party developers, they:
- [C-3-1] MUST declare the
android.hardware.telephony.euicc
feature flag.provide a complete implementation of theEuiccManager API
.
If device implementations include GSM or CDMA telephony, then:
- [C-6-1] The
SmsManager#sendTextMessage
andSmsManager#sendMultipartTextMessage
MUST result in corresponding calls toCarrierMessagingService
for providing text messaging functionality.SmsManager#sendMultimediaMessage
andSmsManager#downloadMultimediaMessage
MUST result in corresponding calls toCarrierMessagingService
for providing multimedia messaging functionality. - [C-6-2] The application designated by
android.provider.Telephony.Sms#getDefaultSmsPackage
MUST use SmsManager APIs when sending and receiving SMS and MMS messages. The AOSP reference implementation in packages/apps/Messaging meets this requirement. - [C-6-3] The application which responds to
Intent#ACTION_DIAL
MUST support entry of arbitrary dialer codes formatted as*#*#CODE#*#*
and trigger a correspondingTelephonyManager#ACTION_SECRET_CODE
broadcast. - [C-6-4] The application which responds to
Intent#ACTION_DIAL
MUST useVoicemailContract.Voicemails#TRANSCRIPTION
to display visual voicemail transcription to users if it supports visual voicemail transcriptions. - [C-6-5] MUST represent all SubscriptionInfo with equivalent group UUIDs as a single subscription in all user-visible affordances that display and control SIM card information. Examples of such affordances include settings interfaces that match
Settings#ACTION_MANAGE_ALL_SIM_PROFILES_SETTINGS
orEuiccManager#ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS
. - [C-6-6] MUST NOT display or allow control of any SubscriptionInfo with a non-null group UUID and opportunistic bit in any user-visible affordances that allow configuration or control of SIM card settings.
If the device device implementations include GSM or CDMA telephony and provide a system status bar, then:
- [C-6-7] MUST select a representative active subscription for a given group UUID to display to the user in any affordances that provide SIM status information. Examples of such affordances include the status bar cellular signal icon or quick settings tile.
- [C-SR] It is STRONGLY RECOMMENDED that the representative subscription is chosen to be the active data subscription unless the device is in a voice call, during which it is STRONGLY RECOMMENDED that the representative subscription is the active voice subscription.
If device implementations include GSM or CDMA telephony, then:
- [C-6-8] MUST be capable of opening and concurrently utilizing the maximum number of logical channels (20 in total) for each UICC per ETSI TS 102 221.
- [C-6-10] MUST NOT apply any of the following behaviors to active carrier apps (as designated by
TelephonyManager#getCarrierServicePackageName
) automatically or without explicit user confirmation:- Revoke or limit network access
- Revoke permissions
- Restrict background or foreground app execution beyond the existing power management features included in AOSP
- Disable or uninstall the app
If device device implementations include GSM or CDMA telephony and all active, non-opportunistic subscriptions that share a group UUID are disabled, physically removed from the device, or marked opportunistic, then the device:
- [C-7-1] MUST automatically disable all remaining active opportunistic subscriptions in the same group.
If device implementations include GSM telephony but not CDMA telephony, they:
- [C-8-1] MUST NOT declare
PackageManager#FEATURE_TELEPHONY_CDMA
. - [C-8-2] MUST throw an
IllegalArgumentException
upon attempts to set any 3GPP2 network types in preferred or allowed network type bitmasks. - [C-8-3] MUST return an empty string from
TelephonyManager#getMeid
.
If the device implementations support eUICCs with multiple ports and profiles, they:
- [C-11-1] MUST declare the
android.hardware.telephony.euicc.mep
feature flag.
- [C-3-1] MUST declare the
7.4.1.1 Number Blocking Compatibility : Updates to the number blocking requirements.
See revision
If device implementations report the
android.hardware.telephony feature
, they:- [C-1-4] MUST NOT write to the platform call log provider for a blocked call.
- [C-1-4] MUST write to the platform call log provider for a blocked call and MUST filter calls with
BLOCKED_TYPE
out of the default call log view in the pre-installed dialer app. - SHOULD provide a user affordance to show blocked calls in the pre-installed dialer app.
7.4.1.3 Cellular NAT-T Keepalive Offload : New section for Cellular NAT-T Keepalive Offload.
See revision
7.4.1.3. Cellular NAT-T Keepalive Offload
Device implementations:
- SHOULD include support for Cellular keepalive offload.
If device implementations include support for Cellular keepalive offload and exposes the functionality to third-party apps, they:
- [C-1-1] MUST support the SocketKeepAlive API.
- [C-1-2] MUST support at least one concurrent keepalive slot over cellular.
- [C-1-3] MUST support as many concurrent cellular keepalive slots as are supported by the Cellular Radio HAL.
- [C-SR] Are STRONGLY RECOMMENDED to support at least three cellular keepalive slots per radio instance.
If device implementations do not include support for cellular keepalive offload, they:
- [C-2-1] MUST return ERROR_UNSUPPORTED.
7.4.2.5 Wi-Fi Location (Wi-Fi Round Trip Time - RTT) : Updates to Wi-Fi location accuracy.
See revision
If device implementations include support for Wi-Fi Location and expose the functionality to third-party apps, then they:
- [C-1-4] MUST be accurate to within 2 meters at 80 MHz bandwidth at the 68th percentile (as calculated with the Cumulative Distribution Function).
- [C-SR] Are STRONGLY RECOMMENDED to report it accurately to within 1.5 meters at 80 MHz bandwidth at the 68th percentile (as calculated with the Cumulative Distribution Function).
7.4.2.6 Wi-Fi Keepalive Offload : Updated to add cellular keepalive offload requirements.
See revision
Device implementations:
- SHOULD include support for Wi-Fi keepalive offload.
If device implementations include support for Wi-Fi keepalive offload and expose the functionality to third-party apps, they:
- [C-1-1] MUST support the SocketKeepAlive API.
- [C-1-2] MUST support at least three concurrent keepalive slots over Wi-Fi
and at least one keepalive slot over cellular.If device implementations do not include support for Wi-Fi keepalive offload, they:
- [C-2-1] MUST return
ERROR_UNSUPPORTED
.
7.4.2.9 Trust On First Use (TOFU) : Added Trust on First Use requirements section.
See revision
7.4.2.9 Trust On First Use (TOFU)
If device implementations support Trust on first usage (TOFU) and allow the user to define WPA/WPA2/WPA3-Enterprise configurations, then they:
- [C-4-1] MUST provide the user an option to select to use TOFU.
7.4.3 Bluetooth : Update to Bluetooth requirements.
See revision
If device implementations support Bluetooth Audio profile, they:
- SHOULD support Advanced Audio Codecs and Bluetooth Audio Codecs (eg LDAC) with A2DP.
If device implementations return
true
for theBluetoothAdapter.isLeAudioSupported()
API, then they:- [C-7-1] MUST support unicast client.
- [C-7-2] MUST support 2M PHY.
- [C-7-3] MUST support LE Extended advertising.
- [C-7-4] MUST support at least 2 CIS connections in a CIG.
- [C-7-5] MUST enable BAP unicast client, CSIP set coordinator, MCP server, VCP controller, CCP server simultaneously.
- [C-SR] Are STRONGLY RECOMMENDED to enable HAP unicast client.
If device implementations return
true
for theBluetoothAdapter.isLeAudioBroadcastSourceSupported()
API, then they:- [C-8-1] MUST support at least 2 BIS links in a BIG.
- [C-8-2] MUST enable BAP broadcast source, BAP broadcast assistant simultaneously.
- [C-8-3] MUST support LE Periodic advertising.
If device implementations return
true
for theBluetoothAdapter.isLeAudioBroadcastAssistantSupported()
API, then they:- [C-9-1] MUST support PAST (Periodic Advertising Sync Transfer).
- [C-9-2] MUST support LE Periodic advertising.
If device implementations declare
FEATURE_BLUETOOTH_LE
, they:- [C-10-1] MUST have RSSI measurements be within +/-9dB for 95% of the measurements at 1m distance from a reference device transmitting at
ADVERTISE_TX_POWER_HIGH
in line of sight environment. - [C-10-2] MUST include Rx/Tx corrections to reduce per-channel deviations so that the measurements on each of the 3 channels, on each of the antennas (if multiple are used), are within +/-3dB of one another for 95% of the measurements.
- [C-SR] Are STRONGLY RECOMMENDED to measure and compensate for Rx offset to ensure the median BLE RSSI is -60dBm +/-10 dB at 1m distance from a reference device transmitting at
ADVERTISE_TX_POWER_HIGH
, where devices are oriented such that they are on 'parallel planes' with screens facing the same direction. - [C-SR] Are STRONGLY RECOMMENDED to measure and compensate for Tx offset to ensure the median BLE RSSI is -60dBm +/-10 dB when scanning from a reference device positioned at 1m distance and transmitting at
ADVERTISE_TX_POWER_HIGH
, where devices are oriented such that they are on 'parallel planes' with screens facing the same direction.
It is STRONGLY RECOMMENDED to follow the measurement setup steps specified in Presence Calibration Requirements .
If device implementations support Bluetooth version 5.0, then they:
- [C-SR] Are STRONGLY RECOMMENDED to provide support for:
- LE 2M PHY
- LE Codec PHY
- LE Advertising Extension
- Periodic advertising
- At least 10 advertisement sets
- At least 8 LE concurrent connections. Each connection can be in either connection topology roles.
- LE Link Layer Privacy
- A "resolving list" size of at least 8 entries
7.4.9 UWB : Added a requirements section for UWB hardware.
See revision
7.4.9. UWB
If device implementations report support for feature
android.hardware.uwb
via theandroid.content.pm.PackageManager
class, then they:- [C-1-1] MUST ensure the distance measurements are within +/-15 cm for 95% of the measurements in the line of sight environment at 1m distance in a non-reflective chamber.
- [C-1-2] MUST ensure that the median of the distance measurements at 1m from the reference device is within [0.75m, 1.25m], where ground truth distance is measured from the top edge of the DUT held face up and tilted 45 degrees.
It is STRONGLY RECOMMENDED to follow the measurement setup steps specified in Presence Calibration Requirements .
7.5 Cameras : Updates to the requirements for HDR 10-bit output capability.
See revision
If device implementations support HDR 10-bit output capability, then they:
- [C-2-1] MUST support at least the HLG HDR profile for every camera device that supports 10-bit output.
- [C-2-2] MUST support 10-bit output for either the primary rear-facing or the primary front-facing camera.
- [C-SR] Are STRONGLY RECOMMENDED to support 10-bit output for both primary cameras.
- [C-2-3] MUST support the same HDR profiles for all BACKWARD_COMPATIBLE-capable physical sub-cameras of a logical camera, and the logical camera itself.
For Logical camera devices which support 10-bit HDR that implement the
android.hardware.camera2.CaptureRequest#CONTROL_ZOOM_RATIO
API, they:- [C-3-1] MUST support switching between all the backwards-compatible physical cameras via the
CONTROL_ZOOM_RATIO
control on the logical camera.
7.7.2 USB Host Mode : Revisions for dual role ports.
See revision
If device implementations include a USB port supporting host mode and USB Type-C, they:
- [C-4-1] MUST implement Dual Role Port functionality as defined by the USB Type-C specification (section 4.5.1.3.3). For Dual Role Ports, On devices that include a 3.5mm audio jack, the USB sink detection (host mode) MAY be off by default but it MUST be possible for the user to enable it.
7.11 Media Performance Class : Updated to include Android T.
See revision
If device implementations return non-zero value for
android.os.Build.VERSION_CODES.MEDIA_PERFORMANCE_CLASS
, they:- [C-1-3] MUST meet all requirements for "Media Performance Class" described in section 2.2.7 .
In other words, media performance class in Android T is only defined for handheld devices at version T, S or R.
See section 2.2.7 for device-specific requirements.
9. Security Model Compatibility
9.1 Permissions : Extend accepted paths for permissions allowlists for preinstalled apps to APEX files.
See revision
- [C-0-2] Permissions with a
protectionLevel
ofPROTECTION_FLAG_PRIVILEGED
MUST only be granted to apps preinstalled in the privileged path(s) of the system image (as well as APEX files ) and be within the subset of the explicitly allowlisted permissions for each app. The AOSP implementation meets this requirement by reading and honoring the allowlisted permissions for each app from the files in theetc/permissions/
path and using thesystem/priv-app
path as the privileged path.
- [C-0-2] Permissions with a
9.7 Security Features : Updates to initialization requirements to maintain kernel integrity.
See revision
Kernel integrity and self-protection features are integral to Android security. Device implementations:
- [C-SR] Are STRONGLY RECOMMENDED to enable stack initialization in the kernel to prevent uses of uninitialized local variables (
CONFIG_INIT_STACK_ALL
orCONFIG_INIT_STACK_ALL_ZERO
). Also, device implementations SHOULD NOT assume the value used by the compiler to initialize the locals.
- [C-SR] Are STRONGLY RECOMMENDED to enable stack initialization in the kernel to prevent uses of uninitialized local variables (
9.8.7 Privacy — Clipboard Access : Automatically clear clipboard data after 60 minutes following a cut/copy/paste activity to protect user privacy.
See revision
Device implementations:
- [C-0-1] MUST NOT return a clipped data from the clipboard (eg via the
ClipboardManager
API) unless the 3rd-party app is the default IME or is the app that currently has focus. - [C-0-2] MUST clear clipboard data at most 60 minutes after it has last been placed in a clipboard or read from a clipboard.
- [C-0-1] MUST NOT return a clipped data from the clipboard (eg via the
9.11 Keys and Credentials : Updates to the secure lock screen requirements, including the addition of ECDH and 3DES to crypto algorithms.
See revision
When the device implementation supports a secure lock screen, it:
- [C-1-2] MUST have implementations of RSA, AES, ECDSA, ECDH (if IKeyMintDevice is supported), 3DES, and HMAC cryptographic algorithms and MD5, SHA1, and SHA-2 family hash functions to properly support the Android Keystore system's supported algorithms in an area that is securely isolated from the code running on the kernel and above. Secure isolation MUST block all potential mechanisms by which kernel or userspace code might access the internal state of the isolated environment, including DMA. The upstream Android Open Source Project (AOSP) meets this requirement by using the Trusty implementation, but another ARM TrustZone-based solution or a third-party reviewed secure implementation of a proper hypervisor-based isolation are alternative options.
9.11.1 Secure Lock Screen, Authentication, and Virtual Devices : Added requirements section for virtual devices and authentication transfers.
See revision
If device implementations add or modify the authentication methods to unlock the lock screen and a new authentication method is based on a physical token or the location:
- [C-6-3] The user MUST be challenged for one of the recommended primary authentication methods (egPIN, pattern, password) at least once every 4 hours or less. When a physical token meets the requirements for TrustAgent implementations in CX, timeout restrictions defined in C-9-5 apply instead.
If device implementations allow applications to create secondary virtual displays and do not support associated input events, such as via
VirtualDeviceManager
, they:- [C-9-1] MUST lock these secondary virtual display(s) when the device's default display is locked, and unlock these secondary virtual display(s) when the device's default display is unlocked.
If device implementations allow applications to create secondary virtual displays and support associated input events, such as via VirtualDeviceManager , they:
- [C-10-1] MUST support separate lock states per virtual device
- [C-10-2] MUST disconnect all virtual devices upon idle timeout
- [C-10-3] MUST have an idle timeout
- [C-10-4] MUST lock all displays when the user initiates a lockdown , including via the lockdown user affordance required for handheld devices (see Section 2.2.5[9.11/H-1-2] )
- [C-10-5] MUST have separate virtual device instances per user
- [C-10-6] MUST disable the creation of associated input events via
VirtualDeviceManager
when indicated byDevicePolicyManager.setNearbyAppStreamingPolicy
- [C-10-7] MUST use a separate clipboard solely for each virtual device (or disable the clipboard for virtual devices)
- [C-10-11] MUST disable authentication UI on virtual devices, including knowledge factor entry and biometric prompt
- [C-10-12] MUST restrict intents initiated from a virtual device to display only on the same virtual device
- [C-10-13] MUST not use a virtual device lock state as user authentication authorization with the Android Keystore System. See
KeyGenParameterSpec.Builder.setUserAuthentication*
.
When device implementations allow the user to transfer the primary authentication knowledge-factor from a source device to a target device, such as for initial setup of the target device, they:
- [C-11-1] MUST encrypt the knowledge-factor with protection guarantees similar to those described in the Google Cloud Key Vault Service security whitepaper when transferring the knowledge-factor from the source device to the target device such that the knowledge-factor cannot be remotely decrypted or used to remotely unlock either device.
- [C-11-2] MUST, on the source device , ask the user to confirm the knowledge-factor of the source device before transferring the knowledge-factor to the target device.
- [C-11-3] MUST, on a target device lacking any set primary authentication knowledge-factor, ask the user to confirm a transferred knowledge-factor on the target device before setting that knowledge-factor as the primary authentication knowledge-factor for the target device and before making available any data transferred from a source device.
If device implementations have a secure lock screen and include one or more trust agents, which call the
TrustAgentService.grantTrust()
System API with theFLAG_GRANT_TRUST_TEMPORARY_AND_RENEWABLE
flag they:- [C-12-1] MUST only call
grantTrust()
with the flag when connected to a proximate physical device with a lockscreen of its own, and when the user has authenticated their identity against that lockscreen. Proximate devices can use on-wrist or on-body detection mechanisms after a one-time user unlock to satisfy the user authentication requirement. - [C-12-2] MUST put the device implementation into the
TrustState.TRUSTABLE
state when the screen is turned off (such as via a button press or display time out) and the TrustAgent has not revoked trust. The AOSP satisfies this requirement. - [C-12-3] MUST only move the device from
TrustState.TRUSTABLE
to theTrustState.TRUSTED
state if the TrustAgent is still granting trust based on the requirements in C-12-1. - [C-12-4] MUST call
TrustManagerService.revokeTrust()
after a maximum of 24 hours from granting trust, an 8 hour idle window, or when the underlying connection to the proximate physical device is lost.
If device implementations allow applications to create secondary virtual displays and support associated input events such as via VirtualDeviceManager and the displays are not marked with VIRTUAL_DISPLAY_FLAG_SECURE, they:
- [C-13-8] MUST block activities with the attribute android:canDisplayOnRemoteDevices or the meta-data android.activity.can_display_on_remote_devices set to false from being started on the virtualdevice.
- [C-13-9] MUST block activities which do not explicitly enable streaming and which indicate they show sensitive content, including via SurfaceView#setSecure, FLAG_SECURE, or SYSTEM_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS, from being started on the virtual device.
- [C-13-10] MUST disable installation of apps initiated from virtual devices.
9.11.2 Strongbox : Making insider attack resistance (IAR) a necessary requirement.
See revision
To validate compliance with [C-1-3] through [C-1-9], device implementations:
- [C-SR] are STRONGLY RECOMMENDED to provide insider attack resistance (IAR), which means that an insider with access to firmware signing keys cannot produce firmware that causes the StrongBox to leak secrets, to bypass functional security requirements or otherwise enable access to sensitive user data. The recommended way to implement IAR is to allow firmware updates only when the primary user password is provided via the IAuthSecret HAL. IAR will become a MUST requirement in Android 14 (AOSP experimental).
9.11.3 Identity Credential : Added information about the Identity Credential system reference implementation.
See revision
The Identity Credential System is defined and achieved by implementing all APIs in the
android.security.identity.*
package. These APIs allows app developers to store and retrieve user identity documents. Device implementations:The upstream Android Open Source Project provides a reference implementation of a trusted application ( libeic ) that can be used to implement the Identity Credential system.
9.11.4 ID Attestation : Added a section for ID attestation requirement.
See revision
9.11.4. ID Attestation
Device implementations MUST support ID attestation .
9.17 Android Virtualization Framework : Added a requirements section for Android Virtualization Framework.
See revision
9.17. Android Virtualization Framework
If the device implements support for the Android Virtualization Framework APIs (
android.system.virtualmachine.*
), the Android host:- [C-1-1] MUST support all the APIs defined by the
android.system.virtualmachine.*
package. - [C-1-2] MUST NOT modify the Android SELinux and permission model for the management of Protected Virtual Machines.
- [C-1-3] MUST NOT modify, omit, or replace the neverallow rules present within the system/sepolicy provided in the upstream Android Open Source Project (AOSP) and the policy MUST compile with all neverallow rules present.
- [C-1-4] MUST NOT allow untrusted code (eg 3p apps) to create and run a Protected Virtual Machine. Note: This might change in future Android releases.
- [C-1-5] MUST NOT allow a Protected Virtual Machine to execute code that is not part of the factory image or their updates. Anything that is not covered by Android Verified Boot (eg files downloaded from the Internet or sideloaded) MUST NOT be allowed to be run in a Protected Virtual Machine.
If the device implements support for the Android Virtualization Framework APIs (
android.system.virtualmachine.*
), then any Protected Virtual Machine instance:- [C-2-1] MUST be able to run all operating systems available in the virtualization APEX in a Protected Virtual Machine.
- [C-2-2] MUST NOT allow a Protected Virtual Machine to run an operating system that is not signed by the device implementor or OS vendor.
- [C-2-3] MUST NOT allow a Protected Virtual Machine to execute data as code (eg SELinux neverallow execmem).
- [C-2-4] MUST NOT modify, omit, or replace the neverallow rules present within the system/sepolicy/microdroid provided in the upstream Android Open Source Project (AOSP).
- [C-2-5] MUST implement Protected Virtual Machine defense-in-depth mechanisms (eg SELinux for pVMs) even for non-Microdroid operating systems.
- [C-2-6] MUST ensure that the pVM firmware refuses to boot if it cannot verify the initial image.
- [C-2-7] MUST ensure that the pVM firmware refuses to boot if the integrity of the instance.img is compromised.
If the device implements support for the Android Virtualization Framework APIs (
android.system.virtualmachine.*
), then the hypervisor:- [C-3-1] MUST NOT allow any pVM to have access to a page belonging to another entity (ie other pVM or hypervisor), unless explicitly shared by the page owner. This includes the host VM. This applies to both CPU and DMA accesses.
- [C-3-2] MUST wipe a page after it is used by a VM and before it is returned to the host (eg the pVM is destroyed).
- [C-3-3] MUST ensure that the pVM firmware is loaded and executed prior to any code in a pVM.
- [C-3-4] MUST ensure that BCC and CDIs provided to a pVM instance can only be derived by that particular instance.
If the device implements support for the Android Virtualization Framework APIs, then across all areas:
- [C-4-1] MUST NOT provide functionality to a pVM that allows bypassing the Android Security Model.
If the device implements support for the Android Virtualization Framework APIs, then:
- [C-5-1] MUST support Isolated Compilation of an ART runtime update.
If the device implements support for the Android Virtualization Framework APIs, then for Key Management:
- [C-6-1] MUST root DICE chain at a point that the user cannot modify, even on unlocked devices. (To ensure it cannot be spoofed).
- [C-6-2] MUST do DICE properly ie provide the correct values. But it might not have to go to that level of detail.
- [C-1-1] MUST support all the APIs defined by the
Le contenu et les exemples de code de cette page sont soumis aux licences décrites dans la Licence de contenu. Java et OpenJDK sont des marques ou des marques déposées d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2022/12/12 (UTC).
[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Il n'y a pas l'information dont j'ai besoin" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Trop compliqué/Trop d'étapes" },{ "type": "thumb-down", "id": "outOfDate", "label":"Obsolète" },{ "type": "thumb-down", "id": "translationIssue", "label":"Problème de traduction" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Mauvais exemple/Erreur de code" },{ "type": "thumb-down", "id": "otherDown", "label":"Autre" }] [{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Facile à comprendre" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"J'ai pu résoudre mon problème" },{ "type": "thumb-up", "id": "otherUp", "label":"Autre" }] - [C-2-1] MUST return