HomeSort by relevance Sort by last modified time
    Searched refs:Constants (Results 101 - 125 of 1030) sorted by null

1 2 3 45 6 7 8 91011>>

  /developers/samples/android/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
IncomingRequestPhoneService.java 26 import com.example.android.wearable.runtimepermissions.common.Constants;
59 if (messagePath.equals(Constants.MESSAGE_PATH_PHONE)) {
62 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0);
64 if (requestType == Constants.COMM_TYPE_REQUEST_PROMPT_PERMISSION) {
67 } else if (requestType == Constants.COMM_TYPE_REQUEST_DATA) {
80 dataMap.putInt(Constants.KEY_COMM_TYPE,
81 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION);
105 dataMap.putInt(Constants.KEY_COMM_TYPE,
106 Constants.COMM_TYPE_RESPONSE_PERMISSION_REQUIRED);
132 dataMap.putInt(Constants.KEY_COMM_TYPE
    [all...]
  /development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
IncomingRequestPhoneService.java 26 import com.example.android.wearable.runtimepermissions.common.Constants;
59 if (messagePath.equals(Constants.MESSAGE_PATH_PHONE)) {
62 int requestType = dataMap.getInt(Constants.KEY_COMM_TYPE, 0);
64 if (requestType == Constants.COMM_TYPE_REQUEST_PROMPT_PERMISSION) {
67 } else if (requestType == Constants.COMM_TYPE_REQUEST_DATA) {
80 dataMap.putInt(Constants.KEY_COMM_TYPE,
81 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION);
105 dataMap.putInt(Constants.KEY_COMM_TYPE,
106 Constants.COMM_TYPE_RESPONSE_PERMISSION_REQUIRED);
132 dataMap.putInt(Constants.KEY_COMM_TYPE
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/
IntentBuilders.java 39 intent.setComponent(Constants.TRIGGER_SERVICE_COMPONENT_NAME);
51 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME;
54 intent.setAction(Constants.ACTION_LAUNCH_BACKGROUND_SCRIPT);
55 intent.putExtra(Constants.EXTRA_SCRIPT_PATH, script.getAbsolutePath());
67 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME;
70 intent.setAction(Constants.ACTION_LAUNCH_FOREGROUND_SCRIPT);
71 intent.putExtra(Constants.EXTRA_SCRIPT_PATH, script.getAbsolutePath());
83 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME;
86 intent.setAction(Constants.ACTION_LAUNCH_INTERPRETER);
87 intent.putExtra(Constants.EXTRA_INTERPRETER_NAME, interpreterName)
    [all...]
  /frameworks/base/media/java/android/media/tv/
TvInputHardwareInfo.java 23 import android.hardware.tv.input.V1_0.Constants;
41 public static final int TV_INPUT_TYPE_OTHER_HARDWARE = Constants.TV_INPUT_TYPE_OTHER;
42 public static final int TV_INPUT_TYPE_TUNER = Constants.TV_INPUT_TYPE_TUNER;
43 public static final int TV_INPUT_TYPE_COMPOSITE = Constants.TV_INPUT_TYPE_COMPOSITE;
44 public static final int TV_INPUT_TYPE_SVIDEO = Constants.TV_INPUT_TYPE_SVIDEO;
45 public static final int TV_INPUT_TYPE_SCART = Constants.TV_INPUT_TYPE_SCART;
46 public static final int TV_INPUT_TYPE_COMPONENT = Constants.TV_INPUT_TYPE_COMPONENT;
47 public static final int TV_INPUT_TYPE_VGA = Constants.TV_INPUT_TYPE_VGA;
48 public static final int TV_INPUT_TYPE_DVI = Constants.TV_INPUT_TYPE_DVI;
49 public static final int TV_INPUT_TYPE_HDMI = Constants.TV_INPUT_TYPE_HDMI
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiver.java 55 private static final boolean D = Constants.DEBUG;
56 private static final boolean V = Constants.VERBOSE;
89 } else if (action.equals(Constants.ACTION_INCOMING_FILE_CONFIRM)) {
100 } else if (action.equals(Constants.ACTION_DECLINE)) {
111 } else if (action.equals(Constants.ACTION_ACCEPT)) {
121 } else if (action.equals(Constants.ACTION_OPEN) || action.equals(Constants.ACTION_LIST)) {
123 if (action.equals(Constants.ACTION_OPEN)) {
151 } else if (action.equals(Constants.ACTION_OPEN_OUTBOUND_TRANSFER)) {
160 } else if (action.equals(Constants.ACTION_OPEN_INBOUND_TRANSFER))
    [all...]
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecLocalDevice.java 84 logicalAddress = Constants.ADDR_INVALID;
85 physicalAddress = Constants.INVALID_PHYSICAL_ADDRESS;
106 String logicalAddressString = (logicalAddress == Constants.ADDR_INVALID)
109 String physicalAddressString = (physicalAddress == Constants.INVALID_PHYSICAL_ADDRESS)
159 mAddress = Constants.ADDR_UNREGISTERED;
226 if (dest != mAddress && dest != Constants.ADDR_BROADCAST) {
241 case Constants.MESSAGE_ACTIVE_SOURCE:
243 case Constants.MESSAGE_INACTIVE_SOURCE:
245 case Constants.MESSAGE_REQUEST_ACTIVE_SOURCE:
247 case Constants.MESSAGE_GET_MENU_LANGUAGE
    [all...]
  /cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
ShortcutManagerThrottlingTest.java 19 import static android.content.pm.cts.shortcutmanager.common.Constants.INLINE_REPLY_REMOTE_INPUT_CAPTION;
26 import android.content.pm.cts.shortcutmanager.common.Constants;
54 final Intent i = new Intent(Constants.ACTION_THROTTLING_TEST);
55 i.putExtra(Constants.EXTRA_METHOD, method);
56 i.putExtra(Constants.EXTRA_REPLY_ACTION, replyAction);
75 callTest(Constants.TEST_SET_DYNAMIC_SHORTCUTS);
79 callTest(Constants.TEST_ADD_DYNAMIC_SHORTCUTS);
83 callTest(Constants.TEST_UPDATE_SHORTCUTS);
87 callTest(Constants.TEST_BG_SERVICE_THROTTLED);
91 callTest(Constants.TEST_ACTIVITY_UNTHROTTLED)
    [all...]
  /frameworks/base/core/java/android/os/
BatteryManager.java 23 import android.hardware.health.V1_0.Constants;
28 * The BatteryManager class contains strings and constants used for values
83 * source; 0 means it is on battery, other constants are different
160 public static final int BATTERY_STATUS_UNKNOWN = Constants.BATTERY_STATUS_UNKNOWN;
161 public static final int BATTERY_STATUS_CHARGING = Constants.BATTERY_STATUS_CHARGING;
162 public static final int BATTERY_STATUS_DISCHARGING = Constants.BATTERY_STATUS_DISCHARGING;
163 public static final int BATTERY_STATUS_NOT_CHARGING = Constants.BATTERY_STATUS_NOT_CHARGING;
164 public static final int BATTERY_STATUS_FULL = Constants.BATTERY_STATUS_FULL;
167 public static final int BATTERY_HEALTH_UNKNOWN = Constants.BATTERY_HEALTH_UNKNOWN;
168 public static final int BATTERY_HEALTH_GOOD = Constants.BATTERY_HEALTH_GOOD
    [all...]
  /cts/tests/tests/opengl/src/android/opengl/cts/
NativeAttachShaderTest.java 49 mActivity = getShaderActivity(Constants.SHADER, 1);
65 mActivity = getShaderActivity(Constants.SHADER, 2);
79 mActivity = getShaderActivity(Constants.SHADER, 3);
93 mActivity = getShaderActivity(Constants.SHADER, 4);
103 mActivity = getShaderActivity(Constants.SHADER, 5);
109 mActivity = getShaderActivity(Constants.SHADER, 6);
116 mActivity = getShaderActivity(Constants.SHADER, 7);
122 mActivity = getShaderActivity(Constants.SHADER, 8);
129 mActivity = getShaderActivity(Constants.SHADER, 9);
135 mActivity = getShaderActivity(Constants.SHADER, 10)
    [all...]
  /developers/build/prebuilts/gradle/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/
QueryBuilder.java 52 if (width <= Constants.WIDTH_MIN) {
60 if (weight <= Constants.WEIGHT_MIN || weight >= Constants.WEIGHT_MAX) {
69 if (italic < Constants.ITALIC_MIN || italic > Constants.ITALIC_MAX) {
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
ListenerService.java 26 import com.example.android.xyztouristattractions.common.Constants;
39 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) {
42 } else if (Constants.START_ATTRACTION_PATH.equals(messageEvent.getPath())) {
49 } else if (Constants.START_NAVIGATION_PATH.equals(messageEvent.getPath())) {
53 Uri uri = Uri.parse(Constants.MAPS_NAVIGATION_INTENT_URI + Uri.encode(attractionQuery));
  /developers/samples/android/ui/fonts/DownloadableFonts/app/src/main/java/com/example/android/downloadablefonts/
QueryBuilder.java 52 if (width <= Constants.WIDTH_MIN) {
60 if (weight <= Constants.WEIGHT_MIN || weight >= Constants.WEIGHT_MAX) {
69 if (italic < Constants.ITALIC_MIN || italic > Constants.ITALIC_MAX) {
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
ListenerService.java 26 import com.example.android.xyztouristattractions.common.Constants;
39 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) {
42 } else if (Constants.START_ATTRACTION_PATH.equals(messageEvent.getPath())) {
49 } else if (Constants.START_NAVIGATION_PATH.equals(messageEvent.getPath())) {
53 Uri uri = Uri.parse(Constants.MAPS_NAVIGATION_INTENT_URI + Uri.encode(attractionQuery));
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
ListenerService.java 26 import com.example.android.xyztouristattractions.common.Constants;
39 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) {
42 } else if (Constants.START_ATTRACTION_PATH.equals(messageEvent.getPath())) {
49 } else if (Constants.START_NAVIGATION_PATH.equals(messageEvent.getPath())) {
53 Uri uri = Uri.parse(Constants.MAPS_NAVIGATION_INTENT_URI + Uri.encode(attractionQuery));
  /external/llvm/lib/Target/SystemZ/
SystemZConstantPoolValue.cpp 32 const std::vector<MachineConstantPoolEntry> &Constants = CP->getConstants();
33 for (unsigned I = 0, E = Constants.size(); I != E; ++I) {
34 if (Constants[I].isMachineConstantPoolEntry() &&
35 (Constants[I].getAlignment() & AlignMask) == 0) {
37 static_cast<SystemZConstantPoolValue *>(Constants[I].Val.MachineCPVal);
  /cts/tests/tests/appwidget/packages/src/android/appwidget/cts/packages/
SimpleProvider.java 6 import android.appwidget.cts.common.Constants;
17 if (Constants.ACTION_APPLY_OVERRIDE.equals(intent.getAction())) {
18 String request = intent.getStringExtra(Constants.EXTRA_REQUEST);
  /developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
SharedPreferencesHelper.java 53 SharedPreferences sharedPreferences = context.getSharedPreferences(Constants.PREFS_NAME, 0);
54 String profileString = sharedPreferences.getString(Constants.PREFS_USER_KEY, null);
73 SharedPreferences sharedPreferences = context.getSharedPreferences(Constants.PREFS_NAME, 0);
75 editor.putString(Constants.PREFS_USER_KEY, gson.toJson(user));
87 return getList(context, Profile.class, Constants.PREFS_CONTACTS_KEY);
103 setList(context, contacts, Constants.PREFS_CONTACTS_KEY);
115 return getList(context, Chat.class, Constants.PREFS_CHATS_KEY);
130 setList(context, chats, Constants.PREFS_CHATS_KEY);
142 return getList(context, Message.class, Constants.PREFS_MESSAGE_PREFIX + chatId);
158 setList(context, messages, Constants.PREFS_MESSAGE_PREFIX + chat.getId())
    [all...]
  /developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/
SharedPreferencesHelper.java 53 SharedPreferences sharedPreferences = context.getSharedPreferences(Constants.PREFS_NAME, 0);
54 String profileString = sharedPreferences.getString(Constants.PREFS_USER_KEY, null);
73 SharedPreferences sharedPreferences = context.getSharedPreferences(Constants.PREFS_NAME, 0);
75 editor.putString(Constants.PREFS_USER_KEY, gson.toJson(user));
87 return getList(context, Profile.class, Constants.PREFS_CONTACTS_KEY);
103 setList(context, contacts, Constants.PREFS_CONTACTS_KEY);
115 return getList(context, Chat.class, Constants.PREFS_CHATS_KEY);
130 setList(context, chats, Constants.PREFS_CHATS_KEY);
142 return getList(context, Message.class, Constants.PREFS_MESSAGE_PREFIX + chatId);
158 setList(context, messages, Constants.PREFS_MESSAGE_PREFIX + chat.getId())
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemMessage.java 51 private boolean m_terminate = Constants.ATTRVAL_NO; // default value
81 * @see org.apache.xalan.templates.Constants
87 return Constants.ELEMNAME_MESSAGE;
97 return Constants.ELEMNAME_MESSAGE_STRING;
ElemUnknown.java 38 * @see org.apache.xalan.templates.Constants
44 return Constants.ELEMNAME_UNDEFINED;
61 if (child.getXSLToken() == Constants.ELEMNAME_FALLBACK)
87 if (child.getXSLToken() == Constants.ELEMNAME_FALLBACK)
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/locale/
LocaleReceiver.java 24 import com.googlecode.android_scripting.Constants;
36 .getString(Constants.EXTRA_SCRIPT_PATH));
39 if (intent.getBooleanExtra(Constants.EXTRA_LAUNCH_IN_BACKGROUND, false)) {
  /frameworks/base/tests/ActivityManagerPerfTests/test-app/src/com/android/frameworks/perftests/amteststestapp/
TestApplication.java 26 import com.android.frameworks.perftests.am.util.Constants;
45 Utils.sendTime(intent, Constants.TYPE_BROADCAST_RECEIVE);
48 IntentFilter intentFilter = new IntentFilter(Constants.ACTION_BROADCAST_REGISTERED_RECEIVE);
  /packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
ChannelState.java 19 import com.android.tv.testing.constants.Constants;
27 public static final TvTrackInfo DEFAULT_VIDEO_TRACK = Constants.FHD1080P50_VIDEO_TRACK;
29 public static final TvTrackInfo DEFAULT_AUDIO_TRACK = Constants.EN_STEREO_AUDIO_TRACK;
  /packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
UiObject2Asserts.java 28 * Constants#MAX_SHOW_DELAY_MILLIS} milliseconds.
35 assertWaitForCondition(uiObject, searchCondition, Constants.MAX_SHOW_DELAY_MILLIS);
54 Constants.MIN_EXTRA_TIMEOUT,
55 (long) (timeout * Constants.EXTRA_TIMEOUT_PERCENT));
  /developers/build/prebuilts/gradle/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
MainPhoneActivity.java 33 import com.example.android.wearable.runtimepermissions.common.Constants;
130 dataMap.putInt(Constants.KEY_COMM_TYPE, Constants.COMM_TYPE_REQUEST_DATA);
154 Constants.CAPABILITY_WEAR_APP);
191 dataMap.putInt(Constants.KEY_COMM_TYPE,
192 Constants.COMM_TYPE_REQUEST_PROMPT_PERMISSION);
206 Constants.CAPABILITY_WEAR_APP);
213 Constants.CAPABILITY_WEAR_APP,
224 capabilityName.equals(Constants.CAPABILITY_WEAR_APP);
269 if (messagePath.equals(Constants.MESSAGE_PATH_PHONE))
    [all...]

Completed in 1056 milliseconds

1 2 3 45 6 7 8 91011>>