Searched refs:persistence (Results 1 – 6 of 6) sorted by relevance
34 for (persistence in persistences) { in main() constant35 val file = generate(persistence) in main()36 Files.newBufferedWriter(persistence.path).use { in main()
59 fun generate(persistence: PersistenceInfo): JavaFile { in generate()60 val distinctClassFields = persistence.root.allClassFields.distinctBy { it.type } in generate()61 val type = TypeSpec.classBuilder(persistence.name) in generate()68 """.trimIndent(), persistence.root.type, atomicFileType in generate()73 .addMethod(generateReadMethod(persistence.root)) in generate()74 .addMethod(generateParseMethod(persistence.root)) in generate()76 .addMethod(generateWriteMethod(persistence.root)) in generate()77 .addMethod(generateSerializeMethod(persistence.root)) in generate()81 return JavaFile.builder(persistence.root.type.packageName(), type) in generate()
59 import com.android.permission.persistence.RuntimePermissionsPersistence;
104 import com.android.permission.persistence.RuntimePermissionsPersistence;105 import com.android.permission.persistence.RuntimePermissionsState;5306 public RuntimePermissionPersistence(RuntimePermissionsPersistence persistence) {5307 mPersistence = persistence;
358 import com.android.permission.persistence.RuntimePermissionsPersistence;
32092 …tence;-><init>(Lcom/android/server/pm/Settings;Lcom/android/permission/persistence/RuntimePermissi…32099 …erver/pm/permission/LegacyPermissionState;I)V+]Lcom/android/permission/persistence/RuntimePermissi…32100 …persistence/RuntimePermissionsPersistence;missing_types]Lcom/android/server/pm/Settings;Lcom/andro…32105 …BooleanArray;Landroid/util/SparseBooleanArray;]Lcom/android/permission/persistence/RuntimePermissi…32110 HSPLcom/android/server/pm/Settings;-><init>(Ljava/io/File;Lcom/android/permission/persistence/Runti…