/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
UpdateService.java | 36 import com.example.android.wearable.speedtracker.common.Constants; 79 if (dataItemUri.getPath().startsWith(Constants.PATH)) { 82 double longitude = dataMap.getDouble(Constants.KEY_LONGITUDE); 83 double latitude = dataMap.getDouble(Constants.KEY_LATITUDE); 84 long time = dataMap.getLong(Constants.KEY_TIME);
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
ApiPrompt.java | 35 import com.googlecode.android_scripting.Constants; 60 Constants.EXTRA_API_PROMPT_RPC_NAME)); 62 mValues = getIntent().getStringArrayExtra(Constants.EXTRA_API_PROMPT_VALUES); 69 intent.putExtra(Constants.EXTRA_API_PROMPT_RPC_NAME, mRpc.getName()); 70 intent.putExtra(Constants.EXTRA_API_PROMPT_VALUES, mValues);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
SystemAudioAction.java | 120 return param != Constants.INVALID_PHYSICAL_ADDRESS 121 ? param : Constants.PATH_INTERNAL; 146 if (cmd.getOpcode() == Constants.MESSAGE_FEATURE_ABORT 148 == Constants.MESSAGE_SYSTEM_AUDIO_MODE_REQUEST) { 154 if (cmd.getOpcode() != Constants.MESSAGE_SET_SYSTEM_AUDIO_MODE
|
TimerRecordingAction.java | 104 case Constants.MESSAGE_TIMER_STATUS: 106 case Constants.MESSAGE_FEATURE_ABORT: 131 case Constants.MESSAGE_SET_DIGITAL_TIMER: // fall through 132 case Constants.MESSAGE_SET_ANALOG_TIMER: // fall through 133 case Constants.MESSAGE_SET_EXTERNAL_TIMER: // fall through
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
PlayControlsRowViewTest.java | 19 import static com.android.tv.testing.uihelper.Constants.CHANNEL_BANNER; 20 import static com.android.tv.testing.uihelper.Constants.FOCUSED_VIEW; 21 import static com.android.tv.testing.uihelper.Constants.MENU; 32 import com.android.tv.testing.uihelper.Constants; 44 private static final String BUTTON_ID_PLAY_PAUSE = Constants.TV_APP_PACKAGE + ":id/play_pause";
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
KeyboardStateTestsBase.java | 21 import com.android.inputmethod.latin.common.Constants; 206 // Long press shift key will register {@link Constants#CODE_CAPS_LOCK}. See 209 pressKey(Constants.CODE_SHIFT, afterPress); 210 mSwitcher.onPressKey(Constants.CODE_CAPSLOCK, true /* isSinglePointer */); 211 mSwitcher.onCodeInput(Constants.CODE_CAPSLOCK); 224 // Long press shift key will register {@link Constants#CODE_CAPS_LOCK}. See 228 releaseKey(Constants.CODE_CAPSLOCK, afterRelease);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
MoreKeySpec.java | 25 import com.android.inputmethod.latin.common.Constants; 65 if (code == Constants.CODE_UNSPECIFIED) { 68 mCode = Constants.CODE_OUTPUT_TEXT; 118 final String output = (mCode == Constants.CODE_OUTPUT_TEXT ? mOutputText 119 : Constants.printableCode(mCode)); 134 } else if (code == Constants.CODE_OUTPUT_TEXT) { 143 } else if (code == Constants.CODE_OUTPUT_TEXT && mTexts.contains(moreKey.mOutputText)) { 172 // Constants for parsing. 173 private static final char COMMA = Constants.CODE_COMMA; 174 private static final char BACKSLASH = Constants.CODE_BACKSLASH [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
ANQPParserTest.java | 280 ANQPParser.parseElement(Constants.ANQPElementType.ANQPVenueName, buffer)); 302 ANQPParser.parseElement(Constants.ANQPElementType.ANQPIPAddrAvailability, buffer)); 318 ANQPParser.parseElement(Constants.ANQPElementType.ANQPDomName, buffer)); 335 ANQPParser.parseElement(Constants.ANQPElementType.ANQPRoamingConsortium, buffer)); 352 ANQPParser.parseElement(Constants.ANQPElementType.ANQPNAIRealm, buffer)); 373 ANQPParser.parseElement(Constants.ANQPElementType.ANQP3GPPNetwork, buffer)); 386 ANQPParser.parseElement(Constants.ANQPElementType.ANQPVendorSpec, buffer); 409 Constants.HS_FRIENDLY_NAME, hsFriendlyNameBytes); 411 Constants.ANQPElementType.ANQPVendorSpec, ByteBuffer.wrap(data))); 433 ANQPParser.parseHS20Element(Constants.ANQPElementType.HSFriendlyName, buffer)) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
KeyboardLayoutSetNavigateMoreKeysBase.java | 27 import com.android.inputmethod.latin.common.Constants; 289 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, 292 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, 295 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, 298 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_PHONE, 301 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, 304 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, 307 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, 310 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, 315 doTestNavigationWithEmojiMoreKeysOf(Constants.CODE_ENTER, subtype [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
MachineFunction.cpp | 636 for (unsigned i = 0, e = Constants.size(); i != e; ++i) 637 if (Constants[i].isMachineConstantPoolEntry()) 638 delete Constants[i].Val.MachineCPVal; 645 /// CanShareConstantPoolEntry - Test whether the given two constants 656 // For now, only support constants with the same size. 699 for (unsigned i = 0, e = Constants.size(); i != e; ++i) 700 if (!Constants[i].isMachineConstantPoolEntry() && 701 CanShareConstantPoolEntry(Constants[i].Val.ConstVal, C, TD)) { 702 if ((unsigned)Constants[i].getAlignment() < Alignment) 703 Constants[i].Alignment = Alignment [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
ColorBufferTest.java | 54 mActivity.setView(Constants.COLOR, 1, vertexColors); 72 mActivity.setView(Constants.COLOR, 1, vertexColors); 91 mActivity.setView(Constants.COLOR, 1, vertexColors); 110 mActivity.setView(Constants.COLOR, 1, vertexColors); 129 mActivity.setView(Constants.COLOR, 1, vertexColors); 148 mActivity.setView(Constants.COLOR, 1, vertexColors); 167 mActivity.setView(Constants.COLOR, 1, vertexColors);
|
NativeColorBufferTest.java | 49 mActivity.setView(Constants.COLOR, 1, vertexColors); 67 mActivity.setView(Constants.COLOR, 1, vertexColors); 86 mActivity.setView(Constants.COLOR, 1, vertexColors); 105 mActivity.setView(Constants.COLOR, 1, vertexColors); 124 mActivity.setView(Constants.COLOR, 1, vertexColors); 143 mActivity.setView(Constants.COLOR, 1, vertexColors); 162 mActivity.setView(Constants.COLOR, 1, vertexColors);
|
/developers/build/prebuilts/gradle/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/ |
HomeListenerService.java | 19 import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN; 20 import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM; 21 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID; 22 import static com.example.android.wearable.geofencing.Constants.KEY_GEOFENCE_ID; 23 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID; 24 import static com.example.android.wearable.geofencing.Constants.TAG; 25 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID;
|
/developers/samples/android/wearable/wear/Geofencing/Wearable/src/main/java/com/example/android/wearable/geofencing/ |
HomeListenerService.java | 19 import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN; 20 import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM; 21 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID; 22 import static com.example.android.wearable.geofencing.Constants.KEY_GEOFENCE_ID; 23 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID; 24 import static com.example.android.wearable.geofencing.Constants.TAG; 25 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID;
|
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/ |
HomeListenerService.java | 19 import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN; 20 import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM; 21 import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID; 22 import static com.example.android.wearable.geofencing.Constants.KEY_GEOFENCE_ID; 23 import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID; 24 import static com.example.android.wearable.geofencing.Constants.TAG; 25 import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID;
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerRequestPinTest.java | 32 import android.content.pm.cts.shortcutmanager.common.Constants; 78 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); 79 extras.putString(Constants.LABEL, "label1"); 146 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); 147 extras.putString(Constants.LABEL, "label1"); 206 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); 207 extras.putString(Constants.LABEL, "label1"); 256 extras.putString(Constants.EXTRA_REPLY_ACTION, replyAction); 257 extras.putString(Constants.LABEL, "label1");
|
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 65 // Constants that indicate the current connection state 93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); 202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); 204 bundle.putString(Constants.DEVICE_NAME, device.getName()); 264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 266 bundle.putString(Constants.TOAST, "Unable to connect device"); 283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 285 bundle.putString(Constants.TOAST, "Device connection was lost"); 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 517 mHandler.obtainMessage(Constants.MESSAGE_WRITE, -1, -1, buffer [all...] |
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 65 // Constants that indicate the current connection state 93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); 202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); 204 bundle.putString(Constants.DEVICE_NAME, device.getName()); 264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 266 bundle.putString(Constants.TOAST, "Unable to connect device"); 283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 285 bundle.putString(Constants.TOAST, "Device connection was lost"); 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 517 mHandler.obtainMessage(Constants.MESSAGE_WRITE, -1, -1, buffer [all...] |
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
BluetoothChatService.java | 65 // Constants that indicate the current connection state 93 mHandler.obtainMessage(Constants.MESSAGE_STATE_CHANGE, mNewState, -1).sendToTarget(); 202 Message msg = mHandler.obtainMessage(Constants.MESSAGE_DEVICE_NAME); 204 bundle.putString(Constants.DEVICE_NAME, device.getName()); 264 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 266 bundle.putString(Constants.TOAST, "Unable to connect device"); 283 Message msg = mHandler.obtainMessage(Constants.MESSAGE_TOAST); 285 bundle.putString(Constants.TOAST, "Device connection was lost"); 497 mHandler.obtainMessage(Constants.MESSAGE_READ, bytes, -1, buffer) 517 mHandler.obtainMessage(Constants.MESSAGE_WRITE, -1, -1, buffer [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
DwarfDebug.h | 84 } Constants; 87 Constant(false) { Constants.Int = 0;} 91 Constant(false) { Constants.Int = 0; EntryKind = E_Location; } 94 Constant(true) { Constants.Int = i; EntryKind = E_Integer; } 97 Constant(true) { Constants.CFP = FPtr; EntryKind = E_ConstantFP; } 100 Constant(true) { Constants.CIP = IPtr; EntryKind = E_ConstantInt; } 116 int64_t getInt() { return Constants.Int; } 117 const ConstantFP *getConstantFP() { return Constants.CFP; } 118 const ConstantInt *getConstantInt() { return Constants.CIP; }
|
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 20 import static com.example.android.wearable.agendadata.Constants.TAG; 21 import static com.example.android.wearable.agendadata.Constants.CONNECTION_TIME_OUT_MS; 22 import static com.example.android.wearable.agendadata.Constants.CAL_DATA_ITEM_PATH_PREFIX; 23 import static com.example.android.wearable.agendadata.Constants.ALL_DAY; 24 import static com.example.android.wearable.agendadata.Constants.BEGIN; 25 import static com.example.android.wearable.agendadata.Constants.DATA_ITEM_URI; 26 import static com.example.android.wearable.agendadata.Constants.DESCRIPTION; 27 import static com.example.android.wearable.agendadata.Constants.END; 28 import static com.example.android.wearable.agendadata.Constants.EVENT_ID; 29 import static com.example.android.wearable.agendadata.Constants.ID [all...] |
/developers/build/prebuilts/gradle/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizReportActionService.java | 19 import static com.example.android.wearable.quiz.Constants.CONNECT_TIMEOUT_MS; 20 import static com.example.android.wearable.quiz.Constants.GET_CAPABILITIES_TIMEOUT_MS; 21 import static com.example.android.wearable.quiz.Constants.RESET_QUIZ_PATH;
|
UpdateQuestionService.java | 19 import static com.example.android.wearable.quiz.Constants.CHOSEN_ANSWER_CORRECT; 20 import static com.example.android.wearable.quiz.Constants.QUESTION_INDEX; 21 import static com.example.android.wearable.quiz.Constants.QUESTION_WAS_ANSWERED;
|
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 20 import static com.example.android.wearable.agendadata.Constants.TAG; 21 import static com.example.android.wearable.agendadata.Constants.CONNECTION_TIME_OUT_MS; 22 import static com.example.android.wearable.agendadata.Constants.CAL_DATA_ITEM_PATH_PREFIX; 23 import static com.example.android.wearable.agendadata.Constants.ALL_DAY; 24 import static com.example.android.wearable.agendadata.Constants.BEGIN; 25 import static com.example.android.wearable.agendadata.Constants.DATA_ITEM_URI; 26 import static com.example.android.wearable.agendadata.Constants.DESCRIPTION; 27 import static com.example.android.wearable.agendadata.Constants.END; 28 import static com.example.android.wearable.agendadata.Constants.EVENT_ID; 29 import static com.example.android.wearable.agendadata.Constants.ID [all...] |
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizReportActionService.java | 19 import static com.example.android.wearable.quiz.Constants.CONNECT_TIMEOUT_MS; 20 import static com.example.android.wearable.quiz.Constants.GET_CAPABILITIES_TIMEOUT_MS; 21 import static com.example.android.wearable.quiz.Constants.RESET_QUIZ_PATH;
|