/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 | PendingAttachmentData.java | 124 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft() 133 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft() 144 if (draftMessageData.isBound(bindingId)) { in loadAttachmentForDraft()
|
D | MediaPickerData.java | 64 if (isBound(bindingId)) { in onCreateLoader() 85 if (isBound(cursorLoader.getBindingId())) { in onLoadFinished() 107 if (isBound(cursorLoader.getBindingId())) { in onLoaderReset()
|
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 | SettingsData.java | 137 if (isBound(bindingId)) { in onCreateLoader() 155 if (isBound(loader.getBindingId())) { in onLoadFinished() 168 if (isBound(loader.getBindingId())) { in onLoaderReset()
|
/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 | 87 final boolean isBound; in bind() 89 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, in bind() 92 isBound = mContext.bindService(serviceIntent, connection, bindingFlags); in bind() 94 if (!isBound) { in bind()
|
/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()
|
D | MediaResourceManager.java | 234 if (bindableRequest != null && !bindableRequest.isBound()) { in scheduleAsyncMediaRequest() 246 if (bindableRequest != null && !bindableRequest.isBound()) { in scheduleAsyncMediaRequest() 278 Assert.isTrue(bindableRequest == null || !bindableRequest.isBound()); in scheduleAsyncMediaRequest()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/ |
D | TestInputControlConnection.java | 53 public boolean isBound() { in isBound() method in TestInputControlConnection 76 while (!isBound()) { in waitUntilBound()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragmentTest.java | 84 Mockito.when(mMockContactPickerData.isBound(Matchers.anyString())) in initFragment() 108 Mockito.when(mMockContactPickerData.isBound(Matchers.anyString())) in loadWithAllContactsCursor() 126 Mockito.when(mMockContactPickerData.isBound(Matchers.anyString())) in loadWithFrequentContactsCursor()
|