/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_sdp.cpp | 61 int record_size, bluetooth_sdp_record* record); 179 bluetooth_sdp_record* record; in sdp_search_callback() local 200 record = &records[i]; in sdp_search_callback() 202 if (record->hdr.service_name_length > 0) { in sdp_search_callback() 203 ALOGD("%s, ServiceName: %s", __FUNCTION__, record->mas.hdr.service_name); in sdp_search_callback() 204 service_name = (jstring)sCallbackEnv->NewStringUTF(record->mas.hdr.service_name); in sdp_search_callback() 214 (jint)record->mas.mas_instance_id, in sdp_search_callback() 215 (jint)record->mas.hdr.l2cap_psm, in sdp_search_callback() 216 (jint)record->mas.hdr.rfcomm_channel_number, in sdp_search_callback() 217 (jint)record->mas.hdr.profile_version, in sdp_search_callback() [all …]
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | SdpManagerTestServer.java | 182 … SdpMasRecord record = intent.getParcelableExtra(BluetoothDevice.EXTRA_SDP_RECORD); in onReceive() local 183 Assert.assertNotNull(record); in onReceive() 184 Log.v(TAG, " -> Record: " + record); in onReceive() 186 if(record.getServiceName().equals(SdpManagerTest.SDP_SERVER_NAME)) { in onReceive() 187 …Assert.assertEquals(((long)record.getSupportedFeatures())&0xffffffffL, SdpManagerTest.SDP_FEATURES… in onReceive() 188 … Assert.assertEquals(record.getSupportedMessageTypes(), SdpManagerTest.SDP_MSG_TYPES); in onReceive() 189 Assert.assertEquals(record.getProfileVersion(), SdpManagerTest.SDP_VERSION); in onReceive() 190 … Assert.assertEquals(record.getServiceName(), SdpManagerTest.SDP_SERVER_NAME); in onReceive() 191 Assert.assertEquals(record.getMasInstanceId(), SdpManagerTest.SDP_MAS_ID); in onReceive() 192 int rfcommChannel = record.getRfcommCannelNumber(); in onReceive() [all …]
|
D | ObexTest.java | 560 SdpMasRecord record = clientAwaitSdp(serverDevice, context); in connectClientSocket() local 561 rfcommChannel = record.getRfcommCannelNumber(); in connectClientSocket() 562 l2capPsm = record.getL2capPsm(); in connectClientSocket() 650 SdpMasRecord record = intent.getParcelableExtra( in onReceive() local 652 assertNotNull(record); in onReceive() 653 Log.v(TAG, " -> record: "+record); in onReceive() 654 if(record.getServiceName().equals(SDP_SERVER_NAME)) { in onReceive() 656 assertEquals(((long)record.getSupportedFeatures()) in onReceive() 659 assertEquals(record.getSupportedMessageTypes(), SDP_MSG_TYPES); in onReceive() 661 assertEquals(record.getProfileVersion(), SDP_VERSION); in onReceive() [all …]
|
/packages/apps/Tag/src/com/android/apps/tag/message/ |
D | NdefMessageParser.java | 19 import com.android.apps.tag.record.ImageRecord; 20 import com.android.apps.tag.record.MimeRecord; 21 import com.android.apps.tag.record.ParsedNdefRecord; 22 import com.android.apps.tag.record.SmartPoster; 23 import com.android.apps.tag.record.TextRecord; 24 import com.android.apps.tag.record.UnknownRecord; 25 import com.android.apps.tag.record.UriRecord; 26 import com.android.apps.tag.record.VCardRecord; 53 for (NdefRecord record : records) { in getRecords() 54 if (SmartPoster.isPoster(record)) { in getRecords() [all …]
|
D | ParsedNdefMessage.java | 20 import com.android.apps.tag.record.ParsedNdefRecord; 21 import com.android.apps.tag.record.SmartPoster; 22 import com.android.apps.tag.record.UriRecord; 57 ParsedNdefRecord record = mRecords.get(0); in getSnippet() local 59 if (record instanceof UriRecord) { in getSnippet() 76 record = mRecords.get(smartPosterRecord); in getSnippet() 80 return record.getSnippet(context, locale); in getSnippet()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | SmartPoster.java | 17 package com.android.apps.tag.record; 124 public static SmartPoster parse(NdefRecord record) { in parse() argument 125 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN); in parse() 126 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_SMART_POSTER)); in parse() 128 NdefMessage subRecords = new NdefMessage(record.getPayload()); in parse() 150 public static boolean isPoster(NdefRecord record) { in isPoster() argument 152 parse(record); in isPoster() 225 for (NdefRecord record : records) { in getByType() 226 if (Arrays.equals(type, record.getType())) { in getByType() 227 return record; in getByType() [all …]
|
D | MimeRecord.java | 17 package com.android.apps.tag.record; 70 public static MimeRecord parse(NdefRecord record) { in parse() argument 71 Preconditions.checkArgument(record.toMimeType() != null); in parse() 72 return new MimeRecord(record.toMimeType(), record.getPayload()); in parse() 75 public static boolean isMime(NdefRecord record) { in isMime() argument 76 return record.toMimeType() != null; in isMime()
|
D | TextRecord.java | 17 package com.android.apps.tag.record; 80 public static TextRecord parse(NdefRecord record) { in parse() argument 81 Preconditions.checkArgument(record.getTnf() == NdefRecord.TNF_WELL_KNOWN); in parse() 82 Preconditions.checkArgument(Arrays.equals(record.getType(), NdefRecord.RTD_TEXT)); in parse() 85 byte[] payload = record.getPayload(); in parse() 119 public static boolean isText(NdefRecord record) { in isText() argument 121 parse(record); in isText()
|
D | ImageRecord.java | 17 package com.android.apps.tag.record; 53 public static ImageRecord parse(NdefRecord record) { in parse() argument 54 String mimeType = record.toMimeType(); in parse() 61 byte[] content = record.getPayload(); in parse() 69 public static boolean isImage(NdefRecord record) { in isImage() argument 71 parse(record); in isImage()
|
D | UriRecord.java | 17 package com.android.apps.tag.record; 131 public static UriRecord parse(NdefRecord record) { in parse() argument 132 Uri uri = record.toUri(); in parse() 137 public static boolean isUri(NdefRecord record) { in isUri() argument 138 return record.toUri() != null; in isUri()
|
D | VCardRecord.java | 17 package com.android.apps.tag.record; 152 public static VCardRecord parse(NdefRecord record) { in parse() argument 153 MimeRecord underlyingRecord = MimeRecord.parse(record); in parse() 176 public static boolean isVCard(NdefRecord record) { in isVCard() argument 178 parse(record); in isVCard()
|
/packages/apps/Settings/src/com/android/settings/ |
D | ResetNetwork.java | 161 for (SubscriptionInfo record : mSubscriptions) { in establishInitialState() 162 if (record.getSubscriptionId() == defaultSubscription) { in establishInitialState() 166 String name = record.getDisplayName().toString(); in establishInitialState() 168 name = record.getNumber(); in establishInitialState() 171 name = record.getCarrierName().toString(); in establishInitialState() 174 name = String.format("MCC:%s MNC:%s Slot:%s Id:%s", record.getMcc(), in establishInitialState() 175 record.getMnc(), record.getSimSlotIndex(), record.getSubscriptionId()); in establishInitialState()
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepValidationServerTests.java | 112 NdefRecord record = msg.getRecords()[0]; in doPut() local 113 ByteArrayWrapper id = (record.getId().length > 0) ? in doPut() 114 new ByteArrayWrapper(record.getId()) : DEFAULT_NDEF; in doPut() 122 NdefRecord record = msg.getRecords()[0]; in doGet() local 123 ByteArrayWrapper id = (record.getId().length > 0) ? in doGet() 124 new ByteArrayWrapper(record.getId()) : DEFAULT_NDEF; in doGet()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/ |
D | ImportExportDialogFragment.java | 137 for (SubscriptionInfo record : subInfoRecords) { in onCreateDialog() 138 adapter.add(new AdapterEntry(getSubDescription(record), in onCreateDialog() 139 R.string.import_from_sim, record.getSubscriptionId())); in onCreateDialog() 295 private CharSequence getSubDescription(SubscriptionInfo record) { in getSubDescription() argument 296 CharSequence name = record.getDisplayName(); in getSubDescription() 297 if (TextUtils.isEmpty(record.getNumber())) { in getSubDescription() 304 PhoneNumberUtils.createTtsSpannable(record.getNumber())); in getSubDescription()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | Log.java | 175 CallEventRecord record = mCallEventRecordMap.get(data); in dump() local 176 if (record != null) { in dump() 177 data = "Call " + record.mId; in dump() 239 CallEventRecord record = mCallEventRecords.poll(); in event() local 240 if (record != null) { in event() 241 mCallEventRecordMap.remove(record.getCall()); in event() 251 CallEventRecord record = mCallEventRecordMap.get(call); in event() local 252 record.addEvent(event, data); in event()
|
D | CreateConnectionProcessor.java | 287 CallAttemptRecord record = new CallAttemptRecord( in adjustAttemptsForConnectionManager() local 290 Log.v(this, "setConnectionManager, changing %s -> %s", mAttemptRecords.get(0), record); in adjustAttemptsForConnectionManager() 291 mAttemptRecords.set(0, record); in adjustAttemptsForConnectionManager() 356 for (CallAttemptRecord record : records) { in getConnectionServices() 357 result.add(record.connectionManagerPhoneAccount); in getConnectionServices()
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmService.java | 2133 Record record = null; in registerFmRadioListener() local 2137 record = mRecords.get(i); in registerFmRadioListener() 2138 if (hashCode == record.mHashCode) { in registerFmRadioListener() 2142 record = new Record(); in registerFmRadioListener() 2143 record.mHashCode = hashCode; in registerFmRadioListener() 2144 record.mCallback = callback; in registerFmRadioListener() 2145 mRecords.add(record); in registerFmRadioListener() 2159 Record record = (Record) iterator.next(); in notifyActivityStateChanged() local 2161 FmListener listener = record.mCallback; in notifyActivityStateChanged() 2185 Record record = mRecords.get(mRecords.size() - 1); in notifyCurrentActivityStateChanged() local [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 118 SubscriptionInfo record = in registerPstnPhoneAccount() local 132 if (record != null) { in registerPstnPhoneAccount() 133 subDisplayName = record.getDisplayName(); in registerPstnPhoneAccount() 134 slotId = record.getSimSlotIndex(); in registerPstnPhoneAccount() 135 color = record.getIconTint(); in registerPstnPhoneAccount() 136 icon = Icon.createWithBitmap(record.createIconBitmap(mContext)); in registerPstnPhoneAccount()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | NewStorageActivity.java | 327 final VolumeRecord record = mStorageManager.findRecordByUuid(uuid); in handleMount() local 328 if (record.isInited() || record.isSnoozed()) { in handleMount() 389 final VolumeRecord record = mStorageManager.findRecordByUuid(uuid); in handleSetupComplete() local 390 if (record.isInited() || record.isSnoozed()) { in handleSetupComplete()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 398 int size_record, byte[] record) { in sdpRecordFoundCallback() argument 411 if(D) Log.d(TAG, "Record:"+ Arrays.toString(record)); in sdpRecordFoundCallback() 412 sdpRecord = new SdpRecord(size_record, record); in sdpRecordFoundCallback() 462 Parcelable record, boolean moreResults) { in sendSdpIntent() argument 470 if (record != null) intent.putExtra(BluetoothDevice.EXTRA_SDP_RECORD, record); in sendSdpIntent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | UpdateHandler.java | 391 for (DownloadRecord record : downloadRecords) { in getDownloadRecordsForCompletedDownloadInfo() 392 if (record.isMetadata()) { in getDownloadRecordsForCompletedDownloadInfo() 436 for (final DownloadRecord record : recordList) { in downloadFinished() 441 downloadSuccessful = handleDownloadedFile(context, record, manager, fileId); in downloadFinished() 446 if (record.isMetadata()) { in downloadFinished() 451 final SQLiteDatabase db = MetadataDbHelper.getDb(context, record.mClientId); in downloadFinished() 453 db, record.mAttributes, record.mClientId); in downloadFinished()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 517 for (NdefRecord record : message.getRecords()) { in extractAarPackages() 518 String pkg = checkForAar(record); in extractAarPackages() 624 static String checkForAar(NdefRecord record) { in checkForAar() argument 625 if (record.getTnf() == NdefRecord.TNF_EXTERNAL_TYPE && in checkForAar() 626 Arrays.equals(record.getType(), NdefRecord.RTD_ANDROID_APP)) { in checkForAar() 627 return new String(record.getPayload(), StandardCharsets.US_ASCII); in checkForAar()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 483 String record; in processCpbrCommand() local 577 record = "+CPBR: " + index + ",\"" + number + "\"," + regionType + ",\"" + name + "\""; in processCpbrCommand() 578 record = record + "\r\n\r\n"; in processCpbrCommand() 579 atCommandResponse = record; in processCpbrCommand()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
D | CommonDatabaseUtils.java | 57 String[] record = new String[cursor.getColumnCount()]; in multiRecordToArray() local 58 fillArray(cursor, record); in multiRecordToArray() 59 result.add(record); in multiRecordToArray()
|
/packages/apps/Tag/src/com/android/apps/tag/ |
D | TagViewer.java | 21 import com.android.apps.tag.record.ParsedNdefRecord; 101 ParsedNdefRecord record = records.get(i); in buildTagViews() local 102 content.addView(record.getView(this, inflater, content, i)); in buildTagViews()
|