Searched defs:profileType (Results 1 - 6 of 6) sorted by relevance

/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/core/java/android/content/pm/dex/
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/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/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/base/core/java/android/app/
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/base/services/core/java/com/android/server/am/
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 175 milliseconds