/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsDetail.java | 285 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 …]
|
D | RunningState.java | 414 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/ |
D | SdkSandboxShellHostTest.java | 195 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()
|
D | SdkSandboxLifecycleHostTest.java | 459 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/ |
D | MediaApplication.java | 70 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/ |
D | Process.cpp | 34 int getPid(const std::string &processName) { in getPid() argument 39 (cmdline == processName || in getPid() 40 (cmdline.rfind(processName + '\0', 0) == 0))) { in getPid()
|
D | Process.h | 23 int getPid(const std::string &processName);
|
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/ |
D | ProgramGuideJankTest.java | 56 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME) 71 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME) 85 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
|
D | ChannelZappingJankTest.java | 50 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
|
D | MenuJankTest.java | 50 @GfxMonitor(processName = Utils.LIVE_CHANNELS_PROCESS_NAME)
|
/packages/modules/Virtualization/compos/benchmark/src/java/com/android/compos/benchmark/ |
D | ComposBenchmark.java | 207 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/ |
D | FakeSdkSandboxManagerLocal.java | 52 return clientAppInfo.processName + "_sdk_sandbox_instr"; in getSdkSandboxProcessNameForInstrumentation() 59 clientAppInfo.processName = getSdkSandboxProcessNameForInstrumentation(clientAppInfo); in getSdkSandboxApplicationInfoForInstrumentation()
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | FilesJankPerfTest.java | 86 @GfxMonitor(processName=DOCUMENTSUI_PACKAGE) 93 @GfxMonitor(processName=DOCUMENTSUI_PACKAGE)
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/common/ |
D | CommonFixture.java | 44 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/ |
D | NfcApplication.java | 62 isMainProcess = (NFC_PROCESS.equals(appInfo.processName)); in onCreate()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | MemoryPublisher.java | 287 String[] split = process.processName.split(":"); 291 "MemoryPublisher found matching process " + process.processName);
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxManagerServiceUnitTest.java | 1194 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/ |
D | ActivityMonitor.java | 81 String processName) { }
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockPackageManager.java | 130 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags, in queryContentProviders() argument
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorService.java | 193 return Optional.of(processInfo.processName); in getPackageNameForPid()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | SettingsFragment.java | 176 report.packageName = report.processName = getContext().getPackageName(); in getItemList()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/ |
D | ActivityManagerHelper.java | 260 String packageName, String processName) {
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | ProviderUtil.java | 299 sb.append(processInfo.processName); in logRunningTelephonyProviderProcesses()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxServiceProviderImpl.java | 344 .processName; in getProcessName()
|
/packages/apps/Traceur/src_common/com/android/traceur/ |
D | TraceUtils.java | 303 .map(process -> process.processName) in getRunningAppProcesses()
|