/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/ |
D | stdint.h | 65 #define INT8_C(val) val##i8 argument 66 #define INT16_C(val) val##i16 argument 67 #define INT32_C(val) val##i32 argument 68 #define INT64_C(val) val##i64 argument 70 #define UINT8_C(val) val##ui8 argument 71 #define UINT16_C(val) val##ui16 argument 72 #define UINT32_C(val) val##ui32 argument 73 #define UINT64_C(val) val##ui64 argument 276 #define INT8_C(val) val##i8 argument 277 #define INT16_C(val) val##i16 argument [all …]
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorExpr.java | 197 int val = KeyMaps.digVal(id); in add() local 201 mExponent = 10 * mExponent + val; in add() 203 mExponent = 10 * mExponent - val; in add() 211 mFraction += val; in add() 213 mWhole += val; in add() 643 public final UnifiedReal val; // Constructive Real result of evaluating subexpression. field in CalculatorExpr.EvalRet 646 val = v; in EvalRet() 750 return new EvalRet(argVal.pos, argVal.val.negate().sqrt()); in evalUnary() 753 return new EvalRet(argVal.pos, argVal.val.sqrt()); in evalUnary() 760 return new EvalRet(argVal.pos, argVal.val); in evalUnary() [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | ImageUtils.cpp | 50 int val = (int) (REDY * r + GREENY * g + BLUEY * b) / 1000 + 16; in rgba2yvu() local 51 if (val < 0) val = 0; in rgba2yvu() 52 if (val > 255) val = 255; in rgba2yvu() 53 *(yimg) = val; in rgba2yvu() 55 val = (int) (REDV * r - GREENV * g - BLUEV * b) / 1000 + 128; in rgba2yvu() 56 if (val < 0) val = 0; in rgba2yvu() 57 if (val > 255) val = 255; in rgba2yvu() 58 *(vimg) = val; in rgba2yvu() 60 val = (int) (-REDU * r - GREENU * g + BLUEU * b) / 1000 + 128; in rgba2yvu() 61 if (val < 0) val = 0; in rgba2yvu() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterProperties.java | 588 byte[] val; in adapterPropertyChangedCallback() 590 val = values[i]; in adapterPropertyChangedCallback() 592 infoLog("adapterPropertyChangedCallback with type:" + type + " len:" + val.length); in adapterPropertyChangedCallback() 596 mName = new String(val); in adapterPropertyChangedCallback() 605 mAddress = val; in adapterPropertyChangedCallback() 615 mBluetoothClass = Utils.byteArrayToInt(val, 0); in adapterPropertyChangedCallback() 619 int mode = Utils.byteArrayToInt(val, 0); in adapterPropertyChangedCallback() 632 mUuids = Utils.byteArrayToUuid(val); in adapterPropertyChangedCallback() 635 int number = val.length/BD_ADDR_LEN; in adapterPropertyChangedCallback() 638 System.arraycopy(val, j * BD_ADDR_LEN, addrByte, 0, BD_ADDR_LEN); in adapterPropertyChangedCallback() [all …]
|
D | RemoteDevices.java | 292 byte[] val; in devicePropertyChangedCallback() 311 val = values[j]; in devicePropertyChangedCallback() 312 if (val.length > 0) { in devicePropertyChangedCallback() 317 device.mName = new String(val); in devicePropertyChangedCallback() 327 System.arraycopy(val, 0, device.mAlias, 0, val.length); in devicePropertyChangedCallback() 330 device.mAlias = new String(val); in devicePropertyChangedCallback() 334 device.mAddress = val; in devicePropertyChangedCallback() 335 debugLog("Remote Address is:" + Utils.getAddressStringFromByte(val)); in devicePropertyChangedCallback() 338 device.mBluetoothClass = Utils.byteArrayToInt(val); in devicePropertyChangedCallback() 348 int numUuids = val.length/AbstractionLayer.BT_UUID_SIZE; in devicePropertyChangedCallback() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModePrioritySettings.java | 65 final boolean val = (Boolean) newValue; in onCreate() 67 val); in onCreate() 68 if (DEBUG) Log.d(TAG, "onPrefChange allowReminders=" + val); in onCreate() 69 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_REMINDERS), in onCreate() 81 final boolean val = (Boolean) newValue; in onCreate() 82 mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_ZEN_ALLOW_EVENTS, val); in onCreate() 83 if (DEBUG) Log.d(TAG, "onPrefChange allowEvents=" + val); in onCreate() 84 savePolicy(getNewPriorityCategories(val, Policy.PRIORITY_CATEGORY_EVENTS), in onCreate() 97 final int val = Integer.parseInt((String) newValue); in onCreate() 98 final boolean allowMessages = val != SOURCE_NONE; in onCreate() [all …]
|
D | ZenModeVisualInterruptionSettings.java | 58 final boolean val = (Boolean) newValue; in onCreate() 60 MetricsEvent.ACTION_ZEN_ALLOW_WHEN_SCREEN_OFF, val); in onCreate() 61 if (DEBUG) Log.d(TAG, "onPrefChange suppressWhenScreenOff=" + val); in onCreate() 62 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_OFF)); in onCreate() 72 final boolean val = (Boolean) newValue; in onCreate() 74 MetricsEvent.ACTION_ZEN_ALLOW_WHEN_SCREEN_ON, val); in onCreate() 75 if (DEBUG) Log.d(TAG, "onPrefChange suppressWhenScreenOn=" + val); in onCreate() 76 savePolicy(getNewSuppressedEffects(val, Policy.SUPPRESSED_EFFECT_SCREEN_ON)); in onCreate()
|
D | LockScreenNotificationPreferenceController.java | 219 final int val = Integer.parseInt((String) newValue); in onPreferenceChange() local 220 if (val == mLockscreenSelectedValueProfile) { in onPreferenceChange() 224 val != R.string.lock_screen_notifications_summary_disable_profile; in onPreferenceChange() 226 val == R.string.lock_screen_notifications_summary_show_profile; in onPreferenceChange() 233 mLockscreenSelectedValueProfile = val; in onPreferenceChange() 236 final int val = Integer.parseInt((String) newValue); in onPreferenceChange() local 237 if (val == mLockscreenSelectedValue) { in onPreferenceChange() 241 val != R.string.lock_screen_notifications_summary_disable; in onPreferenceChange() 242 final boolean show = val == R.string.lock_screen_notifications_summary_show; in onPreferenceChange() 247 mLockscreenSelectedValue = val; in onPreferenceChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | ObexAppParameters.java | 50 byte[] val = new byte[len]; in ObexAppParameters() 52 System.arraycopy(raw, i, val, 0, len); in ObexAppParameters() 53 this.add(tag, val); in ObexAppParameters() 103 public void add(byte tag, byte val) { in add() argument 104 byte[] bval = ByteBuffer.allocate(1).put(val).array(); in add() 108 public void add(byte tag, short val) { in add() argument 109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add() 113 public void add(byte tag, int val) { in add() argument 114 byte[] bval = ByteBuffer.allocate(4).putInt(val).array(); in add() 118 public void add(byte tag, long val) { in add() argument [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | ObexAppParameters.java | 50 byte[] val = new byte[len]; in ObexAppParameters() 52 System.arraycopy(raw, i, val, 0, len); in ObexAppParameters() 53 this.add(tag, val); in ObexAppParameters() 103 public void add(byte tag, byte val) { in add() argument 104 byte[] bval = ByteBuffer.allocate(1).put(val).array(); in add() 108 public void add(byte tag, short val) { in add() argument 109 byte[] bval = ByteBuffer.allocate(2).putShort(val).array(); in add() 113 public void add(byte tag, int val) { in add() argument 114 byte[] bval = ByteBuffer.allocate(4).putInt(val).array(); in add() 118 public void add(byte tag, long val) { in add() argument [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_feature_detection.cpp | 812 float val,max_val; in db_Max_128Aligned16_f() 817 val= *p++; in db_Max_128Aligned16_f() 818 if(val>max_val) max_val=val; in db_Max_128Aligned16_f() 870 float val,max_val; in db_Max_64Aligned16_f() 875 val= *p++; in db_Max_64Aligned16_f() 876 if(val>max_val) max_val=val; in db_Max_64Aligned16_f() 918 float val,max_val; in db_Max_32Aligned16_f() 923 val= *p++; in db_Max_32Aligned16_f() 924 if(val>max_val) max_val=val; in db_Max_32Aligned16_f() 958 float val,max_val; in db_Max_16Aligned16_f() [all …]
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
D | VehiclePropValueBuilder.java | 79 for (int val : values) { in addIntValue() 80 mPropValue.value.int32Values.add(val); in addIntValue() 87 for (float val : values) { in addFloatValue() 88 mPropValue.value.floatValues.add(val); in addFloatValue() 95 for (byte val : values) { in addByteValue() 96 mPropValue.value.bytes.add(val); in addByteValue() 103 for (long val : values) { in setInt64Value() 104 mPropValue.value.int64Values.add(val); in setInt64Value() 117 public VehiclePropValueBuilder setStringValue(String val) { in setStringValue() argument 118 mPropValue.value.stringValue = val; in setStringValue()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacController.java | 198 public void onChangeEvent(final CarPropertyValue val) { 199 int areaId = val.getAreaId(); 200 switch (val.getPropertyId()) { 202 handleAcStateUpdate(getValue(val)); 205 handleFanPositionUpdate(areaId, getValue(val)); 208 handleFanSpeedUpdate(areaId, getValue(val)); 211 handleTempUpdate(areaId, getValue(val)); 214 handleDefrosterUpdate(areaId, getValue(val)); 217 handleAirCirculationUpdate(getValue(val)); 220 handleSeatWarmerUpdate(areaId, getValue(val)); [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | SettingsShadowSystemProperties.java | 39 String val = sValues.get(key); in getBoolean() local 40 return "y".equals(val) || "yes".equals(val) || "1".equals(val) || "true".equals(val) in getBoolean() 41 || "on".equals(val); in getBoolean() 54 public static synchronized void set(String key, String val) { in set() argument 55 sValues.put(key, val); in set()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Assert.java | 135 final int val, final int rangeMinInclusive, final int rangeMaxInclusive) { in inRange() argument 136 if (val < rangeMinInclusive || val > rangeMaxInclusive) { in inRange() 138 rangeMaxInclusive + "], but was " + val, false); in inRange() 143 final long val, final long rangeMinInclusive, final long rangeMaxInclusive) { in inRange() argument 144 if (val < rangeMinInclusive || val > rangeMaxInclusive) { in inRange() 146 rangeMaxInclusive + "], but was " + val, false); in inRange()
|
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/ |
D | WaveHeader.java | 257 private static void writeInt(OutputStream out, int val) throws IOException { in writeInt() argument 258 out.write(val >> 0); in writeInt() 259 out.write(val >> 8); in writeInt() 260 out.write(val >> 16); in writeInt() 261 out.write(val >> 24); in writeInt() 264 private static void writeShort(OutputStream out, short val) throws IOException { in writeShort() argument 265 out.write(val >> 0); in writeShort() 266 out.write(val >> 8); in writeShort()
|
/packages/services/Car/car-lib/src/android/car/hardware/property/ |
D | CarPropertyManagerBase.java | 224 public <E> void setProperty(Class<E> clazz, int propId, int area, E val) in setProperty() argument 228 + ", area: 0x" + toHexString(area) + ", class: " + clazz + ", val: " + val); in setProperty() 231 mService.setProperty(new CarPropertyValue<>(propId, area, val)); in setProperty() 246 public void setBooleanProperty(int prop, int area, boolean val) in setBooleanProperty() argument 248 setProperty(Boolean.class, prop, area, val); in setBooleanProperty() 251 public void setFloatProperty(int prop, int area, float val) throws CarNotConnectedException { in setFloatProperty() argument 252 setProperty(Float.class, prop, area, val); in setFloatProperty() 255 public void setIntProperty(int prop, int area, int val) throws CarNotConnectedException { in setIntProperty() argument 256 setProperty(Integer.class, prop, area, val); in setIntProperty()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 91 (jbyte*)properties[i].val); in get_properties() 110 ScopedLocalRef<jbyteArray> val( in adapter_properties_callback() local 113 if (!val.get()) { in adapter_properties_callback() 119 sCallbackEnv->GetObjectClass(val.get())); in adapter_properties_callback() 164 ScopedLocalRef<jbyteArray> val( in remote_device_properties_callback() local 167 if (!val.get()) { in remote_device_properties_callback() 173 sCallbackEnv->GetObjectClass(val.get())); in remote_device_properties_callback() 229 (jbyte*)properties[i].val); in device_found_callback() 239 (const char*)properties[addr_index].val); in device_found_callback() 242 (bt_bdaddr_t*)properties[addr_index].val, in device_found_callback() [all …]
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
D | DvrStorageManager.java | 95 int val = in.readInt(); in readFormatInt() local 96 if (val != NO_VALUE) { in readFormatInt() 97 format.setInteger(key, val); in readFormatInt() 103 long val = in.readLong(); in readFormatLong() local 104 if (val != NO_VALUE_LONG) { in readFormatLong() 105 format.setLong(key, val); in readFormatLong() 111 float val = in.readFloat(); in readFormatFloat() local 112 if (val != NO_VALUE) { in readFormatFloat() 113 format.setFloat(key, val); in readFormatFloat()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Exif.java | 39 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getOrientation() local 40 if (val == null) { in getOrientation() 43 return ExifInterface.getRotationForOrientationValue(val.shortValue()); in getOrientation() 70 Integer val = exif.getTagIntValue(ExifInterface.TAG_ORIENTATION); in getOrientation() local 71 if (val == null) { in getOrientation() 74 return ExifInterface.getRotationForOrientationValue(val.shortValue()); in getOrientation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | FilterStackSource.java | 58 ContentValues val = new ContentValues(); in insertStack() local 59 val.put(FilterStack.STACK_ID, stackName); in insertStack() 60 val.put(FilterStack.FILTER_STACK, stackBlob); in insertStack() 63 ret = (-1 != database.insert(FilterStack.TABLE, null, val)); in insertStack() 72 ContentValues val = new ContentValues(); in updateStackName() local 73 val.put(FilterStack.STACK_ID, stackName); in updateStackName() 76 database.update(FilterStack.TABLE, val, FilterStack._ID + " = ?", in updateStackName()
|
/packages/services/Telecomm/libs/ |
D | guava.jar | ... {
final synthetic java.lang.reflect.Method val$method
final synthetic Object[] val$args ... |
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | ExifTag.java | 376 long[] val = (long[]) mValue; in getValueAsInts() local 377 int[] arr = new int[val.length]; in getValueAsInts() 378 for (int i = 0; i < val.length; i++) { in getValueAsInts() 379 arr[i] = (int) val[i]; // Truncates in getValueAsInts() 409 Object val = ((Object[]) mValue)[0]; in forceGetValueAsString() local 410 if (val == null) { in forceGetValueAsString() 413 return val.toString(); in forceGetValueAsString()
|
/packages/services/Car/car-lib/src/android/car/hardware/hvac/ |
D | CarHvacManager.java | 389 public void setBooleanProperty(@PropertyId int propertyId, int area, boolean val) in setBooleanProperty() argument 391 mMgr.setBooleanProperty(propertyId, area, val); in setBooleanProperty() 401 public void setFloatProperty(@PropertyId int propertyId, int area, float val) in setFloatProperty() argument 403 mMgr.setFloatProperty(propertyId, area, val); in setFloatProperty() 413 public void setIntProperty(@PropertyId int propertyId, int area, int val) in setIntProperty() argument 415 mMgr.setIntProperty(propertyId, area, val); in setIntProperty()
|
/packages/services/Car/car-lib/src/android/car/hardware/cabin/ |
D | CarCabinManager.java | 536 public void setBooleanProperty(@PropertyId int propertyId, int area, boolean val) in setBooleanProperty() argument 538 mMgr.setBooleanProperty(propertyId, area, val); in setBooleanProperty() 548 public void setFloatProperty(@PropertyId int propertyId, int area, float val) in setFloatProperty() argument 550 mMgr.setFloatProperty(propertyId, area, val); in setFloatProperty() 560 public void setIntProperty(@PropertyId int propertyId, int area, int val) in setIntProperty() argument 562 mMgr.setIntProperty(propertyId, area, val); in setIntProperty()
|