/development/tools/bugreport/src/com/android/bugreport/util/ |
D | Utils.java | 75 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/vndk/tools/sourcedr/blueprint/tests/ |
D | test_ast.py | 23 from blueprint import Bool, Concat, Dict, Expr, Integer, List, String, VarRef 105 expr = Integer(0) 110 expr = Integer(1) 115 expr = Integer(2) 124 expr_zero1 = Integer(0) 125 expr_zero2 = Integer(0) 126 expr_one1 = Integer(1) 127 expr_one2 = Integer(1) 139 expr_zero = Integer(0) 140 expr_one = Integer(1) [all …]
|
/development/tools/bugreport/src/com/android/bugreport/html/ |
D | Renderer.java | 142 makeProcessSnapshotHdf(processesHdf.createChild(Integer.toString(i)), in makeVmTracesHdf() 158 final HashMap<Integer,HashSet<Integer>> visited = new HashMap<Integer,HashSet<Integer>>(); in makeTriageHdf() 164 hdf.setValue("triage.pid", Integer.toString(anr.pid)); in makeTriageHdf() 173 HashSet<Integer> visitedThreads = new HashSet<Integer>(); in makeTriageHdf() 205 private ArrayList<ProcessSnapshot> cloneAndFilter(HashMap<Integer,HashSet<Integer>> visited, in cloneAndFilter() argument 210 HashSet<Integer> visitedThreads = visited.get(process.pid); in cloneAndFilter() 212 visitedThreads = new HashSet<Integer>(); in cloneAndFilter() 238 makeCpuUsageHdf(hdf.createChild(Integer.toString(i)), snapshot.cpuUsage.get(i)); in makeCpuUsageSnapshotHdf() 254 hdf.setValue("panelId", Integer.toString(mNextPanelId++)); in makeProcessSnapshotHdf() 256 hdf.setValue("pid", Integer.toString(process.pid)); in makeProcessSnapshotHdf() [all …]
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/ |
D | MainActivity.java | 120 private class RenderScriptTask extends AsyncTask<Float, Integer, Integer> { 123 protected Integer doInBackground(Float... values) { in doInBackground() 148 void updateView(Integer result) { in updateView() 156 protected void onPostExecute(Integer result) { in onPostExecute() 160 protected void onCancelled(Integer result) { in onCancelled()
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | CharacterSets.java | 119 private static final HashMap<Integer, String> MIBENUM_TO_NAME_MAP; 120 private static final HashMap<String, Integer> NAME_TO_MIBENUM_MAP; 124 MIBENUM_TO_NAME_MAP = new HashMap<Integer, String>(); 125 NAME_TO_MIBENUM_MAP = new HashMap<String, Integer>(); 166 Integer mibEnumValue = NAME_TO_MIBENUM_MAP.get(mimeName); in getMibEnumValue()
|
D | PduPart.java | 110 private Map<Integer, Object> mPartHeader = null; 128 mPartHeader = new HashMap<Integer, Object>(); in PduPart() 241 Integer charset = (Integer) mPartHeader.get(P_CHARSET); in getCharset()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceScript.java | 212 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 …]
|
D | MonkeySourceNetworkVars.java | 28 import java.lang.Integer; 81 … VAR_MAP.put("build.version.sdk", new StaticVarGetter(Integer.toString(Build.VERSION.SDK_INT))); 86 VAR_MAP.put("display.width", new StaticVarGetter(Integer.toString(display.getWidth()))); 87 VAR_MAP.put("display.height", new StaticVarGetter(Integer.toString(display.getHeight()))); 164 return Integer.toString(MonkeySourceNetwork.MONKEY_NETWORK_VERSION);
|
D | MonkeySourceNetwork.java | 33 import java.lang.Integer; 144 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()
|
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
D | RobotSpeakTtsService.java | 58 private Map<Character, Integer> mFrequenciesMap; 135 Map<Character, Integer> newFrequenciesMap = null; in onLoadLanguage() 215 private Map<Character, Integer> buildFrequencyMap(InputStream is) throws IOException { in buildFrequencyMap() 218 Map<Character, Integer> map = new HashMap<Character, Integer>(); in buildFrequencyMap() 225 map.put(parts[0].charAt(0), Integer.parseInt(parts[1])); in buildFrequencyMap()
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
D | SampleGridPagerAdapter.java | 74 LruCache<Integer, Drawable> mRowBackgrounds = new LruCache<Integer, Drawable>(3) { 76 protected Drawable create(final Integer row) { 184 class DrawableLoadingTask extends AsyncTask<Integer, Void, Drawable> { 193 protected Drawable doInBackground(Integer... params) { in doInBackground() 194 Log.d(TAG, "Loading asset 0x" + Integer.toHexString(params[0])); in doInBackground()
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | BackgroundPickers.java | 80 public Integer getRes(int position) { in getRes() 94 public Integer[] getRes() { in getRes() 99 Integer[] res = new Integer[mPickers.size()]; in getRes()
|
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
D | QuizListenerService.java | 69 private static final Map<Integer, Integer> questionNumToDrawableId; 72 Map<Integer, Integer> temp = new HashMap<Integer, Integer>(4); 155 int notificationId = Integer.parseInt(uri.getLastPathSegment()); in onDataChanged()
|
/development/samples/IntentPlayground/src/com/example/android/intentplayground/ |
D | ColorManager.java | 28 private static Map<String, Integer> mActivityColorMap = new HashMap<>(); 29 private static Map<Integer, Integer> mTaskColorMap = new HashMap<>();
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
D | MainActivity.java | 280 private class RenderScriptTask extends AsyncTask<Float, Integer, Integer> { 283 protected Integer doInBackground(Float... values) { in doInBackground() 295 void updateView(Integer result) { in updateView() 303 protected void onPostExecute(Integer result) { in onPostExecute() 307 protected void onCancelled(Integer result) { in onCancelled()
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | CalendarWatchFaceService.java | 84 private AsyncTask<Void, Void, Integer> mLoadMeetingsTask; 226 private void onMeetingsLoaded(Integer result) { in onMeetingsLoaded() 243 private class LoadMeetingsTask extends AsyncTask<Void, Void, Integer> { 247 protected Integer doInBackground(Void... voids) { in doInBackground() 268 protected void onPostExecute(Integer result) { in onPostExecute()
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | ProcessInfo.java | 38 public HashMap<Integer,ThreadInfo> threads = new HashMap<Integer,ThreadInfo>();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | List8.java | 82 private Integer[] mPhotoPool = { 87 private ArrayList<Integer> mPhotos = new ArrayList<Integer>();
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | EventScheduler.java | 217 long millisToWait = Integer.MAX_VALUE; in waitNextEvent() 233 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent() 234 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherDataProvider.java | 98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); in query() 127 final int index = Integer.parseInt(uri.getPathSegments().get(0)); in update()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | EventScheduler.java | 217 long millisToWait = Integer.MAX_VALUE; in waitNextEvent() 233 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent() 234 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 67 private Queue<Integer> mAvailableInputBuffers; 71 private Queue<Integer> mAvailableOutputBuffers; 86 mAvailableInputBuffers = new ArrayDeque<Integer>(mOutputBuffers.length); in MediaCodecWrapper() 87 mAvailableOutputBuffers = new ArrayDeque<Integer>(mInputBuffers.length); in MediaCodecWrapper()
|
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 67 private Queue<Integer> mAvailableInputBuffers; 71 private Queue<Integer> mAvailableOutputBuffers; 86 mAvailableInputBuffers = new ArrayDeque<Integer>(mOutputBuffers.length); in MediaCodecWrapper() 87 mAvailableOutputBuffers = new ArrayDeque<Integer>(mInputBuffers.length); in MediaCodecWrapper()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 67 private Queue<Integer> mAvailableInputBuffers; 71 private Queue<Integer> mAvailableOutputBuffers; 86 mAvailableInputBuffers = new ArrayDeque<Integer>(mOutputBuffers.length); in MediaCodecWrapper() 87 mAvailableOutputBuffers = new ArrayDeque<Integer>(mInputBuffers.length); in MediaCodecWrapper()
|
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
D | ThreadSnapshotParser.java | 134 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()
|