Home
last modified time | relevance | path

Searched refs:called (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/support/core/ktx/src/androidTest/java/androidx/core/os/
DHandlerTest.kt46 var called = 0 in postDelayedLambdaMillis() variable
48 called++ in postDelayedLambdaMillis()
52 assertEquals(1, called) in postDelayedLambdaMillis()
56 var called = 0 in postDelayedLambdaMillisRemoved() variable
58 called++ in postDelayedLambdaMillisRemoved()
63 assertEquals(0, called) in postDelayedLambdaMillisRemoved()
67 var called = 0 in postAtTimeLambda() variable
69 called++ in postAtTimeLambda()
73 assertEquals(1, called) in postAtTimeLambda()
77 var called = 0 in postAtTimeLambdaRemoved() variable
[all …]
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/animation/
DAnimatorTest.kt43 var called = false in testDoOnStart() variable
45 called = true in testDoOnStart()
49 assertTrue(called) in testDoOnStart()
53 var called = false in testDoOnEnd() variable
55 called = true in testDoOnEnd()
59 assertTrue(called) in testDoOnEnd()
73 var called = false in testDoOnRepeat() variable
75 called = true in testDoOnRepeat()
79 assertTrue(called) in testDoOnRepeat()
85 var called = false in testDoOnPause() variable
[all …]
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/
DTimingLoggerTest.kt25 val called = arrayOf(false, false, false) in timingLogger() constant
30 called[0] = true in timingLogger()
33 called[1] = true in timingLogger()
36 called[2] = true in timingLogger()
40 assertTrue(called.reduce(Boolean::and)) in timingLogger()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/transition/
DTransitionTest.kt49 val called = AtomicBoolean() in testDoOnStart() constant
51 called.set(true) in testDoOnStart()
55 assertTrue(called.get()) in testDoOnStart()
59 val called = AtomicBoolean() in testDoOnEnd() constant
61 called.set(true) in testDoOnEnd()
81 assertTrue(called.get()) in testDoOnEnd()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/
DViewTest.kt56 var called = false in doOnLayoutBeforeLayout() variable
58 called = true in doOnLayoutBeforeLayout()
61 assertTrue(called) in doOnLayoutBeforeLayout()
68 var called = false in doOnLayoutAfterLayout() variable
70 called = true in doOnLayoutAfterLayout()
72 assertTrue(called) in doOnLayoutAfterLayout()
82 var called = false in doOnLayoutWhileLayoutRequested() variable
84 called = true in doOnLayoutWhileLayoutRequested()
88 assertFalse(called) in doOnLayoutWhileLayoutRequested()
92 assertTrue(called) in doOnLayoutWhileLayoutRequested()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccConnectorTest.java115 final AtomicBoolean called = new AtomicBoolean(false); in testInitialState_commandRejected() local
124 assertTrue("Callback called twice", called.compareAndSet(false, true)); in testInitialState_commandRejected()
128 assertTrue(called.get()); in testInitialState_commandRejected()
136 final AtomicBoolean called = new AtomicBoolean(false); in testInitialState_switchCommandRejected() local
145 assertTrue("Callback called twice", called.compareAndSet(false, true)); in testInitialState_switchCommandRejected()
149 assertTrue(called.get()); in testInitialState_switchCommandRejected()
237 final AtomicBoolean called = new AtomicBoolean(false); in testCommandDispatch_remoteException() local
246 assertTrue("Callback called twice", called.compareAndSet(false, true)); in testCommandDispatch_remoteException()
250 assertTrue(called.get()); in testCommandDispatch_remoteException()
259 final AtomicBoolean called = new AtomicBoolean(false); in testCommandDispatch_processDied() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DThreadUtilsTest.java63 assertThat(cr.called).isFalse(); in testPostOnMainThread_shouldRunOnMainTread()
66 assertThat(cr.called).isTrue(); in testPostOnMainThread_shouldRunOnMainTread()
71 volatile boolean called; field in ThreadUtilsTest.TestRunnable
75 this.called = true; in run()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/media/
DPlaybackGlueTest.java93 final boolean[] called = new boolean[] {false, false}; in listenerModification()
97 called[0] = true; in listenerModification()
109 called[1] = true; in listenerModification()
116 assertTrue(called[0]); in listenerModification()
117 assertTrue(called[1]); in listenerModification()
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
DContextCompatTest.java76 final AtomicBoolean called = new AtomicBoolean(); in getSystemServiceNameCallsRealMethodOn23() local
80 called.set(true); in getSystemServiceNameCallsRealMethodOn23()
87 assertTrue(called.get()); in getSystemServiceNameCallsRealMethodOn23()
107 final AtomicBoolean called = new AtomicBoolean(); in getSystemServiceCallsRealMethodOn23() local
114 called.set(true); in getSystemServiceCallsRealMethodOn23()
121 assertTrue(called.get()); in getSystemServiceCallsRealMethodOn23()
/frameworks/base/services/core/java/com/android/server/am/
DEventLogTags.logtags56 # The activity's onPause has been called.
58 # The activity's onResume has been called.
84 # Log.wtf() called
109 # The activity's onStop has been called.
129 # The activity's onCreate has been called.
131 # The activity's onRestart has been called.
133 # The activity's onStart has been called.
135 # The activity's onDestroy has been called.
137 # The activity's onActivityResult has been called.
/frameworks/rs/script_api/
Drs_io.spec35 This function should not be called from inside a kernel, or from any function
36 that may be called directly or indirectly from a kernel. Doing so would cause a
50 This function should not be called from inside a kernel, or from any function
51 that may be called directly or indirectly from a kernel. Doing so would cause a
Drs_time.spec58 Returns the time in seconds since this function was last called in this script.
/frameworks/hardware/interfaces/displayservice/1.0/
DIDisplayEventReceiver.hal27 * BAD_VALUE if callback is nullptr or if this has already been called.
37 * called. By default, this will be zero. Must be >= 0.
57 * Client must call this method if init was called.
61 * BAD_VALUE if init has not been called.
/frameworks/rs/script_api/include/
Drs_io.rsh35 * This function should not be called from inside a kernel, or from any function
36 * that may be called directly or indirectly from a kernel. Doing so would cause a
52 * This function should not be called from inside a kernel, or from any function
53 * that may be called directly or indirectly from a kernel. Doing so would cause a
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt8called more than once. Therefore, we need to add the running time of the same kernel together to g…
14 2. make and install the Refocus test app. Open up logcat and launch the app. Two scripts are called
34 This command strip up the messy log and put the clean data into a new file called N5cleanData.txt
/frameworks/native/services/surfaceflinger/tests/unittests/
DAsyncCallRecorder.h115 bool called = !mCalls.empty(); variable
117 if (called) {
/frameworks/hardware/interfaces/sensorservice/1.0/
DIEventQueueCallback.hal22 * An IEventQueueCallback describes the callback that is called upon
27 * When any event is obtained from the sensor, this function must be called
DIEventQueue.hal26 * max batch report latency. If enableSensor is called multiple times on the
/frameworks/compile/slang/tests/F_ctxt_wrong_name/
Dstderr.txt.expect1 context.rs:5:57: error: The special parameter of type 'rs_kernel_context' must be called 'context' …
/frameworks/native/cmds/dumpstate/
Dbugreport-format.md20 _bugreport-DATE.txt_ file, but then **Shell** creates a zip file called
29 The zip file is by default called _bugreport-BUILD_ID-DATE.zip_ and it contains a
31 **Shell**), in which case they would be called _bugreport-BUILD_ID-NEW_NAME.zip_ and
106 release, the version will be called **1.1** or something like that.
/frameworks/compile/slang/
DREADME.rst242 * In terms of a script's global functions, they can be called from Java.
244 on whether a function called will have actually completed operation. If it
250 * The function **init** (if present) will be called once after the script
253 on globals initialized from Java as it will be called before these
259 will be called when a script must redraw its contents. No
261 called. It will only be called if the script is bound as a graphics root.
265 indicates to the runtime when the function should be called again to
/frameworks/support/legacy/core-ui/
DNOTICES.md8 - Several public methods that are only meant to be called by app developers (and not internally by
/frameworks/native/opengl/tests/testViewport/
DREADME28 call (which means it is called before every draw), the program runs correctly.
/frameworks/base/core/proto/android/service/
Dappwidget.proto31 optional bool isHostStopped = 2; // true if host has not called startListening yet
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt122 EGLDisplay. The <set> and <get> functions may be called at any time and
124 called until the time that the last resource associated with <dpy> is
129 behave as though eglSetBlobCacheFuncsANDROID was not called for the display

123