Searched refs:blockReason (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBlocklistMonitor.java | 314 long durationMs, @FailureReason int blockReason, int rssi) { in blockBssidForDurationMs() argument 315 if (durationMs <= 0 || !isValidNetworkAndFailureReason(bssid, ssid, blockReason)) { in blockBssidForDurationMs() 317 + ", durationMs=" + durationMs + ", blockReason=" + blockReason in blockBssidForDurationMs() 327 addToBlocklist(status, durationMs, blockReason, rssi); in blockBssidForDurationMs() 401 private int getBaseBlockDurationForReason(int blockReason) { in getBaseBlockDurationForReason() argument 402 switch (blockReason) { in getBaseBlockDurationForReason() 637 .map(entry -> entry.blockReason) in getFailureReasonsForSsid() 656 || !isLowRssiSensitiveFailure(status.blockReason)) { in tryEnablingBlockedBssids() 669 private boolean isLowRssiSensitiveFailure(int blockReason) { in isLowRssiSensitiveFailure() argument 670 return mBssidDisableReasons.get(blockReason) == null ? false in isLowRssiSensitiveFailure() [all …]
|
D | WifiMetrics.java | 746 public void incrementBssidBlocklistCount(int blockReason) { in incrementBssidBlocklistCount() argument 747 mBlockedBssidPerReasonCount.increment(blockReason); in incrementBssidBlocklistCount() 750 public void incrementWificonfigurationBlocklistCount(int blockReason) { in incrementWificonfigurationBlocklistCount() argument 751 mBlockedConfigurationPerReasonCount.increment(blockReason); in incrementWificonfigurationBlocklistCount() 7547 public void incrementBssidBlocklistCount(int blockReason) { 7548 mBssidBlocklistStats.incrementBssidBlocklistCount(blockReason); 7555 public void incrementWificonfigurationBlocklistCount(int blockReason) { 7556 mBssidBlocklistStats.incrementWificonfigurationBlocklistCount(blockReason);
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberProvider.java | 349 int blockReason = shouldSystemBlockNumber(arg, extras); in call() local 351 blockReason != BlockedNumberContract.STATUS_NOT_BLOCKED); in call() 352 res.putInt(BlockedNumberContract.RES_BLOCK_STATUS, blockReason); in call() 494 int blockReason = BlockedNumberContract.STATUS_NOT_BLOCKED; 504 blockReason = BlockedNumberContract.STATUS_BLOCKED_NOT_IN_CONTACTS; 510 blockReason = BlockedNumberContract.STATUS_BLOCKED_RESTRICTED; 516 blockReason = BlockedNumberContract.STATUS_BLOCKED_PAYPHONE; 522 blockReason = BlockedNumberContract.STATUS_BLOCKED_UNKNOWN_NUMBER; 529 if (blockReason == BlockedNumberContract.STATUS_NOT_BLOCKED && isBlocked(phoneNumber)) { 530 blockReason = BlockedNumberContract.STATUS_BLOCKED_IN_LIST; [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | CallFilteringResult.java | 210 private boolean isBlockedByProvider(int blockReason) { in isBlockedByProvider() argument 211 if (blockReason == Calls.BLOCK_REASON_BLOCKED_NUMBER in isBlockedByProvider() 212 || blockReason == Calls.BLOCK_REASON_UNKNOWN_NUMBER in isBlockedByProvider() 213 || blockReason == Calls.BLOCK_REASON_RESTRICTED_NUMBER in isBlockedByProvider() 214 || blockReason == Calls.BLOCK_REASON_PAY_PHONE in isBlockedByProvider() 215 || blockReason == Calls.BLOCK_REASON_NOT_IN_CONTACTS) { in isBlockedByProvider()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TunableTvView.java | 962 int blockReason = in updateBlockScreen() local 966 if (blockReason != VIDEO_UNAVAILABLE_REASON_NONE) { in updateBlockScreen() 968 blockReason == TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING in updateBlockScreen() 969 || blockReason == TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING in updateBlockScreen() 975 if (blockReason == TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING) { in updateBlockScreen() 980 if (blockReason == VIDEO_UNAVAILABLE_REASON_SCREEN_BLOCKED) { in updateBlockScreen() 995 if (blockReason == TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING) { in updateBlockScreen() 997 } else if (blockReason == TvInputManager.VIDEO_UNAVAILABLE_REASON_UNKNOWN in updateBlockScreen()
|