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

<<11121314151617181920>>

  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppNotification.java 61 private static final boolean V = Constants.VERBOSE;
340 Intent intent = new Intent(Constants.ACTION_BT_OPP_TRANSFER_PROGRESS);
342 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_DIRECTION,
343 Constants.DIRECTION_BLUETOOTH_INCOMING);
345 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_DIRECTION,
346 Constants.DIRECTION_BLUETOOTH_OUTGOING);
348 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_ID, item.id);
349 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_PROGRESS, progress);
350 intent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, item.destination);
351 mContext.sendBroadcast(intent, Constants.HANDOVER_STATUS_PERMISSION)
    [all...]
  /external/flatbuffers/java/com/google/flatbuffers/
FlatBufferBuilder.java 19 import static com.google.flatbuffers.Constants.*;
228 * the int length field is aligned to {@link com.google.flatbuffers.Constants#SIZEOF_INT}, and
256 public void putBoolean(boolean x) { bb.put (space -= Constants.SIZEOF_BYTE, (byte)(x ? 1 : 0)); }
264 public void putByte (byte x) { bb.put (space -= Constants.SIZEOF_BYTE, x); }
272 public void putShort (short x) { bb.putShort (space -= Constants.SIZEOF_SHORT, x); }
280 public void putInt (int x) { bb.putInt (space -= Constants.SIZEOF_INT, x); }
288 public void putLong (long x) { bb.putLong (space -= Constants.SIZEOF_LONG, x); }
296 public void putFloat (float x) { bb.putFloat (space -= Constants.SIZEOF_FLOAT, x); }
304 public void putDouble (double x) { bb.putDouble(space -= Constants.SIZEOF_DOUBLE, x); }
312 public void addBoolean(boolean x) { prep(Constants.SIZEOF_BYTE, 0); putBoolean(x);
    [all...]
  /cts/tests/tests/appwidget/src/android/appwidget/cts/
RequestPinAppWidgetTest.java 25 import android.appwidget.cts.common.Constants;
72 .register(Constants.ACTION_SETUP_REPLY);
84 assertTrue(setupReceiver.mResult.getBooleanExtra(Constants.EXTRA_SUCCESS, false));
85 assertEquals(launcherPkg, setupReceiver.mResult.getStringExtra(Constants.EXTRA_PACKAGE));
89 setupReceiver.mResult.getParcelableExtra(Constants.EXTRA_REQUEST);
100 context.sendBroadcast(new Intent(Constants.ACTION_CONFIRM_PIN)
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
UtilityService.java 26 import com.example.android.xyztouristattractions.common.Constants;
81 if (Constants.START_ATTRACTION_PATH.equals(path)) {
114 notificationManager.cancel(Constants.WEAR_NOTIFICATION_ID);
126 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS);
133 googleApiClient, itr.next(), Constants.CLEAR_NOTIFICATIONS_PATH, null);
153 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS);
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/
UtilityService.java 26 import com.example.android.xyztouristattractions.common.Constants;
81 if (Constants.START_ATTRACTION_PATH.equals(path)) {
114 notificationManager.cancel(Constants.WEAR_NOTIFICATION_ID);
126 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS);
133 googleApiClient, itr.next(), Constants.CLEAR_NOTIFICATIONS_PATH, null);
153 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS);
  /development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/
UtilityService.java 26 import com.example.android.xyztouristattractions.common.Constants;
81 if (Constants.START_ATTRACTION_PATH.equals(path)) {
114 notificationManager.cancel(Constants.WEAR_NOTIFICATION_ID);
126 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS);
133 googleApiClient, itr.next(), Constants.CLEAR_NOTIFICATIONS_PATH, null);
153 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS);
  /development/samples/training/threadsample/src/com/example/android/threadsample/
