/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 1203 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, configRequest); in connect() 1204 msg.getData().putInt(MESSAGE_BUNDLE_KEY_UID, uid); in connect() 1205 msg.getData().putInt(MESSAGE_BUNDLE_KEY_PID, pid); in connect() 1206 msg.getData().putString(MESSAGE_BUNDLE_KEY_CALLING_PACKAGE, callingPackage); in connect() 1207 msg.getData().putString(MESSAGE_BUNDLE_KEY_CALLING_FEATURE_ID, callingFeatureId); in connect() 1208 msg.getData().putBoolean(MESSAGE_BUNDLE_KEY_NOTIFY_IDENTITY_CHANGE, in connect() 1210 msg.getData().putBoolean(MESSAGE_BUNDLE_KEY_AWARE_OFFLOAD, forAwareOffload); in connect() 1211 msg.getData().putBoolean(MESSAGE_BUNDLE_KEY_RE_ENABLE_AWARE_FROM_OFFLOAD, reEnableAware); in connect() 1212 msg.getData().putInt(MESSAGE_BUNDLE_KEY_CALLER_TYPE, callerType); in connect() 1280 msg.getData().putParcelable(MESSAGE_BUNDLE_KEY_CONFIG, publishConfig); in publish() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageView.java | 260 mBinding.getData().setMessageSubject(null); in onFinishInflate() 294 .getText(shouldShowSimSelector(mConversationDataModel.getData()) ? in onFinishInflate() 324 final boolean haveAttachments = mBinding.getData().hasAttachments(); in hideAttachmentsWhenShowingSims() 330 mAttachmentPreview.onAttachmentsChanged(mBinding.getData()); in hideAttachmentsWhenShowingSims() 340 mConversationDataModel.getData().addConversationDataListener(mDataListener); in setConversationDataModel() 377 mBinding.getData().getConversationId()); in sendMessageInternal() 378 if (mBinding.getData().isCheckingDraft()) { in sendMessageInternal() 387 mBinding.getData().setMessageText(messageToSend); in sendMessageInternal() 389 mBinding.getData().setMessageSubject(subject); in sendMessageInternal() 391 mBinding.getData().checkDraftForAction(checkMessageSize, in sendMessageInternal() [all …]
|
D | ConversationFragment.java | 196 .equals(mBinding.getData().getConversationId(), conversationId)) { 283 final ConversationMessageData data = mSelectedMessage.getData(); 309 final ConversationMessageData data = mSelectedMessage.getData(); 356 getActivity(), data, mBinding.getData().getParticipants(), 357 mBinding.getData().getSelfParticipantById(data.getSelfParticipantId())); 368 final MessageData message = mBinding.getData().createForwardedMessage(data); 452 mBinding.getData().init(getLoaderManager(), mBinding); in onActivityCreated() 465 mDraftMessageDataModel.getData().addListener(this); in onActivityCreated() 524 final ConversationMessageData data = view.getData(); in onCreateView() 617 mBinding.getData().getConversationId()), this); in onCreateView() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PersonItemView.java | 96 if (mBinding.getData().equals(personData)) { in bind() 105 mBinding.getData().setListener(this); in bind() 121 final String displayName = mBinding.getData().getDisplayName(); in getDisplayName() 175 mListener.onPersonClicked(mBinding.getData()); in setListener() 183 return mListener.onPersonLongClicked(mBinding.getData()); in setListener() 200 final String details = mBinding.getData().getDetails(); in updateViewAppearance() 208 mContactIconView.setImageResourceUri(mBinding.getData().getAvatarUri(), in updateViewAppearance() 209 mBinding.getData().getContactId(), mBinding.getData().getLookupKey(), in updateViewAppearance() 210 mBinding.getData().getNormalizedDestination()); in updateViewAppearance() 240 return mBinding.getData().getClickIntent(); in getClickIntent()
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/ |
D | TextSourceNodeTest.cpp | 82 uint8_t* getData() { return mData; } in getData() function in FakeTextNode 171 EXPECT_EQ(memcmp(mFakeNode->getData(), kBom, sizeof(kBom)), 0); in TEST_F() 175 EXPECT_EQ(memcmp(mFakeNode->getData(), testText1.c_str(), testText1.length()), 0); in TEST_F() 193 EXPECT_EQ(memcmp(mFakeNode->getData(), kBom, sizeof(kBom)), 0); in TEST_F() 197 EXPECT_EQ(memcmp(mFakeNode->getData(), testText2.c_str(), testText2.length()), 0); in TEST_F() 215 EXPECT_EQ(memcmp(mFakeNode->getData(), kBom, sizeof(kBom)), 0); in TEST_F() 219 EXPECT_EQ(memcmp(mFakeNode->getData(), testText3.c_str(), testText3.length()), 0); in TEST_F() 237 EXPECT_EQ(memcmp(mFakeNode->getData(), kBom, sizeof(kBom)), 0); in TEST_F() 241 EXPECT_EQ(memcmp(mFakeNode->getData(), testText4.c_str(), testText4.length()), 0); in TEST_F() 261 EXPECT_EQ(memcmp(mFakeNode->getData(), kBom, sizeof(kBom)), 0); in TEST_F() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | DialerCodeReceiver.java | 55 if (SECRET_CODE_ACTION.equals(intent.getAction()) && intent.getData() != null && in onReceive() 56 intent.getData().getHost() != null) { in onReceive() 57 if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_DEBUG_ON)) { in onReceive() 60 } else if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_DEBUG_OFF)) { in onReceive() 63 } else if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_MARK)) { in onReceive() 70 } else if (intent.getData().getHost().equals(TELECOM_SECRET_CODE_MENU)) { in onReceive()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | BindingTest.java | 50 assertEquals(binding.getData(), data); in testBindingUpdatesDataAndBindee() 61 assertEquals(binding.getData(), yours); in testRebindingFails() 70 assertEquals(binding.getData(), yours); in testRebindingFails() 82 final TestBindableData other = binding.getData(); in testUnbindingClearsDataAndBindee() 95 assertEquals(binding.getData(), yours); in testUnbindingAndRebinding() 103 assertEquals(binding.getData(), data); in testUnbindingAndRebinding() 114 assertEquals(binding.getData(), data); in testBindingReference() 119 assertEquals(bindingRef.getData(), data); in testBindingReference()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AuctionServerDataCompressorGzipTest.java | 45 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length); in testCompress() 54 Assert.assertTrue(compressedData.getData().length < uncompressedData.getData().length); 57 Assert.assertArrayEquals(decompressedData.getData(), COMPRESSIBLE_STRING.getBytes());
|
D | AuctionServerPayloadFormatterExcessiveMaxSizeTest.java | 134 "Formatted data not un-formatted correctly.", data, unformattedData.getData()); in testDataPaddingAndDispadding() 144 formatted.getData().length); in validateFormattedData() 145 assertEquals("meta info byte mismatch.", EXPECTED_META_INFO_BYTE, formatted.getData()[0]); in validateFormattedData() 150 formatted.getData(), in validateFormattedData() 157 Arrays.copyOfRange(formatted.getData(), DATA_START, DATA_START + data.length)); in validateFormattedData() 162 assertEquals("padding bytes not set to zero", (byte) 0, formatted.getData()[i]); in validateFormattedData()
|
D | AuctionServerPayloadFormatterV0Test.java | 154 "Formatted data not un-formatted correctly.", data, unformattedData.getData()); in testDataPaddingAndDispadding() 164 formatted.getData().length); in validateFormattedData() 165 assertEquals("meta info byte mismatch.", EXPECTED_META_INFO_BYTE, formatted.getData()[0]); in validateFormattedData() 170 formatted.getData(), in validateFormattedData() 177 Arrays.copyOfRange(formatted.getData(), DATA_START, DATA_START + data.length)); in validateFormattedData() 182 assertEquals("padding bytes not set to zero", (byte) 0, formatted.getData()[i]); in validateFormattedData()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | MedicalResourceInternal.java | 87 public String getData() { in getData() method in MedicalResourceInternal 135 getData()) in toExternalResource() 148 .setData(external.getData()); in fromExternalResource() 158 && getData().equals(that.getData()); in equals() 163 return hash(getUuid(), getType(), getDataSourceId(), getData()); in hashCode()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/bhttp/ |
D | BinaryHttpMessageDeserializer.java | 64 .setMethod(new String(reader.readNextKnownLengthData().getData())) in deserializeKnownLengthRequestControlData() 65 .setScheme(new String(reader.readNextKnownLengthData().getData())) in deserializeKnownLengthRequestControlData() 66 .setAuthority(new String(reader.readNextKnownLengthData().getData())) in deserializeKnownLengthRequestControlData() 67 .setPath(new String(reader.readNextKnownLengthData().getData())) in deserializeKnownLengthRequestControlData() 102 content = reader.readNextKnownLengthData().getData(); in deserializeKnownLengthMessage() 137 new String(subReader.readNextKnownLengthData().getData()), in deserializeKnownLengthFields() 138 new String(subReader.readNextKnownLengthData().getData())); in deserializeKnownLengthFields() 205 byte[] getData() { in getData() method in BinaryHttpMessageDeserializer.BinaryHttpByteArrayReader
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupConfigStoreDataTest.java | 110 when(mActiveDataSource.getData()).thenReturn(isActive); in deserializeSerializedData_emptySet() 111 when(mIsOnboardedDataSource.getData()).thenReturn(isOnboarded); in deserializeSerializedData_emptySet() 112 when(mNotificationsDataSource.getData()).thenReturn(notificationsShown); in deserializeSerializedData_emptySet() 113 when(mNetworkDataSource.getData()).thenReturn(networks); in deserializeSerializedData_emptySet() 152 when(mActiveDataSource.getData()).thenReturn(isActive); in deserializeSerializedData() 153 when(mIsOnboardedDataSource.getData()).thenReturn(isOnboarded); in deserializeSerializedData() 154 when(mNotificationsDataSource.getData()).thenReturn(notificationsShown); in deserializeSerializedData() 155 when(mNetworkDataSource.getData()).thenReturn(networks); in deserializeSerializedData()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | XmlParserUtils.java | 39 return getData(context, attrs, in getDataKey() 45 return getData(context, attrs, in getDataTitle() 51 return getData(context, attrs, in getDataSummary() 57 return getData(context, attrs, in getDataSummaryOn() 63 return getData(context, attrs, in getDataSummaryOff() 93 return getData(context, attrs, R.styleable.Preference, in getDataChildFragment() 109 private static String getData(Context context, AttributeSet set, int[] attrs, int resId) { in getData() method in XmlParserUtils
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiver.java | 107 Uri uri = intent.getData(); in onReceive() 115 Uri uri = intent.getData(); in onReceive() 125 Uri uri = intent.getData(); in onReceive() 133 Log.v(TAG, "Receiver open for " + intent.getData()); in onReceive() 135 Log.v(TAG, "Receiver list for " + intent.getData()); in onReceive() 138 Uri uri = intent.getData(); in onReceive() 184 Log.v(TAG, "Receiver hide for " + intent.getData()); in onReceive() 189 intent.getData(), in onReceive() 208 intent.getData(), in onReceive() 254 Log.v(TAG, "Receiver Transfer Complete Intent for " + intent.getData()); in onReceive() [all …]
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/direct/snippet/ |
D | WifiP2pManagerSnippet.java | 139 .getData() in onReceive() 147 .getData() in onReceive() 160 .getData() in onReceive() 166 .getData() in onReceive() 176 .getData() in onReceive() 184 .getData() in onReceive() 211 event.getData().putInt("reason", reason); in onFailure()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | MedicalResource.java | 132 public String getData() { in getData() method in MedicalResource 148 dest.writeString(getData()); in writeToParcel() 181 && getData().equals(that.getData()); in equals() 187 return hash(getId(), getType(), getDataSourceId(), getData()); in hashCode() 198 sb.append(",data=").append(getData()); in toString() 239 mData = original.getData(); in Builder()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | WaitingState.java | 56 if (message.what == MESSAGE_TYPE_TRANSITION && message.getData().getBoolean( in processMessage() 60 message.getData().putBoolean(MESSAGE_BUNDLE_KEY_MESSAGE_WAS_WAITING, true); in processMessage() 74 message.getData().putBoolean(MESSAGE_BUNDLE_KEY_TRANSITION_STATE_COMMAND, true); in sendTransitionStateCommand() 82 return message.getData().getBoolean(MESSAGE_BUNDLE_KEY_MESSAGE_WAS_WAITING, false); in wasMessageInWaitingState()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | UpsertMedicalResourceRequest.java | 78 public String getData() { in getData() method in UpsertMedicalResourceRequest 98 return hash(getDataSourceId(), getData()); in hashCode() 106 return getDataSourceId() == that.getDataSourceId() && getData().equals(that.getData()); in equals() 134 mData = original.getData(); in Builder()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 95 final Uri data = imIntent.getData(); in testImIntentCustom() 116 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntent() 135 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntentWithAudio() 139 assertEquals("xmpp:" + TEST_ADDRESS + "?call", secondaryIntent.getData().toString()); in testImIntentWithAudio() 157 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImIntentWithVideo() 161 assertEquals("xmpp:" + TEST_ADDRESS + "?call", secondaryIntent.getData().toString()); in testImIntentWithVideo() 182 assertEquals("xmpp:" + TEST_ADDRESS + "?message", imIntent.getData().toString()); in testImEmailIntent() 186 assertEquals("xmpp:" + TEST_ADDRESS + "?call", secondaryIntent.getData().toString()); in testImEmailIntent()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | UpsertMedicalResourceRequestTest.java | 50 assertThat(upsertMedicalResourceRequest.getData()).isEqualTo(FHIR_DATA_ALLERGY); in testUpsertMedicalResourceRequest_successfulCreate() 60 assertThat(copy.getData()).isEqualTo(FHIR_DATA_ALLERGY); in testUpsertMedicalResourceRequest_fromExistingBuilder() 72 assertThat(copy.getData()).isEqualTo(FHIR_DATA_ALLERGY); in testUpsertMedicalResourceRequest_fromExistingRequest() 120 .getData() in testUpsertMedicalDataSource_equals_comparesAllValues() 121 .equals(upsertMedicalResourceRequest2.getData())) in testUpsertMedicalDataSource_equals_comparesAllValues()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemList.java | 50 return mUri.equals(((FilmstripItem) o).getData().getUri()); in equals() 86 mUriMap.put(data.getData().getUri(), data); in set() 91 mUriMap.put(data.getData().getUri(), data); in add() 96 mUriMap.put(data.getData().getUri(), data); in add()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 153 (msg.getData() != null) in processMessage() 154 ? msg.getData().getShort(DELAY_RETRY_COUNT) in processMessage() 167 if (new_msg.getData() == null) { in processMessage() 171 new_msg.getData().putShort(DELAY_RETRY_COUNT, retry_no); in processMessage() 181 (msg.getData() != null) in processMessage() 182 ? msg.getData().getParcelable(OOBDATAP192) in processMessage() 185 (msg.getData() != null) in processMessage() 186 ? msg.getData().getParcelable(OOBDATAP256) in processMessage() 254 (msg.getData() != null) in processMessage() 255 ? msg.getData().getParcelable(OOBDATAP192) in processMessage() [all …]
|
/packages/apps/SecureElement/src/com/android/se/security/ara/ |
D | AccessRuleApplet.java | 81 tempTlv = BerTlv.decode(response.getData(), 0, false); in readAllAccessRules() 91 stream.write(response.getData()); in readAllAccessRules() 112 stream.write(response.getData()); in readAllAccessRules() 142 tempTlv = Response_DO_Factory.createDO(response.getData()); in readRefreshTag()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/ |
D | SharedPreferencesSyncManagerUnitTest.java | 150 assertThat(update.getData().keySet()).doesNotContain(Set.of(KEY_TO_UPDATE)); in test_removeKeys_updateSentForRemoval() 162 final Bundle capturedData = mSdkSandboxManagerService.getLastUpdate().getData(); in test_bulkSync_syncSpecifiedKeys() 179 assertThat(update.getData().keySet()).isEmpty(); in test_bulkSync_syncMissingKeys() 193 final Bundle capturedData = mSdkSandboxManagerService.getLastUpdate().getData(); in test_bulkSync_ignoreUnspecifiedKeys() 216 final Bundle capturedData = mSdkSandboxManagerService.getLastUpdate().getData(); in test_bulkSync_supportsAllTypesOfValues() 237 final Bundle capturedData = mSdkSandboxManagerService.getLastUpdate().getData(); in test_updateListener_syncsFurtherUpdates() 283 final Bundle data = update.getData(); in test_updateListener_supportsAllTypesOfValues() 318 assertThat(update.getData().keySet()).doesNotContain(KEY_TO_UPDATE); in test_updateListener_removeKey() 335 assertThat(update.getData().keySet()).doesNotContain(KEY_TO_UPDATE); in test_updateListener_putNullValueForKey() 351 assertThat(lastUpdate.getData().keySet()).isEmpty(); in test_updateListener_removeAllKeys()
|