Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h78 audio_devices_t profileType = mSupportedDevices[k]->type(); in getSupportedDeviceForType() local
79 if (profileType & deviceType) { in getSupportedDeviceForType()
80 return profileType; in getSupportedDeviceForType()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3271 audio_devices_t profileType = outProfile->getSupportedDevicesType(); in AudioPolicyManager() local
3272 if ((profileType & mDefaultOutputDevice->type()) != AUDIO_DEVICE_NONE) { in AudioPolicyManager()
3273 profileType = mDefaultOutputDevice->type(); in AudioPolicyManager()
3277 profileType = outProfile->getSupportedDeviceForType(outputDeviceTypes); in AudioPolicyManager()
3279 if ((profileType & outputDeviceTypes) == 0) { in AudioPolicyManager()
3285 const DeviceVector &devicesForType = supportedDevices.getDevicesFromType(profileType); in AudioPolicyManager()
3289 outputDesc->mDevice = profileType; in AudioPolicyManager()
3344 audio_devices_t profileType = inProfile->getSupportedDeviceForType(inputDeviceTypes); in AudioPolicyManager() local
3346 if ((profileType & inputDeviceTypes) == 0) { in AudioPolicyManager()
3352 inputDesc->mDevice = profileType; in AudioPolicyManager()
[all …]
/frameworks/base/core/java/android/app/
DIApplicationThread.java122 void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) in profilerControl() argument
DApplicationThreadNative.java443 int profileType = data.readInt(); in onTransact() local
446 profilerControl(start, profilerInfo, profileType); in onTransact()
1234 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) in profilerControl() argument
1239 data.writeInt(profileType); in profilerControl()
DActivityThread.java964 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in profilerControl() argument
965 sendMessage(H.PROFILER_CONTROL, profilerInfo, start ? 1 : 0, profileType); in profilerControl()
4833 final void handleProfilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in handleProfilerControl() argument
4836 switch (profileType) { in handleProfilerControl()
4853 switch (profileType) { in handleProfilerControl()
DIActivityManager.java392 ProfilerInfo profilerInfo, int profileType) throws RemoteException; in profileControl() argument
DActivityManagerNative.java1738 int profileType = data.readInt(); in onTransact() local
1741 boolean res = profileControl(process, userId, start, profilerInfo, profileType); in onTransact()
5257 ProfilerInfo profilerInfo, int profileType) throws RemoteException in profileControl() argument
5265 data.writeInt(profileType); in profileControl()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java982 int profileType = 0;
1062 if (!mAm.profileControl(process, userId, start, profilerInfo, profileType)) {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java21453 private void stopProfilerLocked(ProcessRecord proc, int profileType) { in stopProfilerLocked() argument
21456 profileType = mProfileType; in stopProfilerLocked()
21463 proc.thread.profilerControl(false, null, profileType); in stopProfilerLocked()
21485 ProfilerInfo profilerInfo, int profileType) throws RemoteException { in profileControl() argument
21514 mProfileType = profileType; in profileControl()
21522 proc.thread.profilerControl(start, profilerInfo, profileType); in profileControl()
21526 stopProfilerLocked(proc, profileType); in profileControl()