Home
last modified time | relevance | path

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

12345

/packages/modules/Connectivity/netd/
DBpfHandler.cpp154 if (bpf::queryProgram(cg_fd, BPF_CGROUP_INET_EGRESS) <= 0) abort(); in initPrograms()
155 if (bpf::queryProgram(cg_fd, BPF_CGROUP_INET_INGRESS) <= 0) abort(); in initPrograms()
156 if (bpf::queryProgram(cg_fd, BPF_CGROUP_INET_SOCK_CREATE) <= 0) abort(); in initPrograms()
157 if (bpf::queryProgram(cg_fd, BPF_CGROUP_INET4_BIND) <= 0) abort(); in initPrograms()
158 if (bpf::queryProgram(cg_fd, BPF_CGROUP_INET6_BIND) <= 0) abort(); in initPrograms()
162 if (bpf::queryProgram(cg_fd, BPF_CGROUP_INET4_CONNECT) <= 0) abort(); in initPrograms()
163 if (bpf::queryProgram(cg_fd, BPF_CGROUP_INET6_CONNECT) <= 0) abort(); in initPrograms()
164 if (bpf::queryProgram(cg_fd, BPF_CGROUP_UDP4_RECVMSG) <= 0) abort(); in initPrograms()
165 if (bpf::queryProgram(cg_fd, BPF_CGROUP_UDP6_RECVMSG) <= 0) abort(); in initPrograms()
166 if (bpf::queryProgram(cg_fd, BPF_CGROUP_UDP4_SENDMSG) <= 0) abort(); in initPrograms()
[all …]
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DCanvasView.java102 if (mDataList.get(i).abort) { in onDraw()
140 void addNode(double distance, boolean abort) { in addNode() argument
142 if (abort && !mDataList.isEmpty()) { in addNode()
145 mDataList.add(new Node(distance, mNodeCount++, abort)); in addNode()
162 private final boolean abort; field in CanvasView.Node
164 Node(double value, int number, boolean abort) { in Node() argument
167 this.abort = abort; in Node()
/packages/modules/Bluetooth/floss/pandora/server/
Da2dp.py78 … await context.abort(grpc.StatusCode.UNKNOWN, f'Failed to connect to the address {address}.')
114 … await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Request address field must be set.')
145 await context.abort(grpc.StatusCode.FAILED_PRECONDITION,
157 …await context.abort(grpc.StatusCode.FAILED_PRECONDITION, 'A2dp device is not connected, cannot sta…
164 await context.abort(grpc.StatusCode.UNKNOWN, 'Failed to select audio output node')
172 await context.abort(grpc.StatusCode.INVALID_ARGUMENT, f'Invalid target type: {target}.')
183 …await context.abort(grpc.StatusCode.FAILED_PRECONDITION, 'A2dp device is not connected, cannot sus…
186 …await context.abort(grpc.StatusCode.FAILED_PRECONDITION, 'A2dp Device is already suspended, cannot…
191 await context.abort(grpc.StatusCode.INVALID_ARGUMENT, f'Invalid target type: {target}.')
214 …await context.abort(grpc.StatusCode.FAILED_PRECONDITION, 'A2dp device is not connected, cannot clo…
[all …]
Dhfp.py81 await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Wrong battery percentage.')
116 await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Cannot call empty number.')
119 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to make a call.')
133 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to answer call.')
147 await context.abort(grpc.StatusCode.INTERNAL, 'No connected devices.')
159 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to swap active call.')
172 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to clear hall history.')
Drfcomm.py108 await context.abort(grpc.StatusCode.INTERNAL,
121 await context.abort(grpc.StatusCode.INTERNAL,
179 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to call close_socket.')
183 await context.abort(grpc.StatusCode.INTERNAL,
220 await context.abort(grpc.StatusCode.INTERNAL,
286 await context.abort(
292 await context.abort(grpc.StatusCode.INTERNAL,
Dl2cap.py92 await context.abort(grpc.StatusCode.INTERNAL,
105 await context.abort(
171 …await context.abort(grpc.StatusCode.INTERNAL, f'Failed to call create_{channel_type}_l2cap_channel…
183 await context.abort(grpc.StatusCode.INTERNAL,
248 await context.abort(
254 await context.abort(grpc.StatusCode.INTERNAL,
Dhid.py58 … await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Request address field must be set.')
68 await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Invalid report type.')
71 await context.abort(grpc.StatusCode.UNKNOWN, 'Failed to call set_hid_report.')
Dhost.py168 await context.abort(grpc.StatusCode.UNKNOWN,
185 await context.abort(grpc.StatusCode.UNKNOWN, 'Failed to call create_bond.')
191 await context.abort(grpc.StatusCode.UNKNOWN,
221 … await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Request address field must be set.')
263 … await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Request address field must be set.')
267 …await context.abort(grpc.StatusCode.UNIMPLEMENTED, f'Unsupported OwnAddressType: {own_address_type…
279 await context.abort(grpc.StatusCode.UNKNOWN,
313 … await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Request address field must be set.')
419 await context.abort(grpc.StatusCode.UNKNOWN, 'Failed to start advertising.')
Dsecurity.py318 … await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Request le field must be set.')
322 …await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Low-energy security level 4 is not supporte…
329 … await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Request classic field must be set.')
333 await context.abort(grpc.StatusCode.INVALID_ARGUMENT,
340 …await context.abort(grpc.StatusCode.INVALID_ARGUMENT, f'Invalid bluetooth transport type: {transpo…
359 …await context.abort(grpc.StatusCode.INVALID_ARGUMENT, f'Invalid bluetooth transport type: {transpo…
428 await context.abort(grpc.StatusCode.INVALID_ARGUMENT,
Dmodem.py37 await context.abort(grpc.StatusCode.INVALID_ARGUMENT, 'Cannot call empty number.')
41 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to receive a call.')
Dgatt.py114 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to configure MTU.')
258 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to find services.')
298 … await context.abort(grpc.StatusCode.INTERNAL, f'Failed to fetch remote device {address} uuids.')
337 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to clear cache.')
425 await context.abort(grpc.StatusCode.INTERNAL, 'Found no services.')
563 await context.abort(grpc.StatusCode.INTERNAL, 'Failed to register service.')
628 … await context.abort(grpc.StatusCode.INTERNAL, 'Found no descriptor with supported handle.')
638 await context.abort(grpc.StatusCode.INTERNAL, 'Found no device services.')
714 … await context.abort(grpc.StatusCode.INTERNAL, 'Found no descriptor with supported handle.')
724 await context.abort(grpc.StatusCode.INTERNAL, 'Found no device services.')
/packages/modules/Bluetooth/system/gd/rust/topshim/controller/
Dcontroller_shim.cc36 if (internal::g_controller_intf) std::abort(); in GetControllerInterface()
43 if (!controller_) std::abort(); in read_local_addr()
48 if (!controller_) std::abort(); in get_ble_supported_states()
53 if (!controller_) std::abort(); in get_ble_local_supported_features()
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
DBpfMap.h63 if (!mMapFd.ok()) abort(); in abortOnMismatch()
66 if (flags < 0) abort(); in abortOnMismatch()
67 if (flags & BPF_F_WRONLY) abort(); in abortOnMismatch()
68 if (writable && (flags & BPF_F_RDONLY)) abort(); in abortOnMismatch()
69 if (bpfGetFdKeySize(mMapFd) != sizeof(Key)) abort(); in abortOnMismatch()
70 if (bpfGetFdValueSize(mMapFd) != sizeof(Value)) abort(); in abortOnMismatch()
281 if (map_flags & BPF_F_WRONLY) abort();
282 if (map_flags & BPF_F_RDONLY) abort();
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DRequestBuilder.java74 public void abort() { in abort() method in RequestBuilder.UnregisteredStreamProvider
84 public void abort(); in abort() method
113 public void abort() { in abort() method in RequestBuilder.RequestImpl
115 allocation.abort(); in abort()
DRequest.java60 public void abort(); in abort() method
/packages/modules/Bluetooth/system/log/include/bluetooth/
Dlog.h157 std::abort(); // Enforce [[noreturn]]
167 std::abort(); // Enforce [[noreturn]]
178 std::abort(); // Enforce [[noreturn]]
190 std::abort(); // Enforce [[noreturn]]
204 std::abort(); // Enforce [[noreturn]]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequest.java101 public void abort() { in abort() method in BluetoothPbapRequest
106 mOp.abort(); in abort()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsuspend.rs247 joinhandle.abort(); in suspend()
265 join_handle.abort(); in suspend()
326 joinhandle.abort(); in resume()
393 join_handle.abort(); in le_rand_cb()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DRequest.java146 public void abort() { in abort() method in Request
151 mOp.abort(); in abort()
/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc342 abort(); in FakeOsi()
349 abort(); in FakeOsi()
356 abort(); in FakeOsi()
364 abort(); in FakeOsi()
369 abort(); in FakeOsi()
/packages/modules/Virtualization/tests/testapk/src/native/
Dcrashbinary.cpp21 abort(); in AVmPayload_main()
/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java211 void abort() { in abort() method in CreateConnectionProcessor
222 service.abort(mCall); in abort()
564 mService.abort(mCall); in handleCreateConnectionSuccess()
582 mService.abort(mCall); in handleCreateConferenceSuccess()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientConnectionHandlerTest.java154 public void abort() { in abort() method in PbapClientConnectionHandlerTest
161 mHandler.abort(); in abort()
/packages/modules/Bluetooth/system/rust/src/utils/
Downed_handle.rs19 self.handle.abort(); in drop()
/packages/modules/Bluetooth/system/gd/packet/parser/test/
Dvariable.cc33 abort(); in Serialize()

12345