/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/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/services/core/java/com/android/server/ |
D | DropBoxManagerService.java | 40 import android.os.DropBoxManager; 182 sDropboxEntryAddedExtrasMerger.setMergeStrategy(DropBoxManager.EXTRA_TIME, in sDropboxEntryAddedExtrasMerger.setMergeStrategy() 184 sDropboxEntryAddedExtrasMerger.setMergeStrategy(DropBoxManager.EXTRA_DROPPED_COUNT, in sDropboxEntryAddedExtrasMerger.setMergeStrategy() 205 public DropBoxManager.Entry getNextEntry(String tag, long millis, String callingPackage) { 210 public DropBoxManager.Entry getNextEntryWithAttribution(String tag, long millis, 318 final String matchingKey = intent.getStringExtra(DropBoxManager.EXTRA_TAG) in prepareAndSendBroadcast() 327 final String matchingKey = intent.getStringExtra(DropBoxManager.EXTRA_TAG) in prepareAndSendBroadcast() 335 final String matchingKey = intent.getStringExtra(DropBoxManager.EXTRA_TAG); in prepareAndSendBroadcast() 344 final Intent dropboxIntent = new Intent(DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED); in createIntent() 345 dropboxIntent.putExtra(DropBoxManager.EXTRA_TAG, tag); in createIntent() [all …]
|
D | DropBoxManagerInternal.java | 21 import android.os.DropBoxManager; 29 @DropBoxManager.Flags int flags); in addEntry()
|
D | BootReceiver.java | 26 import android.os.DropBoxManager; 278 final DropBoxManager db = (DropBoxManager) ctx.getSystemService(Context.DROPBOX_SERVICE); in logBootEvents() 354 final DropBoxManager db = ctx.getSystemService(DropBoxManager.class); in addTombstoneToDropBox() 395 File tombstone, DropBoxManager db, in addAugmentedProtoToDropbox() 439 DropBoxManager db, HashMap<String, Long> timestamps, in addLastkToDropBox() 456 DropBoxManager db, HashMap<String, Long> timestamps, in addFileToDropBox() 462 DropBoxManager db, HashMap<String, Long> timestamps, in addFileWithFootersToDropBox() 497 private static void addTextToDropBox(DropBoxManager db, String tag, String text, in addTextToDropBox() 504 private static void addAuditErrorsToDropBox(DropBoxManager db, in addAuditErrorsToDropBox() 540 private static void addFsckErrorsToDropBoxAndLogFsStat(DropBoxManager db, in addFsckErrorsToDropBoxAndLogFsStat()
|
D | BatteryService.java | 44 import android.os.DropBoxManager; 867 DropBoxManager db = (DropBoxManager) mContext.getSystemService(Context.DROPBOX_SERVICE); in logBatteryStatsLocked() 880 db.addFile("BATTERY_DISCHARGE_INFO", dumpFile, DropBoxManager.IS_TEXT); in logBatteryStatsLocked()
|
D | StorageManagerService.java | 85 import android.os.DropBoxManager; 2462 final DropBoxManager dropBox = mContext.getSystemService(DropBoxManager.class); in benchmark() 2646 … final DropBoxManager dropBox = mContext.getSystemService(DropBoxManager.class); in fstrim()
|
/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/telephony/ |
D | DropBoxManagerLoggerBackend.java | 22 import android.os.DropBoxManager; 53 private final DropBoxManager mDropBoxManager; 80 mDropBoxManager = context.getSystemService(DropBoxManager.class); in DropBoxManagerLoggerBackend()
|
/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 299 public DropBoxManager(Context context, IDropBoxManagerService service) { in DropBoxManager() method in DropBoxManager 309 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; 282 }, DropBoxManager.IS_TEXT); in dumpToDropBoxLocked()
|
D | ProcessList.java | 100 import android.os.DropBoxManager; 5747 final DropBoxManager dbox = mService.mContext.getSystemService(DropBoxManager.class); 5798 final String reason, final int requester, final DropBoxManager dbox, 5847 final DropBoxManager dbox = mService.mContext.getSystemService(DropBoxManager.class);
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistLoggingHandler.java | 29 import android.os.DropBoxManager; 73 private final @Nullable DropBoxManager mDropBoxManager; 103 mDropBoxManager = mContext.getSystemService(DropBoxManager.class); in WatchlistLoggingHandler()
|
/frameworks/base/libs/services/ |
D | Android.bp | 30 "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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 68 import android.os.DropBoxManager; 370 } else if (serviceClass == DropBoxManager.class) { in getSystemServiceName() 747 private final DropBoxManager mDropBoxManager = mock(DropBoxManager.class);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastQueueModernImplTest.java | 72 import android.os.DropBoxManager; 1386 final Intent dropboxEntryAdded = new Intent(DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED); in createDropboxBroadcast() 1387 dropboxEntryAdded.putExtra(DropBoxManager.EXTRA_TAG, tag); in createDropboxBroadcast() 1388 dropboxEntryAdded.putExtra(DropBoxManager.EXTRA_TIME, timestampMs); in createDropboxBroadcast() 1389 dropboxEntryAdded.putExtra(DropBoxManager.EXTRA_DROPPED_COUNT, droppedCount); in createDropboxBroadcast() 1393 extrasMerger.setMergeStrategy(DropBoxManager.EXTRA_TIME, in createDropboxBroadcast() 1395 extrasMerger.setMergeStrategy(DropBoxManager.EXTRA_DROPPED_COUNT, in createDropboxBroadcast() 1398 DropBoxManager.ACTION_DROPBOX_ENTRY_ADDED); in createDropboxBroadcast() 1399 matchingFilter.addExtra(DropBoxManager.EXTRA_TAG, tag); in createDropboxBroadcast()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 177 import android.os.DropBoxManager; 524 registerService(Context.DROPBOX_SERVICE, DropBoxManager.class, in registerService() 525 new CachedServiceFetcher<DropBoxManager>() { in registerService() 527 public DropBoxManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 530 return new DropBoxManager(ctx, service); in registerService()
|
/frameworks/base/core/java/ |
D | Android.bp | 33 "android/os/DropBoxManager.aidl",
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 85 import android.os.DropBoxManager; 3674 DropBoxManager dbm = (DropBoxManager) getContext().getSystemService(
|