Home
last modified time | relevance | path

Searched refs:isBlocked (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java155 oldEntry.isBlocked());
173 oldEntry.isBlocked());
192 oldEntry.isBlocked());
743 boolean isBlocked) { in TableEntry() argument
744 this(channelId, program, null, entryStartUtcMillis, entryEndUtcMillis, isBlocked); in TableEntry()
753 boolean isBlocked) { in TableEntry() argument
759 mIsBlocked = isBlocked; in TableEntry()
774 boolean isBlocked() { in isBlocked() method in ProgramManager.TableEntry
818 boolean isBlocked) { in createTableEntryForTest() argument
825 isBlocked); in createTableEntryForTest()
DProgramListAdapter.java87 String gapTitle = tableEntry.isBlocked() ? mBlockedProgramTitle : mNoInfoProgramTitle; in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/notification/
DAppNotificationSettings.java200 if (!group.isBlocked()) { in populateGroupList()
206 populateSingleChannelPrefs(groupCategory, channel, group.isBlocked()); in populateGroupList()
218 preference.setChecked(!group.isBlocked()); in populateGroupToggle()
254 if (group.isBlocked()) { in onGroupBlockStateChanged()
272 populateSingleChannelPrefs(groupGroup, channel, group.isBlocked()); in onGroupBlockStateChanged()
DNotificationPreferenceController.java77 if (mChannelGroup.isBlocked()) { in isAvailable()
134 return mChannelGroup.isBlocked(); in isChannelGroupBlockable()
DNotificationSettingsBase.java393 return group.isBlocked(); in isChannelGroupBlockable()
477 hideDynamicFields = mChannelGroup.isBlocked(); in onImportanceChanged()
DChannelGroupNotificationSettings.java101 getPreferenceScreen(), channel, mChannelGroup.isBlocked())); in populateChannelList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DAppNotificationSettings.java199 if (!group.isBlocked()) { in populateGroupList()
205 populateSingleChannelPrefs(groupCategory, channel, group.isBlocked()); in populateGroupList()
217 preference.setChecked(!group.isBlocked()); in populateGroupToggle()
253 if (group.isBlocked()) { in onGroupBlockStateChanged()
271 populateSingleChannelPrefs(groupGroup, channel, group.isBlocked()); in onGroupBlockStateChanged()
DNotificationPreferenceController.java77 return !mChannelGroup.isBlocked(); in isAvailable()
146 return mChannelGroup.isBlocked(); in isChannelGroupBlockable()
DNotificationSettingsBase.java343 return group.isBlocked(); in isChannelGroupBlockable()
427 hideDynamicFields = mChannelGroup.isBlocked(); in onImportanceChanged()
DImportancePreferenceController.java62 if (mChannelGroup != null && mChannelGroup.isBlocked()) { in isAvailable()
DChannelGroupNotificationSettings.java101 getPreferenceScreen(), channel, mChannelGroup.isBlocked())); in populateChannelList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationPreferenceControllerTest.java109 when(group.isBlocked()).thenReturn(false); in isAvailable_notIfChannelBlocked()
125 when(group.isBlocked()).thenReturn(true); in isAvailable_notIfChannelGroupBlocked()
135 when(group.isBlocked()).thenReturn(false); in isAvailable()
284 when(group.isBlocked()).thenReturn(false); in testIsChannelGroupBlockable_nonSystemBlockable()
319 when(group.isBlocked()).thenReturn(false); in testIsChannelGroupBlockable_SystemNotBlockable()
330 when(group.isBlocked()).thenReturn(true); in testIsChannelGroupBlockable_canUndoSystemBlock()
DNotificationsOffPreferenceControllerTest.java81 when(group.isBlocked()).thenReturn(true); in testIsAvailable_yesIfChannelGroupBlocked()
113 when(group.isBlocked()).thenReturn(true); in testUpdateState_channelGroup()
DBlockPreferenceControllerTest.java278 when(group.isBlocked()).thenReturn(true); in testUpdateState_group()
286 when(group.isBlocked()).thenReturn(true); in testUpdateState_group()
293 when(group.isBlocked()).thenReturn(false); in testUpdateState_group()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberProvider.java313 boolean isBlocked = isBlocked(arg); in call()
314 res.putBoolean(BlockedNumberContract.RES_NUMBER_IS_BLOCKED, isBlocked); in call()
316 isBlocked ? BlockedNumberContract.STATUS_BLOCKED_IN_LIST in call()
414 private boolean isBlocked(String phoneNumber) { in isBlocked() method in BlockedNumberProvider
493 boolean isBlocked = false;
529 if (blockReason == BlockedNumberContract.STATUS_NOT_BLOCKED && isBlocked(phoneNumber)) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DUpdateDestinationBlockedAction.java108 final boolean isBlocked = actionParameters.getBoolean(KEY_BLOCKED); in executeAction()
111 BugleDatabaseOperations.updateDestination(db, destination, isBlocked); in executeAction()
117 if (isBlocked) { in executeAction()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java112 final boolean isBlocked = getArguments().containsKey(ARG_BLOCK_ID); in onCreateDialog()
131 if (isBlocked) { in onCreateDialog()
161 if (isBlocked) { in onCreateDialog()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DAsyncBlockCheckFilter.java119 protected void onPostExecute(Boolean isBlocked) { in onPostExecute() argument
123 if (isBlocked) { in onPostExecute()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java443 BlockedNumberContract.isBlocked(mMockContext, "123"); in testRegularAppCannotAccessApis()
660 BlockedNumberContract.isBlocked(mMockContext, "123"); in testPrivilegedAppAccessingApisAsSecondaryUser()
698 BlockedNumberContract.isBlocked(mMockContext, "123"); in testRegularAppAccessingApisAsSecondaryUser()
711 assertEquals(expected, BlockedNumberContract.isBlocked(mMockContext, phoneNumber)); in assertIsBlocked()
DBlockedNumberContractTest.java81 assertFalse(BlockedNumberContract.isBlocked(mMockContext, TEST_NUMBER)); in testIsBlockedException()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java173 private boolean isBlocked; field in DialerCall
1315 public boolean isBlocked() { in isBlocked() method in DialerCall
1316 return isBlocked; in isBlocked()
1319 public void setBlockedStatus(boolean isBlocked) { in setBlockedStatus() argument
1320 this.isBlocked = isBlocked; in setBlockedStatus()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingBlockCheck.java49 public boolean isBlocked() { in isBlocked() method in FlingBlockCheck
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DNumberAttributesBuilder.java41 .setIsBlocked(phoneLookupInfoConsolidator.isBlocked()) in fromPhoneLookupInfo()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockNumberTaskFragment.java50 if (BlockedNumberContract.isBlocked(getContext(), mNumber)) { in doInBackground()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java113 final int resourceId = otherParticipant.isBlocked() ? in bind()

12