/frameworks/base/core/java/android/content/pm/dex/ |
D | ArtManager.java | 108 public void snapshotRuntimeProfile(@ProfileType int profileType, @Nullable String packageName, in snapshotRuntimeProfile() argument 116 mArtManager.snapshotRuntimeProfile(profileType, packageName, codePath, delegate, in snapshotRuntimeProfile() 132 public boolean isRuntimeProfilingEnabled(@ProfileType int profileType) { in isRuntimeProfilingEnabled() argument 134 return mArtManager.isRuntimeProfilingEnabled(profileType, mContext.getOpPackageName()); in isRuntimeProfilingEnabled()
|
D | IArtManager.aidl | 47 void snapshotRuntimeProfile(int profileType, in String packageName, in snapshotRuntimeProfile() argument 57 boolean isRuntimeProfilingEnabled(int profileType, String callingPackage); in isRuntimeProfilingEnabled() argument
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 140 private boolean checkShellPermissions(@ProfileType int profileType, String packageName, in checkShellPermissions() argument 148 if (profileType == ArtManager.PROFILE_BOOT_IMAGE) { in checkShellPermissions() 169 public void snapshotRuntimeProfile(@ProfileType int profileType, @Nullable String packageName, in snapshotRuntimeProfile() argument 173 if (!checkShellPermissions(profileType, packageName, callingUid) && in snapshotRuntimeProfile() 185 boolean bootImageProfile = profileType == ArtManager.PROFILE_BOOT_IMAGE; in snapshotRuntimeProfile() 192 if (!isRuntimeProfilingEnabled(profileType, callingPackage)) { in snapshotRuntimeProfile() 193 throw new IllegalStateException("Runtime profiling is not enabled for " + profileType); in snapshotRuntimeProfile() 310 public boolean isRuntimeProfilingEnabled(@ProfileType int profileType, String callingPackage) { in isRuntimeProfilingEnabled() argument 316 switch (profileType) { in isRuntimeProfilingEnabled() 328 throw new IllegalArgumentException("Invalid profile type:" + profileType); in isRuntimeProfilingEnabled()
|
/frameworks/base/core/java/android/app/ |
D | IApplicationThread.aidl | 95 void profilerControl(boolean start, in ProfilerInfo profilerInfo, int profileType); in profilerControl() argument
|
D | IActivityManager.aidl | 266 in ProfilerInfo profilerInfo, int profileType); in profileControl() argument
|
D | ActivityThread.java | 1139 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in profilerControl() argument 1140 sendMessage(H.PROFILER_CONTROL, profilerInfo, start ? 1 : 0, profileType); in profilerControl() 5840 final void handleProfilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in handleProfilerControl() argument 5843 switch (profileType) { in handleProfilerControl() 5856 switch (profileType) { in handleProfilerControl()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 4991 int profileType; in createDataProfile() local 4996 profileType = DataProfile.TYPE_COMMON; in createDataProfile() 4998 profileType = DataProfile.TYPE_3GPP2; in createDataProfile() 5000 profileType = DataProfile.TYPE_3GPP; in createDataProfile() 5010 .setType(profileType) in createDataProfile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 1728 final int profileType = isBootImage in runSnapshotProfile() local 1730 if (!mInterface.getArtManager().isRuntimeProfilingEnabled(profileType, callingPackage)) { in runSnapshotProfile() 1734 mInterface.getArtManager().snapshotRuntimeProfile(profileType, packageName, in runSnapshotProfile()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 800 int profileType = 0; 877 if (!mInterface.profileControl(process, userId, start, profilerInfo, profileType)) {
|
D | ActivityManagerService.java | 17414 private void stopProfilerLocked(ProcessRecord proc, int profileType) { in stopProfilerLocked() argument 17417 profileType = mProfileType; in stopProfilerLocked() 17424 proc.thread.profilerControl(false, null, profileType); in stopProfilerLocked() 17444 ProfilerInfo profilerInfo, int profileType) throws RemoteException { in profileControl() argument 17473 mProfileType = profileType; in profileControl() 17481 proc.thread.profilerControl(start, profilerInfo, profileType); in profileControl() 17497 stopProfilerLocked(proc, profileType); in profileControl()
|