/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 24 import android.os.DropBoxManager; 93 DropBoxManager dropbox = new DropBoxManager(getContext(), service.getServiceStub()); in testAddText() 106 DropBoxManager.Entry e0 = dropbox.getNextEntry("DropBoxTest", before); in testAddText() 107 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText() 108 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText() 130 DropBoxManager dropbox = new DropBoxManager(getContext(), service.getServiceStub()); 138 DropBoxManager.Entry e = dropbox.getNextEntry("DropBoxTest", before); 181 DropBoxManager dropbox = new DropBoxManager(getContext(), service.getServiceStub()); 183 dropbox.addFile("DropBoxTest", f0, DropBoxManager.IS_TEXT); 184 dropbox.addFile("DropBoxTest", f1, DropBoxManager.IS_TEXT | DropBoxManager.IS_GZIPPED); [all …]
|
/frameworks/base/libs/services/src/os/ |
D | DropBoxManager.cpp | 36 DropBoxManager::Entry::Entry() in Entry() 46 DropBoxManager::Entry::Entry(const String16& tag, int32_t flags) in Entry() 55 DropBoxManager::Entry::Entry(const String16& tag, int32_t flags, int fd) in Entry() 64 DropBoxManager::Entry::~Entry() in ~Entry() 69 DropBoxManager::Entry::writeToParcel(Parcel* out) const in writeToParcel() 107 DropBoxManager::Entry::readFromParcel(const Parcel* in) in readFromParcel() 149 DropBoxManager::Entry::getData() const in getData() 155 DropBoxManager::Entry::getFd() const in getFd() 161 DropBoxManager::Entry::getFlags() const in getFlags() 167 DropBoxManager::Entry::getTimestamp() const in getTimestamp() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BundleMergerTest.java | 355 merger.setMergeStrategy(DropBoxManager.EXTRA_TIME, in testMerge_DropBox() 357 merger.setMergeStrategy(DropBoxManager.EXTRA_DROPPED_COUNT, in testMerge_DropBox() 362 a.putString(DropBoxManager.EXTRA_TAG, "system_server_strictmode"); in testMerge_DropBox() 363 a.putLong(DropBoxManager.EXTRA_TIME, now); in testMerge_DropBox() 364 a.putInt(DropBoxManager.EXTRA_DROPPED_COUNT, 0); in testMerge_DropBox() 367 b.putString(DropBoxManager.EXTRA_TAG, "system_server_strictmode"); in testMerge_DropBox() 368 b.putLong(DropBoxManager.EXTRA_TIME, now + 1000); in testMerge_DropBox() 369 b.putInt(DropBoxManager.EXTRA_DROPPED_COUNT, 0); in testMerge_DropBox() 372 c.putString(DropBoxManager.EXTRA_TAG, "system_server_strictmode"); in testMerge_DropBox() 373 c.putLong(DropBoxManager.EXTRA_TIME, now + 2000); in testMerge_DropBox() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 36 import android.os.DropBoxManager; 184 public DropBoxManager.Entry getNextEntry(String tag, long millis, String callingPackage) { 189 public DropBoxManager.Entry getNextEntryWithAttribution(String tag, long millis, 299 final Intent dropboxIntent = new Intent(DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED); in createIntent() 300 dropboxIntent.putExtra(DropBoxManager.EXTRA_TAG, tag); in createIntent() 301 dropboxIntent.putExtra(DropBoxManager.EXTRA_TIME, time); in createIntent() 302 dropboxIntent.putExtra(DropBoxManager.EXTRA_DROPPED_COUNT, 0); in createIntent() 309 extrasMerger.setMergeStrategy(DropBoxManager.EXTRA_TIME, in createBroadcastOptions() 311 extrasMerger.setMergeStrategy(DropBoxManager.EXTRA_DROPPED_COUNT, in createBroadcastOptions() 316 .setDeliveryGroupMatchingKey(DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED, in createBroadcastOptions() [all …]
|
D | DropBoxManagerInternal.java | 21 import android.os.DropBoxManager; 29 @DropBoxManager.Flags int flags); in addEntry()
|
D | BootReceiver.java | 26 import android.os.DropBoxManager; 265 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE); in logBootEvents() 334 final DropBoxManager db = ctx.getSystemService(DropBoxManager.class); in addTombstoneToDropBox() 403 DropBoxManager db, HashMap<String, Long> timestamps, in addLastkToDropBox() 420 DropBoxManager db, HashMap<String, Long> timestamps, in addFileToDropBox() 426 DropBoxManager db, HashMap<String, Long> timestamps, in addFileWithFootersToDropBox() 461 private static void addTextToDropBox(DropBoxManager db, String tag, String text, in addTextToDropBox() 468 private static void addAuditErrorsToDropBox(DropBoxManager db, in addAuditErrorsToDropBox() 504 private static void addFsckErrorsToDropBoxAndLogFsStat(DropBoxManager db, in addFsckErrorsToDropBoxAndLogFsStat()
|
D | BatteryService.java | 42 import android.os.DropBoxManager; 827 DropBoxManager db = (DropBoxManager) mContext.getSystemService(Context.DROPBOX_SERVICE); in logBatteryStatsLocked() 840 db.addFile("BATTERY_DISCHARGE_INFO", dumpFile, DropBoxManager.IS_TEXT); in logBatteryStatsLocked()
|
D | StorageManagerService.java | 83 import android.os.DropBoxManager; 2367 final DropBoxManager dropBox = mContext.getSystemService(DropBoxManager.class); in benchmark() 2546 … final DropBoxManager dropBox = mContext.getSystemService(DropBoxManager.class); in fstrim()
|
/frameworks/base/libs/services/include/android/os/ |
D | DropBoxManager.h | 36 class DropBoxManager : public virtual RefBase 45 DropBoxManager(); 46 virtual ~DropBoxManager(); 48 static sp<DropBoxManager> create(); 89 friend class DropBoxManager; variable
|
/frameworks/base/core/java/com/android/internal/os/ |
D | IDropBoxManagerService.aidl | 19 import android.os.DropBoxManager; 39 DropBoxManager.Entry getNextEntry(String tag, long millis, String packageName); in getNextEntry() 41 DropBoxManager.Entry getNextEntryWithAttribution(String tag, long millis, String packageName, in getNextEntryWithAttribution()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.aidl | 19 parcelable DropBoxManager.Entry cpp_header "android/os/DropBoxManager.h";
|
D | DropBoxManager.java | 58 public class DropBoxManager { class 298 public DropBoxManager(Context context, IDropBoxManagerService service) { in DropBoxManager() method in DropBoxManager 308 protected DropBoxManager() { in DropBoxManager() method in DropBoxManager
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 33 import android.os.DropBoxManager; 211 DropBoxManager dropbox = (DropBoxManager) mContext in checkDropbox() 213 DropBoxManager.Entry entry = null; in checkDropbox()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 25 import android.os.DropBoxManager; 290 }, DropBoxManager.IS_TEXT); in dumpToDropBoxLocked()
|
D | ProcessList.java | 95 import android.os.DropBoxManager; 5534 final DropBoxManager dbox = mService.mContext.getSystemService(DropBoxManager.class); 5585 final String reason, final int requester, final DropBoxManager dbox, 5634 final DropBoxManager dbox = mService.mContext.getSystemService(DropBoxManager.class);
|
D | ActivityManagerService.java | 324 import android.os.DropBoxManager; 9041 final DropBoxManager dbox = (DropBoxManager) in logStrictModeViolationToDropBox() 9338 final DropBoxManager dbox; in addErrorToDropBox() 9340 dbox = mContext.getSystemService(DropBoxManager.class); in addErrorToDropBox()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 29 import android.os.DropBoxManager; 73 private final @Nullable DropBoxManager mDropBoxManager; 101 mDropBoxManager = mContext.getSystemService(DropBoxManager.class); in WatchlistLoggingHandler()
|
/frameworks/base/libs/services/ |
D | Android.bp | 32 "src/os/DropBoxManager.cpp",
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerTest.java | 40 import android.os.DropBoxManager; 277 final DropBoxManager dbox = mContext.getSystemService(DropBoxManager.class); in testFgsProcStatsTracker() 283 if (tag_wtf.equals(intent.getStringExtra(DropBoxManager.EXTRA_TAG))) { in testFgsProcStatsTracker() 284 final DropBoxManager.Entry e = dbox.getNextEntry(tag_wtf, intent.getLongExtra( in testFgsProcStatsTracker() 285 DropBoxManager.EXTRA_TIME, 0) - 1); in testFgsProcStatsTracker() 299 new IntentFilter(DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED)); in testFgsProcStatsTracker()
|
/frameworks/base/cmds/incidentd/src/ |
D | Broadcaster.cpp | 389 sp<DropBoxManager> dropbox = new DropBoxManager(); in send_to_dropbox()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastQueueModernImplTest.java | 81 import android.os.DropBoxManager; 1407 final Intent dropboxEntryAdded = new Intent(DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED); in createDropboxBroadcast() 1408 dropboxEntryAdded.putExtra(DropBoxManager.EXTRA_TAG, tag); in createDropboxBroadcast() 1409 dropboxEntryAdded.putExtra(DropBoxManager.EXTRA_TIME, timestampMs); in createDropboxBroadcast() 1410 dropboxEntryAdded.putExtra(DropBoxManager.EXTRA_DROPPED_COUNT, droppedCount); in createDropboxBroadcast() 1414 extrasMerger.setMergeStrategy(DropBoxManager.EXTRA_TIME, in createDropboxBroadcast() 1416 extrasMerger.setMergeStrategy(DropBoxManager.EXTRA_DROPPED_COUNT, in createDropboxBroadcast() 1419 DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED); in createDropboxBroadcast() 1420 matchingFilter.addExtra(DropBoxManager.EXTRA_TAG, tag); in createDropboxBroadcast()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 167 import android.os.DropBoxManager; 476 registerService(Context.DROPBOX_SERVICE, DropBoxManager.class, in registerService() 477 new CachedServiceFetcher<DropBoxManager>() { in registerService() 479 public DropBoxManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 482 return new DropBoxManager(ctx, service); in registerService()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 85 import android.os.DropBoxManager; 3642 DropBoxManager dbm = (DropBoxManager) getContext().getSystemService(
|
/frameworks/base/core/java/android/provider/ |
D | Settings.java | 73 import android.os.DropBoxManager;
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 12062 HSPLandroid/os/DropBoxManager$Entry$1;->createFromParcel(Landroid/os/Parcel;)Landroid/os/DropBoxMan… 12063 HSPLandroid/os/DropBoxManager$Entry$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 12064 HSPLandroid/os/DropBoxManager$Entry;-><init>(Ljava/lang/String;JLandroid/os/ParcelFileDescriptor;I)V 12065 HSPLandroid/os/DropBoxManager$Entry;-><init>(Ljava/lang/String;JLjava/io/File;I)V 12066 HSPLandroid/os/DropBoxManager$Entry;->close()V 12067 HSPLandroid/os/DropBoxManager$Entry;->getFlags()I 12068 HSPLandroid/os/DropBoxManager$Entry;->getInputStream()Ljava/io/InputStream; 12069 HSPLandroid/os/DropBoxManager$Entry;->getTag()Ljava/lang/String; 12070 HSPLandroid/os/DropBoxManager$Entry;->writeToParcel(Landroid/os/Parcel;I)V 12071 HSPLandroid/os/DropBoxManager;-><init>(Landroid/content/Context;Lcom/android/internal/os/IDropBoxMa… [all …]
|