Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkRanker.java197 private <T extends Scoreable> void applyYieldToBadWifiPolicy(@NonNull ArrayList<T> accepted, in applyYieldToBadWifiPolicy() argument
199 if (!CollectionUtils.any(accepted, n -> n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI))) { in applyYieldToBadWifiPolicy()
207 if (CollectionUtils.all(accepted, n -> n.getScore().hasPolicy(POLICY_YIELD_TO_BAD_WIFI))) { in applyYieldToBadWifiPolicy()
211 final ArrayList<T> acceptedYielders = new ArrayList<>(accepted); in applyYieldToBadWifiPolicy()
213 partitionInto(rejectedWithBadWiFis, n -> isPreferredBadWiFi(n), accepted, rejected); in applyYieldToBadWifiPolicy()
214 accepted.addAll(acceptedYielders); in applyYieldToBadWifiPolicy()
218 final ArrayList<T> acceptedWithYielders = new ArrayList<>(accepted); in applyYieldToBadWifiPolicy()
220 accepted, rejected); in applyYieldToBadWifiPolicy()
233 final ArrayList<T> accepted = in getBestNetworkByPolicy() local
251 accepted, rejected); in getBestNetworkByPolicy()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DConsumers.kt25 var accepted = false in consumeCloseable() variable
27 accepted = consumer!!.consume(value!!) in consumeCloseable()
29 if (!accepted && value != null) value.close() in consumeCloseable()
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/procedure/
Dmod.rs90 let accepted = self.0.poll_lmp_packet::<lmp::Accepted>(); in poll() localVariable
91 if let Poll::Ready(accepted) = accepted { in poll()
92 if accepted.get_accepted_opcode() == self.1 { in poll()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragController.java276 private void dispatchDropComplete(View dropTarget, boolean accepted) { in dispatchDropComplete() argument
277 if (!accepted) { in dispatchDropComplete()
284 mDragObject.dragSource.onDropCompleted(dropTarget, mDragObject, accepted); in dispatchDropComplete()
528 boolean accepted = false; in drop()
537 accepted = true; in drop()
541 dispatchDropComplete(dropTargetAsView, accepted); in drop()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DNetworkTracePollerTest.cpp175 int accepted = accept(serversocket, nullptr, nullptr); in TEST_F() local
176 ASSERT_NE(-1, accepted) << "accept connection failed: " << strerror(errno); in TEST_F()
183 EXPECT_EQ(recv(accepted, buff, sizeof(buff), 0), sizeof(data)) in TEST_F()
/packages/modules/adb/
DSOCKET-ACTIVATION.txt40 and listening. inetd-style pre-accepted sockets do _not_ work in this
42 serve socket, not the accepted connection socket.
Dsysdeps_win32.cpp1347 int accepted = -1; in adb_socketpair() local
1370 accepted = adb_socket_accept(server, nullptr, nullptr); in adb_socketpair()
1371 if (accepted < 0) { in adb_socketpair()
1377 sv[1] = accepted; in adb_socketpair()
1387 if (accepted >= 0) { in adb_socketpair()
1388 adb_close(accepted); in adb_socketpair()
DSYNC.TXT26 The following sync requests are accepted:
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockServiceImpl.java709 private void reportResult(boolean accepted, long identity,
714 result.putBoolean(KEY_REMOTE_CALLBACK_RESULT, accepted);
723 accepted -> {
724 if (accepted || remainingTries == 1) {
725 reportResult(accepted, identity, remoteCallback);
771 accepted -> reportResult(accepted, identity, remoteCallback));
/packages/apps/Settings/src/com/android/settings/
DEventLogTags.logtags8 # log whether user accepted and activated device admin
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DEventLogTags.logtags8 # log whether user accepted and activated device admin
/packages/modules/Bluetooth/system/stack/mmc/proto/
Dmmc_service.proto33 // Input frame size accepted by the codec server.
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiDialogManager.java993 boolean accepted, in replyToP2pInvitationReceivedDialog() argument
998 + " accepted=" + accepted in replyToP2pInvitationReceivedDialog()
1016 if (accepted) { in replyToP2pInvitationReceivedDialog()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java611 NativeTcpSocket accepted = new NativeTcpSocket(Os.accept(server.mFd, null)); in getNativeTcpSocketPair() local
613 applyTransformBidirectionally(ism, transform, accepted); in getNativeTcpSocketPair()
616 return new SocketPair<>(client, accepted); in getNativeTcpSocketPair()
DIpSecManagerTest.java225 GenericTcpSocket client = null, accepted = null; in checkTcp() local
229 accepted = sockets.mRightSock; in checkTcp()
233 accepted = sockets.mRightSock; in checkTcp()
245 in = accepted.receive(); in checkTcp()
252 accepted.send(TEST_DATA); in checkTcp()
274 accepted.close(); in checkTcp()
/packages/modules/Bluetooth/system/stack/mmc/
DREADME.md15 * `init`: set up transcoder and return frame size accepted by the transcoder.
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h587 const RawAddress& bd_addr, uint8_t accepted);
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto253 // The user has accepted the ToS
764 // Mid call RTT request accepted.
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dreport_definition.proto107 // “is accepted” during the aggregation period, which must be DAYS_1,
110 // There are different versions of what “is accepted” means depending on
113 // AT_LEAST_ONCE. In this case EV is accepted if EV was logged at least once
119 // SELECT_FIRST, SELECT_MOST_COMMON. In this case EV is accepted if the
/packages/modules/Virtualization/pvmfw/src/
Dfdt.rs1293 let accepted: &[(&str, Box<dyn Fn(Option<&str>) -> bool>)] = &[ in filter_out_dangerous_bootargs() localVariable
1305 match accepted.iter().find(|&t| t.0 == arg.name()) { in filter_out_dangerous_bootargs()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl450 void replyToP2pInvitationReceivedDialog(int dialogId, boolean accepted, String optionalPin); in replyToP2pInvitationReceivedDialog() argument
DBaseWifiService.java1028 int dialogId, boolean accepted, @Nullable String optionalPin) { in replyToP2pInvitationReceivedDialog() argument
DWifiManager.java11596 int dialogId, boolean accepted, @Nullable String optionalPin) { in replyToP2pInvitationReceivedDialog() argument
11600 + ", accepted=" + accepted in replyToP2pInvitationReceivedDialog()
11604 mService.replyToP2pInvitationReceivedDialog(dialogId, accepted, optionalPin); in replyToP2pInvitationReceivedDialog()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc3819 uint8_t accepted = 0; in handle_set_app_attr_val_response() local
3833 accepted = 1; in handle_set_app_attr_val_response()
3837 p_dev->rc_addr, accepted)); in handle_set_app_attr_val_response()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java5940 private void sendP2pRequestChangedBroadcast(boolean accepted) { in sendP2pRequestChangedBroadcast() argument
5945 intent.putExtra(WifiP2pManager.EXTRA_REQUEST_RESPONSE, accepted); in sendP2pRequestChangedBroadcast()
5946 if (accepted) { in sendP2pRequestChangedBroadcast()

12