/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_SecureTest.java | 49 private ContentResolver cr; field in Settings_SecureTest 53 cr = InstrumentationRegistry.getTargetContext().getContentResolver(); in setUp() 54 assertNotNull(cr); in setUp() 60 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in assertSettingsForTests() 62 String value = Secure.getString(cr, STRING_VALUE_SETTING); in assertSettingsForTests() 73 assertEquals(10, Secure.getInt(cr, "int", 10)); in testGetDefaultValues() 74 assertEquals(20, Secure.getLong(cr, "long", 20)); in testGetDefaultValues() 75 assertEquals(30.0f, Secure.getFloat(cr, "float", 30), 0.001); in testGetDefaultValues() 80 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutInt() 83 Secure.putInt(cr, NO_SUCH_SETTING, -1); in testGetPutInt() [all …]
|
D | Settings_SystemTest.java | 66 final ContentResolver cr = InstrumentationRegistry.getTargetContext().getContentResolver(); in testSystemSettings() local 75 Cursor c = cr.query(System.CONTENT_URI, null, null, null, null); in testSystemSettings() 79 System.getConfiguration(cr, cfg); in testSystemSettings() 89 assertTrue(System.putInt(cr, INT_FIELD, 10)); in testSystemSettings() 90 assertTrue(System.putLong(cr, LONG_FIELD, 20l)); in testSystemSettings() 91 assertTrue(System.putFloat(cr, FLOAT_FIELD, 30.0f)); in testSystemSettings() 92 assertTrue(System.putString(cr, STRING_FIELD, stringValue)); in testSystemSettings() 94 c = cr.query(System.CONTENT_URI, null, null, null, null); in testSystemSettings() 99 assertEquals(10, System.getInt(cr, INT_FIELD)); in testSystemSettings() 100 assertEquals(20l, System.getLong(cr, LONG_FIELD)); in testSystemSettings() [all …]
|
D | Settings_NameValueTableTest.java | 58 final ContentResolver cr = InstrumentationRegistry.getTargetContext().getContentResolver(); in testPutString() local 65 Cursor c = cr.query(uri, null, null, null, null); in testPutString() 70 MyNameValueTable.putString(cr, uri, name, value); in testPutString() 71 c = cr.query(uri, null, null, null, null); in testPutString() 77 c = cr.query(uri, null, selection, null, null); in testPutString()
|
D | SettingsTest.java | 90 ContentResolver cr = getContext().getContentResolver(); in testSystemTable() local 92 cr.acquireContentProviderClient(Settings.System.CONTENT_URI); in testSystemTable() 141 ContentResolver cr = getContext().getContentResolver(); in testSecureTable() local 143 cr.acquireContentProviderClient(Settings.Secure.CONTENT_URI); in testSecureTable() 165 ContentResolver cr = getContext().getContentResolver(); in tryBadTableAccess() local 173 cr.insert(uri, cv); in tryBadTableAccess() 181 cr.update(uri, cv, NAME_EQ_PLACEHOLDER, new String[]{name}); in tryBadTableAccess() 189 cr.query(uri, SELECT_VALUE, NAME_EQ_PLACEHOLDER, in tryBadTableAccess() 199 cr.delete(uri, NAME_EQ_PLACEHOLDER, new String[]{name}); in tryBadTableAccess() 207 String mimeType = cr.getType(uri); in tryBadTableAccess() [all …]
|
D | SearchRecentSuggestionsTest.java | 94 ContentResolver cr = mProviderContext.getContentResolver(); in testSearchRecentSuggestions() local 95 ((MySearchRecentSuggestions) srs).truncateHistory(cr, 2); in testSearchRecentSuggestions() 192 protected void truncateHistory(ContentResolver cr, int maxEntries) { in truncateHistory() argument 193 super.truncateHistory(cr, maxEntries); in truncateHistory()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ColorUtils.java | 48 final float cr = (V - r) / vtemp; in hue() local 55 H = 2 + cr - cb; in hue() 57 H = 4 + cg - cr; in hue()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | ServiceControlUtils.java | 33 public static String getEnabledServices(ContentResolver cr) { in getEnabledServices() argument 34 return Settings.Secure.getString(cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); in getEnabledServices()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | LocationAccessCheckTest.java | 349 ContentResolver cr = sContext.getContentResolver(); in reduceDelays() local 352 Settings.Secure.putLong(cr, LOCATION_ACCESS_CHECK_INTERVAL_MILLIS, 100); in reduceDelays() 353 Settings.Secure.putLong(cr, LOCATION_ACCESS_CHECK_DELAY_MILLIS, 50); in reduceDelays() 511 ContentResolver cr = sContext.getContentResolver(); in resetDelays() local 513 Settings.Secure.resetToDefaults(cr, LOCATION_ACCESS_CHECK_INTERVAL_MILLIS); in resetDelays() 514 Settings.Secure.resetToDefaults(cr, LOCATION_ACCESS_CHECK_DELAY_MILLIS); in resetDelays()
|
/cts/apps/CameraITS/tests/scene4/ |
D | test_multi_camera_alignment.py | 440 cr = caps[(fmt, i)]['metadata']['android.scaler.cropRegion'] 441 crw = cr['right'] - cr['left'] 442 crh = cr['bottom'] - cr['top'] 446 circle[i][0] = cr['left'] + circle[i][0] / zoom_ratio 447 circle[i][1] = cr['top'] + circle[i][1] / zoom_ratio
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioManagerStub.java | 42 public static void setCTSResult(CTSResult cr) { in setCTSResult() argument 43 mCTSResult = cr; in setCTSResult()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 528 ContentResolver cr = context.getContentResolver(); in enableAccessibilityService() local 529 String enabledServices = Settings.Secure.getString(cr, in enableAccessibilityService() 531 Settings.Secure.putString(cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, in enableAccessibilityService() 533 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_ENABLED, 1); in enableAccessibilityService() 592 ContentResolver cr = context.getContentResolver(); in turnAccessibilityOff() local 594 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, null); in turnAccessibilityOff()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | PhoneNumberUtilsTest.java | 172 ContentResolver cr = getContext().getContentResolver(); in testGetMethods() local 179 personRecord = cr.insert(People.CONTENT_URI, values); in testGetMethods() 184 phoneRecord = cr.insert(phoneUri, values); in testGetMethods() 191 cr.delete(personRecord, null, null); in testGetMethods() 194 cr.delete(phoneRecord, null, null); in testGetMethods()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/ |
D | SettingsSession.java | 68 T get(ContentResolver cr, String key) throws SettingNotFoundException; in get() argument 73 void set(ContentResolver cr, String key, T value); in set() argument
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalActivityManagerTestHelper.java | 46 public static void setResult(CTSResult cr) { in setResult() argument 47 sResult = cr; in setResult()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | AtomTestCase.java | 181 CommandResult cr = getDevice().executeShellV2Command(cmd); in resetPerfettoGuardrails() local 182 if (cr.getStatus() != CommandStatus.SUCCESS) in resetPerfettoGuardrails() 183 …ew Exception(String.format("Error while executing %s: %s %s", cmd, cr.getStdout(), cr.getStderr())… in resetPerfettoGuardrails()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 637 final ContentResolver cr = getInstrumentation().getContext().getContentResolver(); in setAndVerifyPrivateDns() local 642 Settings.Global.putString(cr, PRIVATE_DNS_SPECIFIER_SETTING, privateDnsHostname); in setAndVerifyPrivateDns() 643 Settings.Global.putString(cr, PRIVATE_DNS_MODE_SETTING, in setAndVerifyPrivateDns() 646 Settings.Global.putString(cr, PRIVATE_DNS_MODE_SETTING, PRIVATE_DNS_MODE_OPPORTUNISTIC); in setAndVerifyPrivateDns()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | AsyncQueryHandlerTest.java | 318 public MockAsyncQueryHandler(ContentResolver cr) { in MockAsyncQueryHandler() argument 319 super(cr); in MockAsyncQueryHandler()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | AllocationTest.java | 316 float cr = yuvData[2] & 0xFF; // V channel in convertPixelYuvToRgb() local 319 float r = y + 1.402f * (cr - 128); in convertPixelYuvToRgb() 320 float g = y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128); in convertPixelYuvToRgb()
|
D | ImageReaderTest.java | 796 float cr = crRow[crPix] & 0xFF; in convertPixelYuvToRgba() local 799 int r = (int) Math.max(0.0f, Math.min(COLOR_RANGE, y + 1.402f * (cr - 128))); in convertPixelYuvToRgba() 801 Math.min(COLOR_RANGE, y - 0.34414f * (cb - 128) - 0.71414f * (cr - 128))); in convertPixelYuvToRgba()
|
/cts/tests/tests/media/assets/hls_variant/344388/ |
D | 20.ts | 760 S�����g�ֻ���7cr���S��:�ix�ץ5[��D� 1219 …�^�VY�S_&��4���:�;}Ѷ��vN�������LG/�(S��R����V�v�s���H�J���@���0cr��X+���_dIޯ�7^z…
|
D | 24.ts | 269 �a� 4���gL��S����-��i�~��Ō�GA���!�%q �A�/JD7��8J�L�ҵ��Q�cr?� ~����~���h�…
|
/cts/tests/tests/media/assets/hls_variant/165340/ |
D | 18.ts | 399 …�� �:��v��?a M&|ҽ������� ��~�GV��_�i���J���DRڐ�r��i�^�ZR����]�cr��F�GK��C4�Y�����a[…
|
D | 10.ts | 519 …��#*�0�o���P8\�C��9b+�J���Zm��&��Cl"�Vgs��;��@^������0��|pcr���G3�8M2B���…
|
/cts/tests/tests/media/assets/hls_variant/387360/ |
D | 02.ts | 632 …J�He�� �.�hi�QG�J�y@P�NG�UMw��::��eT��b��l^B=*r��u��� �'d��Z��cr��ї5x.*7;�jڮݬ�����… 1340 …�B�=���,+g��ݐ�b=�6Dv���\�2�?,��k��nRg$4����Rv"�9�{���������p��?|�6�cr�__6��D�J�)��o��x�… 1662 …%'J�������BB��-��R�Z}�?�Ժ����{�ܹ2֭PE�x��f�n�oT�S�]E2'�~}�����T�cr h�ηj�G�ВY�t~��%8�…
|
/cts/tests/tests/media/assets/hls_variant/765178/ |
D | 17.ts | 1224 ��C���� � ,v���F�ԁ2�/�;������UXȤ@ �L�b��L��/��Tlj/{DG���i�L^�۲�9+�̀��M����/T��cr-9�`,O… 1297 �u(o�~�Z3만v=��A�EVQ�}��6��mG�����;�����<?�Hi7��'�m�$s<5��d/M�%4�Y|�^cr\)L�.����� 1940 O@Z�GqĄ�cr*N�t6W���ȩ�H-��v�Z�|����jD
|