Home
last modified time | relevance | path

Searched refs:parseInt (Results 1 – 25 of 36) sorted by relevance

12

/development/tools/bugreport/src/com/android/bugreport/util/
DUtils.java75 return Integer.parseInt(str); in getInt()
95 result.set(Calendar.YEAR, Integer.parseInt(matcher.group(startGroup + 0))); in parseCalendar()
97 result.set(Calendar.MONTH, Integer.parseInt(matcher.group(startGroup + 1))); in parseCalendar()
98 result.set(Calendar.DAY_OF_MONTH, Integer.parseInt(matcher.group(startGroup + 2))); in parseCalendar()
99 result.set(Calendar.HOUR_OF_DAY, Integer.parseInt(matcher.group(startGroup + 3))); in parseCalendar()
100 result.set(Calendar.MINUTE, Integer.parseInt(matcher.group(startGroup + 4))); in parseCalendar()
101 result.set(Calendar.SECOND, Integer.parseInt(matcher.group(startGroup + 5))); in parseCalendar()
103 result.set(Calendar.MILLISECOND, Integer.parseInt(matcher.group(startGroup + 6))); in parseCalendar()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java212 mEventCountInScript = Integer.parseInt(value); in readHeader()
286 int action = Integer.parseInt(args[2]); in handleEvent()
287 int code = Integer.parseInt(args[3]); in handleEvent()
288 int repeat = Integer.parseInt(args[4]); in handleEvent()
289 int metaState = Integer.parseInt(args[5]); in handleEvent()
290 int device = Integer.parseInt(args[6]); in handleEvent()
291 int scancode = Integer.parseInt(args[7]); in handleEvent()
310 int action = Integer.parseInt(args[2]); in handleEvent()
315 int metaState = Integer.parseInt(args[7]); in handleEvent()
318 int device = Integer.parseInt(args[10]); in handleEvent()
[all …]
DMonkeySourceNetwork.java144 x = Integer.parseInt(command.get(2)); in translateCommand()
145 y = Integer.parseInt(command.get(3)); in translateCommand()
187 dx = Integer.parseInt(command.get(1)); in translateCommand()
188 dy = Integer.parseInt(command.get(2)); in translateCommand()
246 keyCode = Integer.parseInt(keyName); in getKeyCode()
278 sleep = Integer.parseInt(sleepStr); in translateCommand()
344 x = Integer.parseInt(command.get(1)); in translateCommand()
345 y = Integer.parseInt(command.get(2)); in translateCommand()
DMonkeyGetFrameRateEvent.java127 mStartFrameNo = Integer.parseInt(getNumberOfFrames(output), 16); in injectEvent()
130 mEndFrameNo = Integer.parseInt(getNumberOfFrames(output), 16); in injectEvent()
DMonkeyGetAppFrameRateEvent.java140 sStartFrameNo = Integer.parseInt(output); in injectEvent()
143 sEndFrameNo = Integer.parseInt(output); in injectEvent()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/
DUtils.java46 public static int parseInt(String value, int defValue) { in parseInt() method in Utils
56 return Integer.parseInt(value, base); in parseIntWithBase()
/development/tools/bugreport/src/com/android/bugreport/logcat/
DLogcatParser.java76 ll.pid = Integer.parseInt(m.group(9)); in parse()
77 ll.tid = Integer.parseInt(m.group(10)); in parse()
/development/tools/bugreport/src/com/android/bugreport/stacks/
DThreadSnapshotParser.java134 result.sysTid = Integer.parseInt(beginUnmanagedThreadRe.group(2)); in parse()
161 result.sysTid = Integer.parseInt(sysTidAttrRe.group(1)); in parse()
181 frame.offset = Integer.parseInt(nativeRe.group(3)); in parse()
196 frame.offset0 = Integer.parseInt(kernelRe.group(3), 16); in parse()
197 frame.offset1 = Integer.parseInt(kernelRe.group(3), 16); in parse()
212 frame.sourceLine = Integer.parseInt(javaRe.group(5)); in parse()
259 lock.threadId = Integer.parseInt(waitingToLockHeldRe.group(4)); in parse()
DProcessSnapshotParser.java75 result.pid = Integer.parseInt(beginProcessRe.group(1)); in parse()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessor.java55 int sdkVersion = Integer.parseInt(Build.VERSION.SDK); // Cupcake style in getInstance()
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js477 let modId = parseInt(evt.target.getAttribute('data-mod-id'), 10);
495 let modId = parseInt(evt.target.getAttribute('data-mod-id'), 10);
496 let ownerId = parseInt(evt.target.getAttribute('data-owner-id'), 10);
501 let modId = parseInt(evt.target.getAttribute('data-mod-id'), 10);
502 let ownerId = parseInt(evt.target.getAttribute('data-owner-id'), 10);
/development/samples/VoiceRecognitionService/src/com/example/android/voicerecognitionservice/
DVoiceRecognitionService.java55 int resultTypeInt = Integer.parseInt(resultType); in onStartListening()
/development/samples/training/notify-user/src/com/example/android/pingme/
DMainActivity.java62 seconds = Integer.parseInt(input); in onPingClick()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java89 serverPortNum = Integer.parseInt(serverPort.getText().toString()); in onCreate()
95 proxyPortNum = Integer.parseInt(proxyPort.getText().toString()); in onCreate()
DToyVpnConnection.java317 builder.addAddress(fields[1], Integer.parseInt(fields[2])); in configure()
320 builder.addRoute(fields[1], Integer.parseInt(fields[2])); in configure()
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
DPolicySetupActivity.java263 passwordLength = Integer.parseInt(mPasswordLengthInputField.getText().toString()); in writePolicy()
269 Integer.parseInt(mPasswordMinUppercaseInputField.getText().toString()); in writePolicy()
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/
DCubeWallpaper2.java141 mLines[i].startPoint = Integer.parseInt(idx[0]); in readModel()
142 mLines[i].endPoint = Integer.parseInt(idx[1]); in readModel()
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/
DDumpActivity.java589 final int before = Utils.parseInt(mAcBeforeContext.getText().toString(), 0); in buildCommandLine()
590 final int after = Utils.parseInt(mAcAfterContext.getText().toString(), 0); in buildCommandLine()
591 final int head = Utils.parseInt(mAcHead.getText().toString(), 0); in buildCommandLine()
592 final int tail = Utils.parseInt(mAcTail.getText().toString(), 0); in buildCommandLine()
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherDataProvider.java127 final int index = Integer.parseInt(uri.getPathSegments().get(0)); in update()
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java31 final int sdkVersion = Integer.parseInt(Build.VERSION.SDK); in newInstance()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DContentFragment.java254 category = Integer.parseInt(tokenizer.nextToken()); in processDrop()
255 entryId = Integer.parseInt(tokenizer.nextToken()); in processDrop()
/development/tools/bugreport/src/com/android/bugreport/anr/
DAnrParser.java80 anr.pid = Integer.parseInt(pidRe.group(1)); in parse()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DFileProvider.java122 int cookie = Integer.parseInt(path.substring(1, off)); in openFile()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageResizer.java101 return processBitmap(Integer.parseInt(String.valueOf(data))); in processBitmap()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java225 map.put(parts[0].charAt(0), Integer.parseInt(parts[1])); in buildFrequencyMap()

12