Home
last modified time | relevance | path

Searched refs:only (Results 1 – 25 of 204) sorted by relevance

123456789

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/internal/
H A DLifecycleOperationStorageTest.java77 assertThat(tokens).isEqualTo(only(TOKEN_1)); in testRegisterOperation_singleOperation()
92 assertThat(statePendingTokens).isEqualTo(only(TOKEN_1)); in testRegisterOperation_multipleOperations()
104 assertThat(tokens).isEqualTo(only(TOKEN_1)); in testRegisterOperationForPackages_singlePackage()
119 assertThat(tokensFoo).isEqualTo(only(TOKEN_1)); in testRegisterOperationForPackages_multiplePackage()
121 assertThat(tokensBaz).isEqualTo(only(TOKEN_2)); in testRegisterOperationForPackages_multiplePackage()
132 assertThat(typeWaitTokens).isEqualTo(only(TOKEN_2)); in testRemoveOperation()
133 assertThat(statePendingTokens).isEqualTo(only(TOKEN_2)); in testRemoveOperation()
159 assertThat(tokensFoo).isEqualTo(only(TOKEN_1)); in testRemoveOperation_removesPackageMappings()
160 assertThat(tokensBar).isEqualTo(only(TOKEN_1)); in testRemoveOperation_removesPackageMappings()
185 .isEqualTo(only(TOKEN_1)); in testOnOperationComplete_pendingAdvancesState_invokesCallback()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
H A DUncaughtExceptionPreHandlerTest.kt13 import org.mockito.Mockito.only
38 verify(mockHandler, only()).uncaughtException(any(), any())
53 verify(mockHandler, only()).uncaughtException(any(), any())
63 verify(mockHandler2, only()).uncaughtException(any(), any())
64 verify(mockHandler, only()).uncaughtException(any(), any())
/aosp14/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator_test.cpp87 <!-- This is a private permission for system only!
91 <!-- @TestApi This is a test only permission. -->
138 <!-- This is a private permission for system only!
142 <!-- @TestApi This is a test only permission. -->
/aosp14/frameworks/base/wifi/java/
H A DAndroid.bp16 // updatable), and are generally only called by the Wifi module.
18 // necessary since we only want the `path` property to only refer to these files
/aosp14/frameworks/base/core/proto/android/os/
H A Dmessage.proto33 … // Lower-cost alternative to using setData() if the app only needs to store a few integer values.
35 … // Lower-cost alternative to using setData() if the app only needs to store a few integer values.
39 // only be populated if it contains a Parcelable of a framework class (not one
/aosp14/frameworks/base/tools/validatekeymaps/
H A DAndroid.bp41 // libbinder is only available for linux
47 // This tool is prebuilt if we're doing an app-only build.
/aosp14/frameworks/base/tools/obbtool/
H A DAndroid.bp34 // This tool is prebuilt if we're doing an app-only build.
54 // This tool is prebuilt if we're doing an app-only build.
/aosp14/frameworks/base/libs/hwui/
H A Dlibhwui.map.txt1 LIBHWUI { # platform-only /* HWUI isn't current a module, so all of these are still platform-only */
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
H A DFrameTrackerTest.java38 import static org.mockito.Mockito.only;
155 verify(mRenderer, only()).addObserver(any()); in testOnlyFirstWindowFrameOverThreshold()
190 verify(mRenderer, only()).addObserver(any()); in testSfJank()
227 verify(mRenderer, only()).addObserver(any()); in testFirstFrameJankyNoTrigger()
264 verify(mRenderer, only()).addObserver(any()); in testOtherFrameOverThreshold()
301 verify(mRenderer, only()).addObserver(any()); in testLastFrameOverThresholdBeforeEnd()
344 verify(mRenderer, only()).addObserver(any()); in testNoOvercountingAfterEnd()
408 verify(mRenderer, only()).addObserver(any()); in testCancelIfEndVsyncIdEqualsToBeginVsyncId()
432 verify(mRenderer, only()).addObserver(any()); in testCancelIfEndVsyncIdLessThanBeginVsyncId()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
H A Dthreading.md25 - `ShellMainThread` (only used if the resource `config_enableShellMainThread` is set true
40 - `ShellAnimationThread` (currently only used for Transitions and Splitscreen, but potentially all
42 - `ShellSplashScreenThread` (only for use with splashscreens)
75 - That said, sometimes Handlers are necessary because Framework API only takes Handlers or you
H A Dtesting.md34 **Note**: Currently Flicker tests can only be run from the commandline and not via SysUI Studio
46 These can also be run via commandline only using `atest`, for example:
/aosp14/frameworks/base/
H A DProtoLibraries.bp106 // ==== java proto device library (for test only) ==============================
133 // ==== java proto device library (for test only) ==============================
218 // This is okay because this library is only built as a static library. The C++
238 // This is the full proto version of libplatformprotos. It may only
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DBLASTSync.md29 constraints we analyze it for a single window only (as this is actually the hard part).
47 … 1. The server may only send changes to the syncable state paired with the seqId. The client may
48 only receive them together (e.g. not from other sources)
69 If we send it the client must receive it. Since we only increment the seqId, and the client only ta…
80 Since we only receive the SeqId with the State changes (requirement 1),
85 By the same argument it can't be sent too early! Since we only send seqIds we receive from the serv…
86 and we only send seqIds after completing a drawing pass of the assosciated state.
138 be fired before applying the next transaction. Since the commit callback is only
152 this scenario since only BBQ uses its apply token.
177 and sync transactions. This means the pending transaction is only useful in
/aosp14/frameworks/base/tests/ApkVerityTest/
H A DTEST_MAPPING6 // nextgen test only runs during postsubmit.
/aosp14/frameworks/base/core/proto/android/
H A Dsection.proto50 // incidentd calls legacy text dumpsys for annotated field. The section will only be generated
58 // If true, then the section will only be generated for userdebug and eng
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dfalsing.md24 You can _act_ on the results of the `FalsingManager`. Instead of only telling
74 performs a only very basic checking, checking that observed `MotionEvent`s are
75 all within some small x & y region ("touch slop"). Useful for only the most simple of scenarios,
92 All the above rules are applied only after first confirming the gesture does
96 penalized in the event that the tap is rejected. This value is only used if
101 tap is truly false or not, so a single mis-tap should apply only a small penalty.
140 Please try to call the `FalsingManager` only once per gesture. Wait until you
142 will update its belief in pocket dialing based only on the last call made, so multiple calls per
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DOWNERS4 #Android Media - For minor changes and renames only.
/aosp14/system/core/bootstat/
H A Dbootstat.rc46 # only once per device hard reboot. Possible values:
55 # state machine only once, which as result ensures that bootstat --set_system_boot_reason and
56 # bootstat --record_boot_complete will be called only once per full reboot.
/aosp14/frameworks/base/packages/SystemUI/docs/device-entry/
H A Dbouncer.md9 1. Phone, portrait mode - The default and typically only way to view the bouncer. Screen cannot rot…
10 1. Phone, landscape - Can only get into this state via lockscreen activities. Launch camera, rotate…
/aosp14/frameworks/base/tools/aosp/
H A Daosp_sha.sh33 done < <(git show --name-only --pretty=format: $1 | grep -- "$2")
/aosp14/frameworks/base/core/proto/android/server/
H A Djobscheduler.proto251 // expected to run only {@link QUOTA_CONTROLLER_ALLOWED_TIME_PER_PERIOD_MS} within the past
255 // expected to run only {@link QUOTA_CONTROLLER_ALLOWED_TIME_PER_PERIOD_MS} within the past
259 // expected to run only {@link QUOTA_CONTROLLER_ALLOWED_TIME_PER_PERIOD_MS} within the past
263 // expected to run only {@link QUOTA_CONTROLLER_ALLOWED_TIME_PER_PERIOD_MS} within the past
267 // expected to run only {@link QUOTA_CONTROLLER_ALLOWED_TIME_PER_PERIOD_MS} within the past
317 // standby bucket can only have expedited job sessions totalling EJ_LIMIT (without factoring
600 // run as a foreground job. Valid only if is_foreground_requested_job is true.
641 // The time after which the app will be under the bucket quota. This is only valid if
660 // ConstantsProto.QuotaController.rate_limiting_window_ms. This should only be
701 // How many background jobs are currently running. Valid only if is_active is true.
[all …]
/aosp14/frameworks/base/packages/SettingsLib/Spa/
H A Dgradle.properties27 # This option should only be used with decoupled projects. More details, visit
36 # Enables namespacing of each library's R class so that its R class includes only the
/aosp14/system/core/init/
H A DREADME.md73 ensures that the only service entries that init reads and the only
111 This versioning scheme is used only for the init files within APEX
234 stdio_to_kmsg option, which only connects stdout and stderr to kmsg.
294 only PRODUCT_DEFAULT_PROPERTY_OVERRIDES properties can be used.
299 of the device's physical memory (only if memcg is mounted).
459 An Action can have multiple property triggers but may only have one
463 `on boot && property:a=b` defines an action that is only executed when
531 `class_restart [--only-enabled] <serviceclass>`
680 `restart [--only-if-running] <service>`
683 specified, the service is only restarted if it is already running.
[all …]
/aosp14/system/core/rootdir/
H A Dueventd.rc26 # ueventd can only set permissions on device nodes and their associated
40 # Aside from kernel threads, only prng_seeder needs access to HW RNG
/aosp14/frameworks/base/core/tests/packagemanagertests/
H A DAndroid.bp12 // We only want this apk build for tests.

123456789