Home
last modified time | relevance | path

Searched refs:mBridge (Results 1 – 10 of 10) sorted by relevance

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java65 private AppStateUsageStatsBridge mBridge; field in AppStateUsageStatsBridgeTest
87 mBridge = new AppStateUsageStatsBridge(RuntimeEnvironment.application, mState, null); in setUp()
88 mBridge.mClock = mClock; in setUp()
102 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_appInstalledSameDayNeverUsed_isInvalid()
116 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()
130 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_unusedApp_isValid()
144 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_noThresholdFilter_unusedApp_isValid()
159 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_unknownLastUse_isFilteredOut()
174 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_noThresholdFilter_unknownLastUse_isFilteredOut()
189 mBridge.updateExtraInfo(app, PACKAGE_NAME, 0); in test_oldAppRecentlyUsed_isNotValid()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java77 private AppStateAppOpsBridge mBridge; field in AppStateAppOpsBridgeTest
92 mBridge = new AppStateAppOpsBridge(mContext, APP_OP_CODE, PERMISSION, mIPackageManager); in setUp()
103 mBridge.loadExtraInfo(Collections.singletonList(entry)); in androidPackagesIgnored()
116 mBridge.loadExtraInfo(Collections.singletonList(entry)); in selfPackageIgnored()
132 mBridge.loadExtraInfo(Collections.singletonList(entry)); in packagesNotRequestingPermissionIgnored()
147 mBridge.loadExtraInfo(Collections.singletonList(entry)); in unavailablePackageIgnored()
161 mBridge.loadExtraInfo(Collections.singletonList(entry)); in loadsAppOpsExtraInfo_modeAllowed_isPermissible()
176 mBridge.loadExtraInfo(Collections.singletonList(entry)); in loadsAppOpsExtraInfo_modeDefault_isPermissible()
191 mBridge.loadExtraInfo(Collections.singletonList(entry)); in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible()
211 mBridge.loadExtraInfo(Arrays.asList(entry1, entry2)); in loadsAppOpsExtraInfo_multipleApps()
[all …]
DAppStatePremiumSmsBridgeTest.java45 private AppStatePremiumSmsBridge mBridge; field in AppStatePremiumSmsBridgeTest
50 mBridge = new AppStatePremiumSmsBridge(mSmsManager); in setUp()
65 mBridge.loadExtraInfo(Arrays.asList(appEntry1, appEntry2)); in loadExtraInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java94 private AppStateNotificationBridge mBridge; field in AppStateNotificationBridgeTest
107 mBridge = new AppStateNotificationBridge(mContext, mState, in setUp()
132 assertThat(mBridge.getAggregatedUsageEvents()).isEmpty(); in testGetAggregatedUsageEvents_noEvents()
153 Map<String, NotificationsSentState> map = mBridge.getAggregatedUsageEvents(); in testGetAggregatedUsageEvents_onlyNotificationEvents()
175 Map<String, NotificationsSentState> map = mBridge.getAggregatedUsageEvents(); in testGetAggregatedUsageEvents_multipleEventsAgg()
199 = mBridge.getAggregatedUsageEvents(); in testGetAggregatedUsageEvents_multiplePkgs()
214 mBridge.loadAllExtraInfo(); in testLoadAllExtraInfo_noEvents()
242 mBridge.loadAllExtraInfo(); in testLoadAllExtraInfo_multipleEventsAgg()
277 mBridge.loadAllExtraInfo(); in testLoadAllExtraInfo_multiplePkgs()
293 mBridge = new AppStateNotificationBridge(mContext, mState, in testLoadAllExtraInfo_multipleUsers()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningActivity.java121 private ProvisioningActivityBridge mBridge; field in ProvisioningActivity
149 mBridge = createBridge(); in onCreate()
150 mBridge.initiateUi(/* activity= */ this); in onCreate()
252 || mBridge.shouldShowButtonsWhenPreProvisioningCompletes()) {
270 mBridge.onProvisioningFinalized(/* activity= */ this);
379 mBridge.onStart(this);
385 mBridge.onStop();
DResetAndReturnDeviceActivity.java38 private ResetAndReturnDeviceActivityBridge mBridge; field in ResetAndReturnDeviceActivity
54 mBridge = createBridge(); in onCreate()
55 mBridge.initiateUi(this); in onCreate()
DLandingActivity.java41 private LandingActivityBridge mBridge; field in LandingActivity
62 mBridge = createBridge(); in onCreate()
63 mBridge.initiateUi(this); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DManageExternalStorageDetails.java48 private AppStateManageExternalStorageBridge mBridge; field in ManageExternalStorageDetails
59 mBridge = new AppStateManageExternalStorageBridge(context, mState, null); in onCreate()
87 mBridge.release(); in onDestroy()
135 mPermissionState = mBridge.getManageExternalStoragePermState(mPackageName, in refreshUi()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DManageExternalStorageDetailsTest.java64 private AppStateManageExternalStorageBridge mBridge; field in ManageExternalStorageDetailsTest
81 ReflectionHelpers.setField(mFragment, "mBridge", mBridge); in setUp()
196 doAnswer(answerPermState).when(mBridge) in mockAppOpsOperations()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java93 private PreProvisioningActivityBridge mBridge; field in PreProvisioningActivity
137 mBridge = createBridge(); in onCreate()
503 mBridge.initiateUi(uiParams);