Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkRecord.java41 public final boolean isBlocked; field in UnderlyingNetworkRecord
48 boolean isBlocked) { in UnderlyingNetworkRecord() argument
52 this.isBlocked = isBlocked; in UnderlyingNetworkRecord()
64 && isBlocked == that.isBlocked; in equals()
69 return Objects.hash(network, networkCapabilities, linkProperties, isBlocked); in hashCode()
124 void setIsBlocked(boolean isBlocked) { in setIsBlocked() argument
125 mIsBlocked = isBlocked; in setIsBlocked()
DUnderlyingNetworkEvaluator.java328 boolean isBlocked,
333 mNetworkRecordBuilder.setIsBlocked(isBlocked);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/sensorprivacy/ui/
DSensorPrivacyTileResources.kt22 fun getIconRes(isBlocked: Boolean): Int in getIconRes()
26 override fun getIconRes(isBlocked: Boolean): Int { in getIconRes()
27 return if (isBlocked) { in getIconRes()
40 override fun getIconRes(isBlocked: Boolean): Int { in getIconRes()
41 return if (isBlocked) { in getIconRes()
DSensorPrivacyToggleTileMapper.kt53 iconRes = sensorPrivacyTileResources.getIconRes(data.isBlocked) in create()
58 if (data.isBlocked) { in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DSensorPrivacyToggleTile.java69 public abstract @DrawableRes int getIconRes(boolean isBlocked); in getIconRes() argument
117 boolean isBlocked = arg == null ? mSensorPrivacyController.isSensorBlocked(getSensorId()) in handleUpdateState()
122 state.icon = ResourceIcon.get(getIconRes(isBlocked)); in handleUpdateState()
123 state.state = isBlocked ? Tile.STATE_INACTIVE : Tile.STATE_ACTIVE; in handleUpdateState()
124 state.value = !isBlocked; in handleUpdateState()
126 if (isBlocked) { in handleUpdateState()
DCameraToggleTile.java80 public @DrawableRes int getIconRes(boolean isBlocked) { in getIconRes() argument
81 if (isBlocked) { in getIconRes()
DMicrophoneToggleTile.java80 public @DrawableRes int getIconRes(boolean isBlocked) { in getIconRes() argument
81 if (isBlocked) { in getIconRes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java29 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() method in BlockChecker
30 return isBlocked(context, phoneNumber, null /* extras */); in isBlocked()
44 public static boolean isBlocked(Context context, String phoneNumber, Bundle extras) { in isBlocked() method in BlockChecker
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java191 public boolean isBlocked() { in isBlocked() method in NotificationChannelGroup
272 out.attributeBoolean(null, ATT_BLOCKED, isBlocked()); in writeXml()
287 record.put(ATT_BLOCKED, isBlocked()); in toJson()
315 return isBlocked() == that.isBlocked() && in equals()
325 return Objects.hash(getId(), getName(), getDescription(), isBlocked(), getChannels(), in hashCode()
333 cloned.setBlocked(isBlocked()); in clone()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/sensorprivacy/domain/interactor/
DSensorPrivacyToggleTileDataInteractorTest.kt88 assertThat(data!!.isBlocked).isFalse() in tileData_matchesPrivacyControllerIsSensorBlocked()
92 assertThat(data!!.isBlocked).isTrue() in tileData_matchesPrivacyControllerIsSensorBlocked()
96 assertThat(data!!.isBlocked).isFalse() in tileData_matchesPrivacyControllerIsSensorBlocked()
100 assertThat(data!!.isBlocked).isFalse() // We're NOT listening for MIC sensor changes in tileData_matchesPrivacyControllerIsSensorBlocked()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DRemoteOptionsRequest.java57 void setRespondToRequest(RcsContactUceCapability capability, boolean isBlocked) { in setRespondToRequest() argument
58 mIsNumberBlocked = isBlocked; in setRespondToRequest()
133 public void setIsRemoteNumberBlocked(boolean isBlocked) { in setIsRemoteNumberBlocked() argument
134 mIsRemoteNumberBlocked = isBlocked; in setIsRemoteNumberBlocked()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelLogger.java256 return getImportance(channelGroup.isBlocked()); in getImportance()
262 static int getImportance(boolean isBlocked) { in getImportance() argument
263 return isBlocked in getImportance()
/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/
DNativeCoverageHackInstrumentationListener.java138 if (siginfo.isValid() && siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
142 if (siginfo.isValid() && !siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
232 public boolean isBlocked(int signal) { in isBlocked() method in NativeCoverageHackInstrumentationListener.SignalMaskInfo
/frameworks/base/core/java/android/provider/
DBlockedNumberContract.java334 public static boolean isBlocked(Context context, String phoneNumber) { in isBlocked() method in BlockedNumberContract
338 boolean isBlocked = res != null && res.getBoolean(RES_NUMBER_IS_BLOCKED, false); in isBlocked()
340 isBlocked); in isBlocked()
341 return isBlocked; in isBlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/sensorprivacy/domain/model/
DSensorPrivacyToggleTileModel.kt24 @JvmInline value class SensorPrivacyToggleTileModel(val isBlocked: Boolean)
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIOptionsRequestCallback.aidl32 void respondToCapabilityRequest(in RcsContactUceCapability ownCapabilities, boolean isBlocked); in respondToCapabilityRequest() argument
DCapabilityExchangeAidlWrapper.java144 boolean isBlocked) { in onRemoteCapabilityRequest()
147 callback.onRespondToCapabilityRequest(ownCapabilities, isBlocked); in onRemoteCapabilityRequest()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DCapabilityExchangeEventListener.java52 boolean isBlocked); in onRespondToCapabilityRequest() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/
DSensorUseStartedActivity.kt114 whichSensor: Int, isBlocked: Boolean -> in <lambda>() method
119 } else if ((whichSensor == MICROPHONE) && !isBlocked) { in <lambda>()
/frameworks/base/core/java/android/print/
DPrintJob.java140 public boolean isBlocked() { in isBlocked() method in PrintJob
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/sensorprivacy/domain/
DSensorPrivacyToggleTileUserActionInteractor.kt59 val blocked = input.data.isBlocked in create()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSyncRunner.java191 boolean isBlocked = false; in determinePostRunState()
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnGatewayConnectionTestBase.java122 boolean isBlocked) { in getTestNetworkRecord() argument
123 return new UnderlyingNetworkRecord(network, networkCapabilities, linkProperties, isBlocked); in getTestNetworkRecord()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DUceRequestManagerTest.java392 boolean supportOptions, boolean isBlocked, boolean groupSubscribe, int rclMaximum, in getUceUtilsProxy() argument
422 return isBlocked; in getUceUtilsProxy()
/frameworks/base/core/java/android/printservice/
DPrintJob.java156 public boolean isBlocked() { in isBlocked() method in PrintJob

12