1 /* 2 * Copyright (C) 2016 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 package android.content.pm.cts.shortcutmanager.common; 17 18 import java.security.SecureRandom; 19 20 public class Constants { 21 public static final String ACTION_THROTTLING_TEST = 22 "android.content.pm.cts.shortcutmanager.ACTION_THROTTLING_TEST"; 23 public static final String ACTION_REPLY = 24 "android.content.pm.cts.shortcutmanager.ACTION_REPLY"; 25 26 public static final String EXTRA_METHOD = "method"; 27 public static final String EXTRA_REPLY_ACTION = "reply_action"; 28 29 public static final String TEST_SET_DYNAMIC_SHORTCUTS = "testSetDynamicShortcuts"; 30 public static final String TEST_ADD_DYNAMIC_SHORTCUTS = "testAddDynamicShortcuts"; 31 public static final String TEST_UPDATE_SHORTCUTS = "testUpdateShortcuts"; 32 33 public static final String TEST_ACTIVITY_UNTHROTTLED = "testActivityUnthrottled"; 34 public static final String TEST_FG_SERVICE_UNTHROTTLED = "testFgServiceUnthrottled"; 35 public static final String TEST_BG_SERVICE_THROTTLED = "testBgServiceThrottled"; 36 37 public static final String TEST_INLINE_REPLY_SHOW = "testInlineReplyShow"; 38 public static final String TEST_INLINE_REPLY_CHECK = "testInlineReplyCheck"; 39 40 public static final String INLINE_REPLY_TITLE = "InlineReplyTestTitle"; 41 public static final String INLINE_REPLY_REMOTE_INPUT_CAPTION = "__INLINE_REPLY_REMOTE_INPUT__"; 42 43 public static final String IGNORE = "IGNORE"; 44 public static final String REQUEST_IGNORED_MESSAGE = "REQUEST_IGNORED_MESSAGE"; 45 46 public static final String ALREADY_PINNED = "ALREADY_PINNED"; 47 48 public static final String HAS_ICON = "HAS_ICON"; 49 public static final String LABEL = "LABEL"; 50 51 public static final SecureRandom sRandom = new SecureRandom(); 52 } 53