OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:companion
(Results
1 - 25
of
300
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/core/java/android/companion/
AssociationRequest.aidl
17
package android.
companion
;
BluetoothLEDeviceFilter.aidl
17
package android.
companion
;
ICompanionDeviceDiscoveryService.aidl
17
package android.
companion
;
19
import android.
companion
.AssociationRequest;
20
import android.
companion
.ICompanionDeviceDiscoveryServiceCallback;
21
import android.
companion
.IFindDeviceCallback;
ICompanionDeviceDiscoveryServiceCallback.aidl
17
package android.
companion
;
IFindDeviceCallback.aidl
17
package android.
companion
;
ICompanionDeviceManager.aidl
17
package android.
companion
;
20
import android.
companion
.IFindDeviceCallback;
21
import android.
companion
.AssociationRequest;
25
* Interface for communication with the core
companion
device manager service.
WifiDeviceFilter.java
17
package android.
companion
;
19
import static android.
companion
.BluetoothDeviceFilterUtils.getDeviceDisplayNameInternal;
20
import static android.
companion
.BluetoothDeviceFilterUtils.patternFromString;
21
import static android.
companion
.BluetoothDeviceFilterUtils.patternToString;
BluetoothDeviceFilter.java
17
package android.
companion
;
19
import static android.
companion
.BluetoothDeviceFilterUtils.getDeviceDisplayNameInternal;
20
import static android.
companion
.BluetoothDeviceFilterUtils.matchesAddress;
21
import static android.
companion
.BluetoothDeviceFilterUtils.matchesName;
22
import static android.
companion
.BluetoothDeviceFilterUtils.matchesServiceUuids;
23
import static android.
companion
.BluetoothDeviceFilterUtils.patternFromString;
24
import static android.
companion
.BluetoothDeviceFilterUtils.patternToString;
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/
CompanionDeviceTracker.java
18
package com.android.tradefed.targetprep.
companion
;
32
* A class for allocating and freeing
companion
devices
55
* Allocate a
companion
device based on selection criteria.
57
* @param device the primary device. used to identify the
companion
device
62
ITestDevice
companion
= getDeviceManager().allocateDevice(opt);
local
63
if (
companion
!= null) {
65
CLog.w("device %s already has an allocated
companion
%s",
66
device.getSerialNumber(), mDeviceMapping.get(
companion
).getSerialNumber());
68
CLog.i("allocated
companion
device %s for primary device %s",
69
companion
.getSerialNumber(), device.getSerialNumber())
85
ITestDevice
companion
= mDeviceMapping.remove(device);
local
[
all
...]
CompanionRunCommandTargetPreparer.java
18
package com.android.tradefed.targetprep.
companion
;
29
* A {@link ITargetPreparer} that runs specified commands on the allocated
companion
device
31
@OptionClass(alias = "
companion
-run-command")
37
// get
companion
device first
38
ITestDevice
companion
= CompanionDeviceTracker.getInstance().getCompanionDevice(device);
local
39
if (
companion
== null) {
40
throw new TargetSetupError(String.format("no
companion
device allocated for %s",
43
super.setUp(
companion
, buildInfo);
52
// get
companion
device first
53
ITestDevice
companion
= CompanionDeviceTracker.getInstance().getCompanionDevice(device)
local
[
all
...]
CompanionAwarePreparer.java
18
package com.android.tradefed.targetprep.
companion
;
26
* An {@link ITargetPreparer} that encapsulates the logic of getting an already allocated
companion
34
* Retrieves the {@link ITestDevice} instance of
companion
device allocated for the primary
37
* @return the {@link ITestDevice} instance of
companion
device allocated
38
* @throws TargetSetupError if no
companion
device has been allocated for the primary device
43
throw new TargetSetupError(String.format("no
companion
device allocated for %s",
/compatibility/cdd/3_software/
3_16_companion_device_pairing.md
1
## 3.16\.
Companion
Device Pairing
3
Android includes support for
companion
device pairing to more effectively manage
4
association with
companion
devices and provides the [`CompanionDeviceManager`
5
](https://developer.android.com/reference/android/
companion
/CompanionDeviceManager.html)
8
If device implementations support the
companion
device pairing feature, they:
13
* [C-1-2] MUST ensure the APIs in the [`android.
companion
`
14
](https://developer.android.com/reference/android/
companion
/package-summary.html)
16
* [C-1-3] MUST provide user affordances for the user to select/confirm a
companion
/tools/tradefederation/core/src/com/android/tradefed/util/clockwork/
ClockworkUtils.java
28
* Helper method to share multi-device setup that returns an ITestDevice for the
companion
and
33
* @return {@link ITestDevice}
companion
device
37
ITestDevice
companion
= null;
local
49
if (
companion
!= null) {
51
"there should be only one
companion
in the test");
53
companion
= entry.getKey();
58
+ "
companion
/watch device");
61
if (
companion
== null) {
62
throw new RuntimeException("no
companion
device found in the test");
64
return
companion
;
[
all
...]
/tools/tradefederation/core/src/com/android/tradefed/testtype/
CompanionAwareTest.java
20
import com.android.tradefed.targetprep.
companion
.CompanionAllocator;
21
import com.android.tradefed.targetprep.
companion
.CompanionDeviceTracker;
24
* Base test class that encapsulates boilerpate of getting and checking
companion
device
26
* Subclass may call {@link #getCompanion()} to retrieve the allocated
companion
. Must be used
34
* Fetches the
companion
device allocated for the primary device
35
* @return the allocated
companion
device
36
* @throws RuntimeException if no
companion
device has been allocated
42
throw new RuntimeException("no
companion
device allocated, "
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/pom/
DependencyVersionsMap.kt
26
companion
object {
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/type/
PackageName.kt
30
companion
object {
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/
FieldWithIndex.kt
27
companion
object {
Warning.kt
38
companion
object {
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/
MigrationDbKotlin.kt
43
companion
object {
50
companion
object {
58
companion
object {
68
companion
object {
125
companion
object {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
CompanionDeviceTestActivity.java
17
package com.android.cts.verifier.
companion
;
20
import android.
companion
.AssociationRequest;
21
import android.
companion
.BluetoothDeviceFilter;
22
import android.
companion
.CompanionDeviceManager;
/developers/build/prebuilts/gradle/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
OpenGLWatchFaceConfigActivity.java
22
import android.support.wearable.
companion
.WatchFaceCompanion;
/developers/samples/android/wearable/wear/WatchFace/Application/src/main/java/com/example/android/wearable/watchface/
OpenGLWatchFaceConfigActivity.java
22
import android.support.wearable.
companion
.WatchFaceCompanion;
/development/samples/browseable/WatchFace/Application/src/com.example.android.wearable.watchface/
AnalogAndCardBoundsWatchFaceConfigActivity.java
22
import android.support.wearable.
companion
.WatchFaceCompanion;
OpenGLWatchFaceConfigActivity.java
22
import android.support.wearable.
companion
.WatchFaceCompanion;
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/
EmailComposeActivity.kt
36
companion
object {
Completed in 3898 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>