/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() 324 throw new IllegalArgumentException("Invalid profile type:" + profileType); in isRuntimeProfilingEnabled()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | IOProfile.h | 98 audio_devices_t profileType = mSupportedDevices[k]->type(); in getSupportedDeviceForType() local 99 if (profileType & deviceType) { in getSupportedDeviceForType() 100 return profileType; in getSupportedDeviceForType()
|
/frameworks/base/core/java/android/app/ |
D | IApplicationThread.aidl | 87 void profilerControl(boolean start, in ProfilerInfo profilerInfo, int profileType); in profilerControl() argument
|
D | IActivityManager.aidl | 233 in ProfilerInfo profilerInfo, int profileType); in profileControl() argument
|
D | ActivityThread.java | 995 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in profilerControl() argument 996 sendMessage(H.PROFILER_CONTROL, profilerInfo, start ? 1 : 0, profileType); in profilerControl() 5248 final void handleProfilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in handleProfilerControl() argument 5251 switch (profileType) { in handleProfilerControl() 5264 switch (profileType) { in handleProfilerControl()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 4010 audio_devices_t profileType = outProfile->getSupportedDevicesType(); in loadConfig() local 4011 if ((profileType & mDefaultOutputDevice->type()) != AUDIO_DEVICE_NONE) { in loadConfig() 4012 profileType = mDefaultOutputDevice->type(); in loadConfig() 4016 profileType = outProfile->getSupportedDeviceForType(outputDeviceTypes); in loadConfig() 4018 if ((profileType & outputDeviceTypes) == 0) { in loadConfig() 4024 const DeviceVector &devicesForType = supportedDevices.getDevicesFromType(profileType); in loadConfig() 4028 status_t status = outputDesc->open(nullptr, profileType, address, in loadConfig() 4049 profileType, in loadConfig() 4070 audio_devices_t profileType = inProfile->getSupportedDeviceForType(inputDeviceTypes); in loadConfig() local 4072 if ((profileType & inputDeviceTypes) == 0) { in loadConfig() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 4881 int profileType; in createDataProfile() local 4888 profileType = DataProfile.TYPE_COMMON; in createDataProfile() 4890 profileType = DataProfile.TYPE_3GPP2; in createDataProfile() 4892 profileType = DataProfile.TYPE_3GPP; in createDataProfile() 4896 apn.authType, apn.user, apn.password, profileType, in createDataProfile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 1356 final int profileType = isBootImage in runSnapshotProfile() local 1358 if (!mInterface.getArtManager().isRuntimeProfilingEnabled(profileType, callingPackage)) { in runSnapshotProfile() 1362 mInterface.getArtManager().snapshotRuntimeProfile(profileType, packageName, in runSnapshotProfile()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 757 int profileType = 0; 834 if (!mInterface.profileControl(process, userId, start, profilerInfo, profileType)) {
|
D | ActivityManagerService.java | 25841 private void stopProfilerLocked(ProcessRecord proc, int profileType) { in stopProfilerLocked() argument 25844 profileType = mProfileType; in stopProfilerLocked() 25851 proc.thread.profilerControl(false, null, profileType); in stopProfilerLocked() 25870 ProfilerInfo profilerInfo, int profileType) throws RemoteException { in profileControl() argument 25899 mProfileType = profileType; in profileControl() 25907 proc.thread.profilerControl(start, profilerInfo, profileType); in profileControl() 25923 stopProfilerLocked(proc, profileType); in profileControl()
|