/packages/modules/Wifi/framework/java/android/net/wifi/util/ |
D | PersistableBundleUtils.java | 54 private static int getArrayHashCode(Object arr) { in getArrayHashCode() argument 55 if (arr instanceof boolean[]) { in getArrayHashCode() 56 return Arrays.hashCode((boolean[]) arr); in getArrayHashCode() 57 } else if (arr instanceof double[]) { in getArrayHashCode() 58 return Arrays.hashCode((double[]) arr); in getArrayHashCode() 59 } else if (arr instanceof int[]) { in getArrayHashCode() 60 return Arrays.hashCode((int[]) arr); in getArrayHashCode() 61 } else if (arr instanceof long[]) { in getArrayHashCode() 62 return Arrays.hashCode((long[]) arr); in getArrayHashCode() 63 } else if (arr instanceof String[]) { in getArrayHashCode() [all …]
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifTag.java | 482 Short[] arr = (Short[]) obj; in setValue() local 483 int[] fin = new int[arr.length]; in setValue() 484 for (int i = 0; i < arr.length; i++) { in setValue() 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; in setValue() 490 Integer[] arr = (Integer[]) obj; in setValue() local 491 int[] fin = new int[arr.length]; in setValue() 492 for (int i = 0; i < arr.length; i++) { in setValue() 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); in setValue() 498 Long[] arr = (Long[]) obj; in setValue() local 499 long[] fin = new long[arr.length]; in setValue() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifTag.java | 482 Short[] arr = (Short[]) obj; in setValue() local 483 int[] fin = new int[arr.length]; in setValue() 484 for (int i = 0; i < arr.length; i++) { in setValue() 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; in setValue() 490 Integer[] arr = (Integer[]) obj; in setValue() local 491 int[] fin = new int[arr.length]; in setValue() 492 for (int i = 0; i < arr.length; i++) { in setValue() 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); in setValue() 498 Long[] arr = (Long[]) obj; in setValue() local 499 long[] fin = new long[arr.length]; in setValue() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 482 Short[] arr = (Short[]) obj; in setValue() local 483 int[] fin = new int[arr.length]; in setValue() 484 for (int i = 0; i < arr.length; i++) { in setValue() 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; in setValue() 490 Integer[] arr = (Integer[]) obj; in setValue() local 491 int[] fin = new int[arr.length]; in setValue() 492 for (int i = 0; i < arr.length; i++) { in setValue() 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue(); in setValue() 498 Long[] arr = (Long[]) obj; in setValue() local 499 long[] fin = new long[arr.length]; in setValue() [all …]
|
/packages/modules/Virtualization/service_vm/comm/src/ |
D | csr.rs | 51 let Value::Array(mut arr) = value else { in from_cbor_slice() 54 if arr.len() != 2 { in from_cbor_slice() 58 signed_csr_payload: value_to_bytes(arr.remove(1), "signed_csr_payload")?, in from_cbor_slice() 59 dice_cert_chain: value_to_bytes(arr.remove(0), "dice_cert_chain")?, in from_cbor_slice() 90 let Value::Array(mut arr) = value else { in from_cbor_slice() 93 if arr.len() != 2 { in from_cbor_slice() 97 challenge: value_to_bytes(arr.remove(1), "challenge")?, in from_cbor_slice() 98 public_key: value_to_bytes(arr.remove(0), "public_key")?, in from_cbor_slice()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | KeepaliveResourceUtil.java | 54 final String[] arr = row.split(","); in getSupportedKeepalives() local 55 if (arr.length != 2) { in getSupportedKeepalives() 62 transport = Integer.parseInt(arr[0]); in getSupportedKeepalives() 63 supported = Integer.parseInt(arr[1]); in getSupportedKeepalives()
|
/packages/modules/Bluetooth/system/include/ |
D | array_utils.h | 19 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0])) argument
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | BitwiseInputStream.java | 97 byte[] arr = new byte[bytes]; in readByteArray() 100 arr[i] = (byte) (read(increment) << (8 - increment)); in readByteArray() 102 return arr; in readByteArray()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp6/java/com/example/adservices/samples/topics/sampleapp6/ |
D | MainActivity.java | 172 private String getTopics(List<Topic> arr) { in getTopics() argument 175 for (Topic topic : arr) { in getTopics() 181 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 184 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/AdServices/adservices/samples/topics/sampleappwithnoperm/java/com/example/adservices/samples/topics/sampleappwithnoperm/ |
D | MainActivity.java | 174 private String getTopics(List<Topic> arr) { in getTopics() argument 177 for (Topic topic : arr) { in getTopics() 183 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 186 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp3/java/com/example/adservices/samples/topics/sampleapp3/ |
D | MainActivity.java | 175 private String getTopics(List<Topic> arr) { in getTopics() argument 178 for (Topic topic : arr) { in getTopics() 184 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 187 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp2/java/com/example/adservices/samples/topics/sampleapp2/ |
D | MainActivity.java | 175 private String getTopics(List<Topic> arr) { in getTopics() argument 178 for (Topic topic : arr) { in getTopics() 184 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 187 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/AdServices/adservices/samples/topics/sampleappwithoptoutall/java/com/example/adservices/samples/topics/sampleappwithoptoutall/ |
D | MainActivity.java | 174 private String getTopics(List<Topic> arr) { in getTopics() argument 177 for (Topic topic : arr) { in getTopics() 183 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 186 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp5/java/com/example/adservices/samples/topics/sampleapp5/ |
D | MainActivity.java | 173 private String getTopics(List<Topic> arr) { in getTopics() argument 176 for (Topic topic : arr) { in getTopics() 182 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 185 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp4/java/com/example/adservices/samples/topics/sampleapp4/ |
D | MainActivity.java | 175 private String getTopics(List<Topic> arr) { in getTopics() argument 178 for (Topic topic : arr) { in getTopics() 184 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 187 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/ |
D | ByteArrayParceledListSlice.java | 41 byte[] arr = new byte[in.readInt()]; 42 in.readByteArray(arr); 43 return arr;
|
/packages/modules/AdServices/adservices/samples/topics/sampleapp1/java/com/example/adservices/samples/topics/sampleapp1/ |
D | MainActivity.java | 113 private String getTopics(List<Topic> arr) { in getTopics() argument 116 for (Topic topic : arr) { in getTopics() 122 private String getDecryptedTopics(List<EncryptedTopic> arr) { in getDecryptedTopics() argument 125 for (EncryptedTopic encryptedTopic : arr) { in getDecryptedTopics()
|
/packages/modules/Virtualization/vmbase/src/ |
D | rand.rs | 152 let mut arr = [0; N]; localVariable 153 fill_with_entropy(&mut arr)?; 154 Ok(arr)
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | IntArray.java | 146 IntArray arr = (IntArray) obj; in equals() local 147 if (mSize == arr.mSize) { in equals() 149 if (arr.mValues[i] != mValues[i]) { in equals()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/ |
D | ContextData.java | 59 public static ContextData fromByteArray(byte[] arr) throws IOException, ClassNotFoundException { in fromByteArray() argument 60 try (ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(arr); in fromByteArray()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | DeleteApiIntegrationTest.java | 140 JSONArray arr = mParam.getJSONArray(name); in getUriList() local 142 for (int i = 0; i < arr.length(); i++) { in getUriList() 143 strList.add(Uri.parse(arr.getString(i))); in getUriList()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | Densify.cpp | 137 std::vector<T> arrToVector(const T* arr, uint32_t size) { in arrToVector() argument 138 return arr == nullptr ? std::vector<T>() : std::vector<T>(arr, arr + size); in arrToVector()
|
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/ |
D | SdpClientTest.java | 92 ParcelUuid[] arr = mFutureIntent.get(); in remoteConnectServiceDiscoveryTest() local 93 assertThat(arr).asList().contains(BluetoothUuid.HFP); in remoteConnectServiceDiscoveryTest()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | PerBuyerConfigurationTest.java | 123 PerBuyerConfiguration[] arr = PerBuyerConfiguration.CREATOR.newArray(10); in testNewArray() local 124 expect.that(arr).hasLength(10); in testNewArray()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | ExifTag.java | 377 int[] arr = new int[val.length]; in getValueAsInts() local 379 arr[i] = (int) val[i]; // Truncates in getValueAsInts() 381 return arr; in getValueAsInts()
|