Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 144) sorted by relevance

123456

/cts/tests/app/src/android/app/cts/
DActivityActionModeTest.java59 final ActionMode mode = mActivityRule.getActivity().startActionMode( in testStartPrimaryActionMode() local
73 final ActionMode mode = mActivityRule.getActivity().startActionMode( in testStartFloatingActionMode() local
87 final ActionMode mode = mActivityRule.getActivity().startActionMode(mCallback); in testStartTypelessActionMode() local
DUiModeManagerTest.java609 private void assertNightModeChange(int mode) { in assertNightModeChange()
614 private void assertVisibleNightModeInConfiguration(int mode) { in assertVisibleNightModeInConfiguration()
620 private void assertStoredNightModeSetting(int mode) { in assertStoredNightModeSetting()
636 private void setNightMode(int mode) { in setNightMode()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUtils.java55 static void grantClipUriPermissionViaActivity(ClipData clip, int mode) { in grantClipUriPermissionViaActivity()
59 static void grantClipUriPermissionViaActivities(ClipData clip, int mode) { in grantClipUriPermissionViaActivities()
63 static void grantClipUriPermissionViaService(ClipData clip, int mode) { in grantClipUriPermissionViaService()
67 private static void grantClipUriPermission(ClipData clip, int mode, String action) { in grantClipUriPermission()
91 static void grantClipUriPermissionViaContext(Uri uri, int mode) { in grantClipUriPermissionViaContext()
100 static void revokeClipUriPermissionViaContext(Uri uri, int mode) { in revokeClipUriPermissionViaContext()
DUriGrantsResultTest.java76 private void assertGrantableToResult(Uri uri, int mode, in assertGrantableToResult()
86 private void assertGrantableToResultInternal(Uri uri, int mode, in assertGrantableToResultInternal()
131 private void assertNotGrantableToResult(Uri uri, int mode, in assertNotGrantableToResult()
141 private void assertNotGrantableToResultInternal(Uri uri, int mode, in assertNotGrantableToResultInternal()
157 private Intent buildIntent(ClipData clip, int mode) { in buildIntent()
DUriGrantsActivityTest.java69 private void assertGrantableToActivity(Uri uri, int mode, Function<Uri, ClipData> clipper) { in assertGrantableToActivity()
115 assertNotGrantableToActivity(Uri.withAppendedPath(uri, "hah"), mode, clipper); in assertGrantableToActivity() local
143 private void assertNotGrantableToActivity(Uri uri, int mode, Function<Uri, ClipData> clipper) { in assertNotGrantableToActivity()
DUriGrantsServiceTest.java60 private void assertGrantableToService(Uri uri, int mode, Function<Uri, ClipData> clipper) { in assertGrantableToService()
111 assertNotGrantableToService(Uri.withAppendedPath(uri, "hah"), mode, clipper); in assertGrantableToService() local
151 private void assertNotGrantableToService(Uri uri, int mode, Function<Uri, ClipData> clipper) { in assertNotGrantableToService()
/cts/tests/tests/view/src/android/view/cts/
DActionModeCallback2Test.java81 public boolean onCreateActionMode(ActionMode mode, Menu menu) { in onCreateActionMode()
86 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { in onPrepareActionMode()
91 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { in onActionItemClicked()
96 public void onDestroyActionMode(ActionMode mode) {} in onDestroyActionMode()
/cts/libs/vogar-expect/src/vogar/expect/
DExpectationStore.java118 … public static ExpectationStore parse(Set<File> expectationFiles, ModeId mode) throws IOException { in parse()
138 Class<?> owningClass, Set<String> expectationResources, ModeId mode) in parseResources()
153 private void parse(URL url, ModeId mode) throws IOException { in parse()
162 public void parse(File expectationsFile, ModeId mode) throws IOException { in parse()
171 private void parse(Reader reader, String source, ModeId mode) throws IOException { in parse()
186 private void readExpectation(JsonReader reader, ModeId mode) throws IOException { in readExpectation()
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DAirplaneModeTest.java56 int mode; in testAll() local
97 int mode = getMode(); in runTest() local
DZenModeTest.java60 int mode; in testAll() local
99 int mode = getMode(); in runTest() local
/cts/tests/tests/media/libaudiojni/
Dsl-utils.h69 void envReleaseArrayElements(JNIEnv *env, jbyteArray array, jbyte *elems, jint mode) { in envReleaseArrayElements()
79 void envReleaseArrayElements(JNIEnv *env, jshortArray array, jshort *elems, jint mode) { in envReleaseArrayElements()
89 void envReleaseArrayElements(JNIEnv *env, jfloatArray array, jfloat *elems, jint mode) { in envReleaseArrayElements()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DTestUtils.java77 static void setLocationMode(Context context, int mode) { in setLocationMode()
79 mode); in setLocationMode() local
/cts/tests/tests/nfc/src/android/nfc/cts/
DNfcPreferredPaymentTest.java125 int mode = mCardEmulation.getSelectionModeForCategory(CardEmulation.CATEGORY_PAYMENT); in testGetSelectionModeForCategoryPayment() local
140 int mode = mCardEmulation.getSelectionModeForCategory(CardEmulation.CATEGORY_OTHER); in testGetSelectionModeForCategoryOther() local
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/
DCrossProfileAppsPermissionToInteractTest.java205 private void setAppOpOnCurrentProfile(int mode) { in setAppOpOnCurrentProfile()
213 private void setAppOpOnAllProfiles(int mode) { in setAppOpOnAllProfiles()
217 private void setAppOpOnAllProfiles(int mode, boolean includeCallingProfile) { in setAppOpOnAllProfiles()
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderSurfaceTest.java69 private void decodeAndSavePts(String file, String decoder, long pts, int mode, int frameLimit) in decodeAndSavePts()
147 final int mode = MediaExtractor.SEEK_TO_CLOSEST_SYNC; in testSimpleDecodeToSurface() local
211 final int mode = MediaExtractor.SEEK_TO_CLOSEST_SYNC; in testFlush() local
313 final int mode = MediaExtractor.SEEK_TO_CLOSEST_SYNC; in testReconfigure() local
/cts/suite/audio_quality/lib/src/audio/
DAudioProtocol.cpp115 uint32_t mode = param.mStereo ? 0x80000000 : 0; in sendCommand() local
136 uint32_t mode = param.mStereo ? 0x80000000 : 0; in sendCommand() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSetSystemSettingTest.java40 final int mode = Settings.System.getInt(mContext.getContentResolver(), in testSetBrightness() local
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/
DPermissionUtils.java121 public static void setAppOp(@NonNull String packageName, @NonNull String permission, int mode) { in setAppOp()
132 public static void setAppOpByName(@NonNull String packageName, @NonNull String op, int mode) { in setAppOpByName()
179 int mode = getAppOp(packageName, permission); in isGranted() local
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java104 int mode = getSystemSetting(Settings.System.SCREEN_BRIGHTNESS_MODE); in testBrightnessSliderTracking() local
154 int mode = getSystemSetting(Settings.System.SCREEN_BRIGHTNESS_MODE); in testNoTrackingForManualBrightness() local
194 int mode = getSystemSetting(Settings.System.SCREEN_BRIGHTNESS_MODE); in testNoColorSampleData() local
351 int mode = getSystemSetting(Settings.System.SCREEN_BRIGHTNESS_MODE); local
442 int mode = getSystemSetting(Settings.System.SCREEN_BRIGHTNESS_MODE); in testSetAndGetPerDisplay() local
DDisplayTestActivity.java52 public void setPreferredDisplayMode(Display.Mode mode) { in setPreferredDisplayMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java239 public static List<String> getUserRestrictionsForPolicyTransparency(int mode) { in getUserRestrictionsForPolicyTransparency()
262 int mode) { in getUserRestrictionTestIntent()
396 private static boolean isDeviceOwnerMode(int mode) { in isDeviceOwnerMode()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeColorFilterTest.java62 BlendModeColorFilterClient(int filterColor, BlendMode mode) { in BlendModeColorFilterClient()
87 private void testBlendModeColorFilter(int filterColor, BlendMode mode, int[] colors) { in testBlendModeColorFilter()
/cts/tests/JobScheduler/src/android/jobscheduler/
DTriggerContentJobService.java77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob() local
139 public void setMode(int mode, JobInfo jobInfo) { in setMode()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DTriggerContentJobService.java77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob() local
139 public void setMode(int mode, JobInfo jobInfo) { in setMode()
/cts/tests/tests/content/src/android/content/cts/
DMockSRSProvider.java37 public void setupSuggestions(String authority, int mode) { in setupSuggestions()

123456