Home
last modified time | relevance | path

Searched refs:val1 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DPersistableBundlable.java85 Object val1 = obj1.get(key); in isPersistableBundleEquals() local
87 if (!isPersistableBundleSupportedValueEquals(val1, val2)) { in isPersistableBundleEquals()
99 private static boolean isPersistableBundleSupportedValueEquals(Object val1, Object val2) { in isPersistableBundleSupportedValueEquals() argument
100 if (val1 == val2) { in isPersistableBundleSupportedValueEquals()
102 } else if (val1 == null || val2 == null || !val1.getClass().equals(val2.getClass())) { in isPersistableBundleSupportedValueEquals()
104 } else if (val1 instanceof PersistableBundle) { in isPersistableBundleSupportedValueEquals()
105 return isPersistableBundleEquals((PersistableBundle) val1, (PersistableBundle) val2); in isPersistableBundleSupportedValueEquals()
106 } else if (val1 instanceof int[]) { in isPersistableBundleSupportedValueEquals()
107 return Arrays.equals((int[]) val1, (int[]) val2); in isPersistableBundleSupportedValueEquals()
108 } else if (val1 instanceof long[]) { in isPersistableBundleSupportedValueEquals()
[all …]
/packages/apps/Gallery2/jni/filters/
Dkmeans.h40 inline void set(T val1[], N val2[], int dimension) { in set() argument
43 val1[x] = val2[x]; in set()
71 inline N euclideanDist(T val1[], T val2[], int dimension) { in euclideanDist() argument
75 N diff = (N) val1[x] - (N) val2[x]; in euclideanDist()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DNativeInterface.java259 public boolean sendATCmd(byte[] address, int atCmd, int val1, int val2, String arg) { in sendATCmd() argument
260 return sendATCmdNative(address, atCmd, val1, val2, arg); in sendATCmd()
300 private static native boolean sendATCmdNative(byte[] address, int atCmd, int val1, int val2, in sendATCmdNative() argument
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hfpclient.cpp810 jint cmd, jint val1, jint val2, in sendATCmdNative() argument
825 (const RawAddress*)addr, cmd, val1, val2, arg); in sendATCmdNative()