Searched refs:appOpModes (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/ |
D | AppIdAppOpPersistence.kt | 67 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>() constant 68 appIdAppOpModes[appId] = appOpModes in <lambda>() 69 parseAppOps(appOpModes) in <lambda>() 78 appIdAppOpModes.forEachIndexed { _, appId, appOpModes -> in <lambda>() method 79 serializeAppId(appId, appOpModes) in <lambda>() 86 appOpModes: IndexedMap<String, Int> in <lambda>() 90 serializeAppOps(appOpModes) in <lambda>()
|
D | PackageAppOpPersistence.kt | 63 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>() constant 64 packageAppOpModes[packageName] = appOpModes in <lambda>() 65 parseAppOps(appOpModes) in <lambda>() 74 packageAppOpModes.forEachIndexed { _, packageName, appOpModes -> in <lambda>() method 75 serializePackage(packageName, appOpModes) in <lambda>() 82 appOpModes: IndexedMap<String, Int> in <lambda>() 86 serializeAppOps(appOpModes) in <lambda>()
|
D | BaseAppOpPersistence.kt | 39 protected fun BinaryXmlPullParser.parseAppOps(appOpModes: MutableIndexedMap<String, Int>) { in <lambda>() 42 TAG_APP_OP -> parseAppOp(appOpModes) in <lambda>() 48 private fun BinaryXmlPullParser.parseAppOp(appOpModes: MutableIndexedMap<String, Int>) { in <lambda>() 51 appOpModes[name] = mode in <lambda>() 54 protected fun BinaryXmlSerializer.serializeAppOps(appOpModes: IndexedMap<String, Int>) { in <lambda>() 55 appOpModes.forEachIndexed { _, name, mode -> serializeAppOp(name, mode) } in <lambda>()
|
D | PackageAppOpMigration.kt | 45 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>() constant 46 packageAppOpModes[packageName] = appOpModes in <lambda>() 47 legacyAppOpModes.forEach { (appOpName, appOpMode) -> appOpModes[appOpName] = appOpMode } in <lambda>()
|
D | AppIdAppOpMigration.kt | 47 val appOpModes = MutableIndexedMap<String, Int>() in <lambda>() constant 48 appIdAppOpModes[appId] = appOpModes in <lambda>() 49 legacyAppOpModes.forEach { (appOpName, appOpMode) -> appOpModes[appOpName] = appOpMode } in <lambda>()
|
D | PackageAppOpPolicy.kt | 104 val appOpModes = packageAppOpModes.mutateOrPut(packageName) { MutableIndexedMap() } in <lambda>() constant 105 appOpModes.putWithDefault(appOpName, mode, defaultMode) in <lambda>() 106 if (appOpModes.isEmpty()) { in <lambda>()
|
D | AppIdAppOpPolicy.kt | 101 val appOpModes = appIdAppOpModes.mutateOrPut(appId) { MutableIndexedMap() } in <lambda>() constant 102 appOpModes.putWithDefault(appOpName, mode, defaultMode) in <lambda>() 103 if (appOpModes.isEmpty()) { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpMigrationHelperImpl.java | 111 SparseIntArray appOpModes = uidAppOpModes.valueAt(uidIndex); in getAppIdAppOpModes() local 112 appIdAppOpModes.put(UserHandle.getAppId(uid), getAppOpModesForOpName(appOpModes)); in getAppIdAppOpModes()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 3158 final int[] appOpModes = new int[]{MODE_ALLOWED, MODE_IGNORED, MODE_ERRORED}; 3169 packageNames[i])).thenReturn(appOpModes[i]); 3181 assertEquals(appOpModes[i], mService.mLastOpScheduleExactAlarm.get(uid, -1));
|