/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | BindingTest.java | 42 assertFalse(data.isBound()); in testDataStartsUnbound() 49 assertTrue(binding.isBound()); in testBindingUpdatesDataAndBindee() 51 assertTrue(data.isBound(binding.getBindingId())); in testBindingUpdatesDataAndBindee() 52 assertFalse(data.isBound("SomeRandomString")); in testBindingUpdatesDataAndBindee() 62 assertTrue(yours.isBound(binding.getBindingId())); in testRebindingFails() 69 assertTrue(binding.isBound()); in testRebindingFails() 71 assertTrue(yours.isBound(binding.getBindingId())); in testRebindingFails() 78 assertTrue(data.isBound(binding.getBindingId())); in testUnbindingClearsDataAndBindee() 79 assertTrue(binding.isBound()); in testUnbindingClearsDataAndBindee() 86 assertFalse(data.isBound()); in testUnbindingClearsDataAndBindee() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/ |
D | Binding.java | 43 public boolean isBound() { in isBound() method in Binding 44 return (mData != null && mData.isBound(mBindingId)); in isBound() 48 public boolean isBound(final T data) { in isBound() method in Binding 49 return (isBound() && data == mData); in isBound() 54 if (!isBound()) { in ensureBound() 61 if (!isBound()) { in ensureBound() 75 if (mData != null || data.isBound()) { in bind() 87 if (mData == null || !mData.isBound(mBindingId)) { in unbind()
|
D | BindableData.java | 38 if (isBound() || bindingId == null) { in bind() 48 if (!isBound(bindingId)) { in unbind() 62 protected boolean isBound() { in isBound() method in BindableData 69 public boolean isBound(final String bindingId) { in isBound() method in BindableData
|
D | ImmutableBindingRef.java | 46 public boolean isBound() { in isBound() method in ImmutableBindingRef 47 return mBinding.isBound(); in isBound() 51 public boolean isBound(final T data) { in isBound() method in ImmutableBindingRef 52 return mBinding.isBound(data); in isBound()
|
D | BindableOnceData.java | 39 public boolean isBound() { in isBound() method in BindableOnceData 40 return super.isBound(); in isBound()
|
D | DetachableBinding.java | 44 Assert.isTrue(isBound()); in detach() 51 Assert.isFalse(isBound()); in reAttachIfPossible()
|
D | BindingBase.java | 63 public abstract boolean isBound(); in isBound() method in BindingBase 68 public abstract boolean isBound(final T data); in isBound() method in BindingBase
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | PeopleAndOptionsData.java | 71 if (isBound(bindingId)) { in onCreateLoader() 104 if (isBound(cursorLoader.getBindingId())) { in onLoadFinished() 132 if (isBound(cursorLoader.getBindingId())) { in onLoaderReset() 175 if (isBound(bindingId)) { in enableConversationNotifications() 184 if (isBound(bindingId)) { in setConversationNotificationSound() 193 if (isBound(bindingId)) { in enableConversationNotificationVibration() 203 if (isBound(bindingId) && participantData != null) { in setDestinationBlocked()
|
D | ConversationData.java | 190 if (isBound(bindingId)) { in onCreateLoader() 207 if (isBound(loader.getBindingId())) { in onLoadFinished() 234 if (isBound(loader.getBindingId())) { in onLoaderReset() 256 if (isBound(bindingId)) { in onCreateLoader() 275 if (isBound(loader.getBindingId())) { in onLoadFinished() 323 if (isBound(loader.getBindingId())) { in onLoaderReset() 359 if (isBound(bindingId)) { in onCreateLoader() 376 if (isBound(loader.getBindingId())) { in onLoadFinished() 390 if (isBound(loader.getBindingId())) { in onLoaderReset() 410 if (isBound(bindingId)) { in onCreateLoader() [all …]
|
D | PersonItemData.java | 46 if (isBound()) { in setListener() 52 if (isBound() && mListener != null) { in notifyDataUpdated() 58 if (isBound() && mListener != null) { in notifyDataFailed()
|
D | LaunchConversationData.java | 57 if (isBound(bindingId) && mMonitor == null) { in getOrCreateConversation() 71 if (isBound(bindingId) && mListener != null) { in onGetOrCreateConversationSucceeded() 84 if (isBound(bindingId) && mListener != null) { in onGetOrCreateConversationFailed()
|
D | BlockedParticipantsData.java | 58 if (isBound(bindingId)) { in onCreateLoader() 71 Assert.isTrue(isBound(cursorLoader.getBindingId())); in onLoadFinished() 79 Assert.isTrue(isBound(cursorLoader.getBindingId())); in onLoaderReset()
|
D | MediaPickerData.java | 64 if (isBound(bindingId)) { in onCreateLoader() 85 if (isBound(cursorLoader.getBindingId())) { in onLoadFinished() 107 if (isBound(cursorLoader.getBindingId())) { in onLoaderReset()
|
D | PendingAttachmentData.java | 124 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft() 133 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft() 144 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft()
|
D | ContactPickerData.java | 68 if (isBound(bindingId)) { in onCreateLoader() 96 if (isBound(cursorLoader.getBindingId())) { in onLoadFinished() 134 if (isBound(cursorLoader.getBindingId())) { in onLoaderReset()
|
D | ConversationListData.java | 88 if (isBound(bindingId)) { in onCreateLoader() 120 if (isBound(loader.getBindingId())) { in onLoadFinished() 149 if (isBound(loader.getBindingId())) { in onLoaderReset()
|
D | DraftMessageData.java | 554 if (mMonitor == null && !isDraftCachedCopy && isBound(binding.getBindingId())) { in loadFromStorage() 579 if (isBound(binding.getBindingId())){ in saveToStorageInternal() 615 if (isBound(bindingId)) { in onReadDraftDataSucceeded() 813 if (isBound(mBindingId) && !isCancelled()) { in onPostExecute() 816 if (!isBound(mBindingId)) { in onPostExecute()
|
D | SettingsData.java | 137 if (isBound(bindingId)) { in onCreateLoader() 155 if (isBound(loader.getBindingId())) { in onLoadFinished() 168 if (isBound(loader.getBindingId())) { in onLoaderReset()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | DtaServiceConnector.java | 39 boolean isBound; field in DtaServiceConnector 47 if (!isBound) { in bindService() 57 isBound = true; 62 isBound = false; 67 if (!isBound) return; in sendMessage()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PersonItemView.java | 79 if (mBinding.isBound()) { in onDetachedFromWindow() 95 if (mBinding.isBound()) { in bind() 141 if (mBinding.isBound() && v == mNameTextView) { in onLayoutChange() 174 if (mListener != null && mBinding.isBound()) { in setListener() 182 if (mListener != null && mBinding.isBound()) { in setListener() 197 if (mBinding.isBound()) { in updateViewAppearance()
|
D | AsyncImageView.java | 90 if (mImageRequestBinding.isBound()) { 122 if (mImageRequestBinding.isBound()) { in setImageResourceId() 152 Assert.isTrue(mImageRequestBinding.isBound()); in resumeLoading() 286 if (!mImageRequestBinding.isBound() && mDetachedRequestDescriptor != null) { in onAttachedToWindow() 398 if (mImageRequestBinding.isBound()) { in unbindView()
|
D | VCardDetailFragment.java | 113 if (mBinding.isBound()) { in onDestroy() 120 return mBinding.isBound() && mBinding.getData().hasValidVCard(); in shouldShowAddToContactsItem() 171 Assert.isTrue(!mBinding.isBound()); in setVCardUri()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ServiceBinder.java | 92 final boolean isBound; in bind() 94 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, in bind() 97 isBound = mContext.bindService(serviceIntent, connection, bindingFlags); in bind() 99 if (!isBound) { in bind()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragmentTest.java | 85 Mockito.when(mMockContactPickerData.isBound(Matchers.anyString())) in initFragment() 109 Mockito.when(mMockContactPickerData.isBound(Matchers.anyString())) in loadWithAllContactsCursor() 127 Mockito.when(mMockContactPickerData.isBound(Matchers.anyString())) in loadWithFrequentContactsCursor()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | BindableMediaRequest.java | 43 if (isBound() && mListener != null) { in onMediaResourceLoaded() 54 if (isBound() && mListener != null) { in onMediaResourceLoadError()
|