Home
last modified time | relevance | path

Searched refs:putInt (Results 1 – 25 of 118) sorted by relevance

12345

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiRttManagerFacade.java80 rttResult.putInt("txRate", result.txRate); in packRttResult()
81 rttResult.putInt("rxRate", result.rxRate); in packRttResult()
82 rttResult.putInt("distance", result.distance); in packRttResult()
83 rttResult.putInt("distanceStandardDeviation", in packRttResult()
85 rttResult.putInt("distanceSpread", result.distanceSpread); in packRttResult()
86 rttResult.putInt("burstDuration", result.burstDuration); in packRttResult()
92 rttResult.putInt("rssi", result.rssi); in packRttResult()
93 rttResult.putInt("rssiSpread", result.rssiSpread); in packRttResult()
94 rttResult.putInt("retryAfterDuration", result.retryAfterDuration); in packRttResult()
95 rttResult.putInt("measurementType", result.measurementType); in packRttResult()
[all …]
DWifiAwareManagerFacade.java675 mResults.putInt("sessionId", mSessionId); in onAttached()
688 mResults.putInt("sessionId", mSessionId); in onAttachFailed()
711 mResults.putInt("sessionId", mSessionId); in onIdentityChanged()
751 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onPublishStarted()
764 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSubscribeStarted()
773 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSessionConfigUpdated()
780 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSessionConfigFailed()
787 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSessionTerminated()
794 mResults.putInt("discoverySessionId", mDiscoverySessionId); in createServiceDiscoveredBaseBundle()
795 mResults.putInt("peerId", peerHandle.peerId); in createServiceDiscoveredBaseBundle()
[all …]
DWifiRtt2ManagerFacade.java176 msg.putInt("status", status); in onRangingFailure()
195 bundle.putInt("status", result.getStatus()); in packRttResult()
197 bundle.putInt("distanceMm", result.getDistanceMm()); in packRttResult()
198 bundle.putInt("distanceStdDevMm", result.getDistanceStdDevMm()); in packRttResult()
199 bundle.putInt("rssi", result.getRssi()); in packRttResult()
200 bundle.putInt("numAttemptedMeasurements", result.getNumAttemptedMeasurements()); in packRttResult()
201 bundle.putInt("numSuccessfulMeasurements", result.getNumSuccessfulMeasurements()); in packRttResult()
207 bundle.putInt("peerId", result.getPeerHandle().peerId); in packRttResult()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
DGenericMediaHeaderTextAtom.java35 byteBuffer.putInt(unknown_1); in getContent()
36 byteBuffer.putInt(unknown_2); in getContent()
37 byteBuffer.putInt(unknown_3); in getContent()
38 byteBuffer.putInt(unknown_4); in getContent()
39 byteBuffer.putInt(unknown_5); in getContent()
40 byteBuffer.putInt(unknown_6); in getContent()
41 byteBuffer.putInt(unknown_7); in getContent()
42 byteBuffer.putInt(unknown_8); in getContent()
43 byteBuffer.putInt(unknown_9); in getContent()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattServerFacade.java946 mResults.putInt("instanceId", service.getInstanceId()); in onServiceAdded()
955 mResults.putInt("requestId", requestId); in onCharacteristicReadRequest()
956 mResults.putInt("offset", offset); in onCharacteristicReadRequest()
957 mResults.putInt("instanceId", characteristic.getInstanceId()); in onCharacteristicReadRequest()
958 mResults.putInt("properties", characteristic.getProperties()); in onCharacteristicReadRequest()
960 mResults.putInt("permissions", characteristic.getPermissions()); in onCharacteristicReadRequest()
971 mResults.putInt("requestId", requestId); in onCharacteristicWriteRequest()
972 mResults.putInt("offset", offset); in onCharacteristicWriteRequest()
977 mResults.putInt("instanceId", characteristic.getInstanceId()); in onCharacteristicWriteRequest()
978 mResults.putInt("properties", characteristic.getProperties()); in onCharacteristicWriteRequest()
[all …]
DGattClientFacade.java2062 mResults.putInt("Status", status); in onConnectionStateChange()
2063 mResults.putInt("State", newState); in onConnectionStateChange()
2072 mResults.putInt("TxPhy", txPhy); in onPhyRead()
2073 mResults.putInt("RxPhy", rxPhy); in onPhyRead()
2074 mResults.putInt("Status", status); in onPhyRead()
2082 mResults.putInt("TxPhy", txPhy); in onPhyUpdate()
2083 mResults.putInt("RxPhy", rxPhy); in onPhyUpdate()
2084 mResults.putInt("Status", status); in onPhyUpdate()
2094 mResults.putInt("ServicesIndex", idx); in onServicesDiscovered()
2095 mResults.putInt("Status", status); in onServicesDiscovered()
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DTestSessionBuilder.java132 buf.putInt(type); in build()
134 buf.putInt(sessionDataLength); in build()
137 buf.putInt(certificatesLength); in build()
139 buf.putInt(certificateLengths.get(i)); in build()
144 buf.putInt(ocspDatasLength); in build()
146 buf.putInt(ocspDataLengths.get(i)); in build()
152 buf.putInt(0); in build()
154 buf.putInt(tlsSctDataLength); in build()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DCompositionShiftLeastGreatestAtom.java54 byteBuffer.putInt(compositionOffsetToDisplayOffsetShift); in getContent()
55 byteBuffer.putInt(leastDisplayOffset); in getContent()
56 byteBuffer.putInt(greatestDisplayOffset); in getContent()
57 byteBuffer.putInt(displayStartTime); in getContent()
58 byteBuffer.putInt(displayEndTime); in getContent()
DMovieHeaderBox.java188 byteBuffer.putInt(previewTime); in getContent()
189 byteBuffer.putInt(previewDuration); in getContent()
190 byteBuffer.putInt(posterTime); in getContent()
191 byteBuffer.putInt(selectionTime); in getContent()
192 byteBuffer.putInt(selectionDuration); in getContent()
193 byteBuffer.putInt(currentTime); in getContent()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DBatteryManagerFacade.java94 data.putInt("status", mBatteryStatus); in onReceive()
95 data.putInt("health", mBatteryHealth); in onReceive()
96 data.putInt("plugged", mPlugType); in onReceive()
100 data.putInt("level", mBatteryLevel); in onReceive()
102 data.putInt("level", (int) (mBatteryLevel * 100.0 / mBatteryMaxLevel)); in onReceive()
104 data.putInt("voltage", mBatteryVoltage); in onReceive()
105 data.putInt("temperature", mBatteryTemperature); in onReceive()
/external/flatbuffers/tests/MyGame/Example/
DAbility.java16 public void mutateId(long id) { bb.putInt(bb_pos + 0, (int)id); } in mutateId()
18 public void mutateDistance(long distance) { bb.putInt(bb_pos + 4, (int)distance); } in mutateDistance()
22 builder.putInt((int)distance); in createAbility()
23 builder.putInt((int)id); in createAbility()
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.java16 public void mutateA(int a) { bb.putInt(bb_pos + 0, a); } in mutateA()
18 public void mutateB(int b) { bb.putInt(bb_pos + 4, b); } in mutateB()
22 builder.putInt(b); in createStructInNestedNS()
23 builder.putInt(a); in createStructInNestedNS()
DStructInNestedNS.php48 $builder->putInt($b);
49 $builder->putInt($a);
/external/annotation-tools/asmx/src/org/objectweb/asm/
DMethodWriter.java1060 code.putInt(min).putInt(max); in visitTableSwitchInsn()
1091 code.putInt(labels.length); in visitLookupSwitchInsn()
1093 code.putInt(keys[i]); in visitLookupSwitchInsn()
1525 out.putShort(cw.newUTF8("Code")).putInt(size); in put()
1527 out.putInt(code.length).putByteArray(code.data, 0, code.length); in put()
1561 out.putInt(localVar.length + 2).putShort(localVarCount); in put()
1566 out.putInt(localVarType.length + 2).putShort(localVarTypeCount); in put()
1571 out.putInt(lineNumber.length + 2).putShort(lineNumberCount); in put()
1588 .putInt(2 * exceptionCount + 2); in put()
1597 out.putShort(cw.newUTF8("Synthetic")).putInt(0); in put()
[all …]
DClassWriter.java854 out.putInt(0xCAFEBABE).putInt(version); in toByteArray()
876 out.putInt(bootstrapMethods.length + 2).putShort( in toByteArray()
881 out.putShort(newUTF8("Signature")).putInt(2).putShort(signature); in toByteArray()
884 out.putShort(newUTF8("SourceFile")).putInt(2).putShort(sourceFile); in toByteArray()
888 out.putShort(newUTF8("SourceDebugExtension")).putInt(len); in toByteArray()
892 out.putShort(newUTF8("EnclosingMethod")).putInt(4); in toByteArray()
896 out.putShort(newUTF8("Deprecated")).putInt(0); in toByteArray()
901 out.putShort(newUTF8("Synthetic")).putInt(0); in toByteArray()
905 out.putShort(newUTF8("Annotation")).putInt(0); in toByteArray()
908 out.putShort(newUTF8("Enum")).putInt(0); in toByteArray()
[all …]
DFieldWriter.java291 out.putInt(2).putShort(value); in put()
296 out.putShort(cw.newUTF8("Synthetic")).putInt(0); in put()
299 out.putShort(cw.newUTF8("Deprecated")).putInt(0); in put()
302 out.putShort(cw.newUTF8("Enum")).putInt(0); in put()
306 out.putInt(2).putShort(signature); in put()
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
DCoreImpl.java109 buffer.putInt(HANDLE_SIZE * index, getMojoHandle(handle.first)); in waitMany()
110 buffer.putInt( in waitMany()
157 optionsBuffer.putInt(0, 8); in createMessagePipe()
158 optionsBuffer.putInt(4, options.getFlags().getFlags()); in createMessagePipe()
177 optionsBuffer.putInt(0, 16); in createDataPipe()
178 optionsBuffer.putInt(4, options.getFlags().getFlags()); in createDataPipe()
179 optionsBuffer.putInt(8, options.getElementNumBytes()); in createDataPipe()
180 optionsBuffer.putInt(12, options.getCapacityNumBytes()); in createDataPipe()
200 optionsBuffer.putInt(0, 8); in createSharedBuffer()
201 optionsBuffer.putInt(4, options.getFlags().getFlags()); in createSharedBuffer()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowVectorDrawable.java102 propertiesBB.putInt(STROKE_COLOR_INDEX * 4, path.strokeColor); in nGetFullPathProperties()
104 propertiesBB.putInt(FILL_COLOR_INDEX * 4, path.fillColor); in nGetFullPathProperties()
109 propertiesBB.putInt(STROKE_LINE_CAP_INDEX * 4, path.strokeLineCap); in nGetFullPathProperties()
110 propertiesBB.putInt(STROKE_LINE_JOIN_INDEX * 4, path.strokeLineJoin); in nGetFullPathProperties()
112 propertiesBB.putInt(FILL_TYPE_INDEX * 4, path.fillType); in nGetFullPathProperties()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DSettingsTest.java30 Settings.System.putInt(contentResolver, "property", 1); in whileApplicationStaysSame_shouldRememberOldSettings()
40 Settings.System.putInt(contentResolver, "property", 1); in whenApplicationChanges_shouldStartWithNewSettings()
54 Settings.System.putInt(contentResolver, "property", 1); in testSystemGetInt()
63 Settings.Secure.putInt(contentResolver, "property", 1); in testSecureGetInt()
DBundleTest.java37 bundle.putInt("foo", 5); in testInt()
46 bundle.putInt("foo", 5); in testSize()
48 bundle.putInt("bar", 5); in testSize()
225 bundle.putInt("foo", 1); in testGetOfWrongType()
286 innerBundle.putInt("int", 7); in testBundle()
359 innerBundle.putInt("value", 1); in testParcelableArray()
369 bundle.putInt("value", 1); in testCopyConstructor()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSettings.java25 public static boolean putInt(ContentResolver cr, String name, int value) { in putInt() method in ShadowSettings.SettingsImpl
140 …Settings.System.putInt(Robolectric.application.getContentResolver(), Settings.System.AIRPLANE_MODE… in setAirplaneMode()
149 …Settings.Secure.putInt(Robolectric.application.getContentResolver(), Settings.Secure.WIFI_ON, isOn… in setWifiOn()
158 …Settings.System.putInt(Robolectric.application.getContentResolver(), Settings.System.TIME_12_24, u… in set24HourTimeFormat()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBundleTest.java25 bundle.putInt("foo", 5); in getInt()
34 bundle.putInt("foo", 5); in size()
36 bundle.putInt("bar", 5); in size()
96 bundle.putInt("foo", 1); in getWrongType()
218 innerBundle.putInt("value", 1); in parcelableArray()
DShadowSettingsTest.java30 Settings.System.putInt(contentResolver, "property", 1); in testSystemGetInt()
42 Settings.Secure.putInt(contentResolver, "property", 1); in testSecureGetInt()
55 Settings.Global.putInt(contentResolver, "property", 1); in testGlobalGetInt()
69 Settings.System.putInt(contentResolver, "property", 123); in testSystemGetString()
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java280 public void putInt (int x) { bb.putInt (space -= Constants.SIZEOF_INT, x); } in putInt() method in FlatBufferBuilder
333 public void addInt (int x) { prep(Constants.SIZEOF_INT, 0); putInt (x); } in addInt()
365 putInt(off); in addOffset()
430 putInt(vector_num_elems); in endVector()
784 bb.putInt(space, existing_vtable - vtableloc); in endObject()
791 bb.putInt(bb.capacity() - vtableloc, offset() - vtableloc); in endObject()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java63 expected.putInt(65536); in testCorrectMessageParsing()
78 expected.putInt(-40); in testCorrectMessageParsing()
108 expected.putInt(14); in testCorrectMessageParsing()

12345