Searched refs:profileType (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/core/java/android/content/pm/dex/
H A DIArtManager.aidl28 * Snapshots a runtime profile according to the {@code profileType} parameter.
30 * If {@code profileType} is {@link ArtManager#PROFILE_APPS} the method will snapshot
34 * If {@code profileType} is {@code ArtManager.PROFILE_BOOT_IMAGE} the method will snapshot
45 * {@code profileType}.
47 void snapshotRuntimeProfile(int profileType, in String packageName,
55 * @param profileType
57 boolean isRuntimeProfilingEnabled(int profileType, String callingPackage);
H A DArtManager.java81 * Snapshots a runtime profile according to the {@code profileType} parameter.
83 * If {@code profileType} is {@link ArtManager#PROFILE_APPS} the method will snapshot
87 * If {@code profileType} is {@code ArtManager.PROFILE_BOOT_IMAGE} the method will snapshot
98 * {@code profileType}.
100 * @param profileType the type of profile that should be snapshot (boot image or app)
108 public void snapshotRuntimeProfile(@ProfileType int profileType, @Nullable String packageName, argument
116 mArtManager.snapshotRuntimeProfile(profileType, packageName, codePath, delegate,
128 * @param profileType can be either {@link ArtManager#PROFILE_APPS}
132 public boolean isRuntimeProfilingEnabled(@ProfileType int profileType) { argument
134 return mArtManager.isRuntimeProfilingEnabled(profileType, mContex
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DIOProfile.h98 audio_devices_t profileType = mSupportedDevices[k]->type(); local
99 if (profileType & deviceType) {
100 return profileType;
/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtManagerService.java140 private boolean checkShellPermissions(@ProfileType int profileType, String packageName, argument
148 if (profileType == ArtManager.PROFILE_BOOT_IMAGE) {
169 public void snapshotRuntimeProfile(@ProfileType int profileType, @Nullable String packageName, argument
173 if (!checkShellPermissions(profileType, packageName, callingUid) &&
185 boolean bootImageProfile = profileType == ArtManager.PROFILE_BOOT_IMAGE;
192 if (!isRuntimeProfilingEnabled(profileType, callingPackage)) {
193 throw new IllegalStateException("Runtime profiling is not enabled for " + profileType);
310 public boolean isRuntimeProfilingEnabled(@ProfileType int profileType, String callingPackage) { argument
316 switch (profileType) {
324 throw new IllegalArgumentException("Invalid profile type:" + profileType);
[all...]
/frameworks/base/core/java/android/app/
H A DIApplicationThread.aidl87 void profilerControl(boolean start, in ProfilerInfo profilerInfo, int profileType);
H A DIActivityManager.aidl233 in ProfilerInfo profilerInfo, int profileType);
H A DActivityThread.java995 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { argument
996 sendMessage(H.PROFILER_CONTROL, profilerInfo, start ? 1 : 0, profileType);
5248 final void handleProfilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { argument
5251 switch (profileType) {
5264 switch (profileType) {
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp4010 audio_devices_t profileType = outProfile->getSupportedDevicesType(); local
4011 if ((profileType & mDefaultOutputDevice->type()) != AUDIO_DEVICE_NONE) {
4012 profileType = mDefaultOutputDevice->type();
4016 profileType = outProfile->getSupportedDeviceForType(outputDeviceTypes);
4018 if ((profileType & outputDeviceTypes) == 0) {
4024 const DeviceVector &devicesForType = supportedDevices.getDevicesFromType(profileType);
4028 status_t status = outputDesc->open(nullptr, profileType, address,
4049 profileType,
4070 audio_devices_t profileType = inProfile->getSupportedDeviceForType(inputDeviceTypes); local
4072 if ((profileType
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java4881 int profileType;
4888 profileType = DataProfile.TYPE_COMMON;
4890 profileType = DataProfile.TYPE_3GPP2;
4892 profileType = DataProfile.TYPE_3GPP;
4896 apn.authType, apn.user, apn.password, profileType,
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerShellCommand.java1356 final int profileType = isBootImage
1358 if (!mInterface.getArtManager().isRuntimeProfilingEnabled(profileType, callingPackage)) {
1362 mInterface.getArtManager().snapshotRuntimeProfile(profileType, packageName,
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java757 int profileType = 0;
834 if (!mInterface.profileControl(process, userId, start, profilerInfo, profileType)) {
H A DActivityManagerService.java25841 stopProfilerLocked(ProcessRecord proc, int profileType) argument
25869 profileControl(String process, int userId, boolean start, ProfilerInfo profilerInfo, int profileType) argument
[all...]

Completed in 153 milliseconds