Home
last modified time | relevance | path

Searched refs:profileType (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/content/pm/dex/
DIArtManager.aidl47 void snapshotRuntimeProfile(int profileType, in String packageName, in snapshotRuntimeProfile() argument
57 boolean isRuntimeProfilingEnabled(int profileType, String callingPackage); in isRuntimeProfilingEnabled() argument
DArtManager.java108 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/
DArtManagerService.java146 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/
DAppProfiler.java1640 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()
DActivityManagerShellCommand.java840 int profileType = 0;
917 if (!mInterface.profileControl(process, userId, start, profilerInfo, profileType)) {
DActivityManagerService.java14870 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/
DIApplicationThread.aidl101 void profilerControl(boolean start, in ProfilerInfo profilerInfo, int profileType); in profilerControl() argument
DIActivityManager.aidl286 in ProfilerInfo profilerInfo, int profileType); in profileControl() argument
DActivityThread.java1241 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/
DDcTracker.java5482 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/
DPackageManagerShellCommand.java1918 final int profileType = isBootImage in runSnapshotProfile() local
1920 if (!mInterface.getArtManager().isRuntimeProfilingEnabled(profileType, callingPackage)) { in runSnapshotProfile()
1924 mInterface.getArtManager().snapshotRuntimeProfile(profileType, packageName, in runSnapshotProfile()