/base/sensors/sensor/interfaces/plugin/test/ |
D | ExampleJsunit.test_ambientlight.js | 25 function callback2(data) { function 212 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2); 229 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2); 237 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2); 252 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2); 270 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2, {'interval': 100000000}); 278 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2); 293 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_AMBIENT_LIGHT, callback2, {'interval': 100000000});
|
D | ExampleJsunit.test_rotatingvector.js | 28 function callback2(data) { function 218 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2); 235 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2); 243 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2); 258 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2); 276 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2, {'interval': 100000000}); 284 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2); 299 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ROTATION_VECTOR, callback2, {'interval': 100000000});
|
D | ExampleJsunit.test_orientating.js | 27 function callback2(data) { function 216 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2); 233 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2); 241 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2); 256 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2); 274 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2, {'interval': 100000000}); 282 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2); 297 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ORIENTATION, callback2, {'interval': 100000000});
|
D | ExampleJsunit.test_gravity.js | 27 function callback2(data) { function 216 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2); 233 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2); 241 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2); 256 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2); 274 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2, {'interval': 100000000}); 282 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2); 297 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_GRAVITY, callback2, {'interval': 100000000});
|
D | ExampleJsunit.test_acc.js | 27 function callback2(data) { function 215 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2); 232 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2); 240 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2); 255 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2); 273 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2, {'interval': 100000000}); 281 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2); 296 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_ACCELEROMETER, callback2, {'interval': 100000000});
|
D | ExampleJsunit.test_magnetic.js | 27 function callback2(data) { function 216 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2); 233 sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2); 241 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2); 256 sensor.once(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2); 274 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2, {'interval': 100000000}); 282 sensor.off(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2); 297 … sensor.on(sensor.SensorType.SENSOR_TYPE_ID_MAGNETIC_FIELD, callback2, {'interval': 100000000});
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | resource_node_pool_test.cpp | 129 callback2; variable 140 …[&callback2](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &res… in __anon81956fe40202() 141 callback2.Call(action, resource); in __anon81956fe40202() 152 EXPECT_CALL(callback2, Call(MockResourceNodePoolListener::INSERT, _)).Times(2); 156 EXPECT_CALL(callback2, Call(MockResourceNodePoolListener::DELETE, _)).Times(2);
|
D | context_pool_test.cpp | 155 …n<void(MockContextPoolListener::Action action, const std::shared_ptr<Context> &context)> callback2; variable 165 … [&callback2](MockContextPoolListener::Action action, const std::shared_ptr<Context> &context) { in __anon14ca41bc0202() 166 callback2.Call(action, context); in __anon14ca41bc0202() 177 EXPECT_CALL(callback2, Call(MockContextPoolListener::INSERT, _)).Times(2); 181 EXPECT_CALL(callback2, Call(MockContextPoolListener::DELETE, _)).Times(2);
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_manager_test.cpp | 708 …sptr<PermActiveStatusChangeCallbackTest> callback2 = new (std::nothrow) PermActiveStatusChangeCall… variable 709 ASSERT_NE(nullptr, callback2); 717 …ASSERT_EQ(RET_SUCCESS, ActiveStatusCallbackManager::GetInstance().RemoveCallback(callback2->AsObje…
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | deviceauth_standard_test.cpp | 720 DeviceAuthCallback callback2; variable 721 ret = gm->regCallback(TEST_APP_ID, &callback2);
|
/base/sensors/sensor/interfaces/plugin/test/unittest/ |
D | ExampleJsunit.test.js | 25 function callback2() { function
|