/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServReqClearRequestTestCase.java | 38 ActionListenerTest actionListener = new ActionListenerTest(); 55 mP2pMgr.addServiceRequest(mChannel, upnpReq1, actionListener); 56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 60 mP2pMgr.addServiceRequest(mChannel, upnpReq2, actionListener); 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 65 mP2pMgr.addServiceRequest(mChannel, bonjourReq1, actionListener); 66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 70 mP2pMgr.addServiceRequest(mChannel, bonjourReq2, actionListener); 71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 79 mP2pMgr.clearServiceRequests(mChannel, actionListener); [all...] |
ServReqRemoveRequestTestCase.java | 38 ActionListenerTest actionListener = new ActionListenerTest(); 55 mP2pMgr.addServiceRequest(mChannel, upnpReq1, actionListener); 56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 60 mP2pMgr.addServiceRequest(mChannel, upnpReq2, actionListener); 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 65 mP2pMgr.addServiceRequest(mChannel, bonjourReq1, actionListener); 66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 70 mP2pMgr.addServiceRequest(mChannel, bonjourReq2, actionListener); 71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 79 mP2pMgr.removeServiceRequest(mChannel, upnpReq1, actionListener); [all...] |
ServReqMultiClientTestCase03.java | 38 ActionListenerTest actionListener = new ActionListenerTest(); 46 mP2pMgr.addServiceRequest(mChannel, bonjourReq, actionListener); 47 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 56 mP2pMgr.removeServiceRequest(mSubChannel, bonjourReq, actionListener); 57 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 66 mP2pMgr.clearServiceRequests(mSubChannel, actionListener); 67 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 99 mP2pMgr.discoverServices(mChannel, actionListener); 100 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
|
ServReqMultiClientTestCase01.java | 39 ActionListenerTest actionListener = new ActionListenerTest(); 51 mP2pMgr.addServiceRequest(mChannel, upnpReq, actionListener); 52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 60 mP2pMgr.addServiceRequest(mSubChannel, bonjourReq, actionListener); 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 93 mP2pMgr.discoverServices(mChannel, actionListener); 94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
|
ServReqMultiClientTestCase02.java | 38 ActionListenerTest actionListener = new ActionListenerTest(); 51 mP2pMgr.addServiceRequest(mChannel, bonjourIppPtrReq, actionListener); 52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 60 mP2pMgr.addServiceRequest(mSubChannel, bonjourAfpTxtReq, actionListener); 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 93 mP2pMgr.discoverServices(mChannel, actionListener); 94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
|
P2pClientPbcTestCase.java | 51 ActionListenerTest actionListener = new ActionListenerTest(); 61 mP2pMgr.addServiceRequest(mChannel, upnpReq, actionListener); 62 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 86 mP2pMgr.discoverServices(mChannel, actionListener); 87 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
|
P2pClientPinTestCase.java | 51 ActionListenerTest actionListener = new ActionListenerTest(); 58 mP2pMgr.addServiceRequest(mSubChannel, bonjourReq, actionListener); 59 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 83 mP2pMgr.discoverServices(mChannel, actionListener); 84 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
|
ServReqTestCase.java | 56 ActionListenerTest actionListener = new ActionListenerTest(); 68 mP2pMgr.addServiceRequest(mChannel, req, actionListener); 69 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 84 mP2pMgr.discoverServices(mChannel, actionListener); 85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
|
ConnectReqTestCase.java | 93 ActionListenerTest actionListener = new ActionListenerTest(); 94 mP2pMgr.discoverPeers(mChannel, actionListener); 95 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 128 mP2pMgr.connect(mChannel, config, actionListener); 129 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 155 mP2pMgr.removeGroup(mChannel, actionListener); 156 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
|
/external/jmonkeyengine/engine/src/test/jme3test/input/ |
TestControls.java | 38 import com.jme3.input.controls.ActionListener; 45 private ActionListener actionListener = new ActionListener(){ 69 inputManager.addListener(actionListener, "My Action");
|
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/ |
HelloAnimation.java | 41 import com.jme3.input.controls.ActionListener; 102 inputManager.addListener(actionListener, "Walk"); 106 private ActionListener actionListener = new ActionListener() {
|
HelloAudio.java | 5 import com.jme3.input.controls.ActionListener; 64 inputManager.addListener(actionListener, "Shoot"); 68 private ActionListener actionListener = new ActionListener() {
|
HelloInput.java | 38 import com.jme3.input.controls.ActionListener;
78 inputManager.addListener(actionListener, new String[]{"Pause"});
83 private ActionListener actionListener = new ActionListener() {
|
HelloPhysics.java | 41 import com.jme3.input.controls.ActionListener;
118 inputManager.addListener(actionListener, "shoot");
125 private ActionListener actionListener = new ActionListener() {
|
/external/jmonkeyengine/engine/src/test/jme3test/terrain/ |
TerrainGridSerializationTest.java | 13 import com.jme3.input.controls.ActionListener; 111 this.inputManager.addListener(this.actionListener, "Lefts"); 112 this.inputManager.addListener(this.actionListener, "Rights"); 113 this.inputManager.addListener(this.actionListener, "Ups"); 114 this.inputManager.addListener(this.actionListener, "Downs"); 115 this.inputManager.addListener(this.actionListener, "Jumps"); 121 private final ActionListener actionListener = new ActionListener() {
|
TerrainGridTest.java | 13 import com.jme3.input.controls.ActionListener; 171 this.inputManager.addListener(this.actionListener, "Lefts"); 172 this.inputManager.addListener(this.actionListener, "Rights"); 173 this.inputManager.addListener(this.actionListener, "Ups"); 174 this.inputManager.addListener(this.actionListener, "Downs"); 175 this.inputManager.addListener(this.actionListener, "Jumps"); 181 private final ActionListener actionListener = new ActionListener() {
|
TerrainGridTileLoaderTest.java | 13 import com.jme3.input.controls.ActionListener; 168 this.inputManager.addListener(this.actionListener, "Lefts"); 169 this.inputManager.addListener(this.actionListener, "Rights"); 170 this.inputManager.addListener(this.actionListener, "Ups"); 171 this.inputManager.addListener(this.actionListener, "Downs"); 172 this.inputManager.addListener(this.actionListener, "Jumps"); 178 private final ActionListener actionListener = new ActionListener() {
|
TerrainTestCollision.java | 45 import com.jme3.input.controls.ActionListener; 208 inputManager.addListener(actionListener, "wireframe"); 215 inputManager.addListener(actionListener, "Lefts"); 216 inputManager.addListener(actionListener, "Rights"); 217 inputManager.addListener(actionListener, "Ups"); 218 inputManager.addListener(actionListener, "Downs"); 219 inputManager.addListener(actionListener, "Forwards"); 220 inputManager.addListener(actionListener, "Backs"); 222 inputManager.addListener(actionListener, "shoot"); 224 inputManager.addListener(actionListener, "cameraDown") [all...] |
TerrainTestAdvanced.java | 38 import com.jme3.input.controls.ActionListener; 214 inputManager.addListener(actionListener, "wireframe"); 216 inputManager.addListener(actionListener, "triPlanar"); 218 inputManager.addListener(actionListener, "WardIso"); 220 inputManager.addListener(actionListener, "Minnaert"); 222 private ActionListener actionListener = new ActionListener() {
|
TerrainGridAlphaMapTest.java | 13 import com.jme3.input.controls.ActionListener; 260 this.inputManager.addListener(this.actionListener, "Lefts"); 261 this.inputManager.addListener(this.actionListener, "Rights"); 262 this.inputManager.addListener(this.actionListener, "Ups"); 263 this.inputManager.addListener(this.actionListener, "Downs"); 264 this.inputManager.addListener(this.actionListener, "Jumps"); 270 private final ActionListener actionListener = new ActionListener() {
|
TerrainTest.java | 37 import com.jme3.input.controls.ActionListener; 187 inputManager.addListener(actionListener, "wireframe"); 189 inputManager.addListener(actionListener, "triPlanar"); 191 private ActionListener actionListener = new ActionListener() {
|
/external/jmonkeyengine/engine/src/core/com/jme3/app/ |
SimpleApplication.java | 39 import com.jme3.input.controls.ActionListener; 80 private AppActionListener actionListener = new AppActionListener(); 82 private class AppActionListener implements ActionListener { 206 inputManager.addListener(actionListener, INPUT_MAPPING_HIDE_STATS); 209 inputManager.addListener(actionListener, INPUT_MAPPING_EXIT);
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestBrickWall.java | 44 import com.jme3.input.controls.ActionListener;
104 inputManager.addListener(actionListener, "shoot");
106 inputManager.addListener(actionListener, "gc");
117 private ActionListener actionListener = new ActionListener() {
|
PhysicsTestHelper.java | 15 import com.jme3.input.controls.ActionListener; 178 ActionListener actionListener = new ActionListener() { 203 app.getInputManager().addListener(actionListener, "shoot");
|
TestBrickTower.java | 48 import com.jme3.input.controls.ActionListener; 114 inputManager.addListener(actionListener, "shoot"); 128 private ActionListener actionListener = new ActionListener() {
|