Home
last modified time | relevance | path

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

12345678910>>...14

/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.java705 mResults.putInt("sessionId", mSessionId); in onAttached()
718 mResults.putInt("sessionId", mSessionId); in onAttachFailed()
741 mResults.putInt("sessionId", mSessionId); in onIdentityChanged()
781 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onPublishStarted()
794 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSubscribeStarted()
803 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSessionConfigUpdated()
810 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSessionConfigFailed()
817 mResults.putInt("discoverySessionId", mDiscoverySessionId); in onSessionTerminated()
824 mResults.putInt("discoverySessionId", mDiscoverySessionId); in createServiceDiscoveredBaseBundle()
825 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/robolectric/resources/src/test/java/org/robolectric/res/android/
DLoadedArscTest.java29 buf.putInt(0x01); // ResTable_package.id in testResTableStagedAliasType()
34 buf.putInt(0); // ResTable_package.typeStrings in testResTableStagedAliasType()
35 buf.putInt(0); // ResTable_package.lastPublicType in testResTableStagedAliasType()
36 buf.putInt(0); // ResTable_package.keyStrings in testResTableStagedAliasType()
37 buf.putInt(0); // ResTable_package.lastPublicKey in testResTableStagedAliasType()
38 buf.putInt(0); // ResTable_package.typeIdOffset in testResTableStagedAliasType()
47 buf.putInt(1); // ResTableStagedAliasHeader.count in testResTableStagedAliasType()
51 buf.putInt(stagedResId); // ResTableStagedAliasEntry.stagedResId in testResTableStagedAliasType()
52 buf.putInt(finalizedResId); // ResTableStagedAliasEntry.finalizedResId in testResTableStagedAliasType()
/external/turbine/javatests/com/google/turbine/zip/
DZipTest.java183 buf.putInt((int) ZipFile.LOCSIG); in zip64extension()
195 buf.putInt(crc); in zip64extension()
197 buf.putInt(value.length); in zip64extension()
199 buf.putInt(value.length); in zip64extension()
213 buf.putInt((int) ZipFile.CENSIG); in zip64extension()
227 buf.putInt(crc); in zip64extension()
229 buf.putInt(value.length); in zip64extension()
231 buf.putInt(value.length); in zip64extension()
243 buf.putInt(0); in zip64extension()
245 buf.putInt(localHeaderPosition); in zip64extension()
[all …]
/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/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/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DTestSessionBuilder.java136 buf.putInt(type); in build()
138 buf.putInt(sessionDataLength); in build()
141 buf.putInt(certificatesLength); in build()
143 buf.putInt(certificateLengths.get(i)); in build()
148 buf.putInt(ocspDatasLength); in build()
150 buf.putInt(ocspDataLengths.get(i)); in build()
156 buf.putInt(0); in build()
158 buf.putInt(tlsSctDataLength); in build()
/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 …]
/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/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsFramingTest.java39 buffer.putInt(-1); // write invalid length in parserFrameLengthNegativeFails()
57 buffer.putInt(AltsFraming.getFrameMessageTypeHeaderSize() - 1); // write invalid length in parserFrameLengthSmallerMessageTypeFails()
75 buffer.putInt(AltsFraming.getMaxDataLength() + 1); // write invalid length in parserFrameLengthTooLargeFails()
96 buffer.putInt(dataLength); // write invalid length in parserFrameLengthMaxOk()
97 buffer.putInt(6); // default message type in parserFrameLengthMaxOk()
116 buffer.putInt(dataLength); // write invalid length in parserFrameLengthZeroOk()
117 buffer.putInt(6); // default message type in parserFrameLengthZeroOk()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedMemoryTest.java33 fooBuf.putInt(1234); in mapReadWrite_shouldReflectWrites()
46 fooBuf.putInt(1234); in mapReadWrite_shouldReflectWritesAcrossMappings()
56 fooBuf.putInt(1234); in mapReadWrite_shouldPersistWritesAcrossUnmap()
85 fooBuf.putInt(1234); in create_shouldIgnoreDebugNameForIdentity()
86 barBuf.putInt(5678); in create_shouldIgnoreDebugNameForIdentity()
125 fooBuf.putInt(1234); in unmap_shouldTolerateDoubleUnmap()
136 fooBuf.putInt(1234); in writeToParcel_shouldNotCrash()
152 fooBuf.putInt(foo); in readFromParcel_shouldSupport()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowSharedMemoryTest.java32 fooBuf.putInt(1234); in mapReadWrite_shouldReflectWrites()
45 fooBuf.putInt(1234); in mapReadWrite_shouldReflectWritesAcrossMappings()
55 fooBuf.putInt(1234); in mapReadWrite_shouldPersistWritesAcrossUnmap()
84 fooBuf.putInt(1234); in create_shouldIgnoreDebugNameForIdentity()
85 barBuf.putInt(5678); in create_shouldIgnoreDebugNameForIdentity()
109 fooBuf.putInt(1234); in unmap_shouldTolerateDoubleUnmap()
120 fooBuf.putInt(1234); in writeToParcel_shouldNotCrash()
/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/namespace_test/NamespaceA/NamespaceB/
DStructInNestedNS.kt21 fun mutateA(a: Int) : ByteBuffer = bb.putInt(bb_pos + 0, a) in mutateA()
23 fun mutateB(b: Int) : ByteBuffer = bb.putInt(bb_pos + 4, b) in mutateA()
27 builder.putInt(b) in mutateA()
28 builder.putInt(a) in mutateA()
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()
/external/flatbuffers/tests/MyGame/Example/
DAbility.kt20 fun mutateId(id: UInt) : ByteBuffer = bb.putInt(bb_pos + 0, id.toInt()) in mutateId()
22 fun mutateDistance(distance: UInt) : ByteBuffer = bb.putInt(bb_pos + 4, distance.toInt()) in mutateId()
26 builder.putInt(distance.toInt()) in mutateId()
27 builder.putInt(id.toInt()) in mutateId()
DStructOfStructsOfStructs.kt26 builder.putInt(a_c_distance.toInt()) in a()
27 builder.putInt(a_c_id.toInt()) in a()
33 builder.putInt(a_a_distance.toInt()) in a()
34 builder.putInt(a_a_id.toInt()) in a()
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()
DStructOfStructs.kt29 builder.putInt(c_distance.toInt()) in a()
30 builder.putInt(c_id.toInt()) in a()
36 builder.putInt(a_distance.toInt()) in a()
37 builder.putInt(a_id.toInt()) in a()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DPsshAtomUtil.java58 psshBox.putInt(psshBoxLength); in buildPsshAtom()
59 psshBox.putInt(Atom.TYPE_pssh); in buildPsshAtom()
60 psshBox.putInt(keyIds != null ? 0x01000000 : 0 /* version=(buildV1Atom ? 1 : 0), flags=0 */); in buildPsshAtom()
64 psshBox.putInt(keyIds.length); in buildPsshAtom()
71 psshBox.putInt(data.length); in buildPsshAtom()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DPsshAtomUtil.java58 psshBox.putInt(psshBoxLength); in buildPsshAtom()
59 psshBox.putInt(Atom.TYPE_pssh); in buildPsshAtom()
60 psshBox.putInt(keyIds != null ? 0x01000000 : 0 /* version=(buildV1Atom ? 1 : 0), flags=0 */); in buildPsshAtom()
64 psshBox.putInt(keyIds.length); in buildPsshAtom()
71 psshBox.putInt(data.length); in buildPsshAtom()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/trackselection/
DTrackSelectionParameters.java1043 bundle.putInt(keyForField(FIELD_MAX_VIDEO_WIDTH), maxVideoWidth); in toBundle()
1044 bundle.putInt(keyForField(FIELD_MAX_VIDEO_HEIGHT), maxVideoHeight); in toBundle()
1045 bundle.putInt(keyForField(FIELD_MAX_VIDEO_FRAMERATE), maxVideoFrameRate); in toBundle()
1046 bundle.putInt(keyForField(FIELD_MAX_VIDEO_BITRATE), maxVideoBitrate); in toBundle()
1047 bundle.putInt(keyForField(FIELD_MIN_VIDEO_WIDTH), minVideoWidth); in toBundle()
1048 bundle.putInt(keyForField(FIELD_MIN_VIDEO_HEIGHT), minVideoHeight); in toBundle()
1049 bundle.putInt(keyForField(FIELD_MIN_VIDEO_FRAMERATE), minVideoFrameRate); in toBundle()
1050 bundle.putInt(keyForField(FIELD_MIN_VIDEO_BITRATE), minVideoBitrate); in toBundle()
1051 bundle.putInt(keyForField(FIELD_VIEWPORT_WIDTH), viewportWidth); in toBundle()
1052 bundle.putInt(keyForField(FIELD_VIEWPORT_HEIGHT), viewportHeight); in toBundle()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/trackselection/
DTrackSelectionParameters.java1136 bundle.putInt(keyForField(FIELD_MAX_VIDEO_WIDTH), maxVideoWidth); in toBundle()
1137 bundle.putInt(keyForField(FIELD_MAX_VIDEO_HEIGHT), maxVideoHeight); in toBundle()
1138 bundle.putInt(keyForField(FIELD_MAX_VIDEO_FRAMERATE), maxVideoFrameRate); in toBundle()
1139 bundle.putInt(keyForField(FIELD_MAX_VIDEO_BITRATE), maxVideoBitrate); in toBundle()
1140 bundle.putInt(keyForField(FIELD_MIN_VIDEO_WIDTH), minVideoWidth); in toBundle()
1141 bundle.putInt(keyForField(FIELD_MIN_VIDEO_HEIGHT), minVideoHeight); in toBundle()
1142 bundle.putInt(keyForField(FIELD_MIN_VIDEO_FRAMERATE), minVideoFrameRate); in toBundle()
1143 bundle.putInt(keyForField(FIELD_MIN_VIDEO_BITRATE), minVideoBitrate); in toBundle()
1144 bundle.putInt(keyForField(FIELD_VIEWPORT_WIDTH), viewportWidth); in toBundle()
1145 bundle.putInt(keyForField(FIELD_VIEWPORT_HEIGHT), viewportHeight); in toBundle()
[all …]

12345678910>>...14