Home
last modified time | relevance | path

Searched refs:MODE_DEFAULT (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAppOpsManagerTest.java4 import static android.app.AppOpsManager.MODE_DEFAULT;
71 appOps.setMode(OPSTR_GPS, UID_1, PACKAGE_NAME1, MODE_DEFAULT); in setMode_withModeDefault_atLeastP_checkOpNoThrow_shouldReturnModeDefault()
72 assertThat(appOps.checkOpNoThrow(OPSTR_GPS, UID_1, PACKAGE_NAME1)).isEqualTo(MODE_DEFAULT); in setMode_withModeDefault_atLeastP_checkOpNoThrow_shouldReturnModeDefault()
84 appOps.setMode(/* op= */ 2, UID_1, PACKAGE_NAME1, MODE_DEFAULT); in setMode_withModeDefault_atLeastKitKat_checkOpNoThrow_shouldReturnModeDefault()
85 assertThat(appOps.checkOpNoThrow(/* op= */ 2, UID_1, PACKAGE_NAME1)).isEqualTo(MODE_DEFAULT); in setMode_withModeDefault_atLeastKitKat_checkOpNoThrow_shouldReturnModeDefault()
114 appOps.setMode(OP_GPS, Binder.getCallingUid(), PACKAGE_NAME1, MODE_DEFAULT); in setMode_withModeDefault_atLeastR_noteProxyOpNoThrow_shouldReturnModeDefault()
116 .isEqualTo(MODE_DEFAULT); in setMode_withModeDefault_atLeastR_noteProxyOpNoThrow_shouldReturnModeDefault()
DShadowCrossProfileAppsTest.java5 import static android.app.AppOpsManager.MODE_DEFAULT;
365 .isEqualTo(MODE_DEFAULT); in clearInteractAcrossProfilesAppOps_clearsAppOps()
367 .isEqualTo(MODE_DEFAULT); in clearInteractAcrossProfilesAppOps_clearsAppOps()
/external/curl/lib/
Dfile.c276 #define MODE_DEFAULT O_WRONLY|O_CREAT|O_BINARY in file_upload() macro
278 #define MODE_DEFAULT O_WRONLY|O_CREAT in file_upload() macro
282 mode = MODE_DEFAULT|O_APPEND; in file_upload()
284 mode = MODE_DEFAULT|O_TRUNC; in file_upload()
/external/autotest/client/common_lib/cros/network/
Dxmlrpc_security_types.py192 MODE_DEFAULT = MODE_MIXED_WPA variable in WPAConfig
207 def __init__(self, psk='', wpa_mode=MODE_DEFAULT, wpa_ciphers=[],