• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright 2024 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<bookmarks xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
17    <!-- the key combinations for the following shortcuts must be in sync
18         with the key combinations sent by the test in ModifierShortcutTests.java -->
19    <bookmark
20        role="android.app.role.BROWSER"
21        androidprv:keycode="KEYCODE_B"
22        androidprv:modifierState="META" />
23    <bookmark
24        category="android.intent.category.APP_CONTACTS"
25        androidprv:keycode="KEYCODE_P"
26        androidprv:modifierState="META" />
27    <bookmark
28        category="android.intent.category.APP_EMAIL"
29        androidprv:keycode="KEYCODE_E"
30        androidprv:modifierState="META" />
31    <bookmark
32        category="android.intent.category.APP_CALENDAR"
33        androidprv:keycode="KEYCODE_C"
34        androidprv:modifierState="META" />
35    <bookmark
36        category="android.intent.category.APP_MAPS"
37        androidprv:keycode="KEYCODE_M"
38        androidprv:modifierState="META" />
39    <bookmark
40        category="android.intent.category.APP_CALCULATOR"
41        androidprv:keycode="KEYCODE_U"
42        androidprv:modifierState="META" />
43
44    <bookmark
45        role="android.app.role.BROWSER"
46        androidprv:keycode="KEYCODE_B"
47        androidprv:modifierState="META|SHIFT" />
48
49    <bookmark
50        category="android.intent.category.APP_CONTACTS"
51        androidprv:keycode="KEYCODE_P"
52        androidprv:modifierState="META|SHIFT" />
53
54    <bookmark
55        package="com.test"
56        class="com.test.BookmarkTest"
57        androidprv:keycode="KEYCODE_J"
58        androidprv:modifierState="META|SHIFT" />
59
60    <!-- The following shortcuts will not be invoked by tests but are here to
61         provide test coverage of parsing the different types of shortcut. -->
62    <bookmark
63        package="com.test"
64        class="com.test.BookmarkTest"
65        androidprv:keycode="KEYCODE_J"
66        androidprv:modifierState="META" />
67    <bookmark
68        package="com.test2"
69        class="com.test.BookmarkTest"
70        androidprv:keycode="KEYCODE_D"
71        androidprv:modifierState="META" />
72
73
74    <!-- It's intended that this package/class will NOT resolve so we test the resolution
75         failure case. -->
76    <bookmark
77        package="com.test3"
78        class="com.test.BookmarkTest"
79        androidprv:keycode="KEYCODE_F"
80        androidprv:modifierState="META" />
81
82</bookmarks>
83