/packages/modules/Wifi/service/ |
D | wifi.rc | 21 on property:sys.user.0.ce_available=true 26 setprop sys.wifitracing.started 0 28 on property:sys.boot_completed=1 && property:sys.wifitracing.started=0 30 mkdir /sys/kernel/debug/tracing/instances/wifi 711 31 restorecon_recursive /sys/kernel/debug/tracing/instances/wifi 32 write /sys/kernel/debug/tracing/instances/wifi/tracing_on 0 33 write /sys/kernel/debug/tracing/instances/wifi/buffer_size_kb 1 34 write /sys/kernel/debug/tracing/instances/wifi/trace_options disable_on_free 36 mkdir /sys/kernel/tracing/instances/wifi 711 37 restorecon_recursive /sys/kernel/tracing/instances/wifi [all …]
|
/packages/modules/Bluetooth/system/tools/scripts/ |
D | btsnooz.py | 27 import sys 79 sys.stderr.write('Unsupported btsnooz version: %s\n' % version) 85 sys.stdout.buffer.write(b'btsnoop\x00\x00\x00\x00\x01\x00\x00\x03\xea') 112 sys.stdout.buffer.write(struct.pack('>II', length, length)) 113 sys.stdout.buffer.write(struct.pack('>II', type_to_direction(type), 0)) 114 …sys.stdout.buffer.write(struct.pack('>II', (first_timestamp_ms >> 32), (first_timestamp_ms & 0xFFF… 115 sys.stdout.buffer.write(type_to_hci(type)) 116 sys.stdout.buffer.write(decompressed[offset:offset + length - 1]) 139 sys.stdout.buffer.write(struct.pack('>II', packet_length, length)) 140 sys.stdout.buffer.write(struct.pack('>II', type_to_direction(snooz_type), 0)) [all …]
|
D | dump_metrics_ascii.py | 20 import sys 74 sys.path.append(output_dir) 113 log_handler = logging.StreamHandler(sys.stderr) 118 if len(sys.argv) < 2: 120 logging.error("Usage: " + sys.argv[0] + " <path_to_metric_proto>") 121 sys.exit(1) 122 if sys.argv[1] == "-h": 123 logging.info("Usage: " + sys.argv[0] + " <path_to_metric_proto>") 125 sys.exit(0) 126 bluetooth_proto_module = compile_import_proto(tempfile.gettempdir(), sys.argv[1]) [all …]
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/ |
D | SyscallsTest.cpp | 61 const auto& sys = sSyscalls.get(); in TEST_F() local 64 auto result = sys.open(kPath, kFlags, kMode); in TEST_F() 72 auto& sys = sSyscalls.get(); in TEST_F() local 81 const auto result = sys.getsockname<sockaddr_nl>(kFd); in TEST_F() 88 EXPECT_EQ(kError, sys.getsockname<sockaddr_nl>(kFd).status()); in TEST_F() 96 auto& sys = sSyscalls.get(); in TEST_F() local 101 EXPECT_EQ(status::ok, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 107 EXPECT_EQ(kError, sys.setsockopt(kFd, kLevel, kOptname, expected)); in TEST_F() 116 auto& sys = sSyscalls.get(); in TEST_F() local 121 EXPECT_EQ(status::ok, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F() [all …]
|
D | SocketOption.cpp | 30 auto& sys = sSyscalls.get(); in enableSockopt() local 32 return sys.setsockopt(sock, level, optname, &on, sizeof(on)); in enableSockopt() 38 auto& sys = sSyscalls.get(); in enableTcpKeepAlives() local 40 RETURN_IF_NOT_OK(sys.setsockopt(sock, SOL_TCP, TCP_KEEPIDLE, &idleTime, sizeof(idleTime))); in enableTcpKeepAlives() 43 RETURN_IF_NOT_OK(sys.setsockopt(sock, SOL_TCP, TCP_KEEPCNT, &numProbes, sizeof(numProbes))); in enableTcpKeepAlives() 46 RETURN_IF_NOT_OK(sys.setsockopt(sock, SOL_TCP, TCP_KEEPINTVL, &probeInterval, in enableTcpKeepAlives()
|
D | NetlinkListener.cpp | 77 const auto& sys = sSyscalls.get(); in ~NetlinkListener() local 80 expectOk(sys.write(mEvent, makeSlice(data)).status()); in ~NetlinkListener() 85 const auto& sys = sSyscalls.get(); in send() local 86 ASSIGN_OR_RETURN(auto sent, sys.sendto(mSock, msg, 0, kKernelAddr)); in send() 124 const auto& sys = sSyscalls.get(); in run() local 129 ASSIGN_OR_RETURN(auto revents, sys.ppoll(fds, events, timeout)); in run() 135 auto rx = sys.recvfrom(mSock, makeSlice(rxbuf), 0); in run()
|
/packages/modules/common/tools/ |
D | gen_sdkinfo.py | 2 import sys 5 argv = sys.argv[1:] 8 sys.exit(1) 11 if sys.argv[i] == '-o': 12 filename = sys.argv[i+1] 13 if sys.argv[i] == '-v': 14 version = int(sys.argv[i+1])
|
D | check_allowed_deps.py | 9 import sys 11 sha = sys.argv[1] 44 sys.exit(0) 50 sys.exit(0) 58 sys.exit(0) 71 sys.exit(0) 73 sys.stderr.write( 91 sys.exit(1)
|
/packages/services/Telecomm/scripts/ |
D | aosp_tag_preupload.py | 5 import sys 39 sys.exit(0) 42 sys.argv[1], "--no-notes"]) 51 sys.exit(77) 59 sys.exit(0) 62 sys.exit(0) 66 sys.exit(77)
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | l2cap.py | 16 import sys 107 print(test, 'target to fail', file=sys.stderr) 110 print(test, 'CreateLECreditBasedChannel failed', e, file=sys.stderr) 154 print(test, 'connection targets to fail', file=sys.stderr) 191 … print(f"data not match, sent_data:{sent_data} and {hex_LE_DATA_PACKET}", file=sys.stderr) 226 … print('error in MI_UPPER_TESTER_CONFIRM_RECEIVE_COMMAND_NOT_UNDERSTAOOD', file=sys.stderr) 248 print('error in MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_PSM', file=sys.stderr) 266 … print('error in MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_AUTHENTICATION', file=sys.stderr) 289 print('error in _mmi_135', file=sys.stderr) 327 print('error in MMI_UPPER_TESTER_CONFIRM_RECEIVE_REJECT_AUTHORIZATION', file=sys.stderr) [all …]
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | annotation_classlist_repohook.py | 15 import sys 43 rootDir = sys.argv[1] 51 sys.exit(1) 115 sys.exit(1) 159 sys.exit(1) 175 sys.exit(1) 192 sys.exit(1) 210 sys.exit(1) 217 sys.exit(1) 223 sys.exit(1)
|
D | hidden_api_check.py | 15 import sys 43 rootDir = sys.argv[1] 51 sys.exit(1) 79 sys.exit(1)
|
/packages/services/Car/tools/watchdog/parser/ |
D | perf_stats_parser.py | 33 import sys 115 sys.exit(1) 128 sys.exit(1) 133 sys.exit() 137 sys.exit(1) 152 sys.exit(1) 163 sys.exit()
|
/packages/modules/Bluetooth/android/pandora/test/ |
D | main.py | 8 import sys 50 if '--' in sys.argv: 51 index = sys.argv.index('--') 52 sys.argv = sys.argv[:1] + sys.argv[index + 1:]
|
/packages/modules/Connectivity/tests/cts/multidevices/ |
D | connectivity_multi_devices_test.py | 3 import sys 67 if "--" in sys.argv: 68 index = sys.argv.index("--") 69 sys.argv = sys.argv[:1] + sys.argv[index + 1 :]
|
/packages/services/Car/tools/GenericCarApiBuilder/scripts/ |
D | check_car_version.py | 23 import sys 49 if (len(sys.argv) < 4): 51 sys.exit(1) 52 oldDir = sys.argv[1] 53 newDir = sys.argv[2] 54 version = sys.argv[3]
|
D | compare_hidden_apis_across_releases.py | 15 import sys 33 if (len(sys.argv) < 3): 35 sys.exit(1) 36 oldDir = sys.argv[1] 37 newDir = sys.argv[2]
|
/packages/modules/Bluetooth/system/gd/dumpsys/bundler/ |
D | extract_files_and_call.py | 34 import sys 47 for i in range(1, len(sys.argv) - 1): 48 if sys.argv[i] == '--': 49 args = sys.argv[i + 1:] + file_contents 52 file_contents.extend(file_to_args(sys.argv[i]))
|
/packages/modules/Bluetooth/system/ |
D | setup.py | 24 import sys 57 install_args = [sys.executable, '-m', 'pip', 'install'] 74 if sys.argv[-1] == "--reuse-libraries": 76 sys.argv = sys.argv[:-1] 77 if "--force" in sys.argv:
|
/packages/modules/Uwb/generic_ranging/tests/multidevices/uwb/ |
D | uwb_tests.py | 15 import sys 112 if "--" in sys.argv: 113 index = sys.argv.index("--") 114 sys.argv = sys.argv[:1] + sys.argv[index + 1:]
|
/packages/modules/Connectivity/thread/tests/multidevices/ |
D | thread_network_multi_device_test.py | 63 if '--' in sys.argv: 64 index = sys.argv.index('--') 65 sys.argv = sys.argv[:1] + sys.argv[index + 1:]
|
/packages/services/Car/tools/emulator/ |
D | vhal_const_generate.py | 61 import sys 65 sys.path.append(parent_location) 73 pipTool = "pip%s" % ("3" if sys.version_info > (3,0) else "") 82 sys.exit(1) 95 sys.exit(1) 101 sys.exit(1)
|
/packages/services/Car/tools/scripts/ |
D | generate-apitest-annotation.py | 14 import sys 27 if len(sys.argv) < 2: 29 sys.exit(1) 31 filter_keyword = sys.argv[1]
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/test/aware/ |
D | wifi_aware_test.py | 18 import sys 127 if '--' in sys.argv: 128 index = sys.argv.index('--') 129 sys.argv = sys.argv[:1] + sys.argv[index + 1:]
|
/packages/modules/Bluetooth/system/build/dpkg/libchrome/debian/ |
D | install_headers.py | 22 import sys 62 if len(sys.argv) != 2: 63 raise Exception('Expecting 2 params, got {}'.format(sys.argv)) 66 install_headers(sys.argv[1])
|