Home
last modified time | relevance | path

Searched refs:role (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthAppConfiguration.java59 BluetoothHealthAppConfiguration(String name, int dataType, int role, int in BluetoothHealthAppConfiguration() argument
63 mRole = role; in BluetoothHealthAppConfiguration()
147 int role = in.readInt();
149 return new BluetoothHealthAppConfiguration(name, type, role,
DBluetoothHealth.java138 public boolean registerAppConfiguration(String name, int dataType, int role, in registerAppConfiguration() argument
141 if (!isEnabled() || !checkAppParam(name, role, channelType, callback)) return result; in registerAppConfiguration()
146 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); in registerAppConfiguration()
474 private boolean checkAppParam(String name, int role, int channelType, in checkAppParam() argument
476 if (name == null || (role != SOURCE_ROLE && role != SINK_ROLE) || in checkAppParam()
482 if (role == SOURCE_ROLE && channelType == CHANNEL_TYPE_ANY) return false; in checkAppParam()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java267 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { in ConnectPanReceiver() argument
270 mRole = role; in ConnectPanReceiver()
1091 int mask, role; in connectPanOrIncomingPanConnection() local
1098 role = BluetoothPan.LOCAL_PANU_ROLE; in connectPanOrIncomingPanConnection()
1102 role = BluetoothPan.LOCAL_NAP_ROLE; in connectPanOrIncomingPanConnection()
1115 ConnectPanReceiver receiver = getConnectPanReceiver(device, role, mask); in connectPanOrIncomingPanConnection()
1128 if (role == BluetoothPan.LOCAL_PANU_ROLE) { in connectPanOrIncomingPanConnection()
1196 int mask, role; in disconnectFromRemoteOrVerifyConnectNap() local
1203 role = BluetoothPan.LOCAL_PANU_ROLE; in disconnectFromRemoteOrVerifyConnectNap()
1207 role = BluetoothPan.LOCAL_NAP_ROLE; in disconnectFromRemoteOrVerifyConnectNap()
[all …]
/frameworks/base/core/java/android/server/
DBluetoothPanProfileHandler.java255 String iface, int state, int role) { in handlePanDeviceStateChange() argument
268 if (role == BluetoothPan.LOCAL_NAP_ROLE) { in handlePanDeviceStateChange()
290 panDevice = new BluetoothPanDevice(state, ifaceAddr, iface, role); in handlePanDeviceStateChange()
295 panDevice.mLocalRole = role; in handlePanDeviceStateChange()
303 intent.putExtra(BluetoothPan.EXTRA_LOCAL_ROLE, role); in handlePanDeviceStateChange()
DBluetoothHealthProfileHandler.java91 int role = registerApp.getRole();
94 if (role == BluetoothHealth.SINK_ROLE) {
96 registerApp.getDataType(), getStringRole(role), registerApp.getName());
99 registerApp.getDataType(), getStringRole(role), registerApp.getName(),
240 private String getStringRole(int role) { in getStringRole() argument
241 if (role == BluetoothHealth.SINK_ROLE) { in getStringRole()
243 } else if (role == BluetoothHealth.SOURCE_ROLE) { in getStringRole()
DBluetoothService.java2140 int role) { in handlePanDeviceStateChange() argument
2142 mBluetoothPanProfileHandler.handlePanDeviceStateChange(device, iface, state, role); in handlePanDeviceStateChange()
2147 int state, int role) { in handlePanDeviceStateChange() argument
2149 mBluetoothPanProfileHandler.handlePanDeviceStateChange(device, null, state, role); in handlePanDeviceStateChange()
2912 native String registerHealthApplicationNative(int dataType, String role, String name, in registerHealthApplicationNative() argument
2914 native String registerHealthApplicationNative(int dataType, String role, String name); in registerHealthApplicationNative() argument
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h64 status_t setRole(IOMX::node_id node, const char *role);
DOMXHarness.cpp209 status_t Harness::setRole(IOMX::node_id node, const char *role) { in setRole() argument
216 strncpy((char *)params.cRole, role, OMX_MAX_STRINGNAME_SIZE - 1); in setRole()
/frameworks/base/docs/html/guide/topics/manifest/
Dcategory-element.jd16 Intent Filters</a> for details on intent filters and the role of category
Daction-element.jd20 Intent Filters</a> for details on intent filters and the role of action
Dmanifest-intro.jd340 the filter doesn't play a role. But an intent that doesn't specify a target by
Duses-sdk-element.jd316 <p>The API Level identifier serves a key role in ensuring the best possible
Duses-feature-element.jd82 <code>&lt;uses-feature&gt;</code> element serves an important role in letting an
/frameworks/base/core/jni/
Dandroid_server_BluetoothService.cpp1298 jint dataType, jstring role, in registerHealthApplicationNative() argument
1305 const char *c_role = env->GetStringUTFChars(role, NULL); in registerHealthApplicationNative()
1335 env->ReleaseStringUTFChars(role, c_role); in registerHealthApplicationNative()
1361 jint dataType, jstring role, in registerSinkHealthApplicationNative() argument
1368 const char *c_role = env->GetStringUTFChars(role, NULL); in registerSinkHealthApplicationNative()
1397 env->ReleaseStringUTFChars(role, c_role); in registerSinkHealthApplicationNative()
/frameworks/native/include/media/openmax/
DOMX_Core.h1408 OMX_IN OMX_STRING role,
/frameworks/base/docs/html/training/cloudsync/
Daesync.jd78 connecting to C2DM. The server component in this lesson uses this <em>role
88 during the course of which you are prompted to enter the account credentials for the role
92 your <i>role account</i> (the one you created to access C2DM services), not an
/frameworks/av/media/libstagefright/
DACodec.cpp813 const char *role = in setComponentRole() local
817 if (role != NULL) { in setComponentRole()
822 role, OMX_MAX_STRINGNAME_SIZE - 1); in setComponentRole()
832 mComponentName.c_str(), role); in setComponentRole()
DOMXCodec.cpp1385 const char *role = in setComponentRole() local
1389 if (role != NULL) { in setComponentRole()
1394 role, OMX_MAX_STRINGNAME_SIZE - 1); in setComponentRole()
1403 ALOGW("Failed to set standard component role '%s'.", role); in setComponentRole()
/frameworks/base/docs/html/about/versions/
Dapi-levels.jd34 understand the API Level identifier and the role it plays in ensuring your
166 <p>The API Level identifier serves a key role in ensuring the best possible
Dandroid-2.3-highlights.jd119 <p>The Android system takes a more active role in managing apps that are keeping
/frameworks/base/docs/html/guide/components/
Dfundamentals.jd11 <li>Each component performs a different role in the overall application behavior, and each
105 as its own entity and plays a specific role&mdash;each one is a unique building block that
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd1030 <td>A role defined in HDP. A <em>source</em> is a health device that
1037 <td>A role defined in HDP. In HDP, a <em>sink</em> is the smart device that
/frameworks/base/docs/html/guide/google/gcm/
Dadv.jd47 …ice is awake. And that's where the <code>collapse_key</code> flag plays a role: if there is alread…
Dgcm.jd12 <li>Understand the role of the 3rd-party application server, and how to send messages and process r…
97 <li><strong>Components</strong> &mdash; The physical entities that play a role in
/frameworks/base/docs/html/guide/google/play/billing/
Dbilling_overview.jd48 handle any financial transactions; that role is provided by Google Play's in-app billing

12