/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
ServiceStartPerfTest.java | 25 import com.android.frameworks.perftests.am.util.Constants; 58 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); 76 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); 97 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START); 122 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_START);
|
ServiceBindPerfTest.java | 27 import com.android.frameworks.perftests.am.util.Constants; 39 * Constants.TYPE_SERVICE_CONNECTED. 45 addReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED); 76 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED); 98 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED); 125 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED); 154 final long endTimeNs = getReceivedTimeNs(Constants.TYPE_SERVICE_CONNECTED);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
CodesArrayParser.java | 19 import com.android.inputmethod.latin.common.Constants; 38 // Constants for parsing. 39 private static final char COMMA = Constants.CODE_COMMA; 42 new String(new char[] { Constants.CODE_BACKSLASH, Constants.CODE_VERTICAL_BAR }); 92 return Constants.CODE_OUTPUT_TEXT;
|
/developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/ |
NotificationUpdateService.java | 29 import com.example.android.wearable.synchronizednotifications.common.Constants; 68 if (Constants.ACTION_DISMISS.equals(action)) { 71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 72 if (notificationId == Constants.BOTH_ID) { 95 String content = dataMap.getString(Constants.KEY_CONTENT); 96 String title = dataMap.getString(Constants.KEY_TITLE); 97 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 99 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 106 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 109 .cancel(Constants.WATCH_ONLY_ID) [all...] |
/developers/samples/android/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/com/example/android/wearable/synchronizednotifications/ |
NotificationUpdateService.java | 29 import com.example.android.wearable.synchronizednotifications.common.Constants; 68 if (Constants.ACTION_DISMISS.equals(action)) { 71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 72 if (notificationId == Constants.BOTH_ID) { 95 String content = dataMap.getString(Constants.KEY_CONTENT); 96 String title = dataMap.getString(Constants.KEY_TITLE); 97 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 99 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 106 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 109 .cancel(Constants.WATCH_ONLY_ID) [all...] |
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/ |
NotificationUpdateService.java | 29 import com.example.android.wearable.synchronizednotifications.common.Constants; 68 if (Constants.ACTION_DISMISS.equals(action)) { 71 int notificationId = intent.getIntExtra(Constants.KEY_NOTIFICATION_ID, -1); 72 if (notificationId == Constants.BOTH_ID) { 95 String content = dataMap.getString(Constants.KEY_CONTENT); 96 String title = dataMap.getString(Constants.KEY_TITLE); 97 if (Constants.WATCH_ONLY_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 99 } else if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 106 if (Constants.BOTH_PATH.equals(dataEvent.getDataItem().getUri().getPath())) { 109 .cancel(Constants.WATCH_ONLY_ID) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
ExtensionNamespacesManager.java | 25 import org.apache.xalan.templates.Constants; 210 String uri = Constants.S_EXTENSIONS_JAVA_URL; 217 uri = Constants.S_EXTENSIONS_OLD_JAVA_URL; 221 uri = Constants.S_EXTENSIONS_LOTUSXSL_JAVA_URL; 225 uri = Constants.S_BUILTIN_EXTENSIONS_URL; 232 uri = Constants.S_BUILTIN_OLD_EXTENSIONS_URL; 237 uri = Constants.S_EXTENSIONS_REDIRECT_URL; 242 uri = Constants.S_EXTENSIONS_PIPE_URL; 247 uri = Constants.S_EXTENSIONS_SQL_URL; 255 uri = Constants.S_EXSLT_COMMON_URL [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
DeviceDiscoveryAction.java | 72 private int mPhysicalAddress = Constants.INVALID_PHYSICAL_ADDRESS; 73 private int mPortId = Constants.INVALID_PORT_ID; 74 private int mVendorId = Constants.UNKNOWN_VENDOR_ID; 121 }, Constants.POLL_ITERATION_REVERSE_ORDER 122 | Constants.POLL_STRATEGY_REMOTES_DEVICES, HdmiConfig.DEVICE_POLLING_RETRY); 142 return address >= Constants.ADDR_TV && address < Constants.ADDR_UNREGISTERED; 154 if (mayProcessMessageIfCached(address, Constants.MESSAGE_REPORT_PHYSICAL_ADDRESS)) { 177 if (mayProcessMessageIfCached(address, Constants.MESSAGE_SET_OSD_NAME)) { 201 if (mayProcessMessageIfCached(address, Constants.MESSAGE_DEVICE_VENDOR_ID)) [all...] |
NewDeviceAction.java | 70 mVendorId = Constants.UNKNOWN_VENDOR_ID; 84 if (mayProcessCommandIfCached(mDeviceLogicalAddress, Constants.MESSAGE_SET_OSD_NAME)) { 108 if (opcode == Constants.MESSAGE_SET_OSD_NAME) { 116 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) { 118 if (requestOpcode == Constants.MESSAGE_GIVE_OSD_NAME) { 124 if (opcode == Constants.MESSAGE_DEVICE_VENDOR_ID) { 129 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) { 131 if (requestOpcode == Constants.MESSAGE_GIVE_DEVICE_VENDOR_ID) { 157 Constants.MESSAGE_DEVICE_VENDOR_ID)) {
|
/developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
SimpleGeofenceStore.java | 19 import static com.example.android.wearable.geofencing.Constants.INVALID_FLOAT_VALUE; 20 import static com.example.android.wearable.geofencing.Constants.INVALID_INT_VALUE; 21 import static com.example.android.wearable.geofencing.Constants.INVALID_LONG_VALUE; 22 import static com.example.android.wearable.geofencing.Constants.KEY_EXPIRATION_DURATION; 23 import static com.example.android.wearable.geofencing.Constants.KEY_LATITUDE; 24 import static com.example.android.wearable.geofencing.Constants.KEY_LONGITUDE; 25 import static com.example.android.wearable.geofencing.Constants.KEY_PREFIX; 26 import static com.example.android.wearable.geofencing.Constants.KEY_RADIUS; 27 import static com.example.android.wearable.geofencing.Constants.KEY_TRANSITION_TYPE;
|
Constants.java | 23 /** Constants used in companion app. */ 24 public final class Constants { 26 private Constants() { 53 // The constants below are less interesting than those above.
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 29 import com.example.android.xyztouristattractions.common.Constants; 59 && Constants.ATTRACTION_PATH.equals(event.getDataItem().getUri().getPath())) { 63 dataMapItem.getDataMap().getDataMapArrayList(Constants.EXTRA_ATTRACTIONS); 73 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) { 85 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 88 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 95 intent.putExtra(Constants.EXTRA_ATTRACTIONS_URI, attractionsUri); 104 googleApiClient, attraction.getAsset(Constants.EXTRA_IMAGE)); 123 notificationManager.notify(Constants.WEAR_NOTIFICATION_ID, notification);
|
/developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/ |
SimpleGeofenceStore.java | 19 import static com.example.android.wearable.geofencing.Constants.INVALID_FLOAT_VALUE; 20 import static com.example.android.wearable.geofencing.Constants.INVALID_INT_VALUE; 21 import static com.example.android.wearable.geofencing.Constants.INVALID_LONG_VALUE; 22 import static com.example.android.wearable.geofencing.Constants.KEY_EXPIRATION_DURATION; 23 import static com.example.android.wearable.geofencing.Constants.KEY_LATITUDE; 24 import static com.example.android.wearable.geofencing.Constants.KEY_LONGITUDE; 25 import static com.example.android.wearable.geofencing.Constants.KEY_PREFIX; 26 import static com.example.android.wearable.geofencing.Constants.KEY_RADIUS; 27 import static com.example.android.wearable.geofencing.Constants.KEY_TRANSITION_TYPE;
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 29 import com.example.android.xyztouristattractions.common.Constants; 59 && Constants.ATTRACTION_PATH.equals(event.getDataItem().getUri().getPath())) { 63 dataMapItem.getDataMap().getDataMapArrayList(Constants.EXTRA_ATTRACTIONS); 73 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) { 85 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 88 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 95 intent.putExtra(Constants.EXTRA_ATTRACTIONS_URI, attractionsUri); 104 googleApiClient, attraction.getAsset(Constants.EXTRA_IMAGE)); 123 notificationManager.notify(Constants.WEAR_NOTIFICATION_ID, notification);
|
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
SimpleGeofenceStore.java | 19 import static com.example.android.wearable.geofencing.Constants.INVALID_FLOAT_VALUE; 20 import static com.example.android.wearable.geofencing.Constants.INVALID_INT_VALUE; 21 import static com.example.android.wearable.geofencing.Constants.INVALID_LONG_VALUE; 22 import static com.example.android.wearable.geofencing.Constants.KEY_EXPIRATION_DURATION; 23 import static com.example.android.wearable.geofencing.Constants.KEY_LATITUDE; 24 import static com.example.android.wearable.geofencing.Constants.KEY_LONGITUDE; 25 import static com.example.android.wearable.geofencing.Constants.KEY_PREFIX; 26 import static com.example.android.wearable.geofencing.Constants.KEY_RADIUS; 27 import static com.example.android.wearable.geofencing.Constants.KEY_TRANSITION_TYPE;
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/ |
ListenerService.java | 29 import com.example.android.xyztouristattractions.common.Constants; 59 && Constants.ATTRACTION_PATH.equals(event.getDataItem().getUri().getPath())) { 63 dataMapItem.getDataMap().getDataMapArrayList(Constants.EXTRA_ATTRACTIONS); 73 if (Constants.CLEAR_NOTIFICATIONS_PATH.equals(messageEvent.getPath())) { 85 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 88 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 95 intent.putExtra(Constants.EXTRA_ATTRACTIONS_URI, attractionsUri); 104 googleApiClient, attraction.getAsset(Constants.EXTRA_IMAGE)); 123 notificationManager.notify(Constants.WEAR_NOTIFICATION_ID, notification);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
MockKeyboardSwitcher.java | 22 import com.android.inputmethod.latin.common.Constants; 33 public static final int CAP_MODE_OFF = Constants.TextUtils.CAP_MODE_OFF; 37 public static final int CODE_SHIFT = Constants.CODE_SHIFT; 38 public static final int CODE_SYMBOL = Constants.CODE_SWITCH_ALPHA_SYMBOL; 39 public static final int CODE_SPACE = Constants.CODE_SPACE; 40 public static final int CODE_AUTO_CAPS_TRIGGER = Constants.CODE_SPACE; 180 if (Constants.isLetterCode(code)) { 189 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE,
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
Helpers.java | 26 import static com.android.providers.downloads.Constants.TAG; 287 if (Constants.LOGVV) { 288 Log.v(Constants.TAG, "getting filename from hint"); 302 if (Constants.LOGVV) { 303 Log.v(Constants.TAG, "getting filename from content-disposition"); 318 if (Constants.LOGVV) { 319 Log.v(Constants.TAG, "getting filename from content-location"); 337 if (Constants.LOGVV) { 338 Log.v(Constants.TAG, "getting filename from uri"); 347 if (Constants.LOGVV) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
InputLogicTestsDeadKeys.java | 22 import com.android.inputmethod.latin.common.Constants; 36 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, 45 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, 70 .addKey(Constants.CODE_DELETE) 97 .addCodePoint(Constants.CODE_SPACE, false) 100 .addCodePoint(Constants.CODE_ENTER, false) 122 Constants.CODE_DELETE, Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE [all...] |
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/ |
UtilityService.java | 37 import com.example.android.xyztouristattractions.common.Constants; 145 intent.getBooleanExtra(EXTRA_TEST_MICROAPP, Constants.USE_MICRO_APP)); 166 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 175 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 196 showNotification(geofences.get(0).getRequestId(), Constants.USE_MICRO_APP); 223 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 248 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 280 NotificationManagerCompat.from(this).cancel(Constants.MOBILE_NOTIFICATION_ID); 295 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 303 googleApiClient, itr.next(), Constants.CLEAR_NOTIFICATIONS_PATH, null) [all...] |
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/ |
UtilityService.java | 37 import com.example.android.xyztouristattractions.common.Constants; 145 intent.getBooleanExtra(EXTRA_TEST_MICROAPP, Constants.USE_MICRO_APP)); 166 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 175 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 196 showNotification(geofences.get(0).getRequestId(), Constants.USE_MICRO_APP); 223 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 248 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 280 NotificationManagerCompat.from(this).cancel(Constants.MOBILE_NOTIFICATION_ID); 295 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 303 googleApiClient, itr.next(), Constants.CLEAR_NOTIFICATIONS_PATH, null) [all...] |
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/ |
UtilityService.java | 36 import com.example.android.xyztouristattractions.common.Constants; 144 intent.getBooleanExtra(EXTRA_TEST_MICROAPP, Constants.USE_MICRO_APP)); 165 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 174 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 195 showNotification(geofences.get(0).getRequestId(), Constants.USE_MICRO_APP); 222 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 247 Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG, 279 NotificationManagerCompat.from(this).cancel(Constants.MOBILE_NOTIFICATION_ID); 294 Constants.GOOGLE_API_CLIENT_TIMEOUT_S, TimeUnit.SECONDS); 302 googleApiClient, itr.next(), Constants.CLEAR_NOTIFICATIONS_PATH, null) [all...] |
/developers/build/prebuilts/gradle/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/ |
MainWearActivity.java | 35 import com.example.android.wearable.runtimepermissions.common.Constants; 169 dataMap.putInt(Constants.KEY_COMM_TYPE, 170 Constants.COMM_TYPE_REQUEST_DATA); 182 Constants.CAPABILITY_PHONE_APP); 230 Constants.CAPABILITY_PHONE_APP); 237 Constants.CAPABILITY_PHONE_APP, 307 dataMap.putInt(Constants.KEY_COMM_TYPE, 308 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION); 323 dataMap.putInt(Constants.KEY_COMM_TYPE, 324 Constants.COMM_TYPE_RESPONSE_USER_DENIED_PERMISSION) [all...] |
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Wearable/src/main/java/com/example/android/wearable/runtimepermissions/ |
MainWearActivity.java | 35 import com.example.android.wearable.runtimepermissions.common.Constants; 169 dataMap.putInt(Constants.KEY_COMM_TYPE, 170 Constants.COMM_TYPE_REQUEST_DATA); 182 Constants.CAPABILITY_PHONE_APP); 230 Constants.CAPABILITY_PHONE_APP); 237 Constants.CAPABILITY_PHONE_APP, 307 dataMap.putInt(Constants.KEY_COMM_TYPE, 308 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION); 323 dataMap.putInt(Constants.KEY_COMM_TYPE, 324 Constants.COMM_TYPE_RESPONSE_USER_DENIED_PERMISSION) [all...] |
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
MainWearActivity.java | 35 import com.example.android.wearable.runtimepermissions.common.Constants; 168 dataMap.putInt(Constants.KEY_COMM_TYPE, 169 Constants.COMM_TYPE_REQUEST_DATA); 181 Constants.CAPABILITY_PHONE_APP); 272 Constants.CAPABILITY_PHONE_APP); 279 Constants.CAPABILITY_PHONE_APP, 349 dataMap.putInt(Constants.KEY_COMM_TYPE, 350 Constants.COMM_TYPE_RESPONSE_USER_APPROVED_PERMISSION); 365 dataMap.putInt(Constants.KEY_COMM_TYPE, 366 Constants.COMM_TYPE_RESPONSE_USER_DENIED_PERMISSION) [all...] |