/cts/tests/app/src/android/app/cts/ |
D | ActivityActionModeTest.java | 59 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
|
D | UiModeManagerTest.java | 609 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/ |
D | Utils.java | 55 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()
|
D | UriGrantsResultTest.java | 76 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()
|
D | UriGrantsActivityTest.java | 69 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()
|
D | UriGrantsServiceTest.java | 60 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/ |
D | ActionModeCallback2Test.java | 81 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/ |
D | ExpectationStore.java | 118 … 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/ |
D | AirplaneModeTest.java | 56 int mode; in testAll() local 97 int mode = getMode(); in runTest() local
|
D | ZenModeTest.java | 60 int mode; in testAll() local 99 int mode = getMode(); in runTest() local
|
/cts/tests/tests/media/libaudiojni/ |
D | sl-utils.h | 69 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/ |
D | TestUtils.java | 77 static void setLocationMode(Context context, int mode) { in setLocationMode() 79 mode); in setLocationMode() local
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | NfcPreferredPaymentTest.java | 125 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/ |
D | CrossProfileAppsPermissionToInteractTest.java | 205 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/ |
D | CodecDecoderSurfaceTest.java | 69 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/ |
D | AudioProtocol.cpp | 115 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/ |
D | SetSystemSettingTest.java | 40 final int mode = Settings.System.getInt(mContext.getContentResolver(), in testSetBrightness() local
|
/cts/tests/tests/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | PermissionUtils.java | 121 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/ |
D | BrightnessTest.java | 104 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
|
D | DisplayTestActivity.java | 52 public void setPreferredDisplayMode(Display.Mode mode) { in setPreferredDisplayMode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | UserRestrictions.java | 239 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/ |
D | BlendModeColorFilterTest.java | 62 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/ |
D | TriggerContentJobService.java | 77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob() local 139 public void setMode(int mode, JobInfo jobInfo) { in setMode()
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/ |
D | TriggerContentJobService.java | 77 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/ |
D | MockSRSProvider.java | 37 public void setupSuggestions(String authority, int mode) { in setupSuggestions()
|