Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 31) sorted by relevance

12

/development/tools/repo_diff/service/repodiff/interactors/
Dcommon.go10 val, ok := t[key]
11 if !ok {
/development/vndk/tools/header-checker/src/repr/json/
Dir_reader.h35 JsonObjectRef(const Json::Value &json_value, bool &ok);
76 Iterator(const Json::Value &json_value, bool &ok, int index) in Iterator() argument
77 : array_(json_value), ok_(ok), index_(index) {} in Iterator()
97 JsonArrayRef(const Json::Value &json_value, bool &ok) in JsonArrayRef() argument
98 : array_(json_value), ok_(ok) {} in JsonArrayRef()
Dir_reader.cpp53 JsonObjectRef::JsonObjectRef(const Json::Value &json_value, bool &ok) in JsonObjectRef() argument
54 : object_(json_value.isObject() ? json_value : json_empty_object), ok_(ok) { in JsonObjectRef()
165 bool ok = true; in ReadDump() local
166 JsonObjectRef tu(tu_json, ok); in ReadDump()
167 if (!ok) { in ReadDump()
185 if (!ok) { in ReadDump()
/development/tools/repo_diff/service/repodiff/repositories/
Dsource.go24 id, ok := cacheSingleton.Get(cacheKey(url, branch))
25 if ok {
80 urlBranchPair, ok := cacheSingleton.Get(id)
81 if ok {
Dcommit.go217 if _, ok := existing[key]; !ok {
/development/tools/repo_diff/service/repodiff/constants/
Dconstants.go55 val, ok := displayToStatus[displayStatus]
56 if !ok {
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DPinShortcutConfirm.java45 findViewById(R.id.ok).setOnClickListener(this); in onCreate()
66 case R.id.ok: in onClick()
/development/host/windows/usb/api/
Dadb_legacy_interface.cpp53 bool ok = true; in CreateHandle() local
57 ok = false; in CreateHandle()
61 ULONG error = ok ? NO_ERROR : GetLastError(); in CreateHandle()
69 if (!ok) { in CreateHandle()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DItemAddFragment.java69 view.findViewById(R.id.ok).setOnClickListener(this); in onViewCreated()
75 case R.id.ok: in onClick()
/development/tools/repo_diff/service/repodiff/controllers/
Ddifferential.go248 diffRow, ok := entity.(*ent.DiffRow)
249 if !ok {
273 commitRow, ok := entity.(*ent.CommitRow)
274 if !ok {
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
DMainActivity.java53 .setPositiveButton(android.R.string.ok, null) in onOptionsItemSelected()
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DMessageDialogFragment.java48 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSecureDialogActivity.java82 .setPositiveButton(android.R.string.ok, null) in onClick()
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DMessageDialogFragment.java48 builder.setPositiveButton(android.R.string.ok, null); in onCreateDialog()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DMainActivity.java155 .setAction(R.string.ok, new View.OnClickListener() { in requestCameraPermission()
219 .setAction(R.string.ok, new View.OnClickListener() { in requestContactsPermissions()
/development/tools/repo_diff/service/repodiff/mappers/
Dmappers.go310 techAreaIndex, ok := constants.AuthorHashToTechIndex[SHA256HexDigest(authorEMail)]
311 if !ok {
/development/samples/SipDemo/src/com/example/android/sip/
DWalkieTalkieActivity.java317 android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
337 … .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListActivity.java167 .setPositiveButton(android.R.string.ok, null); in showDebugDialog()
/development/apps/CustomLocale/src/com/android/customlocale2/
DCustomLocaleActivity.java401 boolean ok = mPrefs.edit().putString(CUSTOM_LOCALES, newLocales).commit(); in removeCustomLocale()
403 Log.d(TAG, "Prefs commit:" + Boolean.toString(ok) + ". Saved: " + newLocales); in removeCustomLocale()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java324 .setPositiveButton(android.R.string.ok, null) in onClick()
723 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
741 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectorySelectionFragment.java109 .setPositiveButton(android.R.string.ok, in onViewCreated()
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
DFingerprintAuthenticationDialogFragment.java221 mSecondDialogButton.setText(R.string.ok); in updateStage()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java898 .setPositiveButton(android.R.string.ok, null) in onClick()
991 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
1012 .setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
DMainActivity.java159 .setAction(R.string.ok, new View.OnClickListener() { in requestCalendarAndContactPermissions()
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
DFingerprintAuthenticationDialogFragment.java261 mSecondDialogButton.setText(R.string.ok); in updateStage()

12