Searched refs:newSafetyCenterResourcesApk (Results 1 – 1 of 1) sorted by relevance
36 val resourcesApk = newSafetyCenterResourcesApk() in init_withValidInputs_returnsTrue()45 val resourcesApk = newSafetyCenterResourcesApk(resourcesApkAction = "wrong") in init_withWrongAction_returnsFalse()55 newSafetyCenterResourcesApk(resourcesApkPath = "/apex/com.android.permission") in init_withWrongPath_returnsFalse()64 val resourcesApk = newSafetyCenterResourcesApk(flags = PackageManager.MATCH_SYSTEM_ONLY) in init_withWrongFlags_returnsFalse()73 val resourcesApk = newSafetyCenterResourcesApk() in getContext_withValidInputs_returnsResourcesApkContext()82 val resourcesApk = newSafetyCenterResourcesApk(resourcesApkAction = "wrong") in getContext_withWrongAction_throws()90 newSafetyCenterResourcesApk(resourcesApkPath = "/apex/com.android.permission") in getContext_withWrongPath_throws()97 val resourcesApk = newSafetyCenterResourcesApk(flags = PackageManager.MATCH_SYSTEM_ONLY) in getContext_withWrongFlags_throws()104 val resourcesApk = newSafetyCenterResourcesApk() in getResources_withValidInputs_returnsResourcesApkContextResources()114 newSafetyCenterResourcesApk(resourcesApkAction = "wrong", fallback = true) in getResources_nullContext_throwsRegardlessOfFallback()[all …]