Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 2765) sorted by relevance

12345678910>>...111

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/
DGrantRevokeTests.kt404 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false)) in grantOnePermTest()
422 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest()
433 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false, FG_PERM_2_NAME to false)) in grantTwoPermTest()
464 mutableMapOf(FG_PERM_NAME to (true to newFlags), FG_PERM_2_NAME to (true to newFlags)) in grantTwoPermTest()
474 val pkg = createMockPackage(mapOf(FG_PERM_NAME_NO_APP_OP to false)) in grantNoAppOpPerm()
493 val expectedState = mutableMapOf(FG_PERM_NAME_NO_APP_OP to (true to newFlags)) in grantNoAppOpPerm()
503 val pkg = createMockPackage(mapOf(FG_PERM_NAME to true, BG_PERM_NAME to false)) in grantBgPermTest()
524 mutableMapOf(FG_PERM_NAME to (true to NO_FLAGS), BG_PERM_NAME to (true to newFlags)) in grantBgPermTest()
535 val pkg = createMockPackage(mapOf(FG_PERM_NAME to false, BG_PERM_NAME to false)) in grantBgAndFgPermTest()
556 mutableMapOf(FG_PERM_NAME to (true to newFlags), BG_PERM_NAME to (false to NO_FLAGS)) in grantBgAndFgPermTest()
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/util/
DWidgetPreviewContainerSizesTest.kt85 Point(1, 1) to WidgetPreviewContainerSize(1, 1),
87 Point(2, 1) to WidgetPreviewContainerSize(2, 1),
88 Point(3, 1) to WidgetPreviewContainerSize(2, 1),
90 Point(4, 1) to WidgetPreviewContainerSize(4, 1),
92 Point(2, 2) to WidgetPreviewContainerSize(2, 2),
93 Point(3, 3) to WidgetPreviewContainerSize(2, 2),
94 Point(3, 2) to WidgetPreviewContainerSize(2, 2),
96 Point(2, 3) to WidgetPreviewContainerSize(2, 3),
97 Point(3, 4) to WidgetPreviewContainerSize(2, 3),
98 Point(3, 5) to WidgetPreviewContainerSize(2, 3),
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile3 # This file describes the settings to be used by the documentation system
30 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
38 # If a relative path is entered, it will be relative to the location
43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
54 # information to generate all constant output in the proper language.
65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
67 # the file and class documentation (similar to JavaDoc).
68 # Set to NO to disable this.
[all …]
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile3 # This file describes the settings to be used by the documentation system
30 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
38 # If a relative path is entered, it will be relative to the location
43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
54 # information to generate all constant output in the proper language.
65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
67 # the file and class documentation (similar to JavaDoc).
68 # Set to NO to disable this.
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPermissionToDatatypeMapper.kt101 STEPS to listOf(StepsRecord::class.java, StepsCadenceRecord::class.java),
102 HEART_RATE to listOf(HeartRateRecord::class.java),
103 BASAL_METABOLIC_RATE to listOf(BasalMetabolicRateRecord::class.java),
104 SPEED to listOf(SpeedRecord::class.java),
105 DISTANCE to listOf(DistanceRecord::class.java),
106 POWER to listOf(PowerRecord::class.java),
107 ACTIVE_CALORIES_BURNED to listOf(ActiveCaloriesBurnedRecord::class.java),
108 TOTAL_CALORIES_BURNED to listOf(TotalCaloriesBurnedRecord::class.java),
109 HEIGHT to listOf(HeightRecord::class.java),
110 BODY_FAT to listOf(BodyFatRecord::class.java),
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DLingerMonitorTest.java122 NetworkAgentInfo to = cellNai(101); in testNotificationOnLinger() local
124 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationOnLinger()
125 verifyNotification(from, to); in testNotificationOnLinger()
133 NetworkAgentInfo to = cellNai(101); in testToastOnLinger() local
135 mMonitor.noteLingerDefaultNetwork(from, to); in testToastOnLinger()
136 verifyToast(from, to); in testToastOnLinger()
144 NetworkAgentInfo to = cellNai(101); in testNotificationClearedAfterDisconnect() local
146 mMonitor.noteLingerDefaultNetwork(from, to); in testNotificationClearedAfterDisconnect()
147 verifyNotification(from, to); in testNotificationClearedAfterDisconnect()
149 mMonitor.noteDisconnect(to); in testNotificationClearedAfterDisconnect()
[all …]
/packages/modules/adb/
DSERVICES.TXT1 This file tries to document all requests a client can make
2 to the ADB server of an adbd daemon. See the OVERVIEW.TXT document
3 to understand what's going on here.
11 Ask the ADB server to quit immediately. This is used when the
17 Ask to return the list of available Android devices and their
34 This is a special query that is sent to the ADB server when a
36 to the emulator's ADB control port, i.e. the TCP port that the
37 emulator will forward automatically to the adbd daemon running
40 This mechanism allows the ADB server to know when new emulator
44 Ask to switch the connection to the device/emulator identified by
[all …]
Dprotocol.txt4 When it comes down to it, aproto's primary purpose is to forward
9 to an extremely straightforward model optimized to accomplish the
14 be used by either commandline or interactive tools to communicate with
15 a device or emulator that is connected to the bridge.
17 The protocol is designed to be straightforward and well-defined enough
18 that if it needs to be reimplemented in another environment (Java
22 implementation to be much more robust.
50 The identifiers "local-id" and "remote-id" are always relative to the
61 The version is used to ensure protocol compatibility and maxdata
63 is willing to accept.
[all …]
DOVERVIEW.TXT5 The Android Debug Bridge (ADB) is used to:
8 connected to or running on a given host developer machine
19 is to sense the USB ports to know when devices are attached/removed,
23 to each one of them: OFFLINE, BOOTLOADER, RECOVERY or ONLINE (more on
27 to orchestrate the exchange of data (packets, really) between clients,
34 or emulated system. Its purpose is to connect to the ADB server
39 connected to the adbd program within it. Otherwise, the device is OFFLINE,
41 connect to the adbd daemon.
43 The BOOTLOADER and RECOVERY states correspond to alternate states of
48 The 'adb' command-line program is used to run adb commands from a shell
[all …]
/packages/apps/ManagedProvisioning/studio-dev/development/studio/
Didea.properties1 # Use ${idea.home.path} macro to specify location relative to IDE installation home.
2 … xxx is any Java property (including defined in previous lines of this file) to refer to its value.
5 # Uncomment this option if you want to customize path to IDE config folder. Make sure you're using …
9 # Uncomment this option if you want to customize path to IDE system folder. Make sure you're using …
13 # Uncomment this option if you want to customize path to IDE log folder. Make sure you're using for…
17 # Uncomment this option if you want to customize path to IDE plugins folder. Make sure you're using…
25 # Uncomment this option if you want to customize path to user installed plugins folder. Make sure y…
29 # Uncomment this option if you want to customize path to IDE logs folder. Make sure you're using fo…
35 # if code assistance is enabled. Remove this property or set to very large number if you need
40 # Maximum file size (kilobytes) IDE is able to open.
[all …]
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPhotoPickerPermissionTest.kt147 arrayOf(READ_MEDIA_IMAGES to false, READ_MEDIA_VISUAL_USER_SELECTED to false), in testNoPhotoSelectionTreatedAsCancel()
154 assertPermissionFlags(READ_MEDIA_IMAGES, FLAG_PERMISSION_USER_SET to false) in testNoPhotoSelectionTreatedAsCancel()
155 assertPermissionFlags(READ_MEDIA_VISUAL_USER_SELECTED, FLAG_PERMISSION_USER_SET to false) in testNoPhotoSelectionTreatedAsCancel()
163 arrayOf(READ_MEDIA_IMAGES to true), in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
176 FLAG_PERMISSION_ONE_TIME to true, in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
177 FLAG_PERMISSION_REVOKED_COMPAT to true in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
181 FLAG_PERMISSION_ONE_TIME to true, in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
182 FLAG_PERMISSION_REVOKED_COMPAT to true in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
186 FLAG_PERMISSION_ONE_TIME to false, in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
187 FLAG_PERMISSION_REVOKED_COMPAT to false in testImplicitUserSelectHasOneTimeGrantsWithoutAppOp()
[all …]
DPermissionTest29.kt53 android.Manifest.permission.ACCESS_BACKGROUND_LOCATION to false, in testRequestOnlyBackgroundNotPossible()
63 android.Manifest.permission.ACCESS_FINE_LOCATION to true, in testRequestBoth()
64 android.Manifest.permission.ACCESS_BACKGROUND_LOCATION to true, in testRequestBoth()
75 android.Manifest.permission.ACCESS_FINE_LOCATION to true in testRequestBothInSequence()
84 android.Manifest.permission.ACCESS_BACKGROUND_LOCATION to true, in testRequestBothInSequence()
97 android.Manifest.permission.ACCESS_FINE_LOCATION to true, in testRequestBothButGrantInSequence()
98 android.Manifest.permission.ACCESS_BACKGROUND_LOCATION to false in testRequestBothButGrantInSequence()
105 android.Manifest.permission.ACCESS_FINE_LOCATION to true, in testRequestBothButGrantInSequence()
106 android.Manifest.permission.ACCESS_BACKGROUND_LOCATION to true, in testRequestBothButGrantInSequence()
119 android.Manifest.permission.ACCESS_FINE_LOCATION to false, in testDenyBackgroundWithPrejudice()
[all …]
/packages/modules/Bluetooth/system/doc/
Dpower_management.md7 by the BTM HCI interfacing code, with results being posted back to the PM
13 The events fired to drive the state machine at the time of this writing are:
24 Each of these correspond to a function name in `bta/sys/bta_sys_conn.cc`, which
27 The PM code makes calls into the BTM module to set various power
32 controller, timers are used to post messages to the BTA workqueue thread as
37 currently known connections to a given device. Thus, if RFCOMM specifies that
38 it's willing to go to into SNIFF and specifies that as an action, and say, a PAN
39 connection is up which specifies it is willing to go into SNIFF, but its action
40 states it wants ACTIVE, the power management code will change to ACTIVE.
45 and what actions to take for the above events are defined in the
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/api/
DLoadMigrationRestoreStateUseCase.kt74 HealthConnectMigrationUiState.MIGRATION_UI_STATE_IDLE to MigrationUiState.IDLE, in <lambda>()
75 HealthConnectMigrationUiState.MIGRATION_UI_STATE_ALLOWED_MIGRATOR_DISABLED to in <lambda>()
77 HealthConnectMigrationUiState.MIGRATION_UI_STATE_ALLOWED_NOT_STARTED to in <lambda>()
79 HealthConnectMigrationUiState.MIGRATION_UI_STATE_ALLOWED_PAUSED to in <lambda>()
81 HealthConnectMigrationUiState.MIGRATION_UI_STATE_ALLOWED_ERROR to in <lambda>()
83 HealthConnectMigrationUiState.MIGRATION_UI_STATE_IN_PROGRESS to in <lambda>()
85 HealthConnectMigrationUiState.MIGRATION_UI_STATE_APP_UPGRADE_REQUIRED to in <lambda>()
87 HealthConnectMigrationUiState.MIGRATION_UI_STATE_MODULE_UPGRADE_REQUIRED to in <lambda>()
89 HealthConnectMigrationUiState.MIGRATION_UI_STATE_COMPLETE to in <lambda>()
91 HealthConnectMigrationUiState.MIGRATION_UI_STATE_COMPLETE_IDLE to in <lambda>()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/fifo_destinations/
Dfifo_destination_without_reports_deletion.json77 …// S3: Similar source to S2 but from a different publisher - to ensure that the limit doesn't appl…
111 // S4: Has one common web destination to S1; Leads to deletion of S2 to accommodate it
204 // T1: Attributes to S1
247 // T2: Attributes to S2
292 // T3: Attributes to S1
324 // T4: Attributes to S4
356 // T5: Fails to attribute as S2 was deleted
388 // T6: Attributes to S3
420 // T7: Fails to attribute as S1 was deleted
Dfifo_destination_with_reports_deletion.json77 …// S3: Similar source to S2 but from a different publisher - to ensure that the limit doesn't appl…
111 // S4: Has one common web destination to S1; Leads to deletion of S2 to accommodate it
204 // T1: Attributes to S1
247 // T2: Attributes to S2
292 // T3: Attributes to S1
324 // T4: Attributes to S4
356 // T5: Fails to attribute as S2 was deleted
388 // T6: Attributes to S3
420 // T7: Fails to attribute as S1 was deleted
/packages/modules/Virtualization/pvmfw/
DREADME.md5 (VMs) and the host. As a result, the host is only allowed to access memory that
7 therefore able to manipulate secrets without being at risk of an attacker
13 Furthermore, even though the isolation mentioned above allows pVMs to protect
16 access to those secrets, preventing the VMM from passing them to the pVM.
22 the pVM, allowing it to validate the environment and abort the boot sequence if
26 Given the threat model, pvmfw is not allowed to trust the devices or device
28 by the VMM. Instead, it performs all the necessary checks to ensure that the pVM
34 [Open Profile for DICE][open-dice]) that can be used to prove the identity of
35 the pVM to local and remote actors. If any operation or check fails, or in case
38 Otherwise, it hands over the pVM to the guest kernel by jumping to its first
[all …]
/packages/modules/Bluetooth/system/stack/fuzzers/
DREADME.md6 has been used as a popular approach to look for security vulnerabilities in
9 Due to the complex architecture of the Android Bluetooth stack, fuzzing the
11 multiple fuzzers are created to target different areas of the BT stack. Fuzzers
16 they can cause much severe damage comparing to local attacks. This makes the
17 incoming BT message handlers our focus. The goal is to be able to pipe randomly
18 generated data packets to those message handlers to explore the code path each
28 According to Bluetooth spec and the source code, most of the components we care
31 1. At initialization, a component registers itself to L2CAP with a set of
34 2. Each component also exposes certain APIs to upper layers, which can be higher
36 applications use these APIs to configure the stack, and issue requests.
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/responsive/
DSizeSpecTest.kt67 SizeSpec(100f) to 100, in validate_getCalculatedValue()
68 SizeSpec(ofAvailableSpace = .5f) to (availableSpace * .5f).roundToInt(), in validate_getCalculatedValue()
69 SizeSpec(ofRemainderSpace = .5f) to 0, in validate_getCalculatedValue()
70 SizeSpec(matchWorkspace = true) to matchWorkspaceValue, in validate_getCalculatedValue()
72 SizeSpec(100f, maxSize = 10) to 10, in validate_getCalculatedValue()
73 SizeSpec(ofAvailableSpace = .5f, maxSize = 10) to 10, in validate_getCalculatedValue()
74 SizeSpec(ofRemainderSpace = .5f, maxSize = 10) to 0, in validate_getCalculatedValue()
75 SizeSpec(matchWorkspace = true, maxSize = 10) to 10 in validate_getCalculatedValue()
90 SizeSpec(100f) to defaultValue, in validate_getRemainderSpaceValue()
91 SizeSpec(ofAvailableSpace = .5f) to defaultValue, in validate_getRemainderSpaceValue()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferencesStrings.kt25 DistanceUnit.KILOMETERS to R.string.distance_unit_kilometers_label,
26 DistanceUnit.MILES to R.string.distance_unit_miles_label,
27 HeightUnit.CENTIMETERS to R.string.height_unit_centimeters_label,
28 HeightUnit.FEET to R.string.height_unit_feet_label,
29 WeightUnit.POUND to R.string.weight_unit_pound_label,
30 WeightUnit.KILOGRAM to R.string.weight_unit_kilogram_label,
31 WeightUnit.STONE to R.string.weight_unit_stone_label,
32 EnergyUnit.CALORIE to R.string.energy_unit_calorie_label,
33 EnergyUnit.KILOJOULE to R.string.energy_unit_kilojoule_label,
34 TemperatureUnit.FAHRENHEIT to R.string.temperature_unit_fahrenheit_label,
[all …]
/packages/modules/Bluetooth/system/gd/rust/linux/docs/
Dstyle_guide.md2 This style guide is designed to encourage documentation that maximizes knowledge
10 time, effective use of acronyms (and abbreviations) can help to quickly convey
11 information compared to lengthy technical terms
13 to read than `l2cap` and offers no additional clarity if the reader is familiar
19 Layer") must be added to the [glossary](glossary.md) with an indication of
22 be shortened to `rfc`)
24 allowed and should be added to the [glossary](glossary.md) depending on
28 it is likely safe to leave it undocumented. Examples:
32 up high in search results and should be documented (not to be confused
34 3. Acronyms and abbreviations specific to the codebase are generally
[all …]
/packages/modules/AdServices/adservices/service-core/proto/
Dbidding_auction_servers.proto9 // Unless required by applicable law or agreed to in writing, software
28 // The key in the map corresponds to IGOwner (Interest Group Owner) that
30 // buyer participating in the auction. The value corresponds to plaintext
35 // This is required to construct browser signals for web.
36 // It will also be passed via GetBids to buyers for their Buyer KV lookup
37 // to fetch trusted bidding signals.
56 // Grouping of data pertaining to protected app signals.
66 // A BuyerInput includes data that a buyer (DSP) requires to generate bids.
76 // Required to trace back to origin of the winner ad
77 // NOTE: Corresponds to "origin" on B&A side
[all …]
/packages/apps/ManagedProvisioning/studio-dev/
DREADME.md8 - Run this command from the root of the initialized repo directory to start android studio
12 …h tablets). This configuration for system UI injects custom shell function to remount and replace …
16 Command line `make` will not work on this branch as it only tracks a small number of projects to ke…
19 - Make sure to have the rooted device connected. The script pulls the dex files from the device and…
23 - First time you install systemUI, you might need to
25 - reboot your device for dexopt to kick in
28 You should be able to run instrumented tests in AndroidStudio using `SystemUI` configuration.
31 If after a sync, you are unable to compile, it's probably because some API in framework changed and
32 you need to update your SDK. Depending on how you checked out your tree, there are two ways to
36 latest image (corresponding to the tree you are working on) from [Flashstation](http://go/flash) and
[all …]
/packages/apps/Contacts/
DNOTICE55 c. "Distribute" means to make available to the public the original and
77 composition with or without words; a cinematographic work to which are
78 assimilated works expressed by a process analogous to cinematography;
80 lithography; a photographic work to which are assimilated works
81 expressed by a process analogous to photography; a work of applied
83 relative to geography, topography, architecture or science; a
84 performance; a broadcast; a phonogram; a compilation of data to the
86 a variety or circus performer to the extent it is not otherwise
90 respect to the Work, or who has received express permission from the
91 Licensor to exercise rights under this License despite a previous
[all …]
/packages/modules/Bluetooth/android/pandora/server/src/
DServer.kt57 BluetoothProfile.A2DP to ::A2dp,
58 BluetoothProfile.A2DP_SINK to ::A2dpSink,
59 BluetoothProfile.HEARING_AID to ::Asha,
60 BluetoothProfile.AVRCP to ::Avrcp,
61 BluetoothProfile.GATT to ::Gatt,
62 BluetoothProfile.HEADSET to ::Hfp,
63 BluetoothProfile.HEADSET_CLIENT to ::HfpHandsfree,
64 BluetoothProfile.HID_HOST to ::Hid,
65 BluetoothProfile.PAN to ::Pan,
66 BluetoothProfile.PBAP to ::Pbap,
[all …]

12345678910>>...111