/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/v33/ |
D | PermissionDecisionStorageImplTest.kt | 26 import com.android.permissioncontroller.PermissionControllerApplication 48 private val application = Mockito.mock(PermissionControllerApplication::class.java) 73 .mockStatic(PermissionControllerApplication::class.java) in setup() 77 Mockito.`when`(PermissionControllerApplication.get()).thenReturn(application) in setup()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/ |
D | PersistedStoragePackageUninstalledReceiverTest.kt | 28 import com.android.permissioncontroller.PermissionControllerApplication 53 val application = Mockito.mock(PermissionControllerApplication::class.java) 74 .mockStatic(PermissionControllerApplication::class.java) in setup() 77 `when`(PermissionControllerApplication.get()).thenReturn(application) in setup()
|
D | PermissionEventCleanupJobServiceTest.kt | 27 import com.android.permissioncontroller.PermissionControllerApplication 47 val application = Mockito.mock(PermissionControllerApplication::class.java) 62 .mockStatic(PermissionControllerApplication::class.java) in setup() 66 Mockito.`when`(PermissionControllerApplication.get()).thenReturn(application) in setup()
|
D | PermissionChangeStorageImplTest.kt | 26 import com.android.permissioncontroller.PermissionControllerApplication 50 private val application = Mockito.mock(PermissionControllerApplication::class.java) 72 .mockStatic(PermissionControllerApplication::class.java) in setup() 76 Mockito.`when`(PermissionControllerApplication.get()).thenReturn(application) in setup()
|
D | PermissionStorageTimeChangeReceiverTest.kt | 29 import com.android.permissioncontroller.PermissionControllerApplication 62 val application = mock(PermissionControllerApplication::class.java) 85 .mockStatic(PermissionControllerApplication::class.java) in setup() 89 `when`(PermissionControllerApplication.get()).thenReturn(application) in setup()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | LauncherPackagesLiveData.kt | 24 import com.android.permissioncontroller.PermissionControllerApplication 43 PermissionControllerApplication.get().packageManager.hasSystemFeature(FEATURE_LEANBACK) in loadDataAndPostValue() 52 PermissionControllerApplication.get() in loadPkgsFromIntent()
|
D | PermGroupsPackagesLiveData.kt | 24 import com.android.permissioncontroller.PermissionControllerApplication in <lambda>() 129 PermissionControllerApplication.get(), in <lambda>() 134 PermissionControllerApplication.get(), in <lambda>()
|
D | CarrierPrivilegedStatusLiveData.kt | 21 import com.android.permissioncontroller.PermissionControllerApplication 52 return CarrierPrivilegedStatusLiveData(PermissionControllerApplication.get(), key) in newValue()
|
D | MicMutedLiveData.kt | 24 import com.android.permissioncontroller.PermissionControllerApplication 30 private val app = PermissionControllerApplication.get()
|
D | SelectedAutofillServiceLiveData.kt | 22 import com.android.permissioncontroller.PermissionControllerApplication 56 return SelectedAutofillServiceLiveData(PermissionControllerApplication.get(), key) in newValue()
|
D | AppOpLiveData.kt | 21 import com.android.permissioncontroller.PermissionControllerApplication 62 PermissionControllerApplication.get(), in newValue()
|
D | SelectedWallpaperServiceLiveData.kt | 22 import com.android.permissioncontroller.PermissionControllerApplication 60 return SelectedWallpaperServiceLiveData(PermissionControllerApplication.get(), key) in newValue()
|
D | EnabledDeviceAdminsLiveData.kt | 22 import com.android.permissioncontroller.PermissionControllerApplication in <lambda>() 57 return EnabledDeviceAdminsLiveData(PermissionControllerApplication.get(), key) in <lambda>()
|
D | SelectedVoiceInteractionServiceLiveData.kt | 23 import com.android.permissioncontroller.PermissionControllerApplication 64 PermissionControllerApplication.get(), in newValue()
|
D | UsersLiveData.kt | 26 import com.android.permissioncontroller.PermissionControllerApplication 35 @SuppressLint("StaticFieldLeak") private val app = PermissionControllerApplication.get()
|
D | EnabledInputMethodsLiveData.kt | 23 import com.android.permissioncontroller.PermissionControllerApplication in <lambda>() 57 return EnabledInputMethodsLiveData(PermissionControllerApplication.get(), key) in <lambda>()
|
D | EnabledNotificationListenersLiveData.kt | 23 import com.android.permissioncontroller.PermissionControllerApplication in <lambda>() 71 return EnabledNotificationListenersLiveData(PermissionControllerApplication.get(), key) in <lambda>()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/appops/data/repository/ |
D | AppOpRepositoryTest.kt | 26 import com.android.permissioncontroller.PermissionControllerApplication 51 @Mock private lateinit var application: PermissionControllerApplication 69 .mockStatic(PermissionControllerApplication::class.java) in setup() 72 whenever(PermissionControllerApplication.get()).thenReturn(application) in setup()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/ |
D | PermissionControllerApplication.java | 39 public final class PermissionControllerApplication extends Application { class 41 private static PermissionControllerApplication sInstance; 63 public static PermissionControllerApplication get() { in get()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/ |
D | SafetyLabelChangesJobServiceTest.kt | 34 import com.android.permissioncontroller.PermissionControllerApplication 65 @Mock private lateinit var application: PermissionControllerApplication 82 .mockStatic(PermissionControllerApplication::class.java) in setUp() 90 whenever(PermissionControllerApplication.get()).thenReturn(application) in setUp()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/ |
D | HibernationControllerTest.kt | 31 import com.android.permissioncontroller.PermissionControllerApplication 58 val application = mock(PermissionControllerApplication::class.java) 83 .mockStatic(PermissionControllerApplication::class.java) in setUp() 86 whenever(PermissionControllerApplication.get()).thenReturn(application) in setUp()
|
D | HibernationPolicyTest.kt | 33 import com.android.permissioncontroller.PermissionControllerApplication 62 private val application = Mockito.mock(PermissionControllerApplication::class.java) 80 .mockStatic(PermissionControllerApplication::class.java) in setup() 84 `when`(PermissionControllerApplication.get()).thenReturn(application) in setup()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/ |
D | SafetyCenterReceiverTest.kt | 34 import com.android.permissioncontroller.PermissionControllerApplication 74 val application = Mockito.mock(PermissionControllerApplication::class.java) 101 .mockStatic(PermissionControllerApplication::class.java) in privacySourceMap() 106 whenever(PermissionControllerApplication.get()).thenReturn(application) in privacySourceMap()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | LocationUtils.java | 44 import com.android.permissioncontroller.PermissionControllerApplication; 246 PermissionControllerApplication.get().getApplicationContext() 250 PermissionControllerApplication.get().getApplicationContext() 263 PermissionControllerApplication.get().getApplicationContext()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionEventStorageImpls.kt | 20 import com.android.permissioncontroller.PermissionControllerApplication 36 val context = PermissionControllerApplication.get().applicationContext in createInstance()
|