Home
last modified time | relevance | path

Searched refs:resourcesApk (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/SafetyCenter/ResourcesLib/tests/java/com/android/safetycenter/resources/
DSafetyCenterResourcesApkTest.kt36 val resourcesApk = newSafetyCenterResourcesApk() in init_withValidInputs_returnsTrue() constant
38 val initialized = resourcesApk.init() in init_withValidInputs_returnsTrue()
45 val resourcesApk = newSafetyCenterResourcesApk(resourcesApkAction = "wrong") in init_withWrongAction_returnsFalse() constant
47 val initialized = resourcesApk.init() in init_withWrongAction_returnsFalse()
54 val resourcesApk = in init_withWrongPath_returnsFalse() constant
57 val initialized = resourcesApk.init() in init_withWrongPath_returnsFalse()
64 val resourcesApk = newSafetyCenterResourcesApk(flags = PackageManager.MATCH_SYSTEM_ONLY) in init_withWrongFlags_returnsFalse() constant
66 val initialized = resourcesApk.init() in init_withWrongFlags_returnsFalse()
73 val resourcesApk = newSafetyCenterResourcesApk() in getContext_withValidInputs_returnsResourcesApkContext() constant
75 val resourcesApkContext = resourcesApk.context in getContext_withValidInputs_returnsResourcesApkContext()
[all …]
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/
DOTAResourcesManager.java96 File resourcesApk = getOtaFile(context, downloadedOTAFiles, DOWNLOADED_OTA_APK_ID); in refreshOTAResources() local
97 if (resourcesFile == null && resourcesApk == null) { in refreshOTAResources()
120 else if (resourcesApk != null) { in refreshOTAResources()
122 ParcelFileDescriptor fd = ParcelFileDescriptor.open(resourcesApk, MODE_READ_ONLY); in refreshOTAResources()