Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DPersistableBundlable.java87 Object val1 = obj1.get(key); in isPersistableBundleEquals() local
89 if (!isPersistableBundleSupportedValueEquals(val1, val2)) { in isPersistableBundleEquals()
101 private static boolean isPersistableBundleSupportedValueEquals(Object val1, Object val2) { in isPersistableBundleSupportedValueEquals() argument
102 if (val1 == val2) { in isPersistableBundleSupportedValueEquals()
104 } else if (val1 == null || val2 == null || !val1.getClass().equals(val2.getClass())) { in isPersistableBundleSupportedValueEquals()
106 } else if (val1 instanceof PersistableBundle) { in isPersistableBundleSupportedValueEquals()
107 return isPersistableBundleEquals((PersistableBundle) val1, (PersistableBundle) val2); in isPersistableBundleSupportedValueEquals()
108 } else if (val1 instanceof int[]) { in isPersistableBundleSupportedValueEquals()
109 return Arrays.equals((int[]) val1, (int[]) val2); in isPersistableBundleSupportedValueEquals()
110 } else if (val1 instanceof long[]) { in isPersistableBundleSupportedValueEquals()
[all …]
/packages/modules/NeuralNetworks/common/cpu_operations/
DPRelu.cpp82 [&](const T& val1, const T& val2) -> uint8_t { in evalQuant8() argument
83 const int32_t input = input_offset + static_cast<int32_t>(val1); in evalQuant8()
113 [](const _Float16& val1, const _Float16& val2) -> _Float16 { in execute() argument
114 return val1 >= 0.0f ? val1 : val1 * val2; in execute()
124 [](const float& val1, const float& val2) -> float { in execute() argument
125 return val1 >= 0.0f ? val1 : val1 * val2; in execute()
/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/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchInteractionsDaoTest.java107 int val1 = PrivacySandboxFeatureType.PRIVACY_SANDBOX_FIRST_CONSENT_FF.ordinal(); in testEquals() local
110 new AppSearchInteractionsDao(ID, ID, NAMESPACE, apiType1, val1); in testEquals()
112 new AppSearchInteractionsDao(ID, ID, NAMESPACE, apiType1, val1); in testEquals()
/packages/modules/Bluetooth/system/bta/hf_client/
Dbta_hf_client_api.cc179 uint32_t val1, uint32_t val2, const char* str) { in BTA_HfClientSendAT() argument
185 p_buf->uint32_val1 = val1; in BTA_HfClientSendAT()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DNativeInterface.java273 public boolean sendATCmd(BluetoothDevice device, int atCmd, int val1, int val2, String arg) { in sendATCmd() argument
274 return sendATCmdNative(getByteAddress(device), atCmd, val1, val2, arg); in sendATCmd()
331 byte[] address, int atCmd, int val1, int val2, String arg); in sendATCmdNative() argument
/packages/services/Telephony/src/com/android/phone/
DRcsProvisioningMonitor.java906 private static boolean booleanEquals(Boolean val1, Boolean val2) { in booleanEquals() argument
907 return (val1 == null && val2 == null) in booleanEquals()
908 || (Boolean.TRUE.equals(val1) && Boolean.TRUE.equals(val2)) in booleanEquals()
909 || (Boolean.FALSE.equals(val1) && Boolean.FALSE.equals(val2)); in booleanEquals()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java1968 private boolean compareIfaceCreationData(IfaceCreationData val1, IfaceCreationData val2) { in compareIfaceCreationData() argument
1969 if (VDBG) Log.d(TAG, "compareIfaceCreationData: val1=" + val1 + ", val2=" + val2); in compareIfaceCreationData()
1972 if (val1 == null) { in compareIfaceCreationData()
1979 if (val1.chipInfo.currentModeIdValid in compareIfaceCreationData()
1980 && val1.chipInfo.currentModeId != val1.chipModeId) { in compareIfaceCreationData()
1982 val1NumIfacesToBeRemoved[createType] = val1.chipInfo.ifaces[createType].length; in compareIfaceCreationData()
1985 for (WifiIfaceInfo ifaceToRemove : val1.interfacesToBeRemovedFirst) { in compareIfaceCreationData()
2013 int val1NumIFacesToBeDowngraded = val1.interfacesToBeDowngraded.size(); in compareIfaceCreationData()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hf_client.cc727 static bt_status_t send_at_cmd(const RawAddress* bd_addr, int cmd, int val1, in send_at_cmd() argument
734 log::verbose("Cmd {} val1 {} val2 {} arg {}", cmd, val1, val2, in send_at_cmd()
736 BTA_HfClientSendAT(cb->handle, cmd, val1, val2, arg); in send_at_cmd()
/packages/modules/Bluetooth/system/bta/include/
Dbta_hf_client_api.h386 uint32_t val1, uint32_t val2, const char* str);
/packages/modules/Bluetooth/system/include/hardware/
Dbt_hf_client.h393 bt_status_t (*send_at_cmd)(const RawAddress* bd_addr, int cmd, int val1,
/packages/services/Car/cpp/evs/manager/1.1/test/fuzzer/
DVirtualCameraFuzzer.cpp222 [](int32_t val0, int32_t val1, int32_t val2) { in LLVMFuzzerTestOneInput() argument
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfpclient.cpp830 jbyteArray address, jint cmd, jint val1, in sendATCmdNative() argument
846 (const RawAddress*)addr, cmd, val1, val2, arg); in sendATCmdNative()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsServiceTest.java2941 final CookieTagMapValue val1 = cookieTagMap.get(new CookieTagMapKey(2002)); in testDumpCookieTagMapBpfRawMap() local
2942 assertEquals(1, val1.tag); in testDumpCookieTagMapBpfRawMap()
2943 assertEquals(1002, val1.uid); in testDumpCookieTagMapBpfRawMap()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DMeasurementDaoTest.java8386 Long val1 = -123L; in testPersistAndRetrieveSource_handlesPreExistingNegativeValues() local
8390 val1.toString() + "," + val2.toString()); in testPersistAndRetrieveSource_handlesPreExistingNegativeValues()
8401 assertEquals(val1, (Long) aggReportDedupKeys.get(0).getValue()); in testPersistAndRetrieveSource_handlesPreExistingNegativeValues()