Home
last modified time | relevance | path

Searched refs:device1 (Results 1 – 25 of 66) sorted by relevance

123

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBluetoothHeadsetTest.java33 private BluetoothDevice device1; field in ShadowBluetoothHeadsetTest
40 device1 = BluetoothAdapter.getDefaultAdapter().getRemoteDevice("00:11:22:33:AA:BB"); in setUp()
53 shadowOf(bluetoothHeadset).addConnectedDevice(device1); in getConnectedDevices_canBeSetUpWithAddConnectedDevice()
56 assertThat(bluetoothHeadset.getConnectedDevices()).containsExactly(device1, device2); in getConnectedDevices_canBeSetUpWithAddConnectedDevice()
61 shadowOf(bluetoothHeadset).addDevice(device1, BluetoothProfile.STATE_CONNECTING); in getConnectedDevices_doesNotReturnDevicesInNonConnectedStates()
69 shadowOf(bluetoothHeadset).addDevice(device1, BluetoothProfile.STATE_CONNECTING); in getConnectionState_returnsStoredConnectionState()
72 assertThat(bluetoothHeadset.getConnectionState(device1)) in getConnectionState_returnsStoredConnectionState()
80 shadowOf(bluetoothHeadset).addConnectedDevice(device1); in removeDevice_getConnectionStateReturnsDisconnected()
81 shadowOf(bluetoothHeadset).removeDevice(device1); in removeDevice_getConnectionStateReturnsDisconnected()
88 shadowOf(bluetoothHeadset).addConnectedDevice(device1); in removeDevice_getConnectedDevicesReturnsEmpty()
[all …]
/external/skia/tests/graphite/
DRecorderTest.cpp23 sk_sp<Device> device1 = Device::Make(recorder.get(), in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS() local
30 REPORTER_ASSERT(reporter, device1->recorder() == recorder.get()); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
31 REPORTER_ASSERT(reporter, recorder->deviceIsRegistered(device1.get())); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
33 Device* devPtr = device1.get(); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
34 device1.reset(); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
38 device1 = Device::Make(recorder.get(), in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
56 REPORTER_ASSERT(reporter, device1->recorder() == recorder.get()); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
59 REPORTER_ASSERT(reporter, recorder->deviceIsRegistered(device1.get())); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
66 REPORTER_ASSERT(reporter, recorder->deviceIsRegistered(device1.get())); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
72 REPORTER_ASSERT(reporter, device1->recorder() == nullptr); in DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS()
[all …]
/external/wpa_supplicant_8/src/ap/
Dvlan_ioctl.c25 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_rem()
39 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_rem()
71 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_add()
87 os_snprintf(if_request.device1, sizeof(if_request.device1), "vlan%d", in vlan_add()
102 if_request.device1); in vlan_add()
110 os_strlcpy(if_request.device1, if_name, sizeof(if_request.device1)); in vlan_add()
117 __func__, if_request.device1, strerror(errno)); in vlan_add()
/external/libbrillo/brillo/blkdev_utils/
Dloop_device_test.cc20 std::unique_ptr<LoopDevice> device1 = in TEST() local
26 EXPECT_TRUE(device1->IsValid()); in TEST()
40 EXPECT_EQ(device1->GetDevicePath(), device1_copy->GetDevicePath()); in TEST()
41 EXPECT_EQ(device1->GetBackingFilePath(), device1_copy->GetBackingFilePath()); in TEST()
51 EXPECT_TRUE(device1->Detach()); in TEST()
/external/tensorflow/tensorflow/python/debug/cli/
Dprofile_analyzer_cli_test.py94 device1 = run_metadata.step_stats.dev_stats.add()
95 device1.device = "deviceA"
96 device1.node_stats.extend([node1, node2])
124 device1 = run_metadata.step_stats.dev_stats.add()
125 device1.device = "deviceA"
126 device1.node_stats.extend([node1])
191 device1 = run_metadata.step_stats.dev_stats.add()
192 device1.device = "deviceA"
193 device1.node_stats.extend([node1, node2])
243 device1 = run_metadata.step_stats.dev_stats.add()
[all …]
/external/tensorflow/tensorflow/python/distribute/
Dpacked_distributed_variable_test.py75 device1 = device_util.canonicalize('/cpu:1')
79 with ops.device(device1):
90 packed_var, device1)
98 var1 = packed_distributed_variable.PackedVarAndDevice(packed_var, device1)
106 device1 = device_util.canonicalize('/cpu:1')
110 with ops.device(device1):
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dexecute_node_test.cc64 Device* device1 = remote_device_mgr->ListDevices().at(0); in TEST() local
68 CompositeDevice::MakeDevice({device0->name(), device1->name()}, in TEST()
101 /*op_id=*/1, /*output_num=*/0, dtype, device1, /*is_ready=*/true, ctx); in TEST()
103 /*op_id=*/2, /*output_num=*/1, dtype, device1, /*is_ready=*/true, ctx); in TEST()
/external/OpenCSD/decoder/tests/snapshots/a55-test-tpiu/
Dsnapshot.ini7 device1=device1.ini key
/external/OpenCSD/decoder/tests/snapshots/init-short-addr/
Dsnapshot.ini7 device1=device1.ini key
/external/OpenCSD/decoder/tests/snapshots/a57_single_step/
Dsnapshot.ini7 device1=device1.ini key
/external/tensorflow/tensorflow/python/data/kernel_tests/
Diterator_cluster_test.py63 def _testRemoteIteratorHelper(self, device0, device1, target): argument
64 with ops.device(device1):
85 elem = sess.run(remote_op, feed_dict={target_placeholder: device1})
92 elem = sess.run(remote_op, feed_dict={target_placeholder: device1})
95 sess.run(remote_op, feed_dict={target_placeholder: device1})
/external/OpenCSD/decoder/tests/snapshots/tc2-ptm-rstk-t32/
Dsnapshot.ini7 device1=device1.ini key
/external/OpenCSD/decoder/tests/snapshots/trace_cov_a15/
Dsnapshot.ini7 device1=device1.ini key
/external/tensorflow/tensorflow/python/profiler/
Dpprof_profiler_test.py71 device1 = run_metadata.step_stats.dev_stats.add()
72 device1.device = 'deviceA'
73 device1.node_stats.extend([node1])
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_build_helpers.cpp331 cl_device_id device1; in test_get_program_info() local
345 device1 = (cl_device_id)0xbaadfeed; in test_get_program_info()
346 error = clGetProgramInfo( program, CL_PROGRAM_DEVICES, sizeof( device1 ), &device1, NULL ); in test_get_program_info()
351 error = clGetDeviceInfo(device1, CL_DEVICE_VENDOR_ID, sizeof(device1_vid), &device1_vid, NULL ); in test_get_program_info()
/external/toybox/toys/other/
Dvconfig.c57 xstrncpy(request.device1, toys.optargs[1], sizeof(request.device1)); in vconfig_main()
/external/rust/crates/vulkano/src/sync/
Dfence.rs448 let (device1, _) = gfx_dev_and_queue!(); in multiwait_different_devices()
455 let fence1 = Fence::alloc_signaled(device1.clone()).unwrap(); in multiwait_different_devices()
470 let (device1, _) = gfx_dev_and_queue!(); in multireset_different_devices()
477 let mut fence1 = Fence::alloc_signaled(device1.clone()).unwrap(); in multireset_different_devices()
/external/OpenCSD/decoder/tests/snapshots-ete/ts_bit64_set/
Dsnapshot.ini6 device1=ETE_0_s1.ini key
/external/OpenCSD/decoder/tests/snapshots/test-file-mem-offsets/
Dsnapshot.ini6 device1=device_9.ini key
/external/OpenCSD/decoder/tests/snapshots-ete/tme_simple/
Dsnapshot.ini7 device1=ETE_0_s1.ini key
/external/OpenCSD/decoder/tests/snapshots-ete/tme_tcancel/
Dsnapshot.ini7 device1=ETE_0_s1.ini key
/external/OpenCSD/decoder/tests/snapshots-ete/ete_spec_3/
Dsnapshot.ini7 device1=ETE_0_s1.ini key
/external/OpenCSD/decoder/tests/snapshots-ete/001-ack_test/
Dsnapshot.ini7 device1=ETE_0_s1.ini key
/external/OpenCSD/decoder/tests/snapshots-ete/tme_test/
Dsnapshot.ini7 device1=ETE_0_s1.ini key
/external/OpenCSD/decoder/tests/snapshots-ete/event_test/
Dsnapshot.ini7 device1=ETE_0_s1.ini key

123