Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 991) sorted by relevance

12345678910>>...40

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageVerificationStateTest.java32 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_OnlyRequiredVerifier_AllowedInstall() local
47 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_OnlyRequiredVerifier_DeniedInstall() local
62 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndOneSufficient_RequiredDeniedInstall() local
87 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndOneSufficient_SufficientDeniedInstall() local
112 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndTwoSufficient_OneSufficientIsEnough() local
138 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndTwoSufficient_SecondSufficientIsEnough() local
169 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null); in testPackageVerificationState_RequiredAndTwoSufficient_RequiredOverrides() local
/frameworks/base/apct-tests/perftests/core/src/android/os/
DParcelArrayPerfTest.java85 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteByteArray() local
94 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateByteArray() local
103 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadByteArray() local
112 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteIntArray() local
121 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateIntArray() local
130 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadIntArray() local
139 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteLongArray() local
148 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeCreateLongArray() local
157 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadLongArray() local
DParcelPerfTest.java53 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeSetDataPosition() local
61 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteByte() local
71 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadByte() local
80 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteInt() local
90 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadInt() local
99 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeWriteLong() local
109 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in timeReadLong() local
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPathPerfTest.java35 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testReset() local
44 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAddReset() local
54 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testRewind() local
63 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testAddRewind() local
73 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsEmpty() local
83 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsConvex() local
93 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testGetSetFillType() local
104 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsRect() local
DRenderNodePerfTest.java39 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testMeasureRenderNodeJniOverhead() local
48 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreateRenderNodeNoName() local
57 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testCreateRenderNode() local
66 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testIsValid() local
75 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testStartEnd() local
85 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testStartEndDeepHierarchy() local
104 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testHasIdentityMatrix() local
113 final BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testSetOutline() local
/frameworks/base/core/tests/coretests/src/android/text/method/
DBackspaceTest.java56 private void backspace(final EditorState state, int modifiers) { in backspace()
72 EditorState state = new EditorState(); in testCombiningEnclosingKeycaps() local
100 EditorState state = new EditorState(); in testVariationSelector() local
164 EditorState state = new EditorState(); in testEmojiZWJSequence() local
244 EditorState state = new EditorState(); in testFlags() local
306 EditorState state = new EditorState(); in testEmojiModifier() local
335 EditorState state = new EditorState(); in testMixedEdgeCases() local
DForwardDeleteTest.java56 private void forwardDelete(final EditorState state, int modifiers) { in forwardDelete()
72 EditorState state = new EditorState(); in testCombiningEnclosingKeycaps() local
92 EditorState state = new EditorState(); in testVariationSelector() local
140 EditorState state = new EditorState(); in testEmojiZeroWidthJoinerSequence() local
183 EditorState state = new EditorState(); in testFlags() local
240 EditorState state = new EditorState(); in testEmojiModifier() local
269 EditorState state = new EditorState(); in testMixedEdgeCases() local
/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp39 static void BM_AssetManagerLoadAssets(benchmark::State& state) { in BM_AssetManagerLoadAssets()
49 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadAssetsOld()
62 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssets()
72 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssetsOld()
87 benchmark::State& state) { in GetResourceBenchmark()
116 static void BM_AssetManagerGetResource(benchmark::State& state) { in BM_AssetManagerGetResource()
122 static void BM_AssetManagerGetResourceOld(benchmark::State& state) { in BM_AssetManagerGetResourceOld()
128 static void BM_AssetManagerGetLibraryResource(benchmark::State& state) { in BM_AssetManagerGetLibraryResource()
136 static void BM_AssetManagerGetLibraryResourceOld(benchmark::State& state) { in BM_AssetManagerGetLibraryResourceOld()
146 static void BM_AssetManagerGetResourceFrameworkLocale(benchmark::State& state) { in BM_AssetManagerGetResourceFrameworkLocale()
[all …]
DSparseEntry_bench.cpp28 static void BM_SparseEntryGetResourceSparseSmall(benchmark::State& state) { in BM_SparseEntryGetResourceSparseSmall()
37 static void BM_SparseEntryGetResourceNotSparseSmall(benchmark::State& state) { in BM_SparseEntryGetResourceNotSparseSmall()
46 static void BM_SparseEntryGetResourceSparseLarge(benchmark::State& state) { in BM_SparseEntryGetResourceSparseLarge()
55 static void BM_SparseEntryGetResourceNotSparseLarge(benchmark::State& state) { in BM_SparseEntryGetResourceNotSparseLarge()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNightDisplayServiceTest.java541 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffAfterNight_turnsOff() local
556 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffBeforeNight_turnsOff() local
571 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffDuringNight_turnsOff() local
586 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOffInFuture_turnsOff() local
601 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnAfterNight_turnsOn() local
616 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnBeforeNight_turnsOff() local
631 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnDuringNight_turnsOff() local
646 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedAfterNight_ifOnInFuture_turnsOff() local
661 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedBeforeNight_ifOffAfterNight_turnsOff() local
676 final TwilightState state = mTwilightManager.getLastTwilightState(); in twilightSchedule_whenRebootedBeforeNight_ifOffBeforeNight_turnsOff() local
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/perftests/
DSystemPerfTest.java45 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testNanoTimePerf() local
53 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBenchmarkOverhead() local
64 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testBenchmarkPauseResumeOverhead() local
74 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayNoop() local
83 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayGetLength() local
92 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayCriticalAccess() local
101 BenchmarkState state = mPerfStatusReporter.getBenchmarkState(); in testJniArrayBasicAccess() local
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneConstantConversions.java32 public static int convertCallState(PhoneConstants.State state) { in convertCallState()
47 public static PhoneConstants.State convertCallState(int state) { in convertCallState()
62 public static int convertDataState(PhoneConstants.DataState state) { in convertDataState()
79 public static PhoneConstants.DataState convertDataState(int state) { in convertDataState()
/frameworks/base/services/core/java/com/android/server/wm/
DDimLayerController.java53 final DimLayerState state = getOrCreateDimLayerState(dimLayerUser); in updateDimLayer() local
99 DimLayerState state = mState.get(dimLayerUser); in getOrCreateDimLayerState() local
108 DimLayerState state = mState.get(dimLayerUser); in setContinueDimming() local
119 DimLayerState state = mState.valueAt(i); in isDimming() local
134 DimLayerState state = mState.get(dimLayerUser); in getContinueDimming() local
142 DimLayerState state = getOrCreateDimLayerState(dimLayerUser); in startDimmingIfNeeded() local
172 DimLayerState state = mState.get(dimLayerUser); in stopDimmingIfNeeded() local
196 final DimLayerState state = mState.valueAt(i); in animateDimLayers() local
249 DimLayerState state = mState.get(dimLayerUser); in animateDimLayers() local
303 DimLayerState state = mState.get(dimLayerUser); in isDimming() local
[all …]
/frameworks/rs/tests/lldb/
Drun_tests.py380 def _launch_emulator(state): argument
458 def _restart_emulator(state): argument
468 def _run_test(state, name, bundle_type): argument
555 def _check_lldbserver_exists(state): argument
576 def _suite_pre_run(state): argument
644 def _suite_post_run(state): argument
701 def _discover_tests(state): argument
736 def _deduce_python_path(state): argument
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DPipeline.java37 public void initBuffers(VrState state); in initBuffers()
43 public void setupTriangles(VrState state); in setupTriangles()
49 public void rasterizeTriangles(VrState state); in rasterizeTriangles()
55 public void raycast(VrState state); in raycast()
DBasicPipeline.java40 public void initBuffers(VrState state) { in initBuffers()
45 public void setupTriangles(VrState state) { in setupTriangles()
51 public void rasterizeTriangles(VrState state) { in rasterizeTriangles()
66 public void raycast(VrState state) { in raycast()
DVrPipline1.java36 public void initBuffers(VrState state) { in initBuffers()
55 private void creatOpacityAllocation(VrState state) { in creatOpacityAllocation()
59 private void creatColorMapAllocation(VrState state) { in creatColorMapAllocation()
64 public void setupTriangles(VrState state) { in setupTriangles()
92 public void raycast(VrState state) { in raycast()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java249 SavedState state = new SavedState(); in onSaveInstanceState() local
272 public void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState()
433 protected int getExtraLayoutSpace(RecyclerView.State state) { in getExtraLayoutSpace()
442 public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, in smoothScrollToPosition()
650 public void onLayoutCompleted(RecyclerView.State state) { in onLayoutCompleted()
667 void onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state, in onAnchorReady()
675 RecyclerView.State state, int startOffset, in layoutForPredictiveAnimations()
730 private void updateAnchorInfoForLayout(RecyclerView.Recycler recycler, RecyclerView.State state, in updateAnchorInfoForLayout()
759 RecyclerView.State state, AnchorInfo anchorInfo) { in updateAnchorFromChildren()
911 RecyclerView.State state, boolean canOffsetChildren) { in fixLayoutStartGap()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DVoLteServiceStateTest.java31 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_STARTED); in testGetState() local
37 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_FAILED); in testParcel() local
56 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_CANCELED); in testFillInNotifierBundle() local
63 VoLteServiceState state = new VoLteServiceState(VoLteServiceState.HANDOVER_STARTED); in testCopy() local
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java245 SavedState state = new SavedState(); in onSaveInstanceState() local
268 public void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState()
429 protected int getExtraLayoutSpace(RecyclerView.State state) { in getExtraLayoutSpace()
438 public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, in smoothScrollToPosition()
646 public void onLayoutCompleted(RecyclerView.State state) { in onLayoutCompleted()
663 void onAnchorReady(RecyclerView.Recycler recycler, RecyclerView.State state, in onAnchorReady()
671 RecyclerView.State state, int startOffset, int endOffset) { in layoutForPredictiveAnimations()
725 private void updateAnchorInfoForLayout(RecyclerView.Recycler recycler, RecyclerView.State state, in updateAnchorInfoForLayout()
754 RecyclerView.State state, AnchorInfo anchorInfo) { in updateAnchorFromChildren()
906 RecyclerView.State state, boolean canOffsetChildren) { in fixLayoutStartGap()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowManager.java114 private void applyKeyguardFlags(State state) { in applyKeyguardFlags()
128 private void adjustScreenOrientation(State state) { in adjustScreenOrientation()
140 private void applyFocusableFlag(State state) { in applyFocusableFlag()
157 private void applyHeight(State state) { in applyHeight()
170 private boolean isExpanded(State state) { in isExpanded()
176 private void applyFitsSystemWindows(State state) { in applyFitsSystemWindows()
184 private void applyUserActivityTimeout(State state) { in applyUserActivityTimeout()
194 private void applyInputFeatures(State state) { in applyInputFeatures()
206 private void apply(State state) { in apply()
231 private void applyForceStatusBarVisibleFlag(State state) { in applyForceStatusBarVisibleFlag()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dsid_sync.cpp166 Word16 sid_sync_init(void **state) in sid_sync_init()
260 sid_syncState *state = (sid_syncState *) st; in sid_sync_reset() local
335 void sid_sync_exit(void **state) in sid_sync_exit()
495 void sid_sync(void *state, in sid_sync()
/frameworks/base/libs/hwui/
DBakedOpDispatcher.cpp58 const BakedOpState& state = *(opList.states[i]); in onMergedBitmapOps() local
119 const BakedOpState& state = *opList.states[i]; in onMergedPatchOps() local
259 static void renderText(BakedOpRenderer& renderer, const TextOp& op, const BakedOpState& state, in renderText()
317 const BakedOpState& state = *(opList.states[i]); in onMergedTextOps() local
325 const BakedOpState& state = *(opList.states[i]); in onMergedTextOps() local
340 static void renderVertexBuffer(BakedOpRenderer& renderer, const BakedOpState& state, in renderVertexBuffer()
360 static void renderConvexPath(BakedOpRenderer& renderer, const BakedOpState& state, in renderConvexPath()
368 static void renderPathTexture(BakedOpRenderer& renderer, const BakedOpState& state, in renderPathTexture()
393 …BakedOpDispatcher::onArcOp(BakedOpRenderer& renderer, const ArcOp& op, const BakedOpState& state) { in onArcOp()
420 …pDispatcher::onBitmapOp(BakedOpRenderer& renderer, const BitmapOp& op, const BakedOpState& state) { in onBitmapOp()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dq_plsf.cpp78 Word16 Q_plsf_init(Q_plsfState **state) in Q_plsf_init()
110 Word16 Q_plsf_reset(Q_plsfState *state) in Q_plsf_reset()
134 void Q_plsf_exit(Q_plsfState **state) in Q_plsf_exit()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java173 NfcActivityState state = findActivityState(activity); in getActivityState() local
209 NfcActivityState state = getActivityState(activity); in enableReaderMode() local
225 NfcActivityState state = getActivityState(activity); in disableReaderMode() local
250 NfcActivityState state = getActivityState(activity); in setNdefPushContentUri() local
268 NfcActivityState state = getActivityState(activity); in setNdefPushContentUriCallback() local
284 NfcActivityState state = getActivityState(activity); in setNdefPushMessage() local
302 NfcActivityState state = getActivityState(activity); in setNdefPushMessageCallback() local
320 NfcActivityState state = getActivityState(activity); in setOnNdefPushCompleteCallback() local
364 NfcActivityState state = findResumedActivityState(); in createBeamShareData() local
421 NfcActivityState state = findResumedActivityState(); in onNdefPushComplete() local
[all …]

12345678910>>...40