/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/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 | 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()
|
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()
|
/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/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/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/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/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()
|
D | ImageCache.java | 147 if (Utils.hasHoneycomb()) { in init() 167 if (Utils.hasHoneycomb()) { in init() 523 if (!Utils.hasKitKat()) { in canUseForInBitmap() 618 if (Utils.hasKitKat()) { in getBitmapSize() 622 if (Utils.hasHoneycombMR1()) { in getBitmapSize() 638 if (Utils.hasGingerbread()) { in isExternalStorageRemovable() 652 if (Utils.hasFroyo()) { in getExternalCacheDir() 669 if (Utils.hasGingerbread()) { in getUsableSpace()
|
/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/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/ui/ |
D | ContactDetailActivity.java | 29 import com.example.android.contactslist.util.Utils; 43 Utils.enableStrictMode(); in onCreate() 51 if (Utils.hasHoneycomb()) { in onCreate()
|
D | ContactsListFragment.java | 62 import com.example.android.contactslist.util.Utils; 327 if (Utils.hasHoneycomb()) { in onCreateOptionsMenu() 377 if (Utils.hasICS()) { in onCreateOptionsMenu() 411 if (Utils.hasICS()) { in onCreateOptionsMenu() 443 if (!Utils.hasHoneycomb()) { in onOptionsItemSelected() 585 if (Utils.hasHoneycomb()) { in loadContactPhotoThumbnail() 888 (Utils.hasHoneycomb() ? Contacts.DISPLAY_NAME_PRIMARY : Contacts.DISPLAY_NAME) + 896 Utils.hasHoneycomb() ? Contacts.SORT_KEY_PRIMARY : Contacts.DISPLAY_NAME; 916 Utils.hasHoneycomb() ? Contacts.DISPLAY_NAME_PRIMARY : Contacts.DISPLAY_NAME, 922 Utils.hasHoneycomb() ? Contacts.PHOTO_THUMBNAIL_URI : Contacts._ID,
|
/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/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/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/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/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/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/ShortcutSample/src/com/example/android/shortcutsample/ |
D | Utils.java | 23 public class Utils { class 24 private Utils() { in Utils() method in Utils
|
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/ |
D | MainActivity.java | 108 if (Utils.isDefaultSmsApp(this)) { in sendSms() 126 if (Utils.hasKitKat()) { in onResume() 127 if (Utils.isDefaultSmsApp(this)) { in onResume() 147 Utils.setDefaultSmsApp(MainActivity.this); in onResume()
|