Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/app/settings/
DDialerSettingsActivity.java120 boolean isPrimaryUser = isPrimaryUser(); in onBuildHeaders()
121 if (isPrimaryUser && TelephonyManagerCompat.getPhoneCount(telephonyManager) <= 1) { in onBuildHeaders()
146 addVoicemailSettings(target, isPrimaryUser); in onBuildHeaders()
148 if (isPrimaryUser in onBuildHeaders()
183 private void addVoicemailSettings(List<Header> target, boolean isPrimaryUser) { in addVoicemailSettings() argument
184 if (!isPrimaryUser) { in addVoicemailSettings()
326 private boolean isPrimaryUser() { in isPrimaryUser() method in DialerSettingsActivity
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/activityAttribution/
DActivityAttributionServiceTest.java38 Assume.assumeTrue("Ignore test when the user is not primary.", isPrimaryUser()); in setUp()
45 if (!isPrimaryUser()) { in tearDown()
52 private boolean isPrimaryUser() { in isPrimaryUser() method in ActivityAttributionServiceTest
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreServiceTest.java122 Assume.assumeTrue("Ignore test when the user is not primary.", isPrimaryUser()); in setUp()
137 if (!isPrimaryUser()) { in tearDown()
152 private boolean isPrimaryUser() { in isPrimaryUser() method in BluetoothKeystoreServiceTest
/packages/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java431 private boolean isPrimaryUser() { in isPrimaryUser() method in PhoneAccountSettingsFragment
434 return userManager.isPrimaryUser(); in isPrimaryUser()
DVoicemailSettingsActivity.java216 if (!userManager.isPrimaryUser()) { in onCreate()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java592 if (userManager.isPrimaryUser()) { in CallsManager()