Home
last modified time | relevance | path

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

12

/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java148 oldEntry.isBlocked());
166 oldEntry.isBlocked());
185 oldEntry.isBlocked());
732 boolean isBlocked) { in TableEntry() argument
733 this(channelId, program, null, entryStartUtcMillis, entryEndUtcMillis, isBlocked); in TableEntry()
742 boolean isBlocked) { in TableEntry() argument
748 mIsBlocked = isBlocked; in TableEntry()
763 boolean isBlocked() { in isBlocked() method in ProgramManager.TableEntry
807 boolean isBlocked) { in createTableEntryForTest() argument
814 isBlocked); in createTableEntryForTest()
DProgramListAdapter.java87 String gapTitle = tableEntry.isBlocked() ? mBlockedProgramTitle : mNoInfoProgramTitle; in onBindViewHolder()
/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()
DBlockPreferenceController.java85 bar.setChecked(!mAppRow.banned && !mChannelGroup.isBlocked()); in updateState()
/packages/apps/Settings/src/com/android/settings/notification/
DChannelListPreferenceController.java143 if (!group.isBlocked()) { in populateGroupList()
149 populateSingleChannelPrefs(groupCategory, channel, group.isBlocked()); in populateGroupList()
162 preference.setChecked(!group.isBlocked()); in populateGroupToggle()
259 if (group.isBlocked()) { in onGroupBlockStateChanged()
277 populateSingleChannelPrefs(groupGroup, channel, group.isBlocked()); in onGroupBlockStateChanged()
DNotificationPreferenceController.java77 if (mChannelGroup.isBlocked()) { in isAvailable()
149 return group.isBlocked(); in isChannelGroupBlockable()
/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/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.java175 private boolean isBlocked; field in DialerCall
1320 public boolean isBlocked() { in isBlocked() method in DialerCall
1321 return isBlocked; in isBlocked()
1324 public void setBlockedStatus(boolean isBlocked) { in setBlockedStatus() argument
1325 this.isBlocked = isBlocked; in setBlockedStatus()
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramItemViewTest.java280 ProgramImpl program, ScheduledRecording scheduledRecording, boolean isBlocked) { in create30MinuteTableEntryFor() argument
287 isBlocked); in create30MinuteTableEntryFor()
/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()
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DBlockingCommand.java104 (info) -> new PhoneLookupInfoConsolidator(info).isBlocked() ? "true" : "false", in run()

12