/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | StorageTest.java | 128 final StorageManager sm = getContext().getSystemService(StorageManager.class); in testVerifySpaceApi() local 131 final long cacheSize = sm.getCacheSizeBytes( in testVerifySpaceApi() 132 sm.getUuidForPath(getContext().getCacheDir())); in testVerifySpaceApi() 133 final long extCacheSize = sm.getCacheSizeBytes( in testVerifySpaceApi() 134 sm.getUuidForPath(getContext().getExternalCacheDir())); in testVerifySpaceApi() 178 final StorageManager sm = getContext().getSystemService(StorageManager.class); in testVerifyQuotaApi() local 180 final long cacheSize = sm.getCacheQuotaBytes( in testVerifyQuotaApi() 181 sm.getUuidForPath(getContext().getCacheDir())); in testVerifyQuotaApi() 186 final StorageManager sm = getContext().getSystemService(StorageManager.class); in testVerifyAllocateApi() local 191 final UUID filesUuid = sm.getUuidForPath(filesDir); in testVerifyAllocateApi() [all …]
|
D | UtilsReceiver.java | 54 final StorageManager sm = context.getSystemService(StorageManager.class); in doAllocation() local 62 final UUID intUuid = sm.getUuidForPath(intDir); in doAllocation() 63 final UUID extUuid = sm.getUuidForPath(extDir); in doAllocation() 69 final long quota = sm.getCacheQuotaBytes(intUuid); in doAllocation()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SubscriptionManagerTest.java | 416 (sm) -> sm.createSubscriptionGroup(subGroup)); in testSubscriptionGroupingWithPermission() 432 (sm) -> sm.addSubscriptionsIntoGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission() 439 (sm) -> sm.removeSubscriptionsFromGroup(availableSubGroup, uuid)); in testSubscriptionGroupingWithPermission() 444 (sm) -> sm.removeSubscriptionsFromGroup(subGroup, uuid)); in testSubscriptionGroupingWithPermission() 507 (sm) -> sm.getEnabledSubscriptionId(slotId)); in testGetEnabledSubscriptionId() 515 (sm) -> sm.isSubscriptionEnabled(mSubId)); in testSetAndCheckSubscriptionEnabled() 523 (sm) -> sm.setSubscriptionEnabled(mSubId, !enabled)); in testSetAndCheckSubscriptionEnabled() 532 (sm) -> sm.getPreferredDataSubscriptionId()); in testSetPreferredDataSubscriptionId() 562 (sm) -> sm.setPreferredDataSubscriptionId(newPreferredSubId, false, in testSetPreferredDataSubscriptionId() 572 (sm) -> sm.getPreferredDataSubscriptionId()); in testSetPreferredDataSubscriptionId() [all …]
|
D | TelephonyManagerTest.java | 1136 SubscriptionManager sm = (SubscriptionManager) getContext() in testGetMeidForSlot() local 1138 List<SubscriptionInfo> subInfos = sm.getActiveSubscriptionInfoList(); in testGetMeidForSlot()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | ScopedDirectoryAccessClientTest.java | 110 final StorageManager sm = (StorageManager) in getVolumes() local 112 final List<StorageVolume> volumes = sm.getStorageVolumes(); in getVolumes() 118 final StorageManager sm = (StorageManager) in getPrimaryVolume() local 120 return sm.getPrimaryStorageVolume(); in getPrimaryVolume()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | VoldExploitTest.java | 31 final StorageManager sm = (StorageManager) getContext().getSystemService( in testTryCommandInjection() local 33 String path = sm.getMountedObbPath("/dev/null\0asec list"); in testTryCommandInjection()
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 250 final StorageManager sm = context.getSystemService(StorageManager.class); in testCacheClearing() local 255 final UUID filesUuid = sm.getUuidForPath(filesDir); in testCacheClearing() 259 final long beforeAllocatable = sm.getAllocatableBytes(filesUuid); in testCacheClearing() 279 sm.getAllocatableBytes(filesUuid), 10 * MB_IN_BYTES); in testCacheClearing() 284 sm.getAllocatableBytes(filesUuid), 10 * MB_IN_BYTES); in testCacheClearing() 298 sm.allocateBytes(filesUuid, clear1); in testCacheClearing() 313 sm.allocateBytes(filesUuid, clear2); in testCacheClearing() 325 final StorageManager sm = context.getSystemService(StorageManager.class); in testCacheBehavior() local 328 final UUID filesUuid = sm.getUuidForPath(context.getFilesDir()); in testCacheBehavior() 346 sm.setCacheBehaviorGroup(group, true); in testCacheBehavior() [all …]
|
/cts/apps/NotificationBot/src/com/android/cts/robot/ |
D | NotificationBot.java | 108 final ShortcutManager sm = context.getSystemService(ShortcutManager.class); in testShortcutResetSetupNotification() local 115 while (!sm.isRateLimitingActive()) { in testShortcutResetSetupNotification() 116 sm.setDynamicShortcuts(EMPTY_LIST); in testShortcutResetSetupNotification() 168 final ShortcutManager sm = context.getSystemService(ShortcutManager.class); in testShortcutResetInlineReplyReceived() local 171 final boolean success = !sm.isRateLimitingActive(); in testShortcutResetInlineReplyReceived()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2419/ |
D | poc.cpp | 45 sp<IServiceManager> sm = defaultServiceManager(); in doInforLeakTest() local 46 sp<IBinder> mediaPlayerSevice = sm->checkService(String16("media.player")); in doInforLeakTest()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13232/ |
D | poc.cpp | 75 sp<IServiceManager> sm = defaultServiceManager(); in getOutputForAttr() local 76 sp<IBinder> binder = sm->getService(String16("media.audio_policy")); in getOutputForAttr()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13253/ |
D | poc.cpp | 34 sp<IServiceManager> sm = defaultServiceManager(); in main() local 35 sp<IBinder> binder = sm->getService(String16("media.drm")); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2460/ |
D | poc.cpp | 33 sp<IServiceManager> sm = defaultServiceManager(); in main() local 34 sp<IBinder> MeidaPlayerService = sm->checkService(String16("media.player")); in main()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | OrientationEventListenerTest.java | 63 SensorManager sm = (SensorManager)mContext.getSystemService(Context.SENSOR_SERVICE); in testCanDetectOrientation() local 65 boolean hasSensor = (sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null); in testCanDetectOrientation()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreTest.java | 127 final StorageManager sm = mContext.getSystemService(StorageManager.class); in testGetStorageVolume() local 128 final StorageVolume sv = sm.getStorageVolume(uri); in testGetStorageVolume() 134 assertEquals(sm.getPrimaryStorageVolume(), sv); in testGetStorageVolume() 140 final StorageManager sm = mContext.getSystemService(StorageManager.class); in testGetStorageVolume_Unrelated() local 142 sm.getStorageVolume(Uri.parse("content://com.example/path/to/item/")); in testGetStorageVolume_Unrelated()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/ |
D | poc.cpp | 90 sp<IServiceManager> sm = defaultServiceManager(); in main() local 91 sp<IBinder> service = sm->checkService(String16("activity")); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/ |
D | poc.cpp | 50 sp<IServiceManager> sm = defaultServiceManager(); in make_crypto() local 51 sp<IBinder> drm_binder = sm->getService(String16("media.drm")); in make_crypto()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | SearchUtil.java | 105 SearchManager sm = (SearchManager) context.getSystemService(Context.SEARCH_SERVICE); in getSearchableInfos() local 106 List<SearchableInfo> globalSearchableInfos = sm.getSearchablesInGlobalSearch(); in getSearchableInfos()
|
/cts/tests/tests/media/assets/hls_variant/165340/ |
D | 22.ts | 319 …����������������������GA�&��!e����\@#��.*t[�@��%Z)�)�U�D��smG�~V�;����^�}^�\��… 626 …�s9W������TR1"(�};��d�4���ިC�����w,v������fQ�~�=���?:�#��G�����m���sm�O��G&�����N���}…
|
/cts/tests/tests/media/assets/hls_variant/387360/ |
D | 02.ts | 703 �1 s����X�f��?�z�v({I|ǎ�R����>��q"f����{sm@���`��w֣Spld�E�}W>���,ڣ� 981 +��Ś���ܯ`�U̦G��{�G��+�K�&7;���T��*d�8�D�d�G'�-1��U��cѥ��*[��I�sm��F7MM�pJ0�D?G��k:�* … 1677 ]�>�b���<xh�LN�"�߳*�S����`��j�a7��a�M���'N�i��%$�Ԙ�f�H`��{sm"�h6��火yG\�.j B2�Gj…
|
D | 12.ts | 1090 …C�^�E[aVd�Gs[����S2Z�� 1��lz�z4�@y�Ϳ���h�@�Q�X���=<g��n��Ȋ:z ���sm�b��X�qnG���`����…
|
/cts/tests/tests/media/assets/hls_variant/344388/ |
D | 21.ts | 573 ��Tz��ח����u��Ah�jEֈ*t�VO_y3��w2-�&Պg6�\���!е+���¦k��S��K���誤D��!��8ϽLtr�smytHտ] 1144 …����ܟ�����96M$Cs��\���m2$&g�O�Dq�6gޭ.l,H^R�����t=�ŵݶIF��zv��G��hƢ=sm�b/XZT���}�``���…
|
/cts/tests/tests/media/assets/hls_variant/765178/ |
D | 01.ts | 502 …Q��W�x��VN 0c<:x�JNb�zq�;��Z��+9��h!3ߑ)O�u?�~^���fd��G-z��?ܒ��sm�5��8p/���C�DHo�4��… 1086 G�p�箥��:�q���&�i���El��bK1�~�w�.HK+�5��b�sm��.�Fλ=%I:H91E�r�Dg��P��pP�o1� 1576 L�sm��d�8��9�X�͆���^ڥ��|uG8ϺG��qv�JU 1614 r�|��`j���P�����(��sm|��(Ez��a;i�Wϡ},^V�,j��0/����)I��C5"=�߂u���L�JG=��\ 3482 …�Q�|�?�S����f��<=��e%�;~�>�:��q��b�M���uFS&E�"w���Y�iY(���*�SqN>sm��M�+����ʻ,2�'��>���…
|
D | 19.ts | 253 …����������������������������������������������������������j��ґ��\�1�}�sm��b��*z�����K<l��… 1235 oR�w���{��L9��QI�����bbq�sm��dL�V�Z�w[#9N�;Z�v=e�ɴ�� 3101 …�nQ���2]�}`iˁ�9&� �?N������v����e�&d��yK̲���jФ�`���LɅ2��cD�U��sm}Ζe0�&��Z�H�ͮ��]~j…
|
D | 13.ts | 1314 O�[�ky���Afbx|���ļ������<Q-�����sm���:s2,�I$חY��xnEZ������x( 2167 …N�[-�T�($����>���$�W}mt��ϗYW��[7�$��ρ��pGϐ���p�K��*喻"��AN�����1+�sm��k��"v�B[>3n�����… 2780 …G�>����%���;�5Dq���w�RL0mm8ˌ:G��{7��5��ќm��c�qd5���t���[xI�cD���sm�5h�������N撔��zW8s…
|
D | 03.ts | 1483 d�(*�������L���&L�&Y^����cj��.�sm�s�~sy��������q��G?U�����������������������������������… 1888 …�[�L�Oi��13��m��,c��S�e�$}KijӰ�w�zƏ<���T����C�_�}g*��~�s ؘ0*��a3B?��sm�MS��um5��M��7�����`Ш 2879 …Cf�4�r=���-��@��UNT̕�P-���2�!��sGA� ���!i� ��zԯQ�ύ�!sm��r{�5%�N�W��B�cڰQr�*…
|