Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl371 void setAutoTimeEnabled(in ComponentName who, String callerPackageName, boolean enabled); in setAutoTimeEnabled() method
H A DDevicePolicyManager.java8686 public void setAutoTimeEnabled(@Nullable ComponentName admin, boolean enabled) { in setAutoTimeEnabled() method in DevicePolicyManager
8690 mService.setAutoTimeEnabled(admin, mContext.getPackageName(), enabled); in setAutoTimeEnabled()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerTest.java4340 dpm.setAutoTimeEnabled(admin1, true); in testSetAutoTimeEnabledModifiesSetting()
4343 dpm.setAutoTimeEnabled(admin1, false); in testSetAutoTimeEnabledModifiesSetting()
4351 dpm.setAutoTimeEnabled(admin1, true); in testSetAutoTimeEnabledWithPOOnUser0()
4354 dpm.setAutoTimeEnabled(admin1, false); in testSetAutoTimeEnabledWithPOOnUser0()
4362 () -> dpm.setAutoTimeEnabled(admin1, false)); in testSetAutoTimeEnabledFailWithPONotOnUser0()
4371 dpm.setAutoTimeEnabled(admin1, true); in testSetAutoTimeEnabledWithPOOfOrganizationOwnedDevice()
4374 dpm.setAutoTimeEnabled(admin1, false); in testSetAutoTimeEnabledWithPOOfOrganizationOwnedDevice()
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java8958 public void setAutoTimeEnabled(@Nullable ComponentName who, String callerPackageName,
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt7936 …ndroid.Manifest.permission.SET_TIME, conditional=true) public void setAutoTimeEnabled(@Nullable an…