/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiNanManagerFacade.java | 295 Bundle mResults = new Bundle(); in onConfigCompleted() local 296 mResults.putParcelable("configRequest", configRequest); in onConfigCompleted() 297 mEventFacade.postEvent("WifiNanOnConfigCompleted", mResults); in onConfigCompleted() 302 Bundle mResults = new Bundle(); in onConfigFailed() local 303 mResults.putParcelable("failedConfig", failedConfig); in onConfigFailed() 304 mResults.putInt("reason", reason); in onConfigFailed() 305 mEventFacade.postEvent("WifiNanOnConfigFailed", mResults); in onConfigFailed() 310 Bundle mResults = new Bundle(); in onNanDown() local 311 mResults.putInt("reason", reason); in onNanDown() 312 mEventFacade.postEvent("WifiNanOnNanDown", mResults); in onNanDown() [all …]
|
D | WifiScannerFacade.java | 90 private final Bundle mResults; field in WifiScannerFacade.WifiActionListener 98 this.mResults = resultBundle; in WifiActionListener() 105 mResults.putString("Type", "onSuccess"); in onSuccess() 106 mResults.putInt("Index", mIndex); in onSuccess() 107 mResults.putLong("ScanElapsedRealtime", startScanElapsedRealTime); in onSuccess() 108 mEventFacade.postEvent(mEventType + mIndex + "onSuccess", mResults.clone()); in onSuccess() 109 mResults.clear(); in onSuccess() 115 mResults.putString("Type", "onFailure"); in onFailure() 116 mResults.putInt("Index", mIndex); in onFailure() 117 mResults.putInt("Reason", reason); in onFailure() [all …]
|
D | WifiP2pManagerFacade.java | 218 private final Bundle mResults; field in WifiP2pManagerFacade.WifiP2pStateChangedReceiver 222 mResults = new Bundle(); in WifiP2pStateChangedReceiver() 252 mResults.putParcelable("P2pInfo", p2pInfo); in onReceive() 253 mResults.putParcelable("Group", group); in onReceive() 254 mEventFacade.postEvent(mEventType + "Connected", mResults); in onReceive() 255 mResults.clear(); in onReceive() 263 mResults.putParcelable("Device", device); in onReceive() 264 mEventFacade.postEvent(mEventType + "ThisDeviceChanged", mResults); in onReceive() 265 mResults.clear(); in onReceive()
|
D | WifiManagerFacade.java | 160 Bundle mResults = new Bundle(); in onReceive() local 162 mResults.putLong("Timestamp", System.currentTimeMillis() / 1000); in onReceive() 163 mEventFacade.postEvent(mEventType + "ScanResultsAvailable", mResults); in onReceive()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | GattServerFacade.java | 464 private final Bundle mResults; field in GattServerFacade.myBluetoothGattServerCallback 469 mResults = new Bundle(); in myBluetoothGattServerCallback() 477 mResults.putString("serviceUuid", service.getUuid().toString()); in onServiceAdded() 478 mResults.putInt("instanceId", service.getInstanceId()); in onServiceAdded() 479 mEventFacade.postEvent(mEventType + index + "onServiceAdded", mResults.clone()); in onServiceAdded() 480 mResults.clear(); in onServiceAdded() 487 mResults.putInt("requestId", requestId); in onCharacteristicReadRequest() 488 mResults.putInt("offset", offset); in onCharacteristicReadRequest() 489 mResults.putInt("instanceId", characteristic.getInstanceId()); in onCharacteristicReadRequest() 490 mResults.putInt("properties", characteristic.getProperties()); in onCharacteristicReadRequest() [all …]
|
D | GattClientFacade.java | 868 private final Bundle mResults; field in GattClientFacade.myBluetoothGattCallback 873 mResults = new Bundle(); in myBluetoothGattCallback() 895 mResults.putInt("Status", status); in onConnectionStateChange() 896 mResults.putInt("State", newState); in onConnectionStateChange() 898 .postEvent(mEventType + index + "onConnectionStateChange", mResults.clone()); in onConnectionStateChange() 899 mResults.clear(); in onConnectionStateChange() 907 mResults.putInt("ServicesIndex", idx); in onServicesDiscovered() 908 mResults.putInt("Status", status); in onServicesDiscovered() 913 .postEvent(mEventType + index + "onServicesDiscovered", mResults.clone()); in onServicesDiscovered() 914 mResults.clear(); in onServicesDiscovered() [all …]
|
D | BluetoothLeScanFacade.java | 819 private final Bundle mResults; field in BluetoothLeScanFacade.myScanCallback 824 mResults = new Bundle(); in myScanCallback() 841 mResults.putInt("ID", index); in onScanFailed() 842 mResults.putString("Type", "onScanFailed"); in onScanFailed() 843 mResults.putInt("ErrorCode", errorCode); in onScanFailed() 844 mResults.putString("Error", errorString); in onScanFailed() 846 mResults.clone()); in onScanFailed() 847 mResults.clear(); in onScanFailed() 853 mResults.putInt("ID", index); in onScanResult() 854 mResults.putInt("CallbackType", callbackType); in onScanResult() [all …]
|
D | BluetoothLeAdvertiseFacade.java | 542 private final Bundle mResults; field in BluetoothLeAdvertiseFacade.myAdvertiseCallback 548 mResults = new Bundle(); in myAdvertiseCallback() 555 mResults.putString("Type", "onSuccess"); in onStartSuccess() 556 mResults.putParcelable("SettingsInEffect", settingsInEffect); in onStartSuccess() 557 mEventFacade.postEvent(mEventType + index + "onSuccess", mResults.clone()); in onStartSuccess() 558 mResults.clear(); in onStartSuccess() 577 mResults.putString("Type", "onFailure"); in onStartFailure() 578 mResults.putInt("ErrorCode", errorCode); in onStartFailure() 579 mResults.putString("Error", errorString); in onStartFailure() 581 mResults.clone()); in onStartFailure() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowLocation.java | 40 private final float[] mResults = new float[2]; field in ShadowLocation 383 synchronized (mResults) { in distanceTo() 387 dest.getLatitude(), dest.getLongitude(), mResults); in distanceTo() 392 mDistance = mResults[0]; in distanceTo() 393 mInitialBearing = mResults[1]; in distanceTo() 411 synchronized (mResults) { in bearingTo() 416 dest.getLatitude(), dest.getLongitude(), mResults); in bearingTo() 421 mDistance = mResults[0]; in bearingTo() 422 mInitialBearing = mResults[1]; in bearingTo()
|