Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_thread.cc82 poll_slot_t ps[MAX_POLL]; member
282 ts[h].ps[i].pfd.fd = -1; in init_poll()
295 static inline void set_poll(poll_slot_t* ps, int fd, int type, int flags, in set_poll() argument
297 ps->pfd.fd = fd; in set_poll()
298 ps->user_id = user_id; in set_poll()
299 if (ps->type != 0 && ps->type != type) in set_poll()
301 ps->type, type); in set_poll()
302 ps->type = type; in set_poll()
303 ps->flags = flags; in set_poll()
304 ps->pfd.events = flags2pevents(flags); in set_poll()
[all …]
/packages/services/Car/tests/CarTelemetryApp/res/raw/
Dconn_sessions.lua40 for i, ps in ipairs(published_data['conn.packages']) do
41 if rx[ps] == nil then
42 rx[ps] = 0
43 tx[ps] = 0
46 rx[ps] = rx[ps] + published_data['conn.rxBytes'][i]
47 tx[ps] = tx[ps] + published_data['conn.txBytes'][i]
48 uids[ps] = published_data['conn.uid'][i]
/packages/modules/Bluetooth/floss/pandora/floss/
Dcmd_utils.py169 ps = popen(args, stdin=stdin, stdout=stdout, stderr=stderr, run_as=run_as)
170 out = ps.communicate()[0] if stdout == subprocess.PIPE else None
171 wait_and_check_returncode(ps)
223ps = subprocess.Popen(args, stdin=stdin, stdout=stdout, stderr=stderr, env=env, preexec_fn=preexec…
225 logging.info('%spid is %d', prefix, ps.pid)
226 ps.command_id = command_id
227 ps.command = command
228 return ps
/packages/modules/Virtualization/tests/helper/src/java/com/android/microdroid/test/common/
DProcessUtil.java90 for (String ps : skipFirstLine(shellExecutor.apply("ps -Ao PID,NAME")).split("\n")) { in getProcessMap()
93 ps = ps.trim(); in getProcessMap()
94 if (ps.length() == 0) { in getProcessMap()
97 int space = ps.indexOf(" "); in getProcessMap()
98 String pName = ps.substring(space + 1); in getProcessMap()
99 int pId = Integer.parseInt(ps.substring(0, space)); in getProcessMap()
/packages/services/Car/cpp/watchdog/server/src/
Dmain.cpp36 sp<ProcessState> ps(ProcessState::self()); in main() local
37 ps->setThreadPoolMaxThreadCount(kMaxBinderThreadCount); in main()
38 ps->startThreadPool(); in main()
39 ps->giveThreadPoolName(); in main()
/packages/services/Car/cpp/powerpolicy/server/src/
Dmain.cpp44 sp<ProcessState> ps(ProcessState::self()); in main() local
45 ps->setThreadPoolMaxThreadCount(kMaxBinderThreadCount); in main()
46 ps->startThreadPool(); in main()
47 ps->giveThreadPoolName(); in main()
/packages/modules/Virtualization/java/jni/
Dandroid_system_virtualmachine_VirtualMachine.cpp92 int pm, ps; in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock() local
99 if (openpty(&pm, &ps, name, nullptr, nullptr)) { in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
104 fcntl(ps, F_SETFD, FD_CLOEXEC); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
118 close(ps); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
137 jobject sfd = jniCreateFileDescriptor(env, ps); in Java_android_system_virtualmachine_VirtualMachine_nativeOpenPtyRawNonblock()
/packages/modules/OnDevicePersonalization/tests/plugintests/src/com/android/ondevicepersonalization/libraries/plugin/
DPluginTests.java44 PluginState ps = PluginState.STATE_LOADED; in testPluginState() local
47 ps.writeToParcel(parcel, 0); in testPluginState()
51 assertEquals(ps, ps2); in testPluginState()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateTurnScreenOnBridge.java67 PermissionState ps = super.getPermissionInfo(pkg, uid); in getPermissionInfo() local
68 ps.appOpMode = mAppOpsManager.unsafeCheckOpNoThrow(APP_OP_STR, uid, pkg); in getPermissionInfo()
69 return ps; in getPermissionInfo()
DAppStateManageExternalStorageBridge.java65 PermissionState ps = super.getPermissionInfo(pkg, uid); in getPermissionInfo() local
66 ps.appOpMode = mAppOpsManager.unsafeCheckOpNoThrow(APP_OP_STR, uid, pkg); in getPermissionInfo()
67 return ps; in getPermissionInfo()
DProcStatsData.java312 ProcessStats.PackageState ps = vpkgs.valueAt(iv); in getProcs() local
313 for (int is = 0, NS = ps.mServices.size(); is < NS; is++) { in getProcs()
314 ServiceState ss = ps.mServices.valueAt(is); in getProcs()
319 if (DEBUG) Log.d(TAG, "Adding service " + ps.mPackageName in getProcs()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DMoreKeysResources.java115 PrintStream ps = null; in writeToJava() local
119 ps = System.out; in writeToJava()
125 ps = new PrintStream(outputFile, "UTF-8"); in writeToJava()
128 inflateTemplate(lnr, ps); in writeToJava()
133 JarUtils.close(ps); in writeToJava()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DApplicationsState.java752 private long getTotalInternalSize(PackageStats ps) { in getTotalInternalSize() argument
753 if (ps != null) { in getTotalInternalSize()
756 return ps.codeSize + ps.dataSize - ps.cacheSize; in getTotalInternalSize()
761 private long getTotalExternalSize(PackageStats ps) { in getTotalExternalSize() argument
762 if (ps != null) { in getTotalExternalSize()
765 return ps.externalCodeSize + ps.externalDataSize in getTotalExternalSize()
766 + ps.externalCacheSize in getTotalExternalSize()
767 + ps.externalMediaSize + ps.externalObbSize; in getTotalExternalSize()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_gap.cc1091 tBTM_BLE_PERIODIC_SYNC* ps = &btm_ble_pa_sync_cb.p_sync[index]; in btm_ble_periodic_adv_sync_established() local
1092 ps->sync_handle = sync_handle; in btm_ble_periodic_adv_sync_established()
1093 ps->sync_state = PERIODIC_SYNC_ESTABLISHED; in btm_ble_periodic_adv_sync_established()
1094 ps->sync_start_cb.Run(status, sync_handle, adv_sid, in btm_ble_periodic_adv_sync_established()
1125 tBTM_BLE_PERIODIC_SYNC* ps = &btm_ble_pa_sync_cb.p_sync[index]; in btm_ble_periodic_adv_report() local
1127 ps->sync_report_cb.Run(sync_handle, tx_power, rssi, data_status, data); in btm_ble_periodic_adv_report()
1145 tBTM_BLE_PERIODIC_SYNC* ps = &btm_ble_pa_sync_cb.p_sync[index]; in btm_ble_periodic_adv_sync_lost() local
1146 ps->sync_lost_cb.Run(sync_handle); in btm_ble_periodic_adv_sync_lost()
1148 ps->in_use = false; in btm_ble_periodic_adv_sync_lost()
1149 ps->sid = 0; in btm_ble_periodic_adv_sync_lost()
[all …]
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java395 assertProcessState(ps -> ps.state > processState, null); in assertProcessStateBelow()
399 assertProcessState(ps -> ps.state == PROCESS_STATE_TOP, () -> turnScreenOn()); in assertTopState()
403 assertProcessState(ps -> ps.state == PROCESS_STATE_FOREGROUND_SERVICE, null); in assertForegroundServiceState()
/packages/apps/Browser2/
Drun_startup_time_test.sh29 adb shell kill -9 `adb shell ps | grep org.chromium.webview_shell \
/packages/apps/Settings/src/com/android/settings/notification/app/
DRecentConversationsPreferenceController.java62 Context context, NotificationBackend backend, IPeopleManager ps) { in RecentConversationsPreferenceController() argument
65 mPs = ps; in RecentConversationsPreferenceController()
/packages/services/Car/tools/perf/janky-frame-test/
Djanky-frame-test.sh79 readonly PS_INFO=($(adb shell ps -ef | fgrep ${MAP_PACKAGE} | fgrep u10))
/packages/modules/AdServices/adservices/tests/perf/assets/concurrent-configs/
Dmsmt_load_source_deletion.textpb141 value: "am kill $(ps -ef | grep -o [a-z.]*.adservices.api"
/packages/modules/Wifi/service/java/com/android/server/wifi/
DClientModeDefaults.java174 default boolean setPowerSave(@PowerSaveClientType int client, boolean ps) { in setPowerSave() argument
DClientMode.java192 boolean setPowerSave(@PowerSaveClientType int client, boolean ps); in setPowerSave() argument
DWifiLockManager.java775 @ClientMode.PowerSaveClientType int client, boolean ps) { in setPowerSave() argument
778 return clientModeManager.setPowerSave(client, ps); in setPowerSave()
DConcreteClientModeManager.java1568 public boolean setPowerSave(@PowerSaveClientType int client, boolean ps) { in setPowerSave() argument
1569 return getClientMode().setPowerSave(client, ps); in setPowerSave()
/packages/modules/GeoTZ/validation/geonames/known_diffs/
Dknown_diffs15000.prototxt125 isoCountryCodes: "ps"
140 isoCountryCodes: "ps"
/packages/modules/Bluetooth/framework/tests/bumble/doc/
Dguide.md70 ps aux | grep python3 # Identify the ghost process and its process id

12