Home
last modified time | relevance | path

Searched refs:setAutoTimeEnabled (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl373 void setAutoTimeEnabled(in ComponentName who, String callerPackageName, boolean enabled); in setAutoTimeEnabled() method
DDevicePolicyManager.java8966 public void setAutoTimeEnabled(@Nullable ComponentName admin, boolean enabled) { in setAutoTimeEnabled() method in DevicePolicyManager
8970 mService.setAutoTimeEnabled(admin, mContext.getPackageName(), enabled); in setAutoTimeEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java4346 dpm.setAutoTimeEnabled(admin1, true); in testSetAutoTimeEnabledModifiesSetting()
4349 dpm.setAutoTimeEnabled(admin1, false); in testSetAutoTimeEnabledModifiesSetting()
4357 dpm.setAutoTimeEnabled(admin1, true); in testSetAutoTimeEnabledWithPOOnUser0()
4360 dpm.setAutoTimeEnabled(admin1, false); in testSetAutoTimeEnabledWithPOOnUser0()
4368 () -> dpm.setAutoTimeEnabled(admin1, false)); in testSetAutoTimeEnabledFailWithPONotOnUser0()
4377 dpm.setAutoTimeEnabled(admin1, true); in testSetAutoTimeEnabledWithPOOfOrganizationOwnedDevice()
4380 dpm.setAutoTimeEnabled(admin1, false); in testSetAutoTimeEnabledWithPOOfOrganizationOwnedDevice()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9015 public void setAutoTimeEnabled(@Nullable ComponentName who, String callerPackageName,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt8162 …ndroid.Manifest.permission.SET_TIME, conditional=true) public void setAutoTimeEnabled(@Nullable an…