/frameworks/base/core/java/android/content/pm/dex/ |
D | IArtManager.aidl | 47 void snapshotRuntimeProfile(int profileType, in String packageName, in snapshotRuntimeProfile() argument 57 boolean isRuntimeProfilingEnabled(int profileType, String callingPackage); in isRuntimeProfilingEnabled() argument
|
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()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtManagerService.java | 146 private boolean checkShellPermissions(@ProfileType int profileType, String packageName, in checkShellPermissions() argument 154 if (profileType == ArtManager.PROFILE_BOOT_IMAGE) { in checkShellPermissions() 175 public void snapshotRuntimeProfile(@ProfileType int profileType, @Nullable String packageName, in snapshotRuntimeProfile() argument 179 if (!checkShellPermissions(profileType, packageName, callingUid) && in snapshotRuntimeProfile() 191 boolean bootImageProfile = profileType == ArtManager.PROFILE_BOOT_IMAGE; in snapshotRuntimeProfile() 198 if (!isRuntimeProfilingEnabled(profileType, callingPackage)) { in snapshotRuntimeProfile() 199 throw new IllegalStateException("Runtime profiling is not enabled for " + profileType); in snapshotRuntimeProfile() 313 public boolean isRuntimeProfilingEnabled(@ProfileType int profileType, String callingPackage) { in isRuntimeProfilingEnabled() argument 319 switch (profileType) { in isRuntimeProfilingEnabled() 331 throw new IllegalArgumentException("Invalid profile type:" + profileType); in isRuntimeProfilingEnabled()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppProfiler.java | 1640 private void stopProfilerLPf(ProcessRecord proc, int profileType) { in stopProfilerLPf() argument 1643 profileType = mProfileType; in stopProfilerLPf() 1654 thread.profilerControl(false, null, profileType); in stopProfilerLPf() 1686 ProfilerInfo profilerInfo, int profileType) { in profileControlLPf() argument 1692 mProfileType = profileType; in profileControlLPf() 1700 proc.mProfile.getThread().profilerControl(start, profilerInfo, profileType); in profileControlLPf() 1716 stopProfilerLPf(proc, profileType); in profileControlLPf()
|
D | ActivityManagerShellCommand.java | 840 int profileType = 0; 917 if (!mInterface.profileControl(process, userId, start, profilerInfo, profileType)) {
|
D | ActivityManagerService.java | 14870 ProfilerInfo profilerInfo, int profileType) throws RemoteException { in profileControl() argument 14895 return mAppProfiler.profileControlLPf(proc, start, profilerInfo, profileType); in profileControl()
|
/frameworks/base/core/java/android/app/ |
D | IApplicationThread.aidl | 101 void profilerControl(boolean start, in ProfilerInfo profilerInfo, int profileType); in profilerControl() argument
|
D | IActivityManager.aidl | 286 in ProfilerInfo profilerInfo, int profileType); in profileControl() argument
|
D | ActivityThread.java | 1241 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in profilerControl() argument 1242 sendMessage(H.PROFILER_CONTROL, profilerInfo, start ? 1 : 0, profileType); in profilerControl() 6129 final void handleProfilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in handleProfilerControl() argument 6132 switch (profileType) { in handleProfilerControl() 6145 switch (profileType) { in handleProfilerControl()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 5482 int profileType; in createDataProfile() local 5487 profileType = DataProfile.TYPE_COMMON; in createDataProfile() 5490 profileType = DataProfile.TYPE_3GPP2; in createDataProfile() 5493 profileType = DataProfile.TYPE_3GPP; in createDataProfile() 5495 profileType = DataProfile.TYPE_COMMON; in createDataProfile() 5505 .setType(profileType) in createDataProfile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 1918 final int profileType = isBootImage in runSnapshotProfile() local 1920 if (!mInterface.getArtManager().isRuntimeProfilingEnabled(profileType, callingPackage)) { in runSnapshotProfile() 1924 mInterface.getArtManager().snapshotRuntimeProfile(profileType, packageName, in runSnapshotProfile()
|