Home
last modified time | relevance | path

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

/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestableNetworkCallback.kt80 val blocked: Boolean constant in com.android.testutils.RecorderCallback.CallbackEntry.BlockedStatus
124 override fun onBlockedStatusChanged(network: Network, blocked: Boolean) { in onBlockedStatusChanged()
125 history.add(BlockedStatus(network, blocked)) in onBlockedStatusChanged()
250 blocked: Boolean = false, in expectAvailableCallbacks()
259 expectBlockedStatusCallback(blocked, net) in expectAvailableCallbacks()
270 fun expectBlockedStatusCallback(blocked: Boolean, net: Network, tmt: Long = defaultTimeoutMs) { in expectAvailableAndSuspendedCallbacks()
272 assertEquals(it.blocked, blocked, "Unexpected blocked status ${it.blocked}") in expectAvailableAndSuspendedCallbacks()
326 blocked: Boolean, in expectCallback()
328 ) = expectAvailableCallbacks(n.network, suspended, validated, blocked, timeoutMs) in expectCallback()
339 expectAvailableCallbacks(n.network, blocked = true) in expectAvailableCallbacksValidatedAndBlocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java107 protected void onIconAdded(int index, String slot, boolean blocked, in onIconAdded() argument
109 StatusIconDisplayable view = addHolder(index, slot, blocked, holder); in onIconAdded()
164 protected void onIconAdded(int index, String slot, boolean blocked, in onIconAdded() argument
166 StatusIconDisplayable view = addHolder(index, slot, blocked, holder); in onIconAdded()
237 protected void onIconAdded(int index, String slot, boolean blocked, in onIconAdded() argument
239 addHolder(index, slot, blocked, holder); in onIconAdded()
242 protected StatusIconDisplayable addHolder(int index, String slot, boolean blocked, in addHolder() argument
246 return addIcon(index, slot, blocked, holder.getIcon()); in addHolder()
259 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() argument
261 StatusBarIconView view = onCreateStatusBarIconView(slot, blocked); in addIcon()
[all …]
DStatusBarIconControllerImpl.java94 boolean blocked = mIconBlacklist.contains(slot.getName()); in addIconGroup()
99 group.onIconAdded(viewIndex, slot.getName(), blocked, holder); in addIconGroup()
147 boolean blocked = mIconBlacklist.contains(slot); in addSystemIcon()
149 mIconGroups.forEach(l -> l.onIconAdded(viewIndex, slot, blocked, holder)); in addSystemIcon()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSmsSessionEventBuilder.java109 public SmsSessionEventBuilder setBlocked(boolean blocked) { in setBlocked() argument
110 mEvent.blocked = blocked; in setBlocked()
DTelephonyMetrics.java2386 String format, long[] timestamps, boolean blocked, boolean success) { in writeIncomingSmsSessionWithType() argument
2389 + " blocked = " + blocked in writeIncomingSmsSessionWithType()
2402 .setBlocked(blocked); in writeIncomingSmsSessionWithType()
2433 long[] timestamps, boolean blocked) { in writeIncomingSmsSession() argument
2435 smsOverIms, format, timestamps, blocked, true); in writeIncomingSmsSession()
/frameworks/base/core/proto/android/app/
Dnotificationmanager.proto74 // are blocked.
76 // Whether lights from notifications intercepted by DND are blocked.
83 // Whether badges from notifications intercepted by DND are blocked on
Dsettings_enums.proto393 // SUBTYPE: false is allowed, true is blocked
399 // SUBTYPE: false is allowed, true is blocked
404 // SUBTYPE: false is allowed, true is blocked
409 // SUBTYPE: false is allowed, true is blocked
414 // SUBTYPE: false is allowed, true is blocked
419 // SUBTYPE: false is allowed, true is blocked
424 // SUBTYPE: false is allowed, true is blocked
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerTest.java116 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() argument
151 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java257 DozeMachine.State state, boolean blocked) { in tracePulseDropped() argument
261 + state + " blocked=" + blocked); in tracePulseDropped()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java186 public void setBlocked(boolean blocked) { in setBlocked() argument
187 mBlocked = blocked; in setBlocked()
/frameworks/base/core/java/android/net/
Dnetwork-policy-restrictions.md21 * **blk**: network access blocked while app on background (NetworkInfo's state/detailed state shoul…
DConnectivityManager.java3357 @NonNull LinkProperties linkProperties, boolean blocked) { in onAvailable() argument
3368 onBlockedStatusChanged(network, blocked); in onAvailable()
3530 public void onBlockedStatusChanged(@NonNull Network network, boolean blocked) {} in onBlockedStatusChanged() argument
3680 boolean blocked = message.arg1 != 0; in handleMessage()
3681 callback.onBlockedStatusChanged(network, blocked); in handleMessage()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java373 final Thread blocked = Thread.currentThread(); in waitForCancelOrTimeout() local
377 blocked.interrupt(); in waitForCancelOrTimeout()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DVpnTest.java1045 final boolean blocked = vpn.getLockdown() && vpn.isBlockingUid(uid); in assertBlocked()
1046 assertTrue("Uid " + uid + " should be blocked", blocked); in assertBlocked()
1052 final boolean blocked = vpn.getLockdown() && vpn.isBlockingUid(uid); in assertUnblocked()
1053 assertFalse("Uid " + uid + " should not be blocked", blocked); in assertUnblocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java168 boolean blocked) { in StatusBarIconView() argument
171 mBlocked = blocked; in StatusBarIconView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java328 public void setAssistHintBlocked(boolean blocked) { in setAssistHintBlocked() argument
330 mHandler.post(() -> setAssistHintBlocked(blocked)); in setAssistHintBlocked()
334 mAssistHintBlocked = blocked; in setAssistHintBlocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1506 boolean blocked = (message.arg1 == ENABLED ? true : false); in processMessage()
1507 if (mDiscoveryBlocked == blocked) break; in processMessage()
1508 mDiscoveryBlocked = blocked; in processMessage()
1509 if (blocked && mDiscoveryStarted) { in processMessage()
1513 if (!blocked && mDiscoveryPostponed) { in processMessage()
1517 if (blocked) { in processMessage()
/frameworks/base/core/proto/android/service/
Dprint.proto350 // The print job is blocked
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DN5.txt225 07-30 19:31:08.826 23889-23889/com.example.xinyiwang.refocus I/art﹕ WaitForGcToComplete blocked fo…
375 07-30 19:31:35.063 23889-23889/com.example.xinyiwang.refocus I/art﹕ WaitForGcToComplete blocked fo…
452 07-30 19:33:33.702 25520-25520/com.example.xinyiwang.refocus I/art﹕ WaitForGcToComplete blocked fo…
528 07-30 19:33:43.739 25520-25520/com.example.xinyiwang.refocus I/art﹕ WaitForGcToComplete blocked fo…
604 07-30 19:33:53.150 25520-25520/com.example.xinyiwang.refocus I/art﹕ WaitForGcToComplete blocked fo…
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java1358 final boolean blocked; in maybeLogBlockedNetworkInfo()
1361 blocked = true; in maybeLogBlockedNetworkInfo()
1363 blocked = false; in maybeLogBlockedNetworkInfo()
1368 String action = blocked ? "BLOCKED" : "UNBLOCKED"; in maybeLogBlockedNetworkInfo()
1374 boolean blocked) { in maybeLogBlockedStatusChanged() argument
1378 final String action = blocked ? "BLOCKED" : "UNBLOCKED"; in maybeLogBlockedStatusChanged()
7254 final boolean blocked = isUidNetworkingWithVpnBlocked(nri.mUid, mUidRules.get(nri.mUid), in notifyNetworkAvailable()
7256 callCallbackForRequest(nri, nai, ConnectivityManager.CALLBACK_AVAILABLE, blocked ? 1 : 0); in notifyNetworkAvailable()
DAlarmManagerService.java2333 boolean blocked = false; in dumpImpl()
2337 blocked = true; in dumpImpl()
2341 if (!blocked) { in dumpImpl()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java5157 final boolean blocked; in isUidNetworkingBlockedInternal()
5164 blocked = false; in isUidNetworkingBlockedInternal()
5169 blocked = true; in isUidNetworkingBlockedInternal()
5178 return blocked; in isUidNetworkingBlockedInternal()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto2612 // Indicates if the incoming SMS was blocked
2613 optional bool blocked = 17; field
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto5585 // SUBTYPE: false is allowed, true is blocked
5591 // SUBTYPE: false is allowed, true is blocked
5596 // SUBTYPE: false is allowed, true is blocked
5601 // SUBTYPE: false is allowed, true is blocked
5606 // SUBTYPE: false is allowed, true is blocked
5611 // SUBTYPE: false is allowed, true is blocked
5616 // SUBTYPE: false is allowed, true is blocked
/frameworks/base/core/java/android/view/
DViewRootImpl.java5126 boolean blocked = false; in forward()
5128 if (!blocked && deviceId == curr.mEvent.getDeviceId()) { in forward()
5129 blocked = true; in forward()
5138 if (blocked) { in forward()