/frameworks/base/media/java/android/media/ |
H A D | AudioPort.java | 79 AudioPort(AudioHandle handle, int role, String name, argument 84 mRole = role; 106 * Get the audio port role 108 public int role() { method in class:AudioPort 210 String role = Integer.toString(mRole); 213 role = "NONE"; 216 role = "SOURCE"; 219 role = "SINK"; 223 + ", mRole: " + role
|
H A D | AudioMixPort.java | 33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, argument 36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks,
|
H A D | AudioDeviceInfo.java | 157 return mPort.role() == AudioPort.ROLE_SOURCE; 164 return mPort.role() == AudioPort.ROLE_SINK;
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
H A D | WifiAwareNetworkSpecifier.java | 37 * TYPE: in band, specific peer: role, client_id, session_id, peer_id, pmk/passphrase optional 43 * TYPE: in band, any peer: role, client_id, session_id, pmk/passphrase optional 50 * TYPE: out-of-band: role, client_id, peer_mac, pmk/passphrase optional 56 * TYPE: out-of-band, any peer: role, client_id, pmk/passphrase optional 72 * The role of the device: WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR or 76 public final int role; field in class:WifiAwareNetworkSpecifier 119 public WifiAwareNetworkSpecifier(int type, int role, int clientId, int sessionId, int peerId, argument 122 this.role = role; 137 in.readInt(), // role [all...] |
H A D | DiscoverySession.java | 299 int role = this instanceof SubscribeDiscoverySession 303 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, null, null); 357 int role = this instanceof SubscribeDiscoverySession 361 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, null, 420 int role = this instanceof SubscribeDiscoverySession 424 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, pmk, null);
|
H A D | WifiAwareSession.java | 201 * @param role The role of this device: 216 @WifiAwareManager.DataPathRole int role, @Nullable byte[] peer) { 226 return mgr.createNetworkSpecifier(mClientId, role, peer, null, null); 240 * @param role The role of this device: 258 @WifiAwareManager.DataPathRole int role, @Nullable byte[] peer, 272 return mgr.createNetworkSpecifier(mClientId, role, peer, null, passphrase); 286 * @param role The role o 215 createNetworkSpecifierOpen( @ifiAwareManager.DataPathRole int role, @Nullable byte[] peer) argument 257 createNetworkSpecifierPassphrase( @ifiAwareManager.DataPathRole int role, @Nullable byte[] peer, @NonNull String passphrase) argument 308 createNetworkSpecifierPmk( @ifiAwareManager.DataPathRole int role, @Nullable byte[] peer, @NonNull byte[] pmk) argument [all...] |
H A D | WifiAwareManager.java | 148 * Connection creation role is that of INITIATOR. Used to create a network specifier string 159 * Connection creation role is that of RESPONDER. Used to create a network specifier string 424 public NetworkSpecifier createNetworkSpecifier(int clientId, int role, int sessionId, argument 427 Log.v(TAG, "createNetworkSpecifier: role=" + role + ", sessionId=" + sessionId 433 if (role != WIFI_AWARE_DATA_PATH_ROLE_INITIATOR 434 && role != WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { 436 "createNetworkSpecifier: Invalid 'role' argument when creating a network " 439 if (role == WIFI_AWARE_DATA_PATH_ROLE_INITIATOR) { 450 role, 460 createNetworkSpecifier(int clientId, @DataPathRole int role, @Nullable byte[] peer, @Nullable byte[] pmk, @Nullable String passphrase) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthAppConfiguration.java | 37 * Constructor to register the SINK role 55 * @param role {@link BluetoothHealth#SOURCE_ROLE} or 59 BluetoothHealthAppConfiguration(String name, int dataType, int role, int argument 63 mRole = role; 122 * Return the role associated with this application configuration. 149 int role = in.readInt(); 151 return new BluetoothHealthAppConfiguration(name, type, role,
|
H A D | BluetoothHealth.java | 38 * <p> How to connect to a health device which is acting in the source role. 140 * @param dataType The dataType of the Source role of Health Profile to which 157 * SOURCE role.This is an asynchronous call and so 163 * @param dataType The dataType of the Source role of Health Profile. 171 public boolean registerAppConfiguration(String name, int dataType, int role, argument 174 if (!isEnabled() || !checkAppParam(name, role, channelType, callback)) return result; 179 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); 556 private boolean checkAppParam(String name, int role, int channelType, argument 558 if (name == null || (role != SOURCE_ROLE && role ! [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPort.java | 68 * Power role: This USB port does not have a power role. 73 * Power role: This USB port can act as a source (provide power). 78 * Power role: This USB port can act as a sink (receive power). 83 * Power role: This USB port does not have a data role. 88 * Data role: This USB port can act as a host (access data services). 93 * Data role: This USB port can act as a device (offer data services). 99 * Points to the first power role in the IUsb HAL. 132 * Combines one power and one data role togethe 166 powerRoleToString(int role) argument 180 dataRoleToString(int role) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | IOProfile.h | 36 IOProfile(const String8 &name, audio_port_role_t role) argument 37 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role) {}
|
H A D | ConfigParsingUtils.h | 47 static status_t loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role);
|
H A D | AudioPort.h | 38 AudioPort(const String8& name, audio_port_type_t type, audio_port_role_t role) : argument 39 mName(name), mType(type), mRole(role), mFlags(AUDIO_OUTPUT_FLAG_NONE) {}
|
H A D | Serializer.h | 93 static const char role[]; member in struct:android::MixPortTraits::Attributes 117 static const char role[]; /**< <device role: sink or source>. */ member in struct:android::DevicePortTraits::Attributes 118 static const char roleSource[]; /**< <attribute role source value>. */
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.h | 42 status_t SetComponentRole(const sp<IOMXNode> &omxNode, const char *role);
|
H A D | OMXUtils.cpp | 185 status_t SetComponentRole(const sp<IOMXNode> &omxNode, const char *role) { argument 190 role, OMX_MAX_STRINGNAME_SIZE - 1);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | Serializer.cpp | 218 const char MixPortTraits::Attributes::role[] = "role"; member in class:android::MixPortTraits::Attributes 230 string role = getXmlAttribute(child, Attributes::role); local 231 if (role.empty()) { 232 ALOGE("%s: No %s found", __FUNCTION__, Attributes::role); 235 ALOGV("%s: Role=%s", __FUNCTION__, role.c_str()); 236 audio_port_role_t portRole = role == "source" ? AUDIO_PORT_ROLE_SOURCE : AUDIO_PORT_ROLE_SINK; 254 // Source role 258 // Sink role 275 const char DevicePortTraits::Attributes::role[] = "role"; member in class:android::DevicePortTraits::Attributes 294 string role = getXmlAttribute(root, Attributes::role); local [all...] |
H A D | ConfigParsingUtils.cpp | 151 audio_port_role_t role) 155 sp<IOProfile> profile = new IOProfile(String8(root->name), role); 171 if (role == AUDIO_PORT_ROLE_SINK) { 181 if (role == AUDIO_PORT_ROLE_SINK) { 210 role == AUDIO_PORT_ROLE_SINK ? "Input" : "Output"); 213 role == AUDIO_PORT_ROLE_SINK ? "Input" : "Output", 150 loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role) argument
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
H A D | WifiAwareManagerTest.java | 940 final int role = WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; 981 collector.checkThat("role", role, equalTo(ns.role)); 991 collector.checkThat("role", role, equalTo(ns.role)); 1002 collector.checkThat("role", role, equalTo(ns.role)); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | PanProfile.java | 159 void setLocalRole(BluetoothDevice device, int role) { argument 160 mDeviceRoleMap.put(device, role);
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
H A D | SoftVPXEncoder.h | 67 const char* role,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareDataPathStateManager.java | 425 if (nnri.networkSpecifier.role == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR 434 if (nnri.networkSpecifier.role == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER 445 nnri.state = (nnri.networkSpecifier.role 628 if (nnri.networkSpecifier.role 693 if (nnri.networkSpecifier.role == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR 698 if (nnri.networkSpecifier.role == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER 836 // role: always valid 837 if (ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR 838 && ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { 840 + " -- invalid 'role' valu [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 271 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { argument 274 mRole = role; 1086 int mask, role; 1093 role = BluetoothPan.LOCAL_PANU_ROLE; 1097 role = BluetoothPan.LOCAL_NAP_ROLE; 1110 ConnectPanReceiver receiver = getConnectPanReceiver(device, role, mask); 1123 if (role == BluetoothPan.LOCAL_PANU_ROLE) { 1191 int mask, role; 1198 role = BluetoothPan.LOCAL_PANU_ROLE; 1202 role 1414 getConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) argument [all...] |
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.h | 65 status_t setRole(const char *role);
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbPortManager.java | 68 // All non-trivial role combinations. 174 // Check whether the new role is actually supported. 177 + "role combination: portId=" + portId 213 logAndPrint(Log.ERROR, pw, "Found mismatch in supported USB role combinations " 214 + "while attempting to change role: " + portInfo 224 logAndPrint(Log.INFO, pw, "Setting USB port mode and role: portId=" + portId 253 newRole.role = newMode; 259 + ", newMode=" + UsbPort.modeToString(newRole.role), e); 263 // Change power and data role independently as needed. 267 newRole.role 457 notifyRoleSwitchStatus(String portName, PortRole role, int retval) argument [all...] |