/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoaderTest.java | 70 private NetworkCycleDataTestLoader mLoader; field in NetworkCycleDataLoaderTest 85 mLoader = spy(new NetworkCycleDataTestLoader(mContext)); in loadInBackground_noNetworkPolicy_shouldLoad4WeeksData() 86 doNothing().when(mLoader).loadFourWeeksData(); in loadInBackground_noNetworkPolicy_shouldLoad4WeeksData() 88 mLoader.loadInBackground(); in loadInBackground_noNetworkPolicy_shouldLoad4WeeksData() 90 verify(mLoader).loadFourWeeksData(); in loadInBackground_noNetworkPolicy_shouldLoad4WeeksData() 95 mLoader = spy(new NetworkCycleDataTestLoader(mContext)); in loadInBackground_hasNetworkPolicy_shouldLoadPolicyData() 96 ReflectionHelpers.setField(mLoader, "mPolicy", mPolicy); in loadInBackground_hasNetworkPolicy_shouldLoadPolicyData() 98 mLoader.loadInBackground(); in loadInBackground_hasNetworkPolicy_shouldLoadPolicyData() 100 verify(mLoader).loadPolicyData(); in loadInBackground_hasNetworkPolicy_shouldLoadPolicyData() 105 mLoader = spy(new NetworkCycleDataTestLoader(mContext)); in loadInBackground_hasCyclePeriod_shouldLoadDataForSpecificCycles() [all …]
|
D | NetworkCycleDataForUidLoaderTest.java | 59 private NetworkCycleDataForUidLoader mLoader; field in NetworkCycleDataForUidLoaderTest 79 mLoader = spy(NetworkCycleDataForUidLoader.builder(mContext) in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 83 doReturn(1024L).when(mLoader).getTotalUsage(any()); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 85 mLoader.recordUsage(start, end); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState() 96 mLoader = spy(NetworkCycleDataForUidLoader.builder(mContext) in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() 98 doReturn(1024L).when(mLoader).getTotalUsage(any()); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() 100 mLoader.recordUsage(start, end); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState() 109 mLoader = spy(NetworkCycleDataForUidLoader.builder(mContext) in recordUsage_multipleUids_shouldQueryNetworkDetailsForEachUid() 115 doReturn(1024L).when(mLoader).getTotalUsage(any()); in recordUsage_multipleUids_shouldQueryNetworkDetailsForEachUid() 117 mLoader.recordUsage(start, end); in recordUsage_multipleUids_shouldQueryNetworkDetailsForEachUid()
|
D | NetworkCycleChartDataLoaderTest.java | 49 private NetworkCycleChartDataLoader mLoader; field in NetworkCycleChartDataLoaderTest 65 mLoader = NetworkCycleChartDataLoader.builder(mContext) in recordUsage_shouldQueryNetworkSummaryForDevice() 69 mLoader.recordUsage(start, end); in recordUsage_shouldQueryNetworkSummaryForDevice()
|
/frameworks/base/core/java/android/app/ |
D | LoaderManager.java | 240 Loader<Object> mLoader; field in LoaderManagerImpl.LoaderInfo 276 if (mLoader == null && mCallbacks != null) { in start() 277 mLoader = mCallbacks.onCreateLoader(mId, mArgs); in start() 279 if (mLoader != null) { in start() 280 if (mLoader.getClass().isMemberClass() in start() 281 && !Modifier.isStatic(mLoader.getClass().getModifiers())) { in start() 284 + mLoader); in start() 287 mLoader.registerListener(mId, this); in start() 288 mLoader.registerOnLoadCanceledListener(this); in start() 291 mLoader.startLoading(); in start() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterLoaderTest.java | 82 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* isLowResolution */); in testPersistAndLoadSnapshot() 184 PreRLegacySnapshotConfig highResConf = mLoader.getLegacySnapshotConfig( in testLegacyPLowRamConfig() 190 PreRLegacySnapshotConfig lowResConf = mLoader.getLegacySnapshotConfig( in testLegacyPLowRamConfig() 214 PreRLegacySnapshotConfig highResConf = mLoader.getLegacySnapshotConfig( in testLegacyPNonLowRamConfig() 220 PreRLegacySnapshotConfig lowResConf = mLoader.getLegacySnapshotConfig( in testLegacyPNonLowRamConfig() 244 PreRLegacySnapshotConfig highResConf = mLoader.getLegacySnapshotConfig( in testLegacyQLowRamConfig() 251 PreRLegacySnapshotConfig lowResConf = mLoader.getLegacySnapshotConfig( in testLegacyQLowRamConfig() 276 PreRLegacySnapshotConfig highResConf = mLoader.getLegacySnapshotConfig( in testLegacyQNonLowRamConfig() 283 PreRLegacySnapshotConfig lowResConf = mLoader.getLegacySnapshotConfig( in testLegacyQNonLowRamConfig() 301 PreRLegacySnapshotConfig highResConf = mLoader.getLegacySnapshotConfig( in testNonLegacyRConfig() [all …]
|
D | TaskSnapshotLowResDisabledTest.java | 64 mCache = new TaskSnapshotCache(mLoader); in setUp() 78 final TaskSnapshot snapshot = mLoader.loadTask(1, mTestUserId, false /* isLowResolution */); in testPersistAndLoadSnapshot() 84 assertNull(mLoader.loadTask(1, mTestUserId, true /* isLowResolution */)); in testPersistAndLoadSnapshot()
|
D | TaskSnapshotPersisterTestBase.java | 72 AppSnapshotLoader mLoader; field in TaskSnapshotPersisterTestBase 117 mLoader = new AppSnapshotLoader(provider); in setUp()
|
D | TaskSnapshotCacheTest.java | 61 mCache = new TaskSnapshotCache(mLoader); in setUp()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/ |
D | LicenseHtmlLoaderCompatTest.java | 45 private LicenseHtmlLoaderCompat mLoader; field in LicenseHtmlLoaderCompatTest 50 mLoader = new LicenseHtmlLoaderCompat(mContext); in setUp() 66 assertThat(mLoader.loadInBackground()).isEqualTo(cachedHtmlFile); in testLoadInBackground() 76 assertThat(mLoader.loadInBackground()).isNull(); in testLoadInBackgroundWithNoVaildXmlFiles() 87 assertThat(mLoader.loadInBackground()).isEqualTo(cachedHtmlFile); in testLoadInBackgroundWithNonOutdatedCachedHtmlFile() 98 assertThat(mLoader.loadInBackground()).isNull(); in testLoadInBackgroundWithGenerateHtmlFileFailed()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskSnapshotCache.java | 29 private final AppSnapshotLoader mLoader; field in TaskSnapshotCache 33 mLoader = loader; in TaskSnapshotCache() 71 return mLoader.loadTask(taskId, userId, isLowResolution); in tryRestoreFromDisk()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
D | VrActivity.java | 52 VolumeLoader mLoader; field in VrActivity 64 mLoader = new VolumeLoader(dir); in onCreate() 66 String [] names = mLoader.getNames(); in onCreate() 85 mLoader.setProgressListener(new VolumeLoader.ProgressListener() { in onPreExecute() 100 return mLoader.getVolume(mRs, names[0]); in doInBackground() 174 String[] volumes = mLoader.getNames(); in dataClick()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 4664 @Nullable private final ClassLoader mLoader; field in Parcel.LazyValue 4680 mLoader = loader; in LazyValue() 4693 mObject = source.readValue(mLoader, clazz, itemTypes); in apply() 4766 if (!Objects.equals(mLoader, value.mLoader)) { in equals() 4780 return Objects.hash(mSource == null, mObject, mLoader, mType, mLength); in hashCode()
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 6644 private final ResourcesLoader mLoader; 6648 mLoader = loader; 6658 context.getResources().addLoaders(mLoader);
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 7417 Landroid/app/LoaderManagerImpl$LoaderInfo;->mLoader:Landroid/content/Loader;
|