/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | ContactsPermissions.java | 39 boolean ok = false; in hasCallerOrSelfPermission() 42 ok = true; // Called by self; always allow. in hasCallerOrSelfPermission() 44 ok = context.checkCallingOrSelfPermission(permission) in hasCallerOrSelfPermission() 52 + " ok=" + ok); in hasCallerOrSelfPermission() 54 return ok; in hasCallerOrSelfPermission() 58 final boolean ok = hasCallerOrSelfPermission(context, permission); in enforceCallingOrSelfPermission() 59 if (!ok) { in enforceCallingOrSelfPermission() 66 boolean ok = false; in hasPackagePermission() 68 ok = true; // Called by self; always allow. in hasPackagePermission() 70 ok = context.getPackageManager().checkPermission(permission, pkg) in hasPackagePermission() [all …]
|
/packages/apps/Bluetooth/jni/ |
D | bluetooth_socket_manager.cc | 56 return Status::ok(); in connectSocket() 61 return Status::ok(); in connectSocket() 96 return Status::ok(); in createSocketChannel() 101 return Status::ok(); in createSocketChannel() 117 return Status::ok(); in requestMaximumTxDataLength()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/ |
D | SqlCheckerTest.java | 167 private void checkEnsureNoInvalidTokens(boolean ok, String sql, String... tokens) { in checkEnsureNoInvalidTokens() argument 168 if (ok) { in checkEnsureNoInvalidTokens() 203 private void checkEnsureSingleTokenOnly(boolean ok, String sql, String... tokens) { in checkEnsureSingleTokenOnly() argument 204 if (ok) { in checkEnsureSingleTokenOnly()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ConfirmCredentialTest.java | 40 fm, "title", android.R.string.yes, android.R.string.ok, false)).isTrue(); in testLastTryDialogShownExactlyOnce() 42 fm, "title", android.R.string.yes, android.R.string.ok, false)).isFalse(); in testLastTryDialogShownExactlyOnce() 47 fm, "title", android.R.string.yes, android.R.string.ok, false)).isTrue(); in testLastTryDialogShownExactlyOnce()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 423 boolean ok = true; 429 ok = false; 437 return ok; 443 boolean ok = true; 445 ok = deleteCertificateEntry(alias); 449 return ok;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utils.java | 75 .setPositiveButton(android.R.string.ok, disconnectListener) in showDisconnectDialog() 83 CharSequence okText = context.getText(android.R.string.ok); in showDisconnectDialog() 113 .setPositiveButton(android.R.string.ok, null) in showError()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | Utils.java | 77 .setPositiveButton(android.R.string.ok, disconnectListener) in showDisconnectDialog() 85 CharSequence okText = context.getText(android.R.string.ok); in showDisconnectDialog() 115 .setPositiveButton(android.R.string.ok, null) in showError()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountServerSettingsActivity.java | 196 public void onSecurityRequiredDialogResult(boolean ok) { in onSecurityRequiredDialogResult() argument 197 if (ok) { in onSecurityRequiredDialogResult() 249 android.R.string.ok, in onCreateDialog()
|
D | SecurityRequiredDialogFragment.java | 51 void onSecurityRequiredDialogResult(boolean ok); in onSecurityRequiredDialogResult() argument 79 context.getString(android.R.string.ok), in onCreateDialog()
|
/packages/services/Car/tools/keventreader/server/ |
D | eventprovider.cpp | 45 return Status::ok(); in registerCallback() 51 return Status::ok(); in unregisterCallback()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
D | ImapResponseParserTest.java | 356 } catch (MessagingException ok) { in expectMessagingException() 358 } catch (IOException ok) { in expectMessagingException() 392 } catch (ByeException ok) { in testByeReceived()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | DtmfKeyListener.java | 109 if (!ok(getAcceptedChars(), c)) { in onKeyDown() 148 if (!ok(getAcceptedChars(), c)) { in onKeyUp()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | PresetManagementDialog.java | 43 view.findViewById(R.id.ok).setOnClickListener(this); in onCreateView() 58 case R.id.ok: in onClick()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | ErrorDialogActivity.java | 88 .setMessage(msg).setPositiveButton(android.R.string.ok, clickListener) in showGenericErrorDialog() 103 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in showMissingVoicemailErrorDialog()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | TestUtils.java | 85 } catch (AssertionFailedError ok) { in testExpectThrowable() 96 } catch (AssertionFailedError ok) { in testExpectThrowable()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | XmpPresets.java | 122 boolean ok = ret.preset.readJsonFromString(filterString); in extractXMPData() 123 if (!ok) { in extractXMPData()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipDialogFragment.java | 82 .setPositiveButton(android.R.string.ok, null) in onCreateDialog() 97 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
|
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceController.java | 207 .setPositiveButton(android.R.string.ok, mDirectBootWarnConfirmListener) in showDirectBootWarnDialog() 221 .setPositiveButton(android.R.string.ok, mSecurityWarnDialogConfirmListener) in showSecurityWarnDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | BatteryTipDialogFragment.java | 82 .setPositiveButton(android.R.string.ok, null) in onCreateDialog() 97 .setPositiveButton(android.R.string.ok, null) in onCreateDialog()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | Pop3Store.java | 581 int ok = response.indexOf("OK"); in fetchBody() local 582 if (ok > 0) { in fetchBody() 584 int start = ok + 3; in fetchBody()
|
/packages/services/Telephony/src/com/android/phone/ |
D | MobileDataPreference.java | 203 .setPositiveButton(android.R.string.ok, this) in showDisableDialog() 220 builder.setPositiveButton(R.string.ok, this); in showMultiSimDialog()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | MenuHelper.java | 269 boolean ok = false; in onShowMapClicked() 275 ok = true; in onShowMapClicked() 279 if (!ok) { in onShowMapClicked() 815 .setPositiveButton(android.R.string.ok, listener)
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsDialogBuilder.java | 86 setNegativeButton(android.R.string.ok, null); in initDefaultBuilderParams() 237 : android.R.string.ok); in updatePositiveButton()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TrustedCredentialsDialogBuilder.java | 86 setNegativeButton(android.R.string.ok, null); in initDefaultBuilderParams() 237 : android.R.string.ok); in updatePositiveButton()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstaller.java | 328 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createPkcs12PasswordDialog() 385 .setPositiveButton(android.R.string.ok, (dialog, id) -> { in createNameCredentialDialog()
|