Home
last modified time | relevance | path

Searched refs:with (Results 1 – 25 of 1272) sorted by relevance

12345678910>>...51

/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/
H A DAccessPolicy.kt94 with(it) { onStateMutated() }
100 with(it) { onInitialized() }
108 with(it) { onUserAdded(userId) }
116 with(it) { onUserRemoved(userId) }
144 with(it) { onAppIdAdded(appId) }
176 with(it) { onAppIdAdded(appId) }
180 with(it) { onPackageAdded(packageState) }
209 with(it) { onPackageRemoved(packageName, appId) }
213 with(it) { onAppIdRemoved(appId) }
261 with(it) { onSystemReady() }
[all …]
H A DAccessCheckingService.kt96 with(policy) { onInitialized() }
131 with(policy) { getDecision(subject, `object`) }
136 with(policy) { setDecision(subject, `object`, decision) }
142 with(policy) { onUserAdded(userId) }
148 with(policy) { onUserRemoved(userId) }
156 with(policy) {
169 with(policy) {
181 with(policy) {
193 with(policy) {
205 with(policy) {
[all …]
/aosp14/frameworks/base/tools/aapt2/
H A Dreadme.md5 - Fixed issue with resource deduplication. (bug 64397629)
6 - Added a daemon mode for issuing commands. This is invoked with `aapt2 daemon`.
7 Command line arguments are separated by newlines, with an empty line signalling the
42 instead. This fix brings behavior in-line with AAPT. (bug 38355988)
56 NOTE: 9-patches will not be processed correctly with this flag set.
70 rewritten IDs to not overlap with the base.
81 apps that build with their `id` types as map values.
98 - Fixed issue with escaping strings in XML resources.
111 `link` phase but this covers apps built with `aapt`).
150 that are always identical when selected at runtime. This can be disabled with
[all …]
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
H A DPackageManagersTest.kt55 val hasRequestPermission = with(packageManagersImpl) {
68 val hasRequestPermission = with(packageManagersImpl) {
81 val hasRequestPermission = with(packageManagersImpl) {
94 val hasRequestPermission = with(packageManagersImpl) {
105 val hasGrantPermission = with(packageManagersImpl) {
118 val hasGrantPermission = with(packageManagersImpl) {
132 val hasGrantPermission = with(packageManagersImpl) {
146 val hasGrantPermission = with(packageManagersImpl) {
160 val hasGrantPermission = with(packageManagersImpl) {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DCombinedShadeHeaderConstraintsTest.kt61 with(qqsConstraint) {
91 with(qsConstraint) {
135 with(qqsConstraint) {
139 with(qsConstraint) {
154 with(qqsConstraint) {
158 with(qsConstraint) {
176 with(qqsConstraint) {
211 with(qsConstraint) {
245 with(qsConstraint) {
276 with(qsConstraint) {
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/models/player/
H A DSeekBarViewModelTest.kt309 with(viewModel) {
322 with(viewModel) {
560 with(fakeExecutor) {
581 with(fakeExecutor) {
609 with(fakeExecutor) {
629 with(fakeExecutor) {
635 with(fakeExecutor) {
656 with(fakeExecutor) {
661 with(viewModel) {
666 with(fakeExecutor) {
[all …]
/aosp14/frameworks/base/samples/demo/haptic-assessment/
H A DREADME.txt4 This haptic assessment sample app allows the user to play with three different
7 1) Predefined click effect with default strength.
9 2) One shot vibration with 20ms duration at max amplitude.
11 3) Waveform vibration with 500ms duration at half amplitude, then 500ms duration
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/model/
H A DBiometricModalitiesTest.kt39 with(
55 with(BiometricModalities(faceProperties = faceSensorPropertiesInternal().first())) {
67 with(
76 with(
88 with(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
H A DPromptAuthStateTest.kt33 with(PromptAuthState(isAuthenticated = false)) {
44 with(PromptAuthState(isAuthenticated = true)) {
52 with(PromptAuthState(isAuthenticated = true, needsUserConfirmation = true)) {
66 with(
79 with(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/progress/
H A DPhysicsBasedUnfoldTransitionProgressProviderTest.kt58 with(listener.ensureTransitionFinished()) {
75 with(listener.ensureTransitionFinished()) { assertHasSingleFinishingEvent() }
89 with(listener.ensureTransitionFinished()) {
105 with(listener.ensureTransitionFinished()) {
121 with(listener.ensureTransitionFinished()) {
144 with(listener.ensureTransitionFinished()) { assertHasFoldAnimationAtTheEnd() }
/aosp14/frameworks/base/core/proto/android/
H A Dprivacy.proto5 * you may not use this file except in compliance with the License.
27 // Fields or messages annotated with DEST_LOCAL must never be
32 // Fields or messages annotated with DEST_EXPLICIT can be sent
33 // off the device with an explicit user action.
36 // Fields or messages annotated with DEST_AUTOMATIC can be sent by
58 // Flags used to annotate a field with right privacy level.
/aosp14/system/core/fastboot/
H A DREADME.md4 The fastboot protocol is a mechanism for communicating with bootloaders
30 2. Client response with a single packet no greater than 256 bytes.
43 The payload is printed as-is with no newline at the end.
63 4. Client responds with a single packet no greater than 256 bytes.
116 specification. OEM-specific commands should not begin with a
134 will reply with "DATA%08x" if it has enough
196 Names starting with a lowercase character are reserved by this
212 old image is created with a zero size.
281 1. As with TCP, the device will listen on UDP port 5554.
338 send a packet with fastboot data, and the device will reply with an
[all …]
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
H A DPermissionService.kt161 with(policy) { getPermissionGroups() }
286 permissions = with(policy) { getPermissions() }
315 with(policy) {
329 with(policy) { getPermissions()[permissionName] }
338 with(policy) { getPermissions() }
403 with(policy) { removePermission(permission) }
436 with(policy) {
724 with(onPermissionFlagsChangedListener) {
998 val flags = with(policy) {
1517 with(policy) {
[all …]
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/assets/PackageSignaturesTest/xml/
H A DREADME1 The XML files in this directory are taken from the packages tag of a test APK signed with the
7 2. Sign the APK with the first signer:
42 Step 2 can be modified to sign with multiple signers by running one of the following commands:
44 - To sign with two signers in the lineage (after the signing key has been rotated once):
49 - To sign with three signers in the lineage (after the second key rotation):
54 - To sign with two distinct signers (NOTE: The V3 signature scheme only supports a single signer,
55 so this method can only be used with signature schemes V1 and V2):
/aosp14/frameworks/base/libs/usb/tests/AccessoryChat/
H A DREADME.txt3 AccessoryChat - A Java app with a chat-like UI that sends and receives strings
6 accessorychat - A C command-line program that communicates with AccessoryChat.
10 android device with USB host support
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/
H A DAppOpPermissionAppListTest.kt87 with(packageManagers) { whenever(APP.hasRequestPermission(PERMISSION)).thenReturn(true) }
96 with(packageManagers) { whenever(APP.hasRequestPermission(PERMISSION)).thenReturn(false) }
106 with(packageManagers) {
118 with(packageManagers) {
129 with(packageManagers) { whenever(APP.hasRequestPermission(PERMISSION)).thenReturn(false) }
161 with(packageManagers) { whenever(APP.hasGrantPermission(PERMISSION)).thenReturn(true) }
177 with(packageManagers) { whenever(APP.hasGrantPermission(PERMISSION)).thenReturn(false) }
194 with(packageManagers) {
/aosp14/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
H A DAppOpService.kt102 with(uidPolicy) { getAppOpMode(appId, userId, opName) }
110 with(uidPolicy) { getAppOpModes(appId, userId) }
120 wasChanged = with(uidPolicy) { setAppOpMode(appId, userId, opName, mode) }
128 with(packagePolicy) { getAppOpMode(packageName, userId, opName) }
136 service.getState { with(packagePolicy) { getAppOpModes(packageName, userId) } }
141 with(packagePolicy) { setAppOpMode(packageName, userId, opName, mode) }
149 with(uidPolicy) { removeAppOpModes(appId, userId) }
156 wasChanged = with (packagePolicy) { removeAppOpModes(packageName, userId) }
429 with(printWriter) {
458 with(printWriter) {
/aosp14/system/core/bootstat/
H A DREADME.md25 with the `-r` option and the name of the boot event.
29 The relative time at which the command runs is recorded along with the name of
34 To log the persisted boot events, call `bootstat` with the `-l` option.
45 To print the set of persisted boot events, call `bootstat` with the `-p` option.
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
H A DControlsEditingActivityTest.kt99 with(launchActivity()) {
108 with(launchActivity(isFromFavoriting = false)) {
116 with(launchActivity(isFromFavoriting = true)) {
124 with(launchActivity(isFromFavoriting = false)) {
129 with(startActivityData!!.intent) {
/aosp14/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2/
H A DAndroid.bp4 // you may not use this file except in compliance with the License.
19 // The tests with only one dex
39 // The tests with a minimal main dex
/aosp14/frameworks/base/startop/apps/ColorChanging/
H A Dgradle.properties11 # This option should only be used with decoupled projects. More details, visit
14 # AndroidX package structure to make it clearer which packages are bundled with the
15 # Android operating system, and which are packaged with your app's APK
H A DREADME.md2 syncing a trace along with a video in Perfetto.
5 with the colors.
/aosp14/frameworks/base/packages/EasterEgg/
H A Dgradle.properties11 # This option should only be used with decoupled projects. More details, visit
14 # AndroidX package structure to make it clearer which packages are bundled with the
15 # Android operating system, and which are packaged with your app's APK
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dcorestartable.md16 in its own source package (with related code) to keep it organizationally distinct from other
19 2) Mark its class with `@SysUISingleton` and its constructor with `@Inject`.
22 the pattern: “Start<Feature>Module” where <Feature> is replaced with the name of the
/aosp14/frameworks/base/packages/SettingsLib/Spa/
H A Dgradle.properties5 # you may not use this file except in compliance with the License.
27 # This option should only be used with decoupled projects. More details, visit
30 # AndroidX package structure to make it clearer which packages are bundled with the
31 # Android operating system, and which are packaged with your app's APK

12345678910>>...51