/development/tools/bugreport/src/com/android/bugreport/stacks/ |
D | ProcessSnapshotParser.java | 21 import com.android.bugreport.util.Utils; 74 if (Utils.matches(beginProcessRe, text)) { in parse() 77 } else if (Utils.matches(beginUnmanagedThreadRe, text)) { in parse() 81 } else if (Utils.matches(beginManagedThreadRe, text)) { in parse() 85 } else if (Utils.matches(beginNotAttachedThreadRe, text)) { in parse() 89 } else if (Utils.matches(endProcessRe, text)) { in parse() 91 } else if (Utils.matches(cmdLineRe, text)) { in parse() 105 if (Utils.matches(beginUnmanagedThreadRe, text) in parse() 106 || Utils.matches(beginManagedThreadRe, text) in parse() 107 || Utils.matches(beginNotAttachedThreadRe, text)) { in parse() [all …]
|
D | ThreadSnapshotParser.java | 21 import com.android.bugreport.util.Utils; 129 if (Utils.matches(beginUnmanagedThreadRe, line.text)) { in parse() 135 } else if (Utils.matches(beginManagedThreadRe, line.text)) { in parse() 139 result.priority = Utils.getInt(beginManagedThreadRe, 3, -1); in parse() 140 result.tid = Utils.getInt(beginManagedThreadRe, 4, -1); in parse() 142 } else if (Utils.matches(beginNotAttachedThreadRe, line.text)) { in parse() 146 result.priority = Utils.getInt(beginNotAttachedThreadRe, 3, -1); in parse() 155 if (Utils.matches(heldMutexesRe, text)) { in parse() 158 } else if (Utils.matches(attrRe, text)) { in parse() 160 if (Utils.matches(sysTidAttrRe, text)) { in parse() [all …]
|
D | VmTracesParser.java | 21 import com.android.bugreport.util.Utils; 59 if (Utils.matches(mBeginProcessRe, text)) { in parse() 69 if (Utils.matches(mBeginProcessRe, text)) { in parse()
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | MetadataParser.java | 21 import com.android.bugreport.util.Utils; 34 "== dumpstate: " + Utils.DATE_TIME_PATTERN); 67 if ((m = Utils.match(mDumpstateLineRe, text)) != null) { in parseHeader() 68 mBugreport.startTime = Utils.parseCalendar(m, 1, false); in parseHeader() 69 } else if ((m = Utils.match(mHeaderLineRe, text)) != null) { in parseHeader()
|
D | BugreportParser.java | 21 import com.android.bugreport.util.Utils; 104 if (Utils.matches(mSectionBegin, line.text)) { in parse() 116 if ((m = Utils.match(mSectionEnd, line.text)) != null) { in parse() 136 } else if (((m = Utils.match(mSectionBegin, line.text)) != null) in parse() 137 || ((m = Utils.match(mSectionBeginNoCmd, line.text)) != null)) { in parse()
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/service/ |
D | RespondService.java | 23 import com.example.android.smssample.Utils; 39 if (Utils.hasJellyBeanMR2() && Utils.isDefaultSmsApp(this) && in onHandleIntent()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
D | Utils.java | 29 public class Utils { class 32 private Utils() {} in Utils() method in Utils 41 if (Utils.hasGingerbread()) { in enableStrictMode() 56 if (Utils.hasHoneycomb()) { in enableStrictMode()
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/ |
D | ActivityA.java | 26 import com.example.android.lifecycle.util.Utils; 46 Utils.printStatus(mStatusView, mStatusAllView); in onCreate() 53 Utils.printStatus(mStatusView, mStatusAllView); in onStart() 60 Utils.printStatus(mStatusView, mStatusAllView); in onRestart() 67 Utils.printStatus(mStatusView, mStatusAllView); in onResume() 74 Utils.printStatus(mStatusView, mStatusAllView); in onPause()
|
D | ActivityC.java | 26 import com.example.android.lifecycle.util.Utils; 46 Utils.printStatus(mStatusView, mStatusAllView); in onCreate() 53 Utils.printStatus(mStatusView, mStatusAllView); in onStart() 60 Utils.printStatus(mStatusView, mStatusAllView); in onRestart() 67 Utils.printStatus(mStatusView, mStatusAllView); in onResume() 74 Utils.printStatus(mStatusView, mStatusAllView); in onPause()
|
D | ActivityB.java | 26 import com.example.android.lifecycle.util.Utils; 46 Utils.printStatus(mStatusView, mStatusAllView); in onCreate() 53 Utils.printStatus(mStatusView, mStatusAllView); in onStart() 60 Utils.printStatus(mStatusView, mStatusAllView); in onRestart() 67 Utils.printStatus(mStatusView, mStatusAllView); in onResume() 74 Utils.printStatus(mStatusView, mStatusAllView); in onPause()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | Utils.java | 30 public class Utils { class 31 private Utils() {}; in Utils() method in Utils 36 if (Utils.hasGingerbread()) { in enableStrictMode() 46 if (Utils.hasHoneycomb()) { in enableStrictMode()
|
/development/tools/bugreport/src/com/android/bugreport/logcat/ |
D | LogcatParser.java | 21 import com.android.bugreport.util.Utils; 34 "(" + Utils.DATE_TIME_MS_PATTERN 59 if ((m = Utils.match(mBufferBeginRe, text)) != null) { in parse() 68 } else if ((m = Utils.match(mLogLineRe, text)) != null) { in parse() 75 ll.time = Utils.parseCalendar(m, 2, true); in parse()
|
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/ |
D | Utils.java | 24 public class Utils { class 35 private Utils() { in Utils() method in Utils
|
/development/tools/bugreport/src/com/android/bugreport/anr/ |
D | AnrParser.java | 21 import com.android.bugreport.util.Utils; 71 if (Utils.matches(procNameRe, text)) { in parse() 78 } else if (Utils.matches(pidRe, text)) { in parse() 82 } else if (Utils.matches(reasonRe, text)) { in parse() 86 } else if (Utils.matches(cpuUsageRe, text)) { in parse() 97 } else if (Utils.matches(beginProcessRe, text)) { in parse()
|
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Utils.java | 23 public class Utils { class 24 private Utils() { in Utils() method in Utils
|
/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/ |
D | Utils.java | 23 public class Utils { class 24 private Utils() { in Utils() method in Utils
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
D | ContactDetailActivity.java | 29 import com.example.android.contactslist.util.Utils; 43 Utils.enableStrictMode(); in onCreate() 51 if (Utils.hasHoneycomb()) { in onCreate()
|
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/ |
D | CpuUsageParser.java | 19 import com.android.bugreport.util.Utils; 52 if (Utils.matches(cpuUsageRe, text)) { in parse() 54 } else if (Utils.matches(totalRe, text)) { in parse()
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/receiver/ |
D | MessagingReceiver.java | 25 import com.example.android.smssample.Utils; 39 if (Utils.hasKitKat() && Utils.isDefaultSmsApp(context)) { in onReceive()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
D | ImageGridActivity.java | 24 import com.example.android.displayingbitmaps.util.Utils; 35 Utils.enableStrictMode(); in onCreate()
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/ |
D | PackageNamePicker.java | 19 import com.android.dumpviewer.utils.Utils; 47 Utils.toast(this, "Error: " + e.getMessage()); in getList()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | LocationDataManager.java | 20 import com.example.android.wearable.speedtracker.common.Utils; 50 String day = Utils.getHashedDay(calendar); in getPoints() 67 String day = Utils.getHashedDay(calendar); in clearPoints()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionListActivity.java | 32 import com.example.android.xyztouristattractions.common.Utils; 56 if (!Utils.checkFineLocationPermission(this)) { in onCreate() 104 boolean geofenceEnabled = Utils.getGeofenceEnabled(this); in onOptionsItemSelected() 105 Utils.storeGeofenceEnabled(this, !geofenceEnabled); in onOptionsItemSelected()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/ |
D | UtilityService.java | 37 import com.example.android.xyztouristattractions.common.Utils; 137 LatLng currentLocation = Utils.getLocation(this); in onHandleIntent() 154 if (!Utils.checkFineLocationPermission(this)) { in addGeofencesInternal() 186 boolean geofenceEnabled = Utils.getGeofenceEnabled(this); in geofenceTriggered() 211 if (!Utils.checkFineLocationPermission(this)) { in requestLocationInternal() 266 Utils.storeLocation(this, latLngLocation); in locationUpdated() 299 Iterator<String> itr = Utils.getNodes(googleApiClient).iterator(); in clearRemoteNotifications() 382 String distance = Utils.formatDistanceBetween( in showNotification() 383 Utils.getLocation(this), attractions.get(i).location); in showNotification() 452 String distance = Utils.formatDistanceBetween( in sendDataToWearable() [all …]
|
/development/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/utils/ |
D | Utils.java | 27 public class Utils { class 32 private Utils() { in Utils() method in Utils
|