OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mDevice1
(Results
1 - 2
of
2
) sorted by null
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/btservice/
RemoteDevicesTest.java
39
private BluetoothDevice
mDevice1
;
48
mDevice1
= BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_BT_ADDR_1);
54
mRemoteDevices.updateUuids(
mDevice1
);
67
Assert.assertNull(mRemoteDevices.getDeviceProperties(
mDevice1
));
70
mRemoteDevices.updateBatteryLevel(
mDevice1
, batteryLevel);
72
verifyBatteryLevelChangedIntent(
mDevice1
, batteryLevel, mIntentArgument);
76
Assert.assertNotNull(mRemoteDevices.getDeviceProperties(
mDevice1
));
78
mRemoteDevices.getDeviceProperties(
mDevice1
).getBatteryLevel(), batteryLevel);
81
mRemoteDevices.updateBatteryLevel(
mDevice1
, batteryLevel);
86
mRemoteDevices.updateBatteryLevel(
mDevice1
, batteryLevel)
[
all
...]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
TestInvocationMultiTest.java
60
private ITestDevice
mDevice1
;
95
mDevice1
= EasyMock.createMock(ITestDevice.class);
96
EasyMock.expect(
mDevice1
.getIDevice()).andStubReturn(new StubDevice("serial1"));
97
EasyMock.expect(
mDevice1
.getSerialNumber()).andStubReturn("serial1");
98
mDevice1
.clearLastConnectedWifiNetwork();
103
mDevice1
.setOptions(EasyMock.anyObject());
104
mDevice1
.setRecovery(EasyMock.anyObject());
116
mContext.addAllocatedDevice("device1",
mDevice1
);
161
mDevice1
,
174
mDevice1
,
[
all
...]
Completed in 270 milliseconds