Home
last modified time | relevance | path

Searched refs:prepare (Results 1 – 25 of 376) sorted by relevance

12345678910>>...16

/frameworks/ml/nn/common/include/
DOperationResolver.h37 std::function<bool(IOperationExecutionContext*)> prepare; member
52 std::function<bool(IOperationExecutionContext*)> prepare, in OperationRegistration()
57 prepare(prepare), in OperationRegistration()
119 #define NN_REGISTER_OPERATION(identifier, operationName, validate, prepare, execute, ...) \ argument
122 validate, prepare, execute, {__VA_ARGS__}); \
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimState.java41 public void prepare(ScrimState previousState) { in prepare() method
68 public void prepare(ScrimState previousState) { in prepare() method
79 public void prepare(ScrimState previousState) { in prepare() method
90 public void prepare(ScrimState previousState) { in prepare() method
101 public void prepare(ScrimState previousState) { in prepare() method
129 public void prepare(ScrimState previousState) { in prepare() method
156 public void prepare(ScrimState previousState) { in prepare() method
186 public void prepare(ScrimState previousState) { in prepare() method
227 public void prepare(ScrimState previousState) { in prepare() method in ScrimState
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaPlayerStateUnitTestTemplate.java108 Looper.prepare(); in initializeMessageLooper()
178 mMediaPlayer.prepare(); in setMediaPlayerToIdleStateAfterReset()
200 mMediaPlayer.prepare(); in setMediaPlayerToPreparedState()
211 mMediaPlayer.prepare(); in setMediaPlayerToPreparedStateAfterStop()
214 mMediaPlayer.prepare(); in setMediaPlayerToPreparedStateAfterStop()
225 mMediaPlayer.prepare(); in setMediaPlayerToStartedState()
237 mMediaPlayer.prepare(); in setMediaPlayerToStartedStateAfterPause()
262 mMediaPlayer.prepare(); in setMediaPlayerToPausedState()
275 mMediaPlayer.prepare(); in setMediaPlayerToStoppedState()
288 mMediaPlayer.prepare(); in setMediaPlayerToPlaybackCompletedState()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java101 mp.prepare(); in getDuration()
121 mp.prepare(); in getCurrentPosition()
153 mp.prepare(); in seekTo()
180 mp.prepare(); in setLooping()
217 mp.prepare(); in pause()
242 mp.prepare(); in prepareStopRelease()
251 mp.prepare(); in preparePauseRelease()
285 mMediaPlayer.prepare(); in videoHeight()
321 mMediaPlayer.prepare(); in videoWidth()
346 mp.prepare(); in videoSeekTo()
[all …]
/frameworks/ml/nn/common/operations/
DElementwise.cpp134 bool prepare(IOperationExecutionContext* context) { in prepare() function
175 NN_REGISTER_OPERATION(ABS, "ABS", elementwise::validateAbs, elementwise::prepare,
177 NN_REGISTER_OPERATION(EXP, "EXP", elementwise::validate, elementwise::prepare,
181 NN_REGISTER_OPERATION(LOG, "LOG", elementwise::validate, elementwise::prepare,
183 NN_REGISTER_OPERATION(RSQRT, "RSQRT", elementwise::validate, elementwise::prepare,
185 NN_REGISTER_OPERATION(SIN, "SIN", elementwise::validate, elementwise::prepare,
187 NN_REGISTER_OPERATION(SQRT, "SQRT", elementwise::validate, elementwise::prepare,
DReduce.cpp128 bool prepare(IOperationExecutionContext* context) { in prepare() function
256 NN_REGISTER_OPERATION(REDUCE_PROD, "REDUCE_PROD", reduce::validateProdSum, reduce::prepare,
258 NN_REGISTER_OPERATION(REDUCE_SUM, "REDUCE_SUM", reduce::validateProdSum, reduce::prepare,
260 NN_REGISTER_OPERATION(REDUCE_MAX, "REDUCE_MAX", reduce::validateMaxMin, reduce::prepare,
262 NN_REGISTER_OPERATION(REDUCE_MIN, "REDUCE_MIN", reduce::validateMaxMin, reduce::prepare,
264 NN_REGISTER_OPERATION(REDUCE_ANY, "REDUCE_ANY", reduce::validateLogical, reduce::prepare,
266 NN_REGISTER_OPERATION(REDUCE_ALL, "REDUCE_ALL", reduce::validateLogical, reduce::prepare,
DComparisons.cpp148 bool prepare(IOperationExecutionContext* context) { in prepare() function
272 NN_REGISTER_OPERATION(LESS, "LESS", comparisons::validate, comparisons::prepare,
274 NN_REGISTER_OPERATION(LESS_EQUAL, "LESS_EQUAL", comparisons::validate, comparisons::prepare,
276 NN_REGISTER_OPERATION(EQUAL, "EQUAL", comparisons::validate, comparisons::prepare,
278 NN_REGISTER_OPERATION(NOT_EQUAL, "NOT_EQUAL", comparisons::validate, comparisons::prepare,
280 NN_REGISTER_OPERATION(GREATER_EQUAL, "GREATER_EQUAL", comparisons::validate, comparisons::prepare,
282 NN_REGISTER_OPERATION(GREATER, "GREATER", comparisons::validate, comparisons::prepare,
DLogicalAndOr.cpp74 bool prepare(IOperationExecutionContext* context) { in prepare() function
100 NN_REGISTER_OPERATION(LOGICAL_AND, "LOGICAL_AND", logical::validate, logical::prepare,
102 NN_REGISTER_OPERATION(LOGICAL_OR, "LOGICAL_OR", logical::validate, logical::prepare,
DRank.cpp53 bool prepare(IOperationExecutionContext* context) { in prepare() function
66 NN_REGISTER_OPERATION(RANK, "RANK", rank_op::validate, rank_op::prepare, rank_op::execute);
DLogicalNot.cpp58 bool prepare(IOperationExecutionContext* context) { in prepare() function
73 NN_REGISTER_OPERATION(LOGICAL_NOT, "LOGICAL_NOT", logical_not::validate, logical_not::prepare,
DNeg.cpp65 bool prepare(IOperationExecutionContext* context) { in prepare() function
93 NN_REGISTER_OPERATION(NEG, neg::kOperationName, neg::validate, neg::prepare, neg::execute);
DElu.cpp73 bool prepare(IOperationExecutionContext* context) { in prepare() function
101 NN_REGISTER_OPERATION(ELU, "ELU", elu::validate, elu::prepare, elu::execute);
DFill.cpp86 bool prepare(IOperationExecutionContext* context) { in prepare() function
114 NN_REGISTER_OPERATION(FILL, "FILL", fill_op::validate, fill_op::prepare, fill_op::execute);
DCast.h26 bool prepare(const Shape& input, Shape* output);
DQuantize.cpp89 bool prepare(IOperationExecutionContext* context) { in prepare() function
131 NN_REGISTER_OPERATION(QUANTIZE, "QUANTIZE", quantize::validate, quantize::prepare,
DSqueeze.cpp72 bool prepare(IOperationExecutionContext* context) { in prepare() function
145 NN_REGISTER_OPERATION(SQUEEZE, "SQUEEZE", squeeze::validate, squeeze::prepare, squeeze::execute,
DPow.h26 bool prepare(const Shape& in1, const Shape& in2, Shape* output);
DExpandDims.h26 bool prepare(const Shape& input, int32_t axis, Shape* output);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java77 Looper.prepare(); in setUp()
151 mp.prepare(); in validateRecordedVideo()
242 mRecorder.prepare(); in recordVideoAndPlayback()
253 mp.prepare(); in recordVideoAndPlayback()
345 mRecorder.prepare(); in testStressTimeLapse()
356 mp.prepare(); in testStressTimeLapse()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DRenderSurfaceTest.cpp197 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F()
204 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F()
211 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F()
223 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F()
235 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F()
247 EXPECT_CALL(mHwComposer, prepare(*DEFAULT_DISPLAY_ID, Ref(mDisplay))) in TEST_F()
/frameworks/base/core/java/android/os/
DLooper.java102 public static void prepare() { in prepare() method in Looper
103 prepare(true); in prepare()
106 private static void prepare(boolean quitAllowed) { in prepare() method in Looper
122 prepare(false); in prepareMainLooper()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java177 public void prepare(Surface surface) throws CameraAccessException { in prepare() method in CameraConstrainedHighSpeedCaptureSessionImpl
178 mSessionImpl.prepare(surface); in prepare()
182 public void prepare(int maxCount, Surface surface) throws CameraAccessException { in prepare() method in CameraConstrainedHighSpeedCaptureSessionImpl
183 mSessionImpl.prepare(maxCount, surface); in prepare()
/frameworks/av/media/libmediaplayerservice/
DTestPlayerStub.h84 virtual status_t prepare() {return mPlayer->prepare();} in prepare() function
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java300 mScheduler.prepare(currentFilters()); in onOpenGraph()
320 mScheduler.prepare(currentFilters()); in onStarve()
439 public void prepare(Filter[] filters); in prepare() method
454 public void prepare(Filter[] filters) { in prepare() method in GraphRunner.LruScheduler
488 public void prepare(Filter[] filters) { in prepare() method in GraphRunner.LfuScheduler
517 public void prepare(Filter[] filters) { in prepare() method in GraphRunner.OneShotScheduler
/frameworks/base/core/java/android/content/pm/
DIOtaDexopt.aidl32 void prepare(); in prepare() method

12345678910>>...16