Home
last modified time | relevance | path

Searched refs:mgr (Results 1 – 7 of 7) sorted by relevance

/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DCtsAudioClientActivity.java69 AudioManager mgr = (AudioManager) getSystemService(Context.AUDIO_SERVICE); in setVolume() local
70 mgr.setStreamMute(stream, false); in setVolume()
71 int original = mgr.getStreamVolume(AudioManager.STREAM_MUSIC); in setVolume()
74 targetLevel = mgr.getStreamMaxVolume(stream); in setVolume()
76 mgr.setStreamVolume(stream, targetLevel, 0); in setVolume()
/cts/tests/tests/telephony/src/android/telephony/cts/
DCarrierConfigManagerTest.java47 ConnectivityManager mgr = in hasTelephony() local
49 return mgr.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in hasTelephony()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp924 ACameraManager* mgr = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative() local
926 camera_status_t ret = ACameraManager_getCameraIdList(mgr, &cameraIdList); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
941 if (mgr) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
942 ACameraManager_delete(mgr); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerGetCameraIdsNative()
960 ACameraManager* mgr = ACameraManager_create(); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative() local
962 camera_status_t ret = ACameraManager_getCameraIdList(mgr, &cameraIdList); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
969 ret = ACameraManager_registerAvailabilityCallback(mgr, &cbs); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
983 ret = ACameraManager_unregisterAvailabilityCallback(mgr, &cbs); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
993 if (mgr) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
994 ACameraManager_delete(mgr); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerAvailabilityCallbackNative()
[all …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DCarrierApiTest.java64 ConnectivityManager mgr = in hasCellular() local
66 return mgr.isNetworkSupported(ConnectivityManager.TYPE_MOBILE); in hasCellular()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DEventBasicVerificationTest.java42 SensorManager mgr = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE); in testVerify() local
47 Sensor sensor2 = mgr.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testVerify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java97 AppWidgetManager mgr = AppWidgetManager.getInstance(ctx); in onReceive() local
98 Bundle options = getAppWidgetOptions(mgr, widgetId); in onReceive()
99 updateWidget(ctx, widgetId, mgr, options); in onReceive()
111 Bundle getAppWidgetOptions(AppWidgetManager mgr, int widgetId) { in getAppWidgetOptions() argument
113 return mgr.getAppWidgetOptions(widgetId); in getAppWidgetOptions()
/cts/tests/tests/media/assets/
Dsegment000001.ts2029 ���1_���o����IE��� /�C�z�%��`mgr�$��׫�{/�N❗ĝ�G��@�ᛈR0z�Z�=��#h��O��2G죉/e����̶�e����#�g…