/packages/modules/adb/daemon/ |
D | jdwp_service.cpp | 150 JdwpProcess(unique_fd socket, ProcessInfo process) { in JdwpProcess() 151 CHECK(process.pid != 0); in JdwpProcess() 154 this->process = process; in JdwpProcess() 182 ProcessInfo process; member 193 if (!proc->process.debuggable) continue; in jdwp_process_list() 194 std::string next = std::to_string(proc->process.pid) + "\n"; in jdwp_process_list() 214 if (!proc->process.debuggable && !proc->process.profileable) continue; in app_process_list() 216 entry->set_pid(proc->process.pid); in app_process_list() 217 entry->set_debuggable(proc->process.debuggable); in app_process_list() 218 entry->set_profileable(proc->process.profileable); in app_process_list() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
D | MethodStateTest.java | 85 EapResult result = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessUnsupportedEapType() 93 mEapStateMachine.process(EAP_REQUEST_SIM_START_PACKET); in testProcessTransitionsToEapSim() 107 mEapStateMachine.process(EAP_REQUEST_AKA); in testProcessTransitionToEapAka() 124 mEapStateMachine.process(EAP_AKA_PRIME_REQUEST); in testProcessTransitionToEapAkaPrime() 138 mEapStateMachine.process(EAP_REQUEST_MSCHAP_V2); in testProcessTransitionToEapMsChapV2() 156 mEapStateMachine.process(EAP_REQUEST_TTLS_START); in testProcessTransitionToEapTtls() 175 doReturn(eapSuccess).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState() 178 mEapState.process(EAP_SUCCESS_PACKET); in testProcessTransitionToSuccessState() 179 verify(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToSuccessState() 195 doReturn(eapFailure).when(mockEapMethodStateMachine).process(argThat(eapSuccessMatcher)); in testProcessTransitionToFailureState() [all …]
|
D | EapStateTest.java | 69 public EapResult process(byte[] msg) { in setUp() 77 EapResult result = mEapState.process(null); in testProcessNullPacket() 86 EapResult result = mEapState.process(REQUEST_UNSUPPORTED_TYPE_PACKET); in testProcessUnsupportedEapDataType() 95 EapResult result = mEapState.process(SHORT_PACKET); in testProcessDecodeFailure() 104 EapResult result = mEapState.process(EAP_RESPONSE_NOTIFICATION_PACKET); in testProcessResponse() 113 EapResult result = mEapState.process(EAP_REQUEST_NAK_PACKET); in testProcessNakRequest() 122 EapResult result = mEapState.process(EAP_REQUEST_MD5_CHALLENGE); in testProcessMd5Challenge()
|
D | EapTtlsTunnelStateTest.java | 119 when(mMockInnerEapStateMachine.process(eq(EAP_FAILURE_PACKET))) in testHandleEapFailureNotification() 122 EapResult result = mStateMachine.process(eapMessage); in testHandleEapFailureNotification() 125 verify(mMockInnerEapStateMachine).process(eq(EAP_FAILURE_PACKET)); in testHandleEapFailureNotification() 136 when(mMockInnerEapStateMachine.process(eq(EAP_SUCCESS_PACKET))).thenReturn(msChapV2Success); in testHandleEapSuccessNotification() 140 EapResult result = mStateMachine.process(eapMessage); in testHandleEapSuccessNotification() 145 verify(mMockInnerEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testHandleEapSuccessNotification() 153 when(mMockInnerEapStateMachine.process(eq(EAP_SUCCESS_PACKET))) in testTunnel_prematureSuccess() 156 EapResult result = mStateMachine.process(eapMessage); in testTunnel_prematureSuccess() 159 verify(mMockInnerEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testTunnel_prematureSuccess() 195 verify(mMockInnerEapStateMachine).process(eq(EAP_DUMMY_REQUEST_BYTES)); in testTunnel_encryptFailure() [all …]
|
D | EapAkaChallengeStateTest.java | 135 EapResult result = mChallengeState.process(eapMessage); in testProcessIncorrectEapMethodType() 148 EapSuccess eapSuccess = (EapSuccess) mEapAkaMethodStateMachine.process(input); in testProcessSuccess() 158 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(input); in testProcessInvalidSuccess() 165 EapResult result = mEapAkaMethodStateMachine.process(input); in testProcessFailure() 184 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtRand() 204 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtAutn() 224 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessMissingAtMac() 293 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationNullResponse() 327 EapError eapError = (EapError) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationInvalidTag() 361 EapResponse eapResponse = (EapResponse) mEapAkaMethodStateMachine.process(eapMessage); in testProcessIccAuthenticationSynchronizeTag() [all …]
|
D | IdentityStateTest.java | 64 EapResult eapResult = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcess() 74 EapResult eapResult = mEapState.process(EAP_REQUEST_IDENTITY_PACKET); in testProcessDefaultIdentity() 84 EapResult eapResult = mEapState.process(EAP_REQUEST_NOTIFICATION_PACKET); in testProcessNotificationRequest() 95 mEapState.process(EAP_REQUEST_SIM_START_PACKET); in testProcessSimStart()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/ |
D | EapAuthenticatorTest.java | 96 doReturn(eapResponse).when(mMockEapStateMachine).process(eq(EAP_REQUEST_SIM_START_PACKET)); in testProcessEapMessageResponse() 103 verify(mMockEapStateMachine).process(eq(EAP_REQUEST_SIM_START_PACKET)); in testProcessEapMessageResponse() 119 doReturn(eapError).when(mMockEapStateMachine).process(eq(REQUEST_UNSUPPORTED_TYPE_PACKET)); in testProcessEapMessageError() 126 verify(mMockEapStateMachine).process(eq(REQUEST_UNSUPPORTED_TYPE_PACKET)); in testProcessEapMessageError() 143 doReturn(eapSuccess).when(mMockEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testProcessEapMessageSuccess() 150 verify(mMockEapStateMachine).process(eq(EAP_SUCCESS_PACKET)); in testProcessEapMessageSuccess() 164 doReturn(new EapFailure()).when(mMockEapStateMachine).process(eq(EAP_FAILURE_PACKET)); in testProcessEapMessageFailure() 171 verify(mMockEapStateMachine).process(eq(EAP_FAILURE_PACKET)); in testProcessEapMessageFailure() 185 when(mMockEapStateMachine.process(EAP_REQUEST_SIM_START_PACKET)) in testProcessEapMessageExceptionThrown() 193 verify(mMockEapStateMachine).process(eq(EAP_REQUEST_SIM_START_PACKET)); in testProcessEapMessageExceptionThrown() [all …]
|
/packages/modules/Bluetooth/system/build/secondary/third_party/libchrome/ |
D | BUILD.gn | 106 "base/process/internal_linux.cc", 107 "base/process/kill.cc", 108 "base/process/kill_posix.cc", 109 "base/process/launch.cc", 110 "base/process/launch_posix.cc", 111 "base/process/memory.cc", 112 "base/process/process_handle.cc", 113 "base/process/process_handle_linux.cc", 114 "base/process/process_handle_posix.cc", 115 "base/process/process_info_linux.cc", [all …]
|
/packages/modules/adb/libs/adbconnection/ |
D | adbconnection_server.cpp | 41 void adbconnection_listen(void (*callback)(int fd, ProcessInfo process)) { in adbconnection_listen() argument 111 ProcessInfo process; in adbconnection_listen() local 112 int rc = TEMP_FAILURE_RETRY(recv(it->get(), &process, sizeof(process), MSG_DONTWAIT)); in adbconnection_listen() 113 if (rc != sizeof(process)) { in adbconnection_listen() 115 << ", expected " << sizeof(process); in adbconnection_listen() 117 callback(it->release(), process); in adbconnection_listen()
|
D | adbconnection_client.cpp | 176 ProcessInfo process(*pid, *debuggable, *profileable, *architecture); in adbconnection_client_new() local 177 rc = TEMP_FAILURE_RETRY(write(ctx->control_socket_.get(), &process, sizeof(process))); in adbconnection_client_new() 178 if (rc != sizeof(process)) { in adbconnection_client_new()
|
/packages/modules/IPsec/src/java/com/android/internal/net/utils/ |
D | SimpleStateMachine.java | 35 public R process(T msg) { 44 public abstract R process(T msg); in process() method in SimpleStateMachine.SimpleState 53 public R process(T msg) { in process() method in SimpleStateMachine 54 return mState.process(msg); in process() 83 return mState.process(msg); in transitionAndProcess()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/utils/ |
D | SimpleStateMachineTest.java | 49 doReturn(OUTPUT).when(mMockStartState).process(INPUT); in testProcess() 50 String result = mSimpleStateMachine.process(INPUT); in testProcess() 52 verify(mMockStartState).process(INPUT); in testProcess() 72 doReturn(OUTPUT).when(mMockFinalState).process(INPUT); in testTransitionAndProcess() 75 verify(mMockFinalState).process(INPUT); in testTransitionAndProcess() 91 simpleStateMachine.process(new Object()); in testProcessNullState()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | async_subprocess_logger.py | 36 process: subprocess.Popen, 49 if not process: 51 if not process.stdout: 60 self.process = process 86 for line in self.process.stdout:
|
D | os_utils.py | 34 def is_subprocess_alive(process, timeout_seconds=1): argument 43 process.wait(timeout=timeout_seconds) 86 process = psutil.Process(conn.pid) 87 process.kill() 88 process.wait(timeout=timeout_seconds)
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | TraceUtils.java | 136 Process process = RUNTIME.exec(cmdarray, envp); in exec() local 137 new Logger("traceService:stderr", process.getErrorStream()); in exec() 139 new Logger("traceService:stdout", process.getInputStream()); in exec() 142 return process; in exec() 148 Process process = exec(cmd, tmpdir, true); in execWithTimeout() local 150 if (!process.waitFor(timeout, TimeUnit.MILLISECONDS)) { in execWithTimeout() 152 process.destroyForcibly(); in execWithTimeout() 159 return process; in execWithTimeout()
|
D | PerfettoUtils.java | 149 Process process = TraceUtils.execWithTimeout(cmd, null, STOP_TIMEOUT_MS); in traceStop() local 150 if (process != null && process.exitValue() != 0) { in traceStop() 151 Log.e(TAG, "perfetto traceStop failed with: " + process.exitValue()); in traceStop() 190 Process process = TraceUtils.exec(cmd); in isTracingOn() local 195 int result = process.waitFor(); in isTracingOn() 270 Process process = TraceUtils.execWithTimeout(cmd, TEMP_DIR, STARTUP_TIMEOUT_MS); in startPerfettoWithConfig() local 271 if (process == null) { in startPerfettoWithConfig() 273 } else if (process.exitValue() != 0) { in startPerfettoWithConfig() 274 Log.e(TAG, "perfetto trace start failed with: " + process.exitValue()); in startPerfettoWithConfig()
|
/packages/modules/Bluetooth/floss/hcidoc/src/ |
D | engine.rs | 27 fn process(&mut self, packet: &Packet); in process() method 56 pub fn process(&mut self, packet: &Packet) { in process() method 58 rule.process(packet); in process() 91 pub fn process(&mut self, packet: Packet) { in process() method 93 group.process(&packet); in process()
|
/packages/services/Telephony/src/com/android/phone/ |
D | DiagnosticDataCollector.java | 156 Process process = null; in getProcOutputAndPersist() local 161 process = mJavaRuntime.exec(cmd); in getProcOutputAndPersist() 163 new BufferedReader(new InputStreamReader(process.getInputStream())), output, in getProcOutputAndPersist() 167 new BufferedReader(new InputStreamReader(process.getErrorStream())), output, in getProcOutputAndPersist() 171 process.waitFor(procTimeout, TimeUnit.MILLISECONDS); in getProcOutputAndPersist() 178 if (process != null) { in getProcOutputAndPersist() 179 process.destroy(); in getProcOutputAndPersist()
|
/packages/services/Car/car-lib/src/android/car/telemetry/ |
D | telemetry.proto | 28 // and a data handler to process the data and create a statistic. 91 // Collects process CPU usage time. 103 // Logs number of milliseconds it takes to start a process. 104 // The definition of app process start time is from the app launch time to 105 // the time that Zygote finished forking the app process and loaded the 140 // Publisher for device-wide memory statistics as well as process memory statistics. 145 // Collecting process meminfo takes 70ms and up, depending on how many package names are specified. 146 // For reference, collecting process memory on 1 process takes ~70ms, and for 10 processes it takes 154 // However, collecting additional process meminfo is an expensive operation and has adverse 171 // The package names to get process memory statistics on. If specified, it will be published [all …]
|
/packages/apps/Camera2/src/com/android/camera/async/ |
D | ConcurrentBufferQueue.java | 51 public void process(T element); in process() method 104 public void process(T element) { in ConcurrentBufferQueue() 137 mUnusedElementProcessor.process(entry.getValue()); in close() 152 mUnusedElementProcessor.process(element); in update() 205 mUnusedElementProcessor.process(nextEntry.getValue()); in discardNext()
|
/packages/modules/Wifi/service/tests/mts/src/android/net/wifi/mts/ |
D | StreamReader.java | 73 Process process = Runtime.getRuntime().exec(command); in runProcessCommand() local 76 new InputStreamReader(process.getInputStream())); in runProcessCommand() 78 new InputStreamReader(process.getErrorStream())); in runProcessCommand() 85 process.waitFor(); in runProcessCommand()
|
/packages/modules/Bluetooth/system/btcore/fuzzer/ |
D | btcore_module_fuzzer.cpp | 31 void process(); 34 void BTCoreModuleFuzzer::process() { in process() function in BTCoreModuleFuzzer 48 btCoreModuleFuzzer.process(); in LLVMFuzzerTestOneInput()
|
D | btcore_device_class_fuzzer.cpp | 23 void process(const uint8_t* data, size_t size); 29 void BTCoreDeviceClassFuzzer::process(const uint8_t* data, size_t size) { in process() function in BTCoreDeviceClassFuzzer 67 btCoreDeviceClassFuzzer.process(data, size); in LLVMFuzzerTestOneInput()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CreateConnectionProcessorTest.java | 168 mTestCreateConnectionProcessor.process(); in testSimPhoneAccountSuccess() 191 mTestCreateConnectionProcessor.process(); in testbadPhoneAccount() 215 mTestCreateConnectionProcessor.process(); in testConnectionManagerSuccess() 245 mTestCreateConnectionProcessor.process(); in testConnectionManagerFailedFallToSim() 285 mTestCreateConnectionProcessor.process(); in testConnectionManagerFailedDoNotFallToSim() 330 mTestCreateConnectionProcessor.process(); in testFakeEmergencyNumber() 360 mTestCreateConnectionProcessor.process(); in testEmergencyCallAcrossUsers() 397 mTestCreateConnectionProcessor.process(); in testEmergencyCall() 436 mTestCreateConnectionProcessor.process(); in testEmergencyCallMultiSimNoPreferred() 469 mTestCreateConnectionProcessor.process(); in testEmergencyCallMultiSimTelephonyPreferred() [all …]
|
/packages/modules/Virtualization/authfs/service/src/ |
D | authfs.rs | 25 use std::process::Command; 46 process: SharedChild, field 100 let authfs = AuthFs { mountpoint, process: child }; in mount_and_wait() 109 if let Err(e) = self.process.kill() { in drop() 112 match self.process.wait() { in drop()
|