/device/google/cuttlefish/host/frontend/webrtc/html_client/js/ |
D | adb.js | 29 let array = new Uint8Array(); variable 31 function setU32LE(array, offset, x) { argument 32 array[offset] = x & 0xff; 33 array[offset + 1] = (x >> 8) & 0xff; 34 array[offset + 2] = (x >> 16) & 0xff; 35 array[offset + 3] = x >> 24; 38 function getU32LE(array, offset) { argument 39 let x = array[offset] | (array[offset + 1] << 8) | (array[offset + 2] << 16) | 40 (array[offset + 3] << 24); 45 function computeChecksum(array) { argument [all …]
|
D | rootcanal.js | 33 function rootCanalAddU8(array, pos, val) { argument 34 array[pos] = val & 0xff; 39 function rootCanalAddPayload(array, pos, payload) { argument 40 array.set(payload, pos); 45 function rootCanalAddString(array, pos, val) { argument 48 curPos = rootCanalAddU8(array, curPos, val.length); 50 return rootCanalAddPayload(array, curPos, utf8Encoder.encode(val)); 56 let array = new Uint8Array(arrayBuffer); 59 pos = rootCanalAddString(array, pos, command); 60 pos = rootCanalAddU8(array, pos, args.length); [all …]
|
/device/google/atv/MdnsOffloadManagerService/tests/src/com/android/tv/mdnsoffloadmanager/ |
D | MdnsPacketParserTest.java | 35 byte[] array = new byte[]{'x', 'x', 'x', 3, 'a', 't', 'v', 0}; in testExtractFullNameFromSingleLabel() 36 String fullName = MdnsPacketParser.extractFullName(array, 3); in testExtractFullNameFromSingleLabel() 42 byte[] array = new byte[]{3, 'i', 's', 'o', 0, (byte) 0xC0, 0x00}; in testExtractFullNameFromPointer() 43 String fullName = MdnsPacketParser.extractFullName(array, 5); in testExtractFullNameFromPointer() 49 byte[] array = new byte[]{'x', 'x', 'x', 3, 'a', 't', 'v', 3, 'g', 't', 'v', 0}; in testExtractFullNameFromMultiLabel() 50 String fullName = MdnsPacketParser.extractFullName(array, 3); in testExtractFullNameFromMultiLabel() 56 byte[] array = new byte[]{3, 'i', 's', 'o', 0,// in testExtractFullNameFromLabelPointer() 58 String fullName = MdnsPacketParser.extractFullName(array, 9); in testExtractFullNameFromLabelPointer() 64 byte[] array = new byte[]{3, 'i', 's', 'o', 0,// in testExtractFullNameFromLabelDualPointerLongOffset() 68 byte[] longArray = Arrays.copyOf(array, 120); in testExtractFullNameFromLabelDualPointerLongOffset() [all …]
|
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/ |
D | MultiDisplayService.java | 204 private void dumpArray(PrintWriter writer, Object[] array, String name) { in dumpArray() argument 205 if (array != null) { in dumpArray() 206 int size = array.length; in dumpArray() 209 writer.printf(" %d: %s\n", i, array[i]); in dumpArray() 374 int[] array = {0, 0, 0, 0, 0, 0}; in run() local 375 if (!nativeReadPipe(array)) { in run() 380 Log.d(TAG, "run(): array= " + Arrays.toString(array)); in run() 381 switch (array[0]) { in run() 384 Log.d(TAG, "received " + array[j]); in run() 386 int i = array[1]; in run() [all …]
|
/device/linaro/dragonboard/shared/utils/pd-mapper/ |
D | json.c | 46 static int json_parse_array(struct json_value *array); 184 static int json_parse_array(struct json_value *array) in json_parse_array() argument 197 array->type = JSON_TYPE_ARRAY; in json_parse_array() 209 if (!array->u.value) in json_parse_array() 210 array->u.value = value; in json_parse_array() 375 int json_count_children(struct json_value *array) in json_count_children() argument 380 if (!array || array->type != JSON_TYPE_ARRAY) in json_count_children() 383 for (it = array->u.value; it; it = it->next) in json_count_children()
|
D | json.h | 61 int json_count_children(struct json_value *array);
|
/device/google/contexthub/util/nanotool/ |
D | androidcontexthub.cpp | 68 sp<JSONArray> array; in CopyInt32Array() local 69 if (json->getArray(key, &array)) { in CopyInt32Array() 70 for (size_t i = 0; i < array->size(); i++) { in CopyInt32Array() 72 array->getInt32(i, &val); in CopyInt32Array() 83 sp<JSONArray> array; in CopyFloatArray() local 84 if (json->getArray(key, &array)) { in CopyFloatArray() 85 for (size_t i = 0; i < array->size(); i++) { in CopyFloatArray() 87 array->getFloat(i, &val); in CopyFloatArray()
|
/device/google/contexthub/util/common/ |
D | JSONObject.cpp | 62 sp<JSONArray> array = new JSONArray; in Parse() local 86 array->addValue(val); in Parse() 105 out->setArray(array); in Parse() 495 void JSONValue::setArray(const sp<JSONArray> &array) { in setArray() argument 498 mValue.mObjectOrArray = array.get(); in setArray() 639 sp<JSONArray> array; in Parse() local 640 if (value.getArray(&array)) { in Parse() 641 return array; in Parse()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/ |
D | BluetoothUtils.java | 75 context.getResources().getStringArray(R.array.known_bluetooth_device_labels))); in setRemoteLabels() 81 R.array.known_remote_labels))); in setRemoteLabels() 85 context.getResources().getStringArray(R.array.official_bt_device_labels))); in setRemoteLabels() 88 context.getResources().getStringArray(R.array.bt_device_service_updatable_labels))); in setRemoteLabels() 177 R.array.official_bt_device_manufacturer_names); in isOfficialDevice() 183 R.array.official_bt_device_model_names); in isOfficialDevice()
|
/device/google/cuttlefish/guest/hals/identity/common/ |
D | WritableIdentityCredential.cpp | 411 cppbor::Array array; in finishAddingEntries() local 412 array.add(docType_); in finishAddingEntries() 413 array.add(testCredential_); in finishAddingEntries() 414 array.add(encryptedCredentialKeys.value()); in finishAddingEntries() 415 vector<uint8_t> credentialData = array.encode(); in finishAddingEntries()
|
D | IdentityCredential.cpp | 104 cppbor::Array array = {"ProofOfDeletion", docType_, testCredential_}; in deleteCredentialCommon() local 106 array = {"ProofOfDeletion", docType_, challenge, testCredential_}; in deleteCredentialCommon() 109 vector<uint8_t> proofOfDeletionCbor = array.encode(); in deleteCredentialCommon() 141 cppbor::Array array; in proveOwnership() local 142 array = {"ProofOfOwnership", docType_, challenge, testCredential_}; in proveOwnership() 143 vector<uint8_t> proofOfOwnershipCbor = array.encode(); in proveOwnership()
|
/device/google/cuttlefish/common/libs/utils/ |
D | json.h | 74 const Json::Value& array, const std::vector<std::string>& selectors) { in GetArrayValues() argument 76 for (const auto& element : array) { in GetArrayValues()
|
/device/google/cuttlefish/guest/commands/setup_wifi/ |
D | main.cpp | 38 static std::array<unsigned char, 6> prefix_to_mac( in prefix_to_mac() 40 std::array<unsigned char, 6> mac; in prefix_to_mac()
|
/device/google/cuttlefish/guest/hals/keymint/remote/ |
D | remote_keymint_device.h | 86 std::array<uint8_t, 16>* challenge) override; 87 ScopedAStatus getRootOfTrust(const std::array<uint8_t, 16>& challenge,
|
/device/generic/goldfish-opengl/system/hwc3/ |
D | Layer.h | 86 const std::optional<std::array<float, 16>>& getColorTransform() const; 120 std::optional<std::array<float, 16>> mColorTransform;
|
D | Display.h | 143 std::array<float, 16> getColorTransform() const { return *mColorTransform; } in getColorTransform() 188 std::optional<std::array<float, 16>> mColorTransform;
|
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/ |
D | MdnsPacketParser.java | 53 public static String extractFullName(@NonNull byte[] array, int offset) { in extractFullName() argument 54 MdnsPacketParser parser = new MdnsPacketParser(array); in extractFullName()
|
D | PriorityListManager.java | 16 public static final int PRIORITIZED_QNAMES_ID = R.array.config_mdnsOffloadPriorityQnames;
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | kernel_module_parser.cc | 29 std::array<char, SIGNATURE_FOOTER.size()> buf{}; in IsKernelModuleSigned()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 336 sp<JSONArray> array; in getCalibrationInt32() local 340 if (!settings->getArray(key, &array)) { in getCalibrationInt32() 344 if (!array->getInt32(i, &out[i])) { in getCalibrationInt32() 354 sp<JSONArray> array; in getCalibrationFloat() local 358 if (!settings->getArray(key, &array)) { in getCalibrationFloat() 362 if (!array->getFloat(i, &out[i])) { in getCalibrationFloat() 373 sp<JSONArray> array; in getInt32Setting() local 374 if (settings->getArray(key, &array)) { in getInt32Setting() 375 ret.resize(array->size()); in getInt32Setting() 376 for (size_t i = 0; i < array->size(); ++i) { in getInt32Setting() [all …]
|
/device/google/trout/hal/dumpstate/1.1/ |
D | ServiceDescriptor.cpp | 45 std::array<char, 65536> buffer; in GetOutput()
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | tpm_keymaster_enforcement.h | 57 keymaster::KmErrorOr<std::array<uint8_t, 32>> ComputeHmac(
|
/device/google/trout/hal/audiocontrol/aidl/1.0/agl_build/ |
D | CMakeLists.txt | 28 target_compile_options(audiocontrol_protobuf_gen PRIVATE ${_trout_AUDIOFOCUS_CXX_FLAGS} -Wno-array-…
|
/device/google/cuttlefish/common/libs/net/ |
D | netlink_request.h | 65 void AddMacAddress(const std::array<unsigned char, 6>& address);
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/ |
D | DfuProvider.java | 160 Arrays.asList(mContext.getResources().getStringArray(R.array.dfu_binary_md5s)))); in DfuProvider() 163 mContext.getResources().getStringArray(R.array.manual_reconnection_remote_versions); in DfuProvider()
|