Home
last modified time | relevance | path

Searched refs:getRole (Results 1 – 24 of 24) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h52 if (asAudioPort()->getRole() == AUDIO_PORT_ROLE_SOURCE && in setFlags()
78 asAudioPort()->getType(), asAudioPort()->getRole()); in checkCompatibleAudioProfile()
106 (asAudioPort()->getRole() == AUDIO_PORT_ROLE_SOURCE) && in isDirectOutput()
113 && (((asAudioPort()->getRole() == AUDIO_PORT_ROLE_SOURCE) && in isMmap()
115 || ((asAudioPort()->getRole() == AUDIO_PORT_ROLE_SINK) && in isMmap()
DIOProfile.h67 if (getRole() == AUDIO_PORT_ROLE_SINK && (flags & AUDIO_INPUT_FLAG_MMAP_NOIRQ) != 0) { in setFlags()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DIOProfile.cpp39 getType() == AUDIO_PORT_TYPE_MIX && getRole() == AUDIO_PORT_ROLE_SOURCE; in isCompatibleProfile()
41 getType() == AUDIO_PORT_TYPE_MIX && getRole() == AUDIO_PORT_ROLE_SINK; in isCompatibleProfile()
116 if (getRole() == AUDIO_PORT_ROLE_SINK) { in dump()
118 } else if (getRole() == AUDIO_PORT_ROLE_SOURCE) { in dump()
DHwModule.cpp79 switch (profile->getRole()) { in addProfile()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthAppConfiguration.java89 public int getRole() { in getRole() method in BluetoothHealthAppConfiguration
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DDefaultModeManager.java57 public @Role int getRole() { in getRole() method in DefaultModeManager
DActiveModeWarden.java257 if (manager.getRole() == role) return true; in hasAnyModeManagerInRole()
267 if (rolesList.contains(manager.getRole())) return true; in hasAnyModeManagerInOneOfRoles()
302 if (ActiveModeManager.CLIENT_ROLES.contains(manager.getRole())) { in areAllClientModeManagersInScanOnlyRole()
304 if (manager.getRole() != ActiveModeManager.ROLE_CLIENT_SCAN_ONLY) return false; in areAllClientModeManagersInScanOnlyRole()
359 || getRoleForSoftApIpMode(ipMode) == softApManager.getRole()) { in stopSoftApModeManagers()
DActiveModeManager.java116 @Role int getRole(); in getRole() method
DSarManager.java161 if (device.getRole() == AudioDeviceAttributes.ROLE_OUTPUT in isVoiceCallOnEarpiece()
DClientModeManager.java333 public @Role int getRole() { in getRole() method in ClientModeManager
DSoftApManager.java242 public @Role int getRole() { in getRole() method in SoftApManager
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java146 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_PRIMARY); in setUp()
148 when(mSoftApManager.getRole()).thenReturn(ROLE_SOFTAP_TETHERED); in setUp()
232 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_PRIMARY); in enterClientModeActiveState()
253 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in enterScanOnlyModeActiveState()
288 when(mSoftApManager.getRole()).thenReturn(softApRole); in enterSoftApActiveMode()
482 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in testScanOnlyModeScanHiddenNetworks()
967 when(mSoftApManager.getRole()).thenReturn(ROLE_SOFTAP_TETHERED); in testStopTetheringButNotLOHS()
978 when(lohsSoftapManager.getRole()).thenReturn(ROLE_SOFTAP_LOCAL_ONLY); in testStopTetheringButNotLOHS()
2001 verify(mClientModeManager, atLeastOnce()).getRole(); in testRestartWifiStackDoesNotExitECMMode()
DClientModeManagerTest.java1185 assertEquals(ActiveModeManager.ROLE_CLIENT_PRIMARY, mClientModeManager.getRole()); in clientInConnectModeChangeRoles()
/frameworks/base/lowpan/java/android/net/lowpan/
DILowpanInterface.aidl116 @utf8InCpp String getRole(); in getRole() method
DLowpanInterface.java496 public String getRole() { in getRole() method in LowpanInterface
498 return mBinder.getRole(); in getRole()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h44 audio_port_role_t getRole() const { return mRole; } in getRole() function
/frameworks/base/media/java/android/media/
DAudioDeviceAttributes.java126 public @Role int getRole() { in getRole() method in AudioDeviceAttributes
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp114 mRole == other->getRole() && in equals()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1792 if (device.getRole() == AudioDeviceAttributes.ROLE_INPUT) { in setPreferredDeviceForStrategy()
/frameworks/base/non-updatable-api/
Dsystem-current.txt4100 method public int getRole();
/frameworks/base/api/
Dsystem-current.txt4152 method public int getRole();
Dcurrent.txt8958 method @Deprecated public int getRole();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6458 method public int getRole();