RSSPullService.java 40 * Constants.BROADCAST_ACTION.
103 mBroadcaster.broadcastIntentWithState(Constants.STATE_ACTION_STARTED);
109 localHttpURLConnection.setRequestProperty("User-Agent", Constants.USER_AGENT);
164 mBroadcaster.broadcastIntentWithState(Constants.STATE_ACTION_CONNECTING);
178 mBroadcaster.broadcastIntentWithState(Constants.STATE_ACTION_PARSING);
192 mBroadcaster.broadcastIntentWithState(Constants.STATE_ACTION_WRITING);
241 mBroadcaster.broadcastIntentWithState(Constants.STATE_ACTION_COMPLETE);
Constants.java 23 * Constants used by multiple classes in this package
25 public final class Constants {
  /packages/apps/TV/tests/unit/src/com/android/tv/menu/
TvOptionsRowAdapterTest.java 28 import com.android.tv.testing.constants.Constants;
70 data.mTvTrackInfos.add(Constants.GENERIC_AUDIO_TRACK);
73 waitUntilAudioTrackSelected(Constants.EN_STEREO_AUDIO_TRACK.getId());
86 data.mTvTrackInfos.add(Constants.GENERIC_AUDIO_TRACK);
88 data.mSelectedAudioTrackId = Constants.GENERIC_AUDIO_TRACK.getId();
91 waitUntilAudioTrackSelected(Constants.GENERIC_AUDIO_TRACK.getId());
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
ExpectedKeyOutput.java 21 import com.android.inputmethod.latin.common.Constants;
55 // UNICODE code point or a special negative value defined in {@link Constants}.
62 if (Constants.isLetterCode(mCode)) {
99 return Constants.isLetterCode(mCode) ? StringUtils.newSingleCodePointString(mCode)
100 : Constants.printableCode(mCode);
139 return key.getCode() == Constants.CODE_OUTPUT_TEXT
145 return moreKeySpec.mCode == Constants.CODE_OUTPUT_TEXT
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
AdditionalSubtypeUtilsTests.java 19 import static com.android.inputmethod.latin.common.Constants.Subtype.KEYBOARD_MODE;
20 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.ASCII_CAPABLE;
21 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.EMOJI_CAPABLE;
22 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.IS_ADDITIONAL_SUBTYPE;
23 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.KEYBOARD_LAYOUT_SET;
24 import static com.android.inputmethod.latin.common.Constants.Subtype.ExtraValue.UNTRANSLATABLE_STRING_IN_SUBTYPE_NAME;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java 48 import com.android.inputmethod.latin.common.Constants;
83 // Current space state of the input method. This can be any of the above constants.
445 if (processedEvent.mKeyCode != Constants.CODE_DELETE
446 || inputTransaction.mTimestamp > mLastKeyTime + Constants.LONG_PRESS_MILLISECONDS) {
458 if (processedEvent.mCodePoint != Constants.CODE_SPACE) {
478 processedEvent.mKeyCode == Constants.CODE_DELETE)) {
482 if (!inputTransaction.didAutoCorrect() && processedEvent.mKeyCode != Constants.CODE_SHIFT
483 && processedEvent.mKeyCode != Constants.CODE_CAPSLOCK
484 && processedEvent.mKeyCode != Constants.CODE_SWITCH_ALPHA_SYMBOL)
486 if (Constants.CODE_DELETE != processedEvent.mKeyCode)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
WifiDetailPreferenceControllerTest.java 182 private static class Constants {
206 // We create our test constants in these roundabout ways because the robolectric
441 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR);
445 verify(mockIpAddressPref).setDetailText(Constants.IPV4_ADDR.getAddress().getHostAddress());
450 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR);
451 mLinkProperties.addRoute(Constants.IPV4_DEFAULT);
452 mLinkProperties.addRoute(Constants.IPV4_SUBNET);
464 mLinkProperties.addDnsServer(Constants.IPV6_DNS);
471 Constants.IPV6_DNS.getHostAddress());
542 lp.addLinkAddress(Constants.IPV6_LINKLOCAL)
    [all...]
  /developers/build/prebuilts/gradle/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/
QuizListenerService.java 19 import static com.example.android.wearable.quiz.Constants.ANSWERS;
20 import static com.example.android.wearable.quiz.Constants.CONNECT_TIMEOUT_MS;
21 import static com.example.android.wearable.quiz.Constants.CORRECT_ANSWER_INDEX;
22 import static com.example.android.wearable.quiz.Constants.NUM_CORRECT;
23 import static com.example.android.wearable.quiz.Constants.NUM_INCORRECT;
24 import static com.example.android.wearable.quiz.Constants.NUM_SKIPPED;
25 import static com.example.android.wearable.quiz.Constants.QUESTION;
26 import static com.example.android.wearable.quiz.Constants.QUESTION_INDEX;
27 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_ANSWERED;
28 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_DELETED
    [all...]
  /developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/
QuizListenerService.java 19 import static com.example.android.wearable.quiz.Constants.ANSWERS;
20 import static com.example.android.wearable.quiz.Constants.CONNECT_TIMEOUT_MS;
21 import static com.example.android.wearable.quiz.Constants.CORRECT_ANSWER_INDEX;
22 import static com.example.android.wearable.quiz.Constants.NUM_CORRECT;
23 import static com.example.android.wearable.quiz.Constants.NUM_INCORRECT;
24 import static com.example.android.wearable.quiz.Constants.NUM_SKIPPED;
25 import static com.example.android.wearable.quiz.Constants.QUESTION;
26 import static com.example.android.wearable.quiz.Constants.QUESTION_INDEX;
27 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_ANSWERED;
28 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_DELETED
    [all...]
  /development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/
QuizListenerService.java 19 import static com.example.android.wearable.quiz.Constants.ANSWERS;
20 import static com.example.android.wearable.quiz.Constants.CONNECT_TIMEOUT_MS;
21 import static com.example.android.wearable.quiz.Constants.CORRECT_ANSWER_INDEX;
22 import static com.example.android.wearable.quiz.Constants.NUM_CORRECT;
23 import static com.example.android.wearable.quiz.Constants.NUM_INCORRECT;
24 import static com.example.android.wearable.quiz.Constants.NUM_SKIPPED;
25 import static com.example.android.wearable.quiz.Constants.QUESTION;
26 import static com.example.android.wearable.quiz.Constants.QUESTION_INDEX;
27 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_ANSWERED;
28 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_DELETED
    [all...]
  /external/llvm/include/llvm/CodeGen/
MachineConstantPool.h 12 /// constant pool to keep track of constants referenced by a function.
111 /// The MachineConstantPool class keeps track of constants referenced by a
112 /// function which must be spilled to memory. This is used for constants which
114 /// include floating point and large integer constants.
116 /// Instructions reference the address of these constant pool constants through
123 std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants.
147 /// isEmpty - Return true if this constant pool contains no constants.
148 bool isEmpty() const { return Constants.empty(); }
151 return Constants;
    [all...]
  /external/swiftshader/src/Shader/
Constants.hpp 22 struct Constants
24 Constants();
110 extern Constants constants;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
BogusMoveEventDetector.java 24 import com.android.inputmethod.latin.common.Constants;
46 final boolean isLargeTablet = (screenMetrics == Constants.SCREEN_METRICS_LARGE_TABLET);
47 final boolean isSmallTablet = (screenMetrics == Constants.SCREEN_METRICS_SMALL_TABLET);
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/
MachineConstantPool.h 12 /// constant pool to keep track of constants referenced by a function.
111 /// The MachineConstantPool class keeps track of constants referenced by a
112 /// function which must be spilled to memory. This is used for constants which
114 /// include floating point and large integer constants.
116 /// Instructions reference the address of these constant pool constants through
123 std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants.
147 /// isEmpty - Return true if this constant pool contains no constants.
148 bool isEmpty() const { return Constants.empty(); }
151 return Constants;
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/
MachineConstantPool.h 12 /// constant pool to keep track of constants referenced by a function.
111 /// The MachineConstantPool class keeps track of constants referenced by a
112 /// function which must be spilled to memory. This is used for constants which
114 /// include floating point and large integer constants.
116 /// Instructions reference the address of these constant pool constants through
123 std::vector<MachineConstantPoolEntry> Constants; ///< The pool of constants.
147 /// isEmpty - Return true if this constant pool contains no constants.
148 bool isEmpty() const { return Constants.empty(); }
151 return Constants;
    [all...]
  /cts/tests/tests/shortcutmanager/common/src/android.content.pm.cts.shortcutmanager.common/
Constants.java 20 public class Constants {
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemExsltFunction.java 46 * Constants class.
47 * @see org.apache.xalan.templates.Constants
51 return Constants.EXSLT_ELEMNAME_FUNCTION;
56 * Constants class.
57 * @see org.apache.xalan.templates.Constants
63 return Constants.EXSLT_ELEMNAME_FUNCTION_STRING;
137 if (!(namespace.equals(Constants.S_EXSLT_FUNCTIONS_URL)))
139 namespace = Constants.S_EXSLT_FUNCTIONS_URL;
  /packages/apps/Dialer/java/com/android/dialer/constants/aospdialer/
ConstantsImpl.java 17 package com.android.dialer.constants;
24 @UsedByReflection(value = "Constants.java")
25 public class ConstantsImpl extends Constants {
  /packages/apps/TV/tests/input/src/com/android/tv/testinput/instrument/
TestSetupInstrumentation.java 24 import com.android.tv.testing.constants.Constants;
98 getArgumentAsInt(CHANNEL_COUNT_ARG, Constants.FUNC_TEST_CHANNEL_COUNT);
102 getArgumentAsInt(CHANNEL_COUNT_ARG, Constants.JANK_TEST_CHANNEL_COUNT);
106 getArgumentAsInt(CHANNEL_COUNT_ARG, Constants.UNIT_TEST_CHANNEL_COUNT);

Completed in 839 milliseconds

<<11121314151617181920>>