1 /* 2 * Copyright (C) 2021 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.server.nearby.fastpair; 18 19 /** 20 * String constant for half sheet. 21 */ 22 public class Constant { 23 24 /** 25 * Value represents true for {@link android.provider.Settings.Secure} 26 */ 27 public static final int SETTINGS_TRUE_VALUE = 1; 28 29 /** 30 * Tag for Fast Pair service related logs. 31 */ 32 public static final String TAG = "FastPairService"; 33 34 public static final String EXTRA_BINDER = "com.android.server.nearby.fastpair.BINDER"; 35 public static final String EXTRA_BUNDLE = "com.android.server.nearby.fastpair.BUNDLE_EXTRA"; 36 public static final String ACTION_FAST_PAIR_HALF_SHEET_CANCEL = 37 "com.android.nearby.ACTION_FAST_PAIR_HALF_SHEET_CANCEL"; 38 public static final String EXTRA_HALF_SHEET_INFO = 39 "com.android.nearby.halfsheet.HALF_SHEET"; 40 public static final String EXTRA_HALF_SHEET_TYPE = 41 "com.android.nearby.halfsheet.HALF_SHEET_TYPE"; 42 public static final String DEVICE_PAIRING_FRAGMENT_TYPE = "DEVICE_PAIRING"; 43 } 44