Home
last modified time | relevance | path

Searched refs:processName (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java285 private static String capitalize(String processName) { in capitalize() argument
286 char c = processName.charAt(0); in capitalize()
288 return processName; in capitalize()
290 return Character.toUpperCase(c) + processName.substring(1); in capitalize()
294 String processName = entry.mName; in getProcessName() local
295 if (processName.contains(":")) { in getProcessName()
296 return capitalize(processName.substring(processName.lastIndexOf(':') + 1)); in getProcessName()
298 if (processName.startsWith(entry.mPackage)) { in getProcessName()
299 if (processName.length() == entry.mPackage.length()) { in getProcessName()
303 if (processName.charAt(start) == '.') { in getProcessName()
[all …]
DRunningState.java414 public ProcessItem(Context context, int uid, String processName) { in ProcessItem() argument
417 R.string.service_process_name, processName); in ProcessItem()
419 mProcessName = processName; in ProcessItem()
1043 proc = new ProcessItem(context, pi.uid, pi.processName); in update()
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/src/com/android/tests/sdksandbox/host/
DSdkSandboxShellHostTest.java195 private void waitForProcessStart(String processName) throws Exception { in waitForProcessStart() argument
199 return processDump.contains(processName); in waitForProcessStart()
201 "Process " + processName + " has not started."); in waitForProcessStart()
204 private void waitForProcessDeath(String processName) throws Exception { in waitForProcessDeath() argument
208 return !processDump.contains(processName); in waitForProcessDeath()
210 "Process " + processName + " has not died."); in waitForProcessDeath()
DSdkSandboxLifecycleHostTest.java459 private int getProcessOccurrenceCount(String processName) throws Exception { in getProcessOccurrenceCount() argument
463 int processOccurrenceIndex = processDump.indexOf(processName); in getProcessOccurrenceCount()
466 processOccurrenceIndex = processDump.indexOf(processName, processOccurrenceIndex + 1); in getProcessOccurrenceCount()
491 private int getOomScoreAdj(String processName) throws DeviceNotAvailableException { in getOomScoreAdj() argument
492 String pid = getDevice().getProcessPid(processName); in getOomScoreAdj()
498 private void waitForProcessDeath(String processName) throws Exception { in waitForProcessDeath() argument
502 return !processDump.contains(processName); in waitForProcessDeath()
504 "Process " + processName + " has not died."); in waitForProcessDeath()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaApplication.java70 final String processName = getProcessName();
71 sIsUiProcess = processName.endsWith(":PhotoPicker");
80 sIsTestProcess = processName.endsWith(".tests");
91 Log.w(TAG, "Could not load fuse_jni.so in a test (" + processName + ")", e);
/packages/modules/UprobeStats/src/
DProcess.cpp34 int getPid(const std::string &processName) { in getPid() argument
39 (cmdline == processName || in getPid()
40 (cmdline.rfind(processName + '\0', 0) == 0))) { in getPid()
DProcess.h23 int getPid(const std::string &processName);
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
DProgramGuideJankTest.java56 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
71 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
85 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
DChannelZappingJankTest.java50 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
DMenuJankTest.java50 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
/packages/modules/Virtualization/compos/benchmark/src/java/com/android/compos/benchmark/
DComposBenchmark.java207 GetMetricsRunnable(String processName, Map<String, List<Long>> processMemory) { in GetMetricsRunnable() argument
208 this.mProcessName = processName; in GetMetricsRunnable()
232 private void updateProcessMemory(String processName, Map<String, List<Long>> processMemory) in updateProcessMemory() argument
238 if (pName.equalsIgnoreCase(processName)) { in updateProcessMemory()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DFakeSdkSandboxManagerLocal.java52 return clientAppInfo.processName + "_sdk_sandbox_instr"; in getSdkSandboxProcessNameForInstrumentation()
59 clientAppInfo.processName = getSdkSandboxProcessNameForInstrumentation(clientAppInfo); in getSdkSandboxApplicationInfoForInstrumentation()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DFilesJankPerfTest.java86 @GfxMonitor(processName=DOCUMENTSUI_PACKAGE)
93 @GfxMonitor(processName=DOCUMENTSUI_PACKAGE)
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/
DCommonFixture.java44 public static final String TEST_PACKAGE_NAME = processName();
112 private static String processName() { in processName() method in CommonFixture
/packages/apps/Nfc/src/com/android/nfc/
DNfcApplication.java62 isMainProcess = (NFC_PROCESS.equals(appInfo.processName)); in onCreate()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DMemoryPublisher.java287 String[] split = process.processName.split(":");
291 "MemoryPublisher found matching process " + process.processName);
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxManagerServiceUnitTest.java1194 final String processName = in testGetSdkSandboxProcessNameForInstrumentation() local
1196 assertThat(processName).isEqualTo(TEST_PACKAGE + SANDBOX_INSTR_PROCESS_NAME_SUFFIX); in testGetSdkSandboxProcessNameForInstrumentation()
1209 assertThat(sdkSandboxInfo.processName) in test_getSdkInstrumentationInfo()
1225 assertThat(sdkSandboxInfo.processName) in test_getSdkInstrumentationInfo_sdkInSandbox()
1848 assertThat(activityInfo.processName) in testRegisterActivityInterceptorCallbackOnServiceStart()
1876 assertThat(activityInfo.processName) in testRegisterActivityInterceptionWithRightComponentSuccess()
1964 activityInfo.processName = TEST_PACKAGE; in testRegisterActivityInterceptorCallbackForInstrumentationActivities()
1996 assertThat(activityInfo.processName) in testRegisterActivityInterceptorCallbackForInstrumentationActivities()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DActivityMonitor.java81 String processName) { }
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsMockPackageManager.java130 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags, in queryContentProviders() argument
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java193 return Optional.of(processInfo.processName); in getPackageNameForPid()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java176 report.packageName = report.processName = getContext().getPackageName(); in getItemList()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/
DActivityManagerHelper.java260 String packageName, String processName) {
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DProviderUtil.java299 sb.append(processInfo.processName); in logRunningTelephonyProviderProcesses()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxServiceProviderImpl.java344 .processName; in getProcessName()
/packages/apps/Traceur/src_common/com/android/traceur/
DTraceUtils.java303 .map(process -> process.processName) in getRunningAppProcesses()

12